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 | \
Can some one guide me where I am making mistake.
Using MCUXpresso IDE and SDK v2.4.1.