Product manual

XStreamPKGT™TelephoneRFModemProductManualv5.x00[2006.02.24]
2.2.2. AT Command Mode
This section illustrates how to configure the on-board RF Module using standard AT Commands.
Refer to p
17 for programming examples that implement the instructions on this page.
Hardware Setup:
The on-board RF Module is configured through the DB-9 connector of the PKG-T RF Modem. To
configure the on-board RF Module, DIP Switch 2 must be ON (up) and both and
must be asserted (+10V RS-232 logic). Most serial communications software (including
MaxStream’s X-CTU Software) will assert and when the serial com port is opened.
1. Attach an RS-232 cable to the DB-9 connectors of the XStream-PKG-T RF Modem and a PC.
2. Move DIP Switch 2 ( Control) to the ON (up) position.
3. Launch MaxStream’s X-CTU™ Software and select the “PC Settings” Tab.
[Refer to the X-CTU section of Appendix B for information about X-CTU.]
In the ‘Com Port Setup’ section, match the Baud, Parity and Stop Bit settings of the PC com
port with those of the RF Module. [Refer to BD & NB commands.]
Figure208. HardwareSetupforConfiguringtheRFModule
Enter AT Command Mode:
Enter the AT Command Mode Sequence using the “Terminal” tab* of the X-CTU Software.
[OR]
Assert (low) the pin and turn the power going to the modem off and back on. This can
be achieved by (i.) simultaneously pressing the Reset and Config switches [Figures 1-03b & 1-
03c], (ii.) releasing the Reset Switch, (iii.) then after 1 sec. releasing the Config Switch. The RF
Module then enters AT Command Mode at the module’s default baud rate.
* The “Modem Configuration” tab can also be used to send AT commands to the RF module.
When using this tab, make sure the settings under the ‘AT Command Setup’ sub-section of the
“PC Settings” tab match the AT Command Mode Sequence parameters stored in the RF Module.
The AT Command Mode Sequence (default parameter values are shown in parenthesis):
Observe Guard Time Before (ATBT = 0x0A, no characters sent for one second)
Enter three copies of the Command Sequence Character (ATCC = 0x2D, ASCII “---“)
Observe Guard Time After (ATAT = 0x0A, no characters sent for one second)
IMPORTANT: The default Command Sequence Character (“-“) is unique to the XStream-PKG-T
Telephone RF Modem. All other MaxStream Radio Modems use the “+” character as their default.
Send AT Commands:
When using the “Terminal” tab of the X-CTU Software, send AT Commands and parameters using
the syntax shown below:
Table202. SyntaxforsendingRFModuleATCommands:
To read a parameter value stored in a register, leave the parameter field blank.
The preceding example would change destination address of the RF Module to “1F”. To store the
new value to non-volatile (long-term) memory, the WR (Write) Command must follow.
©2006MaxStream,Inc.,ConfidentialandProprietary 16
www.agelectronica.com www.agelectronica.com
www.agelectronica.com www.agelectronica.com