Skip to main content
Visitor II
June 7, 2017
Question

RTC Freezes in HAL_RTC_Init

  • June 7, 2017
  • 1 reply
  • 919 views
Posted on June 07, 2017 at 11:16

I am at my first time with RTC and I have some problems.

I would like to configure rtc as a calendar.

I would like to retrieve date and time after a certain event.

I am following the RTC_Calendar example in the STM324xG_EVAL folder (STM32Cube \ Repository \ STM32Cube_FW_F4_V1.16.0 \ Projects \ STM324xG_EVAL \ Examples \ RTC \ RTC_Calendar) with a discovery.

This example freezes in HAL_RTC_Init (if (HAL_RTC_Init (& RtcHandle)! = HAL_OK)).

Can you send me a few simple examples (configuration and recovery date and time)

.

Can someone help me?

Please.

    This topic has been closed for replies.

    1 reply

    Visitor II
    February 23, 2024

    I am also stuck at the same problem how do I proceed, did u solve the error ?