State Indication Using The Led Pins; Sleep Mode - We PROTEUS-III User Manual

Hide thumbs Also See for PROTEUS-III:
Table of Contents

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III

5.3. State indication using the LED pins

The pins LED_1 and LED_2 of the Proteus-III can be used to determine the module state. The
states described in Figure 8 result in the following pin behavior. The pins on the Proteus-III are
active high.
State
ACTION_IDLE
ACTION_SCANNING
ACTION_CONNECTED
ACTION_SLEEP
ACTION_DTM
BOOTLOADER waiting for
connection
BOOTLOADER connected,
firmware update running

5.4. Sleep mode

Especially for battery-powered devices the ACTION_SLEEP mode (system-off mode) supports
very low power consumption. It can be entered by sending the command CMD_SLEEP_REQ to the
module. As response, the module will send a CMD_SLEEP_CNF and then enter the ACTION_SLEEP
mode.
In ACTION_SLEEP mode the UART is disabled. Thus the module will not receive or transmit any
data. To prevent leakage current, the host shall not pull the URXD to LOW level (as the module
has an internal pull-up resistor enabled on this pin). The GPIO pins B1-B6 are set to input
during the sleep period.
To leave the ACTION_SLEEP mode and enter ACTION_IDLE state again, the module has to be
woken up by applying a low signal to the WAKE_UP pin for at least 5 ms before releasing the
signal back to high. The module then restarts completely, so that all volatile settings are set to
default. A CMD_GETSTATE_CNF will be send when the module is ready for operation again.
Please note that the WAKE_UP pin has a second function.
ule is not in ACTION_SLEEP mode and the UART was disabled using the
CMD_UARTDISABLE_REQ , the UART can be re-enabled by applying falling edge,
holding the line low for at least 10ms before applying a rising edge and
holding it high for at least 10ms. In this case the module answers with a
CMD_UARTENABLE_IND message.
Order code 2611011024000
Version 1.8 , July 2022
LED_1
Blinking (On for 200 ms, Off for
2800 ms)
Blinking (On for 1000 ms, Off for
1000 ms)
On
Off
Off
On
Off
Table 18: LED behavior of the Proteus-III
LED_2
Off
Off
Off, On (as soon as the channel
was opened successfully, see
CMD_CHANNELOPEN_RSP )
Off
Off
Off
On
If the mod-
www.we-online.com/wcs
36

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents