AnsweredAssumed Answered

Wake up at fixed time on lpc812

Question asked by Martin Paré on Apr 6, 2017
Latest reply on Apr 12, 2017 by Kerry Zhou

I am working with the LPC812.  The microcontroller will be in Power Down mode and it needs to wake up every 5 minutes or on pin interrupt.  The problem I have right now is that with the code I have, when there is a pin interrupt, it will also reset the 5 minutes timer.

I tried reading the LPC_WKT->COUNT register when waking up with the Pin interrupt, so I could restart the WKT timer with this value when going back in Power Down mode, but I always read 0.

How can I do that?


Thank you!