RTC alarm and wakeup from STDBY in STM32F7
Posted: Sat Jan 05, 2019 12:53 pm
I'm trying to accomplish the above without success. I'm using the STM32F769I-DISCO board.
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:
Appreciate any help on this.
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.