User's Manual

Table Of Contents
©2013DigiInternationalInc. 20
3.RFModuleConfiguration
Programming Examples
Refer to the ‘Command Mode’ section [p17] for information regarding entrance into Command
Mode, sending AT commands and exiting Command Mode. Refer to the ‘X-CTU’ section [p71] of
the ‘Development Guide’ for more information regarding Digi’s configuration software.
AT Commands
To Send AT Commands (Using the ‘Terminal’ tab of the X-CTU Software)
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 settings 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.
Binary Commands
To Send Binary Commands:
Note: CTS (pin 9) is high when a command is being executed. Hardware flow control must be disabled
as CTS will hold off parameter bytes.
Example: Utilize the 'Terminal' tab of the X-CTU Software to change the module's DT (Destina-
tion Address) parameter and save the new address to non-volatile memory. This example
requires the installation of Digi’s X-CTU Software and a serial connection to a PC.
Select the ‘Terminal’ tab of the X-CTU Software and enter the following command lines:
Method 1 (One line per command)
Send AT Command
+++
ATDT <Enter>
ATDT1A0D <Enter>
ATWR <Enter>
ATCN <Enter>
System Response
OK <CR> (Enter into Command Mode)
{current value} <CR> (Read Destination Address)
OK <CR> (Modify Destination Address)
OK <CR> (Write to non-volatile memory)
OK <CR> (Exit Command Mode)
Method 2 (Multiple commands on one line)
Send AT Command
+++
ATDT <Enter>
ATDT1A0D,WR,CN <Enter>
System Response
OK <CR> (Enter into Command Mode)
{current value} <CR> (Read Destination Address)
OK <CR> (Execute commands)
Example: Use binary commands to change the RF 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)