Question
Stuck in RTC_EnterInitMode
After connecting to a X-NUCLEO-LPM01A board for power consumption test , RTC init will not end.
Stuck in this while loop:
tickstart = HAL_GetTick();
/* Wait till RTC is in INIT state and if Time out is reached exit */
while ((hrtc->Instance->ISR & RTC_ISR_INITF) == 0U)
{
if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE)
{
return HAL_TIMEOUT;
}
}
Current solution: I have to program some example using stm32wbIDE, only that fixes it and I can now use my FW.
