![MaxStream 9XTend Product Manual Download Page 17](http://html1.mh-extra.com/html/maxstream/9xtend/9xtend_product-manual_1745552017.webp)
9XTend™
OEM
RF
Module
–
Product
Manual
v1.2.4
©
2005
MaxStream,
Inc.
Confidential
&
Proprietary
17
3.
Module
Configuration
3.1.
Hands-on Programming Examples
For information about entering and exiting AT and Binary Command Modes, refer to the
Command Mode section [p15].
3.1.1.
AT Command Example
To Send AT Commands
(Using the Terminal tab of MaxStream’s X-CTU Software)
Example: Both of the following examples change the module’s destination address to 0x1A0D and
save the new address to non-volatile memory. <CR> stands for “Carriage Return”.
Method 1 (One line per command)
Send
AT
Command
System
Response
+++
OK
<CR>
(Enter
into
Command
Mode)
ATDT
<Enter>
current
destination
address
<CR>
ATDT1A0D <Enter>
OK <CR> (Change destination address)
ATWR <Enter>
OK <CR> (Write to non-volatile memory)
ATCN
<Enter>
OK
<CR>
(Exit
AT
Command
Mode)
Method 2 (Multiple commands on one line)
Send
AT
Command
System
Response
+++
OK
<CR>
(Enter
into
Command
Mode)
ATDT
<Enter>
current
destination
address
<CR>
ATDT1A0D,WR
<Enter>
OK
<CR>
(Execute
commands)
ATCN <Enter>
OK (Exit AT Command Mode)
Note: When using X-CTU Software to program a module, PC com port settings must match the baud
(interface data rate), parity & stop bits parameter values of the module. Use the ‘Com Port Setup’
section of the “PC Settings” tab to configure PC com port settings to match those of the module.
3.1.2.
Binary Command Example
To Send Binary Commands:
Example: Use binary commands to change the XTend Module’s destination address to 0x1A0D
and save the new address to non-volatile memory.
1.
RT Command must be set to ‘1’ in AT Command Mode to enable binary programming.
2.
Assert CMD (Pin 10 is driven high).
(Enter Binary Command Mode)
3.
Send Bytes [parameter bytes must be 2 bytes long]:
00
(Send
DT
(Destination
Address)
Command)
0D
(Least
significant
byte
of
parameter
bytes)
1A
(Most
significant
byte
of
parameter
bytes)
08
(Send
WR
(Write)
Command)
4.
De-assert CMD (Pin 10 is driven low)
(Exit Binary Command Mode)
Note:
(pin 9) is high when command is being executed. Hardware flow control must be disabled
as
will hold off parameter bytes.
Note:
Do
not
send
commands
to
the
module
during
flash
programming
(when
parameters
are
being
written
to
the
module
registry).
Wait
for
the
ʺ
OK
ʺ
system
response
that
follows
the
ATWR
command
before
entering
the
next
command
or
use
flow
control.