To preserve energy, our system goes to sleep once in a while for a predetermined period.
On the TK1 Nvidia development board, we do it like this:
(e.g. sleep to 10 seconds in sleep mode lp0 )
echo 10 > /sys/class/rtc/rtc0/wakealarm echo lp0 > /sys/power/suspend/mode echo mem > /sys/power/state
On the apalis, the system goes to sleep but does not wake back up.
Down the road, we want to wake up from an analog signal, so we’d like to put the whole system asleep except for the auxiliary Cortex who would monitor an analog signal, and wake up the other cores + peripherals.
Any examples for how to achieve this?