power down mode code

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

power down mode code

886 次查看
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

标签 (1)
0 项奖励
回复
1 回复

846 次查看
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 项奖励
回复