Posted on May 17, 2011 at 14:28Sorry for the typo >>''SLEEPEP'' bit in the ''SCB_SYSCTRL'' register should read as ''DEEPSLEEP'' bit in the ''SCB_SYSCTRL'' register
Posted on May 17, 2011 at 14:28Thanks for your continued interest. My sleep code is basically in the idle task. The Idle task is at the lowest priority and so will only run when nothing is running. Idle_task() { if(some timeout expired) ...
Posted on May 17, 2011 at 14:28Clive1, Thanks for the response. I am using an External Interrupt to try and wake from the ''stop''. Do you think calling ''WFI()'' to sleep causes the external interrupt bit to be cleared? -AKN