SWRU576 January 2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
For low-power modes, the WL18xx chip can be held in suspend/shutdown mode where it will draw minimal current in order to preserve battery life/minimize power draw. These commands can be run on any supported platform, including, but not limited to, the AM335x, AM437x, AM57x, and BeagleBone. The WL18xx module also supports Wake on WLAN (WoWLAN) on these platforms.
Suspend Resume in Shutdown Mode On Suspend state, the WL18xx chip will be held in shutdown mode, where the host disables the WLAN portion by keeping the WLAN_Enable signal OFF, in which the WL18xx chip has minimal current consumption.
How to operate Suspend Resume To enable the processor to enter the suspend state perform the following:
Attach the file system "debugfs" (which is of type debugfs) at the directory "tmp":
mount -t debugfs debugfs /tmp/
Enabling system for hitting OFF: By default, retention is the deepest sleep state attempted. To enable power domain transitions to off mode:
echo 1 > /tmp/pm_debug/enable_off_mode
To
enter suspend mode:
echo mem > /sys/power/state
To
Resume from suspend:
Serial console activity or other configured wakeup sources (keypad, touchscreen) will trigger resume