Hi,
We are currently evaluating if the Jetson Orin Nano could execute the following cycle in about 1-2 seconds:
enter sleep mode (or any other power saving mode that will reduce the power consumption of the system)
wake up on timer trigger (could be triggered from an external MCU if the RTC is not accurate / fast enough)
do processing on the GPU (about 100ms)
setup timer trigger
The system needs to do some heavy calculation on the GPU for about 100ms once in 1-2 seconds and also needs to be as power efficient as we can while waiting for the next cycle.
I have tried to test on the development board the SC7 mode (entered using “echo mem > /sys/power/state”) with RTC0 wakeup but it took about 3-4 seconds to wake up and it seems it also took about 3 seconds to enter this state (the RTC0 which as I understand operates in 1Hz frequency but values smaller then 4 would not wake the device, I assume cause it wasn’t in sleep mode yet so the signal did not wake it up).
When I tried to test “freeze” mode (as called by the Linux docs) using this command - “echo freeze > /sys/power/state” the system would crashed on wakeup.
Does the SC7 mode (enter and exit) supposed to be this slow or I’m doing something wrong / not configuring it correctly for fast entry and exit?
Also does the freeze mode supposed to work and I’m not configuring it correctly?
Anyway we are currently aiming to be as power efficient while executing this loop so any way to reduce power consumption while waiting for the next cycle would also help us.
It seems you are looking for suspend to idle, it would not help to save too much power.
I would suggest creating custom power configuration for better power efficiency.
You mean to toggle between custom configuration for efficiency and configuration for processing? or creating a single configuration that will run all the time with lower power consumption?
We would like to save as much as we can so we would like to use this method too, I’m just not sure what this state is called in Linux can you provide the Linux term for it?
Also I had hard time using the “freeze” mode (which sounds like the suspend to idle mode):
Yes, using freeze should be the similar meaning as suspend-to-idle.
I can reproduce similar issue as yours on the devkit.
Are you working with headless mode?
If so, could you try to configure the following line in device tree to check if it could help.