This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SysCtlSleep from ISR

I have some code using SysCtlSleep() which works fine in normal run mode, but whenever it is run from an ISR, the processor can never wake up though it does enter sleep.

My program is set up to run an interrupt at approx 10Hz to check power button status. This interrupt and timer is created in the sleep routine.

Is it not possible to enter sleep mode from within an ISR? Or setup an ISR/timer from inside another ISR?