AnsweredAssumed Answered

LPC54606 Deep Sleep, Internal Flash

Question asked by Santosh balakrishnan on Jan 3, 2019
Latest reply on Jan 20, 2019 by jeremyzhou

 

Hello, 

To wakeup LPC54606 from deep sleep while running from internal flash is is setting sufficient in the call to POWER_EnableDeepSleep call?

 

This the deep sleep exclude mask i am using:

#define EXCLUDE_FROM_DEEPSLEEP (SYSCON_PDRUNCFG_PDEN_SRAMX_MASK|SYSCON_PDRUNCFG_PDEN_SYSOSC_MASK|\
SYSCON_PDRUNCFG_PDEN_SRAM0_MASK|SYSCON_PDRUNCFG_PDEN_SRAM1_2_3_MASK| \
SYSCON_PDRUNCFG_PDEN_WDT_OSC_MASK)

 

I need to wakeup either by the UTICK interrupt for GPIO interrupts. I also have STARTERSET register fields enabled. This configuration works in the LPC54628 dev board, but does not work in a LPC54606 board that runs from internal flash. From what i understand the LPC54628 board executes from external flash. 

 

Would appreciate any pointers - 

 

Thanks

Outcomes