XStream™OEMRFModule–ProductManualv5.x00[2006.02.24]
3.3. XStream Command Descriptions
Command descriptions in this section are listed alphabetically. Command categories are
designated within “< >” symbols that follow each command title. XStream Modules expect
parameter numerical values in hexadecimal (designated by the “0x” prefix).
AM (Auto-set MY) Command
<Networking & Security> AM Command is used
to automatically set the MY (Source Address)
parameter from the factory-set module serial
number. The address is formed with bits 29, 28 and 13-0 of the serial number (in that order).
AT Command: ATAM
Binary Command: 0x3A (58 decimal)
Minimum firmware version required: 4.40
AT (Guard Time After) Command
AT Command: ATAT
Binary Command: 0x05 (5 decimal)
<Command Mode Options> AT Command is used
to set the DI time-of-silence that follows the AT
command sequence character (CC Command).
By default, AT Command Mode will activate after
one second of silence.
Parameter Range: 0x02 – 0xFFFF
[x 100 milliseconds]
Number of bytes returned: 2
Default Parameter Value: 0x0A (10 decimal)
Related Commands: BT (Guard Time Before),
CC (Command Sequence Character)
Refer to the AT Commands section [p
16] to view
the default AT Command Mode Sequence.
BD (Interface Data Rate) Command
AT Command: ATBD
Binary Command: 0x15 (21 decimal)
<Serial Interfacing> BD Command allows the
user to adjust the UART interface data rate and
thus modify the rate at which serial data is sent
to the RF module. The new baud rate does not
take effect until the CN command is issued. The
RF data rate is unaffected by the BD parameter.
Parameter Range (Standard baud rates): 0 – 6
©2006MaxStream,Inc.ConfidentialandProprietary 20
Most applications will require one of the seven
standard baud rates; however, non-standard
baud rates are also supported.
Note: If the interface data rate is set to exceed
the fixed RF data rate of the module,
flow
control may need to be implemented as
described in the Pin Signals [p
6], Flow Control
[p
10] and CS (DO2 Configuration) sections.
Non-standard Interface Data Rates: When
parameter values outside the range of standard
interface data rates are sent, the closest 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 MaxStream’s X-CTU Software, non-standard interface data rates
can only be set and read using the X-CTU ‘Terminal’ tab.
(Non-standard baud rates): 0x7D – 0xFFFF
Parameter Configuration (bps)
0 1200
1 2400
2 4800
3 9600
4 19200
5 38400
6 57600
Number of bytes returned: 2
Default Parameter Value: Set to equal module’s
factory-set RF data rate.
Related Commands: CN (Exit Command Mode)
Minimum firmware version required: 4.2B
(Custom baud rates not previously supported.)
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 that was actually stored in the BD register.
Table3‐02. ParameterSentvs.ParameterStored
BD Parameter Sent (HEX) Interface Data Rate (bps) BD Parameter Stored (HEX)
0 1200 0
4 19,200 4
7 115,200 7
12C 300 12B
1C200 115,200 1B207
Downloaded from Elcodis.com electronic components distributor