cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476 RTC initialization problem

vijji
Associate II
Posted on January 25, 2016 at 08:27

Hi,

I am using STM32L476 controller. When I am trying to initialize internal RTC with LSI clock using ST example code, it is returning timeout. When I debugged the code I observed it is in

RTC_EnterInitMode() function and returning timeout at below condition.

/* Wait till RTC is in INIT state and if Time out is reached exit */

while((hrtc->Instance->ISR & RTC_ISR_INITF) == (uint32_t)RESET)

I have verified the LSI clock frequency it is 32K.

Can someone please tell me what can be the problem?

Thank you.

Lucky

#!stm32-!cubemx-!rtc-!timeout #!stm32
0 REPLIES 0