I am using LPC2138 and I'd like to set it into power down mode to
Based on the data sheet, LPC2138 is able to wake up by RTC (Interrupt
Wakeup Register - INTWAKE, bit 15) What i have done is enabled RTC
intterupt before i set LPC2138 into power down mode (Power Control
Register - PCON, bit 1).
However i failed to wakeup the LPC from power down mode using RTC.
The board hang when i executed register PCON = 0x02 (power down
For your infomation, the RTC intterupt is working properly and the
whole program is runing well if i disabled/mark out register PCON =
0x02 (power down mode).
Is there anyone can give a hand on this? TQ.
What do you actually mean by the board hang. The Embedded ICE is
not available during power-down (so ULINK will stop working). Is this
what you see?
No, i not running it on debug mode but I just flash the software
and run the application on the development board.
I turn ON the 1st led before executing the command PCON = 0x02 (power
down mode) and i also set the 2nd led to be ON if the RTC interrupt
is occured after 20 seconds.
From the result, the 1st led is ON but the 2nd led is off anyway.
I am in doubt the RTC is halting in power down mode.
Please advice. TQ
View all questions in Keil forum