Hello team,
My customer has an issue when he tries to use the "power_mode_switch_rtos" to shutdown the MCU and the system get stuck on:
When he tried the low-power mode example code and enter LPM_EnterSNVS (shutdown mode) on his PCB. it looks like there is a problem since the power consumption stays the same (all other modes in this demo are working perfectly).
Could you please advise what is wrong?
Thanks in advance
Kind regards,
Shai
iMXRT1064
I supposed it caused by schematic design.
Hello
I hope you are well.
This may be caused by a hardware issue on the PCB however first let me suggest some testing to discard some other causes.
Which SDK version are you using? Are you able to enter that power mode by long pressing the ON/OFF button? Please make sure that the wakeup source is enabled:
GPIO_ClearPinsInterruptFlags(APP_WAKEUP_BUTTON_GPIO, 1U <<
APP_WAKEUP_BUTTON_GPIO_PIN);
/* Enable GPIO pin interrupt */
GPIO_EnableInterrupts(APP_WAKEUP_BUTTON_GPIO, 1U <<
APP_WAKEUP_BUTTON_GPIO_PIN);
NVIC_ClearPendingIRQ(APP_WAKEUP_BUTTON_IRQ);
NVIC_EnableIRQ(APP_WAKEUP_BUTTON_IRQ);
/* Enable the Interrupt */
EnableIRQ(APP_WAKEUP_BUTTON_IRQ);
/* Enable GPC interrupt */
LPM_EnableWakeupSource(APP_WAKEUP_BUTTON_IRQ);
Best regards,
Omar
Hi @Omar_Anguiano ,
Thanks for your inputs, I need to double-check their SDK version, but I wanted to note that they use an external DC/DC to power the MCU Core, so I assume this could be why the MCU does not get into shutdown mode.
Also, the ON/OFF button does not work.
What is your feedback about the above, Thanks in advance
KR,
Shai
How is the PMIC_ON_REQ connected to the DCDC? It will be helpful to check the power rails to check their compliance with the Hardware Development Guide.
I don't know if you are able to share the schematic through this media but it will be helpful to check it.
Best regards,
Omar