lpcware

How can i find out the cause of Wake-up from Deep power-down mode?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by HaltPapa on Sat Mar 22 09:20:07 MST 2014
I'm using both wakeup-pin and WKT in Deep power-down mode.
Is it possible to figure out if the last reset was due to a wakeup interrupt or WKT?

I tried to change LPC_PMU->GPREG0 Register in WKT_IRQHandler. But It doesn't work.

Hopefully somebody is able to help me.

Thanks in advance.

Outcomes