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 whic

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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 whic

1,268 次查看
tonybutler
Contributor I

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?

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,076 次查看
tonybutler
Contributor I

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.

0 项奖励
回复

1,076 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Tony Butler,

Thank you for your interest in NXP Semiconductor products and 
the opportunity to serve you.
The MCU can wake up from the Deep-sleep mode via the signal on the external pin, however this method is not suit for the Deep power-down mode, except for the WAKEUP pin: P1_4.
So you shouldn't do anything configuration about the P1_0 before enter to Deep power-down mode.
Hope it helps.
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复