Hi,
I'm using Deep Sleep and Deep Power-down in our application. In both the wakeup can be triggered by RTC alarm and two GPIOs (Deep Sleep: PINT, Deep Power-down: dedicated wakeup pins).
I need to use Deep Power-down to minimize the power consumption for most of the time (Power-down is not an option since it drives all pins low). The problem is that I also need to know which wakeup source I can blame after the wakeup. In Deep Power-down a wakeup causes a chip reset which means I cannot use RTC general purpose registers to store the wakeup source data (I assume there's no time for using ISR before the reset occurs).
Is there any way I could see the wakeup source after waking up from Deep Power-down?
I'm using LPC55S28.
Thanks.