2017-08-18 12:48 PM
Hi,
i'm working with STM32F415RG and i want only ask a easy question.
I'ts possible to detect if the chip (during StandBy mode) is wakeup from RTC ALARM or from PA0-WKUP pin ? some flag will be setted ?
Regard
2017-08-18 06:27 PM
Doesn't the RTC flag this? RTC_ISR
Plus you know the time currently and of the alarms.
2017-08-19 08:00 AM
When you restart from Standby, both flags are '0', so you can't know if wakeup are from pa0-wkup pin or from RTC alarm.
Any way to detect it ?