LPC55S69 : exit from PowerDown mode

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

LPC55S69 : exit from PowerDown mode

841件の閲覧回数
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 返信

747件の閲覧回数
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 件の賞賛
返信