I am trying to run on LPC1754, 59 and 68 + FreeRTOS + CMSIS and I’d like to be able to put the uC in the lowest power mode possible, but:
-
“sleep” is not enough.
-
Once the uC is in “deep sleep”, “power down” or “deep power down”, I can’t wake it anymore by pressing a button (EINT3).
I am using “GPIO Interrupts” for a couple of pins in P2, that, in turn, is shared with EINT3. EINT3 pin itself (P2.13) was not being used. Before I go low power, GPIO Interrupts work perfectly, the problem just happens after low power (deep sleep ou power down).
As far as I read in the “LPC17xx User manual” (pg 58, 59), I should be able to wake up from EINT3 up to “power down” mode.
What I am missing? Is the interrupt being generated while in low power? How to tell? Should I do any specific stuff to be able to generate it?
Just to simplify, I am running from internal RC, so the PLL errata is not a concern.
I can post some code if needed. I haven’t done it because I think it would be a too long post for starting.
Thanks!