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.
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.