LPC55S69 : exit from PowerDown mode

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

LPC55S69 : exit from PowerDown mode

842 次查看
EugeneHiihtaja
Senior Contributor I

Hi !

In Datasheet is written :

"Power Library in SDK sets the flash wait states based on the frequency selected."

When MCU is exit from PowerDowm mode it is clocked by using FRO_12Mhz,

but in SDK examples you still call BOARD_BootClockFRO12M() after wakeup.

Can it be so that only line  SystemCoreClock = BOARD_BOOTCLOCKFRO12M_CORE_CLOCK;

is need ?

All other setting is done by Powerlib already.

Is this so ?

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

748 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Eugene,

I think you are right, after sleep/deepsleep/powerdown, the cpu core clock is restored to FRO_12MHz, so the code line

BOARD_BootClockFRO12M(); is unnecessary. Because DEMO_PowerDownWakeup() is called after waking up.

Hope it can help you

BR

XiangJun Rong

void DEMO_PowerDownWakeup(void)
{
    BOARD_BootClockFRO12M();
    BOARD_InitDebugConsole();
}

pastedImage_1.png

0 项奖励
回复