I am programming STM32L051R8 and have the following problem. I try to use standby mode most of the time, and sometimes I wake up RTC, it is an automatic wakeup. If I work without sleep, everything works fine, I get an RTC interrupt every time, but when I use standby mode, do not do this.
If I use standby, I have a nice first loop:
- reset
- install RTC
- enter standby
- Waiting for interruption
- wake-up
But the second and next cycles wake up immediately after entering standby mode (3).
timer microcontroller wakeup stm32 real-time-clock
luden
source share