When using Deep Sleep with the LPC1114 I get a quiescent current of 1.4mA from my PCB if I use LPC_SYSCON->STARTERP0 = LPC_SYSCON->STARTERP0 | 0x1000; to set the wake up interrupt for GPIO1_0. When I don't enable the wake up interrupt I get 15uA which is what I would expect. I have spent months trying to get the sleep current low, and reading all the manuals and advice and trying example code has got me nowhere. It seems the issue is enabling the wake up interrupt. Does anyone have an answer?
Problem solved!
I have been using an interrupt on input GPIO1_0 to wake up the MCU from Deep Sleep and carry out an interrupt routine. I configured an interrupt on GPIO1_0 thinking that this was needed to wake up the MCU as well as for my interrupt routine. I discovered that configuring STARTERP0 to use GPIO1_0 actually creates the interrupt and the GPIO1_0 pin doesn't have to be configured to generate an interrupt.
It was the configured GPIO1_0 pin that was drawing 1.4mA when the MCU was in Deep Sleep. I now get a consistent 15uA deep sleep quiescent current which is good taking into account all the other components on the PCB powered by the batteries.
Hi Tony Butler,
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------