The WAKE pin is an output from the module, and have to be be used to wake the module from sleep state. Connect WAKE to RESET_N using a 1k resistor to enable sleep/wake functionality.
The operation of wakeup is that once sleep timer expires, it triggers the wake pin (which is tied to the reset pin) which resets the module. This is the only way AMW007 wakes itself up. There is no other modes of sleep.
This connection is not required if sleep/wake functionality is not used, or a host MCU has explicit control of the RESET_N pin.
Issuing 'reboot' command is very similar to resetting the module via RESET pin. Though, there is a couple of differences here:
1. RESET_N is tied to the MCU hardware signal. When the pin is assert the MCU is immediately reset, there is no software intervention. While the 'reboot' command will bring down the network (close open stream and disassociate from WLAN/disconnect softap client) and cleanup any running hardware (e.g. stop PWMs, ADCs) before performing a software reset of the MCU.
2. Toggling the RESET_N pin does not cause any text output on the serial bus, whereas issuing a 'reboot' command prints the version string.
Wi-Fi Knowledge Base
SLEEP and WAKE operation for Zentri Wi-Fi module AMW007/AMW037
The only way to wake-up the AMW037/AMW007 module is when the timer expires. Once module sleeps, it will wakeup once system.wakeup.timeout expires. More here:
https://docs.zentri.com/zentrios/wl/latest/cmd/commands#sleep
https://docs.zentri.com/zentrios/wl/latest/cmd/variables/system#system-wakeup-timeout
The WAKE pin is an output from the module, and have to be be used to wake the module from sleep state. Connect WAKE to RESET_N using a 1k resistor to enable sleep/wake functionality.
The operation of wakeup is that once sleep timer expires, it triggers the wake pin (which is tied to the reset pin) which resets the module. This is the only way AMW007 wakes itself up. There is no other modes of sleep.
This connection is not required if sleep/wake functionality is not used, or a host MCU has explicit control of the RESET_N pin.
For AMWxxx family (ZentriOS), what is the difference between RESET_N pin and reboot command?
Issuing 'reboot' command is very similar to resetting the module via RESET pin. Though, there is a couple of differences here:
1. RESET_N is tied to the MCU hardware signal. When the pin is assert the MCU is immediately reset, there is no software intervention. While the 'reboot' command will bring down the network (close open stream and disassociate from WLAN/disconnect softap client) and cleanup any running hardware (e.g. stop PWMs, ADCs) before performing a software reset of the MCU.
2. Toggling the RESET_N pin does not cause any text output on the serial bus, whereas issuing a 'reboot' command prints the version string.