Deep Sleep in OSD32MP1-RED

Hello, I’m using this command but I’m not able to see the board to wake up after 30 seconds. The board is v1.1.
echo deep | sudo tee /sys/power/mem_sleep
sudo rtcwake -m mem -s 30

Thanks

Best regards,
Jose

Jose,

Due to issue described here: Entering deep sleep causes a reset, entering low power mode requiring BUCK4 to be OFF will cause a RESET to the board.

For low power mode work, I recommend you work with the BRK as it brings VBAT out to an accessible header pin. 3 things to note:

  1. For deep sleep mode where the rest of the power rails are turned OFF, you will need to power VBAT independently with either a battery or external power source. The range of VBAT is 1.2V - 3.6V

  2. ST has made changes to the low power mode software framework. So, it is better to have the latest OpenSTLinux running on the board. I recommend building the latest OpenSTLinux BRK image from here: GitHub - octavosystems/meta-octavo-osd32mp1 at mickledore_6.1 · GitHub. README shows the step-by-step

  3. With the above setup, you can use the procedure described in this wiki page: https://wiki.st.com/stm32mpu/wiki/How_to_use_the_RTC to use rtcwake to wake up the system.

Best,
Neeraj