User's Guide

Table Of Contents
AT commands I/O line passing commands
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
99
IR (Sample Rate)
Set or read the I/O sample rate to enable periodic sampling. When set, this parameter causes the
device to sample all enabled DIO and ADC at a specified interval.
To enable periodic sampling, set IR to a non-zero value, and enable the analog or digital I/O
functionality of at least one device pin (see D0 (DIO0/AD0) -D8 (DIO8/SLEEP_REQUEST), P0
(RSSI/PWM0 Configuration) -P2 (SPI_MISO).
WARNING! If you set IR to 1 or 2, the device will not keep up and many samples will be lost.
Set or read the I/O sample rate to enable periodic sampling.
When set, this parameter causes the device to sample all enabled digital I/O and analog inputs at a
specified interval. Samples will be sent to the address specified by the DH and DL commands. The
target device must be operating in API mode in order to output the received sample data.
To enable periodic sampling, set IR to a non-zero value, and enable the analog or digital I/O
functionality of at least one device pin (D0 D9, P0 P9).
Parameter range
0 - 0xFFFF (x 1 ms)
Default
0
RP (RSSI PWM Timer)
The PWM timer expiration in 0.1 seconds. RP sets the duration of pulse width modulation (PWM) signal
output on the RSSI pin. The signal duty cycle updates with each received packet and shuts off when
the timer expires.
When RP = 0xFF, the output is always on.
Parameter range
0 - 0xFF (x 100 ms)
Default
0x28 (four seconds)
I/O line passing commands
The following AT commands are I/O line passing commands.
I/O Line Passing allows the digital and analog inputs of a remote device to affect the corresponding
outputs of the local device.
You can perform Digital Line Passing on any of the Digital I/O lines. Digital Inputs directly map to
Digital Outputs of each digital pin.
Analog Line Passing can be performed only on the first two ADC lines:
n ADC0 corresponds with PWM0
n ADC1 corresponds with PWM1