LPC802 使用SDK 无法唤醒

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC802 使用SDK 无法唤醒

ソリューションへジャンプ
1,127件の閲覧回数
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,038件の閲覧回数
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,038件の閲覧回数
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,039件の閲覧回数
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,038件の閲覧回数
vector123456
Contributor I

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

0 件の賞賛
返信