I am able to put the KL24Z processor into deep sleep with no problems. However, I am having trouble waking up from deep sleep. I am trying to use the low power timer to wake up every minute from deep sleep. Below is my code to get into VLLS3. How do you wakeup from deep sleep???
SMC_PMPROT = SMC_PMPROT_AVLLS_MASK;
SMC_PMCTRL &= ~SMC_PMCTRL_STOPM_MASK ;
SMC_PMCTRL |= SMC_PMCTRL_STOPM(0x4) ;
SMC_STOPCTRL = SMC_STOPCTRL_VLLSM(3);
SCB_SCR |= SCB_SCR_SLEEPDEEP_MASK;
Thanks a lot,