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?