LPC1769 - LPCOpen 2.10 - PMU application have problem

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

LPC1769 - LPCOpen 2.10 - PMU application have problem

跳至解决方案
3,012 次查看
juanmanuelcruz
Contributor II

I´m working with LPCXpresso v8.2.0 [Build 647] [2016-07-18] on LPC1769 & LPCOpen 2.10 (http://cache.nxp.com/files/microcontrollers/software/LPCWare/lpcopen_2_10_lpcxpresso_nxp_lpcxpresso_...) Powe Mode Use application (periph_pmu.zip) have a problem.

In debug mode when I press Resume (F8) the Sleep mode works OK, but the other three modes (Deep-Sleep, Power-down and Deep-Power-down) don´t work OK => debugging is stopped (see image or attached file).

Sin título.jpg

标签 (2)
1 解答
2,712 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Hi Juan Manuel Cruz,

Thanks for your reply.

In the reference manual, it also recommend the user to re-configure the PLLs and clock dividers after the wake-up.

So it good to call the Chip_SetupXtalClocking() to re-configure the PLLs and clock dividers after the wake-up.

And I'll report the issue to the AE for checking.

Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

5 回复数
2,712 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Juan Manuel Cruz,

It's not an issue.

pastedImage_1.png

Have a great day,
Ping

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,712 次查看
juanmanuelcruz
Contributor II

Thanks jeremyzhou, the debugger does not work in those low-power modes.

But the LPCOpen library has a bug and to fix it => set the microcontroller clock & PLL calling the function Chip_SetupXtalClocking() after WFI or WFE. 

0 项奖励
回复
2,712 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Juan Manuel Cruz,

Thanks for your reply.

I was wondering if you can clarify where the "bug" reside in.

Thank you in advance.

Have a great day,
Ping

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,712 次查看
juanmanuelcruz
Contributor II

This application uses a UART of microcontroller to send debug messages, when the CPU returns from the low power modes it is necessary set the microcontroller clock & PLL so that the UART operates correctly again and that we can see OK the UART messages.

Set the microcontroller clock & PLL calling the function Chip_SetupXtalClocking() after WFI or WFE. 

We can do this call in the LPCOpen library or in the application, but we must do it for the example to work correctly, OK?

0 项奖励
回复
2,713 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Hi Juan Manuel Cruz,

Thanks for your reply.

In the reference manual, it also recommend the user to re-configure the PLLs and clock dividers after the wake-up.

So it good to call the Chip_SetupXtalClocking() to re-configure the PLLs and clock dividers after the wake-up.

And I'll report the issue to the AE for checking.

Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------