Go Down

Topic: wake up from deep sleep  (Read 1 time) previous topic - next topic

z1jack

I'm trying to wake up the board from deep sleep by pressing a button.

If the deep sleep is not enabled, the interrupt works fine. When I enable deep sleep, the interrupt from external pin (the button) does not wake up the SOC. Anyone know why and how to fix it?

this is what I used to enter deep sleep:

SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk; //deep sleep
 __WFI();


Jacks-Pixels

I'm trying to make the same ...
The only doc I've fond is the RTClib.standby :( I'm not sure that this is the right place for power management.

Where have you fond the doc to activate power sleep ??


Jacks-Pixels

I've found some things here : http://www.atmel.com/images/atmel-42437-software-programming-guide-for-sam-w25-xplained-pro_userguide.pdf

Go Up