I was trying to change the power mode to VLPS to RUN. before going to deep sleep I am enabling the gpio pin interrupt and setting a flag. while wake up in the isr I am checking the flag and using the below function to change to RUN mode.
but this is not working. I am getting the interrupt but the code is not running.
My sleep sequence is given below
POWER_SYS_Init(&powerConfigsArr, POWER_MODES, &powerStaticCallbacksConfigsArr, 0);
Is it possible to change the state from VLPS to RUN without resetting the MCU?
Can anyone help me to share the example code to change the power mode from VLPS to RUN?
Thanks in advance.
Shinod A K