power down mode code

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

power down mode code

637 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mitaka on Fri Nov 14 16:29:04 MST 2014
Hi,
I have a custom board using LPC1517.
I'm trying to set the micro in power-down mode, but it still draws close to 1mA.
Do you have an example code or procedure that I can follow?
Do I have to disable something explicitly before going to power down mode.
I use the this API :
LPC_PWRD_API->power_mode_configure(PMU_POWERDOWN, 0xFF);
__WFI();

Thanks

Labels (1)
0 Kudos
1 Reply

597 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nerd herd on Mon Nov 17 08:46:42 MST 2014
Hi mitaka,

As stated in Section 4.7.5.2 of the User's Manual, you should switch the main clock to the internal IRC and turn off the PLL in order to save as much power as possible. As for code examples, check out LPCOpen! There is a PMU example that enters the four different low power modes.

Link to LPCOpen:

http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc15xx-packages

Link to the UM:

http://www.nxp.com/documents/user_manual/UM10736.pdf
0 Kudos