Forums › Reference, Evaluation, and Development Boards › OSD32MP1-BRK wake up on GPIO
Hello,
We are working on a future board based on OSD32MP1, so we are currently testing it on the dev board OSD32MP1-BRK. Our goal is to perform actions on the M4 and to wake up the A7 when necessary to save power. We manage to turn on the A7 with the following command:
# echo mem > /sys/power/state
To make the A7 wake up with the help of the uart on the BRK we use the following commands:
# echo enabled > /sys/devices/platform/soc/40010000.serial/tty/ttySTM0/power/wakeup
# echo enabled > /sys/devices/platform/soc/40010000.serial/power/wakeup
Now we want to do the same with an external gpio (which would be connected to an output gpio of the m4), in this configuration the M4 could wake up the A7. However we can’t find how to program a wakeup on GPIO. Is there an equivalent system to the UART one?
Thank you for your collaboration
Hey Artthur.
Please take a look at https://community.st.com/s/question/0D53W00000cxRieSAE/wakeup-on-gpio-in-linux-on-stm32mp1 and https://www.st.com/resource/en/application_note/dm00449434-stm32mp1-series-using-low-power-modes-stmicroelectronics.pdf.  https://octavosystems.com/forums/topic/wake-up-through-gpio/#post-11532 is also useful.
Best,
Neeraj
Octavo Systems LLC all rights reserved
OCTAVO is registered in the U.S. Patent and Trademark Office. OSD, C-SiP, and the Octavo Logo are trademarks of Octavo Systems LLC.
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields