About RTC in sleep mode
We are developing a device that periodically boots in Sleep mode using the STM32G04.
Set the WakeUpTime with HAL_RTCEx_SetWakeUpTimer_IT and enter Sleep with HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);.
If you make a program to Sleep for 10 minutes, the RTC time is the same before and after startup and the RTC is not counting during Sleep.
The time in Sleep is set to 10 minutes, but even if I do HAL_RTC_GetTime, the value is the same before Sleep and after Sleep.
Is it possible to make it so that the RTC is updated during Sleep?