cancel
Showing results for 
Search instead for 
Did you mean: 

problem to enter stop2 mode a 2nd time when using RTC alarm

BHoff
Associate II

I have modified the example PWR/PWR_Stop2_RTC that uses the RTC periodid timer and used the alarm as wake-up source, as described in example RTC/RTC_Alarm.

I achieved to get the wake-up cycle once, but when coming to the stop2-command the 2nd time, the µP does not stop but continues running.

I have added a lot of code to reset flags that might concern, but in the end I don't find the correct way.

Does anybody know about an example that performs just this: enter stop mode and wake up through Alarm from RTC?

0 REPLIES 0