So far I've established that the alarm value is being properly setup and that the RTC is running and counting when entering STDBY. But no wakeup on alarm.
The board is able to wakeup on PA0. So I guess that validates the "go-to-STDBY" code.
I've tested with setting the EXTI registers like this:
Code: Select all
EXTI->EMR |= EXTI_IMR_IM17;
EXTI->RTSR |= EXTI_RTSR_TR17;
Appreciate any help on this.