LPC1700 Deep Sleep won't wake up

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!

Do you have it working yet? I’m new to ARM (this week), and I’ve just been playing around with interrupts (GPIO, and EINT0, in various incarnations), and sleep() and deep_sleep() seem to work ok. I’m using CMSIS.

Roger

I posted a reply in:

http://stackoverflow.com/questions/6207 … nt-wake-up

From UM10360 - User manual, Rev. 2 — 19 August 2010 page 758:

Remark: If the processor detects a connection to a debugger it disables the WIC.

So it won’t wake up!!!

What a shame…

If you need a working example, you can star with my attachment here.