2025-03-18 9:26 PM
STM 32L 051
use HAL_RTCEx_SetWakeUpTimer_IT() to wake up standby mode,it is work well.
when the wake up source is not RTC(maybe wkup pin or NRST pin) ,how get the remaining time of RTC timer?
The value of HAL_RTCEx_GetWakeUpTimer() is not change.it is the value of HAL_RTCEx_SetWakeUpTimer_IT() set.
2025-03-19 12:55 AM
Hello @jinyi7016
Please refer to the article How to use the RTC in STM32 microcontrollers for periodic wake-up and elapsed time calculation.