LPC802 使用SDK 无法唤醒

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

LPC802 使用SDK 无法唤醒

跳至解决方案
1,129 次查看
vector123456
Contributor I

各位好,我使用LPC802,SDK使用SDK_2.5.0_LPCXpresso802,

DEMO使用\boards\lpcxpresso802\demo_apps\power_mode_switch_lpc  进入Power down模式时,使用WKT 能正常唤醒,但是代码中开了BOD 如下:

POWER_EnterPowerDown(DEMO_ACTIVE_IN_DEEPSLEEP);

#define DEMO_ACTIVE_IN_DEEPSLEEP (kPDSLEEPCFG_DeepSleepBODActive | kPDSLEEPCFG_DeepSleepLPOscActive)

如果不开BOD  即:POWER_EnterPowerDown(kPDSLEEPCFG_DeepSleepLPOscActive);  。那么就无法唤醒了!

请问是不是SDK中存在问题?

标签 (1)
0 项奖励
回复
1 解答
1,040 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi vector guo,

测试了复现了问题,解决方式是如果你不想设置BOD_PD,你需要将PDAWAKECFG中的BOD_PD也要设置成Powered down(代码如下所示),不然会直接复位的。

    /* remain active during power down mode */
    SYSCON->PDSLEEPCFG &= ~activePart;
    SYSCON->BODCTRL &= ~(1<<4);                          // Disable BOD reset before de-powering BOD
    SYSCON->PDRUNCFG |= 1<<3;


‍‍‍‍‍‍


Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,040 次查看
jeremyzhou
NXP Employee
NXP Employee
非常感谢使用NXP产品,很高兴为你提供技术支持!
好的,我待会测试复现一下现象。
Have a great day,

TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
1,041 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi vector guo,

测试了复现了问题,解决方式是如果你不想设置BOD_PD,你需要将PDAWAKECFG中的BOD_PD也要设置成Powered down(代码如下所示),不然会直接复位的。

    /* remain active during power down mode */
    SYSCON->PDSLEEPCFG &= ~activePart;
    SYSCON->BODCTRL &= ~(1<<4);                          // Disable BOD reset before de-powering BOD
    SYSCON->PDRUNCFG |= 1<<3;


‍‍‍‍‍‍


Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
1,040 次查看
vector123456
Contributor I

您的答案是正确的,同时也已经有线下FAE帮助我们解决问题。感谢!

0 项奖励
回复