AnsweredAssumed Answered

Shutting Down iMXRT1602

Question asked by George Redpath on Mar 5, 2020
Latest reply on Mar 9, 2020 by Felipe García

We have a product, and we wish to shut it down using a short press of the On/OFF switch, and then wake it up again using On/Off switch.

We wish to gracefully save the OCRAM & SDRAM contents first and then shutdown.

We have the power_mode_switch_bm example working, and we can shut down using the H key, and wake up again using the On/Off button.

My question is how do I trigger the LPM_EnterSNVS() function using the On/Off switch?

I assume we use the interrupt SNVS_LP_WRAPPER_DriverIRQHandler, and modify it accordingly.

Many thanks

George Redpath

Outcomes