User's Guide
Table Of Contents
- XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
- Technical specifications
- Hardware
- Configure the XBee/XBee-PRO S2C 802.15.4 RF Module
- Modes
- Operation
- AT commands
- Special commands
- Networking and security commands
- C8 (802.15.4 Compatibility)
- CH (Operating Channel)
- ID (Network ID)
- DH (Destination Address High)
- DL (Destination Address Low)
- MY (Source Address)
- SH (Serial Number High)
- SL (Serial Number Low)
- MM (MAC Mode)
- RR (XBee Retries)
- RN (Random Delay Slots)
- ND (Network Discovery)
- NT (Node Discover Timeout)
- NO (Node Discovery Options)
- DN (Discover Node)
- CE (Coordinator Enable)
- SC (Scan Channels)
- SD (Scan Duration)
- A1 (End Device Association)
- A2 (Coordinator Association)
- AI (Association Indication)
- DA (Force Disassociation)
- FP (Force Poll)
- AS (Active Scan)
- ED (Energy Detect)
- EE (Encryption Enable)
- KY (AES Encryption Key)
- NI (Node Identifier)
- NP (Maximum Packet Payload Bytes)
- RF interfacing commands
- Sleep commands
- Serial interfacing commands
- I/O settings commands
- D0 (DIO0/AD0)
- D1 (DIO1/AD1)
- D2 (DIO2/AD2)
- D3 (DIO3/AD3)
- D4 (DIO4)
- D5 (DIO5/ASSOCIATED_INDICATOR)
- D8 (DIO8/SLEEP_REQUEST)
- P0 (RSSI/PWM0 Configuration)
- P1 (PWM1 Configuration)
- P2 (SPI_MISO)
- M0 (PWM0 Duty Cycle)
- M1 (PWM1 Duty Cycle)
- P5 (SPI_MISO)
- P6 (SPI_MOSI Configuration)
- P7 (SPI_SSEL )
- P8 (SPI_SCLK)
- P9 (SPI_ATTN)
- PR (Pull-up/Down Resistor Enable)
- PD (Pull Up/Down Direction)
- IU (I/O Output Enable)
- IT (Samples before TX)
- IS (Force Sample)
- IO (Digital Output Level)
- IC (DIO Change Detect)
- IR (Sample Rate)
- RP (RSSI PWM Timer)
- I/O line passing commands
- Diagnostic commands
- Command mode options
- Operate in API mode
- API mode overview
- API frame specifications
- Escaped characters in API frames
- Frame descriptions
- TX Request: 64-bit address frame - 0x00
- TX Request: 16-bit address - 0x01
- AT Command frame - 0x08
- AT Command - Queue Parameter Value frame - 0x09
- Remote AT Command Request frame - 0x17
- RX Packet: 64-bit Address frame - 0x80
- Receive Packet: 16-bit address frame - 0x81
- RX (Receive) Packet: 64-bit address IO frame- 0x82
- RX Packet: 16-bit address I/O frame - 0x83
- AT Command Response frame - 0x88
- TX Status frame - 0x89
- Modem Status frame - 0x8A
- Remote Command Response frame - 0x97
- Regulatory information
- Load 802.15.4 firmware on ZB devices
- Migrate from XBee through-hole to surface-mount devices
- PCB design and manufacturing
Operation Sleep support
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
62
n SP (Cyclic Sleep Period)
n DP (Disassociated Cyclic Sleep Period)
Sleep current
The following table shows the sleep current during the XBee/XBee-PRO S2C 802.15.4 RF Module sleep
modes.
Sleep mode
SM command setting
Sleep current
Pin sleep
1
<1 µA @ 25ºC
Cyclic sleep
4
<1 µA @ 25ºC
Cyclic sleep with pin wake-up
5
<1 µA @ 25ºC
You can make devices use low sleep current by driving PWM outputs high during sleep and by using
internal pull-ups/pull-downs on disabled/unused pins. The sleep pins are set up for sleeping as
specified in Sleep pins. Additionally, pins that are outputs (other than PWM outputs) continue to output
the same levels during sleep. Normally, this means that pins configured for output high or low will
output high or low accordingly. However, if the output is overridden by I/O line passing, then the
overridden output level is maintained during the sleep time.
Sleep pins
The following table describes the three external device pins associated with sleep. For more details
about the pins, see Pin signals.
Pinname
Pin
number Description
SLEEP_
RQ
TH pin
9/SMT
pin 10
For SM = 1, high puts the device to sleep and low wakes it up. For SM = 5, a
high to low transition wakes the device up for ST time. The device ignores a
low to high transition in SM = 5.
CTS TH pin
12/SMT
pin 25
If D7 = 1, high indicates that the device is asleep and low indicates that it is
awake and ready to receive serial data.
ON_
SLEEP
TH pin
13/SMT
pin 26
Low indicates that the device is asleep and high indicates that it is awake and
ready to receive serial data. For the XBee/XBee-PRO S2C 802.15.4 RF Module,
this pin cannot be configured to anything different.
Direct and indirect transmission
There are two methods to transmit data:
n Direct transmission: data is transmitted immediately to the Destination Address
n Indirect transmission: a packet is retained for a period of time and is only transmitted after the
destination device (source address = destination address) requests the data.