LPC55S69 : exit from PowerDown mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S69 : exit from PowerDown mode

836 Views
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 ?

Labels (1)
0 Kudos
Reply
1 Reply

742 Views
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 Kudos
Reply