Rts Flow Control; Break Control; Serial Interface Protocols; Transparent Operating Mode - Digi XBee-PRO S2C Zigbee User Manual

Rf module
Hide thumbs Also See for XBee-PRO S2C Zigbee:
Table of Contents

Advertisement

Operation

RTS flow control

If you send the D6 command to enable RTS flow control, the device does not send data in the serial
transmit buffer out the DOUT pin as long as RTS is de-asserted (set high). Do not de-assert RTS for
long periods of time or the serial transmit buffer will fill. If the device receives an RF data packet and
the serial transmit buffer does not have enough space for all of the data bytes, it discards the entire
RF data packet.
If the device sends data out the UART when RTS is de-asserted (set high) the device could send up to
five characters out the UART port after RTS is de-asserted.

Break control

If a serial break (DIN held low) signal is sent for over five seconds, the device resets, and it boots into
Command mode with default baud settings (9600 baud). If either P3 or P4 are not enabled, this break
function is disabled.

Serial interface protocols

The XBee/XBee-PRO Zigbee RF Module supports both Transparent and Application Programming
Interface (API) serial interfaces.

Transparent operating mode

When operating in Transparent mode, the devices act as a serial line replacement. The device queues
up all UART or SPI data received through the DIN or MOSI pin for RF transmission. When RF data is
received, the device sends the data out through the serial port. Use the Command mode interface to
configure the device configuration parameters.
Note
Transparent operation is not available when using SPI.
The device buffers data in the serial receive buffer and packetizes and transmits the data when it
receives the following:
No serial characters for the amount of time determined by the RO (Packetization Timeout)
n
parameter. If RO = 0, packetization begins when the device received a character.
Command Mode Sequence (GT + CC + GT). Any character buffered in the serial receive buffer
n
before the device transmits the sequence.
Maximum number of characters that fit in an RF packet.
n

API operating mode

API operating mode is an alternative to Transparent operating mode. The frame-based API extends
the level to which a host application can interact with the networking capabilities of the device. When
in API mode, the device contains all data entering and leaving in frames that define operations or
events within the device.
The API provides alternative means of configuring devices and routing data at the host application
layer. A host application can send data frames to the device that contain address and payload
information instead of using Command mode to modify addresses. The device sends data frames to
the application containing status packets, as well as source and payload information from received
data packets.
The API operation option facilitates many operations such as:
XBee/XBee-PRO® S2C Zigbee® RF Module
Break control
43

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee s2c zigbee

Table of Contents