Hello all!
I am using the portenta x8 for a smart device project. The goal of this project is to have machine learning code run on the linux side using python, and then control a spi display using the arduino/stm32 side. I want the device to save as much power as possible and be "sleeping" most of the time until I tap on the SPI display in which case the device will wake up and be active.
Here are my questions: On the linux side I am playing around with the "sytemctl suspend command" I am having trouble trying to wake up the device from this state. I can't figure out how to do this. I am connecting to the device via SSH. I tried configuring GPIO to wake the system up but I can't get it to work. If anyone can explain how to do this that would be greatly appreciated.
Second: When I use the "systmectl suspend" command, does that also put the stm32 side asleep, or would I have to write arduino code to put the microcontroller to sleep? If the sides aren't connected am I able to wake up the linux side using the Arduino side?
I am very new to this, so I apologize for any misunderstanding.