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?