AnsweredAssumed Answered

Deep sleep and wake up using RTC in LPC54618

Question asked by S S on Jul 1, 2019
Latest reply on Jul 4, 2019 by S S

Hi,

 

I have found an example "utick_wakeup"  for waking up MCU from Deep Sleep mode and it works fine.

I tried to use normal rtc example and test it then I merge both RTC example and utick_wakeup example by commenting utick part since I want to use RTC only.

I have read datasheet and it shows that RTC can wake up MCU from deep sleep but may be I am not configuring it properly.

Do I have to include something below to keep RTC running even in deep sleep?

 

#define APP_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)

 

Can some one guide me where I am making mistake.

Using MCUXpresso IDE and SDK v2.4.1.

 

Regards,

SS

Outcomes