I am trying to wakeup a LPC54606 from deep sleep using utick0 timer. Here are the snippets of my initialization.
#define EXCLUDE_FROM_DEEPSLEEP (SYSCON_PDRUNCFG_PDEN_SRAMX_MASK|\
// I am calling POWER_EnterDeepSleep with the above exclude mask.
Here is the micro-tick related initialization:
// Setup wake pin.
SYSCON->STARTERSET |= SYSCON_STARTER_UTICK_MASK; /* GPIO pin interrupt 0 wake-up. */
utick0 is initialized using the fsl interface functions.
I am toggling an LED in the IRQ handler - i can see the current consumption dropping - but i was expecting the LED to still toggle after the controller has gone into low power. And of course, i never come out of the low power mode at all.
Would appreciate any pointers on where the configuration is going wrong.