![MaxStream XStream X09-001 Series Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/maxstream/xstream-x09-001-series/xstream-x09-001-series_product-manual_1745556018.webp)
XStream™
OEM
RF
Module
–
Product
Manual
v5.x00
[2006.02.24]
3.
RF
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 [p16].
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.
Method 1 (One line per command)
Send
AT
Command
System
Response
+++
OK
<CR>
(Enter
into
Command
Mode)
ATDT
<Enter>
current
Destination
Address
<CR>
(Read)
ATDT1A0D <Enter>
OK <CR> (Change destination address)
ATWR
<Enter>
OK
<CR>
(Write to non-volatile memory)
ATCN <Enter>
OK <CR> (Exit 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>
(Read)
ATDT1A0D,WR,CN <Enter>
OK <CR> (Execute commands)
Note: In order to use a host PC and the X-CTU Software Terminal tab to send data to the module, PC
com port settings must match the baud, parity & stop bit parameters stored in the module.
Use the “PC Settings” tab to configure PC com port settings to match module parameter values.
3.1.2.
Binary Command Example
To Send Binary Commands:
Example: Use binary commands to change the XStream 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 5 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 5 is driven low)
(Exit Binary Command Mode)
Note:
(pin 1) is de-asserted high when commands are being executed. Hardware flow control
must be disabled as
will hold off parameter bytes.
MaxStream’s X-CTU
Software facilitates
module programming.
To install, double-click
the “setup_X-CTU.exe”
file that is located on
the MaxStream CD &
on the Internet.
(www.maxstream.net)
©
2006
MaxStream,
Inc.
Confidential
and
Proprietary
18
electronic components distributor