Problem using Sleep and Deep sleep in the same application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem using Sleep and Deep sleep in the same application

332 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cgroen on Tue Mar 04 01:25:42 MST 2014
I am having some problems with our application. Basically it is a LPC1778 using Keil RTX etc.

When I let the device enter Deepsleep for some time (wake up by external IRQ on a GPIO pin) it works just fine (I reenable PLLs etc).
But, when I, at some point after the device has been waken up, puts the device in Sleep (using os_idle_demon() in Keil RTX) the device resets immediatly. It does not matter how long or short time there is between the exit from deepsleep and to the sleep, the reset happens every time. If I don't enter Sleep everything works perfect (I can enter deepsleep as many times as I want and it just keeps working). The RSID register shows 0x18 after reset (BODR and SYSRESETREQ) which makes no sense. The VddReg3v3 is monitored and is rock solid in all circumstances and SYSRESETREQ is not set by the software.

I have asked for input on the Keil forum: http://www.keil.com/forum/24880/
but so far no real good explanations.

Maybe someone here can give some pointers or ideas what to look for ?

I have asked NXP support for help on this, but no answer for 2 weeks now :(
Labels (1)
0 Kudos
1 Reply

304 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Thu Mar 06 19:12:42 MST 2014
Hi  ,

Please refer to the application notes and examples on Low power modes for various MCU families as a guideline to implement the sleep and deep sleep modes correctly.

http://www.lpcware.com/content/nxpfile/an10973-using-lpc13xx-low-power-modes-and-wake-times-lpcxpres...

http://www.lpcware.com/content/nxpfile/an11027-using-lpc1100-low-power-modes-and-wake-times-lpcxpres...

http://www.lpcware.com/content/nxpfile/an10915-using-lpc1700-power-modes-0

Thanks,

NXP Technical Support
0 Kudos