LPC54606 Deep Sleep, Utick0 interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC54606 Deep Sleep, Utick0 interrupt

720件の閲覧回数
santosh1
Contributor III

Hello, 

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|\
SYSCON_PDRUNCFG_PDEN_SRAM0_MASK|SYSCON_PDRUNCFG_PDEN_SRAM1_2_3_MASK| \
SYSCON_PDRUNCFG_PDEN_WDT_OSC_MASK)

// I am calling POWER_EnterDeepSleep with the above exclude mask. 

POWER_EnterDeepSleep(EXCLUDE_FROM_DEEPSLEEP);

Here is the micro-tick related initialization:

// Setup wake pin.
SYSCON->STARTERSET[0] |= SYSCON_STARTER_UTICK_MASK; /* GPIO pin interrupt 0 wake-up. */
EnableDeepSleepIRQ(UTICK0_IRQn);

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.

Thanks

ラベル(1)
0 件の賞賛
返信
0 返答(返信)