RTC Time is not incorrect randomly after the MCU is waked up from Standby mde
Hi ST team,
I was coding on STM32L431 chip and got a problem about the RTC time.
The problem is that the RTC time is not synchronized with my input randomly after the MCU is waked up from Standby mode. The following descriptions are the detail.
[Reproduced steps]
StepA. Setup RTC time by HAL_RTC_SetTime and HAL_RTC_SetDate functions.
StepB. Configure Wakeup ISR by HAL_PWR_EnableWakeUpPin and HAL_RTCEx_SetWakeUpTimer_IT.
StepC. Trigger MCU to get into standby mode by HAL_PWR_EnterSTANDBYMode.
StepD. MCU is waked up by wake up pin or RTC counter and the RTC time is not correct randomly.
For example, to configure the RTC time to 18/11/27 10:10:10. Randomly, the RTC time becomes to be 18/11/27 19:10:10 when MCU is waked up after 10 mins.
This situation is not always happened but randomly.
Please help to provide your suggestions, thanks a lot.
