k32l2b31 low power VLLS0

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

k32l2b31 low power VLLS0

1,156 Views
plefebvre
Contributor II

Hi

need to use low power mode VLLS0

in the microcontroller documentation the Idd current specified for VLLS0 at 50°C max is 1µA 

but when i used this mode the IDD is 50µA

who knows what to do

the code to enter VLLS0

    NVIC_EnableIRQ(APP_WAKEUP_BUTTON_IRQ);
    PORT_SetPinInterruptConfig(APP_WAKEUP_BUTTON_PORT, APP_WAKEUP_BUTTON_GPIO_PIN, APP_WAKEUP_BUTTON_IRQ_TYPE);
    LLWU_SetExternalWakeupPinMode(LLWU, LLWU_WAKEUP_PIN_IDX, LLWU_WAKEUP_PIN_TYPE);
    NVIC_EnableIRQ(LLWU_IRQn);

    vlls_config.subMode = kSMC_StopSub0;
    SMC_PreEnterStopModes();
    SMC_SetPowerModeVlls(SMC, &vlls_config);
    SMC_PostExitStopModes();

all the inputs are pullupdisable ...

many thanks for help

--
0 Kudos
Reply
0 Replies