
Sleep modes
About sleep modes
Digi XBee Cellular LTE Cat 1 Embedded Modem User Guide
48
About sleep modes
A number of low-power modes exist to enable devices to operate for extended periods of time on
battery power. Use
to enable these sleep modes.
Normal mode
Set
SM
to 0 to enter Normal mode.
Normal mode is the default sleep mode. If a device is in this mode, it does not sleep and is always
awake.
Devices in Normal mode are typically mains powered.
Pin sleep mode
Set
SM
to 1 to enter pin sleep mode.
Pin sleep allows the device to sleep and wake according to the state of the SLEEP_RQ pin (pin 9).
When you assert SLEEP_RQ (high), the device finishes any transmit or receive operations, closes any
active connection, and enters a low-power state.
When you de-assert SLEEP_RQ (low), the device wakes from pin sleep.
Cyclic sleep mode
Set
SM
to 4 to enter Cyclic sleep mode.
Cyclic sleep allows the device to sleep for a specific time and wake for a short time to poll.
If you use the
D7
command to enable hardware flow control, the CTS pin asserts (low) when the
device wakes and can receive serial data, and de-asserts (high) when the device sleeps.
Cyclic sleep with pin wake up mode
Set
SM
to 5 to enter Cyclic sleep with pin wake up mode.
This mode is a slight variation on Cyclic sleep mode (
SM
= 4) that allows you to wake a device
prematurely by de-asserting the SLEEP_RQ pin (pin 9).
In this mode, you can wake the device after the sleep period expires, or if a high-to-low transition
occurs on the SLEEP_RQ pin.
Airplane mode
While not technically a sleep mode, airplane mode is another way of saving power. When set, the
cellular component of the XBee Cellular Modem is fully turned off and no access to the cellular
network is performed or possible. Use
to configure this mode.
The sleep timer
If the device receives serial or RF data in Cyclic sleep mode and Cyclic sleep with pin wake up modes
(
SM
= 4 or
SM
= 5), it starts a sleep timer (time until sleep).
n
Use
to set the duration of the timer.
n
When the sleep timer expires the device returns to sleep.