RT1060 System Off demo
This sample can be used for basic power measurement and as an example of soft off on NXP i.MX RT platforms. The functional behavior is:
Busy-wait for 2 seconds
Turn the system off after enabling wakeup through a button press, and additionally set an alarm 10 seconds in the future to wake up the processor
A power monitor will be able to distinguish among these states.
This application uses MIMXRT1060_EVK or MIMXRT1060_EVKB for the demo.
Building, Flashing and Running
west build -b mimxrt1060_evk samples/boards/mimxrt1060_evk/system_off west flash
Open UART terminal.
Power Cycle Device.
Device will turn on and idle for 2 seconds
Device will turn itself off using deep sleep state 1. Press SW 5 to wake the device and restart the application as if it had been powered back on. Alternatively, wait 10 seconds for the SNVS RTC alarm to fire and wake the device up automatically.
MIMXRT1060_EVK core output
*** Booting Zephyr OS build zephyr-v3.0.0-2733-ged206aca47cc *** mimxrt1060_evkb system off demo Busy-wait 2 s Sleep 2 s RTC Alarm set for 10 seconds to wake from soft-off. Entering system off; press GPIO_5 to restart sooner