2010-12-21 10:09 AM
Missing wake up interrupt when entering low power mode?
2011-05-17 05:19 AM
Please use WFE for this, and insert a SEV into the interrupt handler.
Since the WFE receive the event from the SEV, it will not enter sleep mode. Hope this helps and Merry Christmas :)2011-05-17 05:19 AM
The wakeup logic is an OR-gate (RTC-ALARM OR PA0-WKUP). If your trigger sets PA0 high in the wrong moment, it is possible to never wake up again. The wakeup signal should be toggled every about 80µs to be sure to wake up. If it is no problem to loose one trigger signal, limit the trigger signal to 80µs.
I didn't tried, but the IWDG could help in this case, because it should wake up from standby even with high signal at PA0.