Tool/software:
sdk version 10.0.0
1、Test using the evm board,I used the gpio1_10 of the main domain as the wake-up source. After going into sleep mode through mem, it failed to wake up when the edge was triggered。However, the freeze method can also wake it up。
2、Even if you wake it up using the official serial port method, mem cannot wake it up, but freeze can
#!/bin/bash -xe
# Detach kernel serial console
consoles=$(find /sys/bus/platform/devices/*.serial/ -name console)
for console in ${consoles}; do
echo -n N > ${console}
done
# Configure PM runtime autosuspend
uarts=$(find /sys/bus/platform/devices/*.serial/power/ -type d)
for uart in $uarts; do
echo -n 3000 > $uart/autosuspend_delay_ms
echo -n enabled > $uart/wakeup
echo -n auto > $uart/control
done
# Configure wake-up from suspend
uarts=$(find /sys/class/tty/tty[SO]*/power/ -type d 2>/dev/null)
for uart in $uarts; do
echo -n enabled > $uart/wakeup
done
May I ask what the possible reasons might be。
thank!