Command descriptions for the XBee/XBee-PRO RF Module
XBee / XBee-PRO RF Modules 802.15.4 Product Manual 62
Note Refer the scan table in the SD description to determine scan times. If using API Mode, no
<CR>’s are returned in the response. Refer to the API Mode Operation section.
BD (Interface Data Rate) command
<Serial Interfacing> The BD command is used to set and read the serial interface data rate used
between the RF module and host. This parameter determines the rate at which serial data is sent to
the module from the host. Modified interface data rates do not take effect until the CN (Exit AT
Command Mode) command is issued and the system returns the 'OK' response.
When parameters 0-7 are sent to the module, the respective interface data rates are used (as shown
in the table above).
The RF data rate is not affected by the BD parameter. If the interface data rate is set higher than the
RF data rate, a flow control configuration may need to be implemented.
Non-standard interface data rates
Any value above 0x07 will be interpreted as an actual baud rate. When a value above 0x07 is sent, the
closest interface data rate represented by the number is stored in the BD register. For example, a rate
of 19200 bps can be set by sending the following command line “ATBD4B00”.
Note When using XCTU, non-standard interface data rates can only be set and read using the XCTU
‘Terminal’ tab. Non-standard rates are not accessible through the ‘Modem Configuration’ tab.
When the BD command is sent with a non-standard interface data rate, the UART will adjust to
accommodate the requested interface rate. In most cases, the clock resolution will cause the stored
BD parameter to vary from the parameter that was sent (refer to the table below). Reading the BD
command (send “ATBD” command without an associated parameter value) will return the value
actually stored in the module’s BD register.
AT command: ATBD
Parameter range:0 - 7 (standard rates)
0x80-0x3D090 (non-standard rates up to 250 kb/s)
Parameter Configuration (b/s)
0 1200
1 2400
2 4800
3 9600
4 19200
5 38400
6 57600
7 115200
Default parameter value:3