Silex technology SX-560 User Manual

SX-560 Embedded Intelligent Module
Developer’s Reference Guide
Part Number 140-00192-100
Revision C-2
© 2008 Silex Technology America, Inc.. All rights reserved. October, 2008
Silex Technology America SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS OF THIS PRODUCT FOR A PARTICULAR PURPOSE. Silex shall not be liable for any errors contained in this manual or for any damages resulting from loss of use, data, profits, or any incidental or consequential damages arising from the use of SILEX products or services. The information contained in this documentation is subject to change without notice.
Information and descriptions contained herein are the property of Silex. Such information and descriptions may not be copied, disseminated, or distributed without the express written consent of Silex. This publication is subject to change without notice.
The software embedded in this SX-560 module includes the Linux operating system. Linux and certain other software programs used in the SX-560 are licensed under GNU GPL compatible Free Software Licenses. In compliance with these licenses, you can obtain the relevant source code at no charge by contacting Silex at support@silexamerica.com.
Trademarks
ExtendView is a trademark of Silex Technology America, Inc. All other company or product names referenced in this document may be trademarks or registered trademarks of their respective owners.
Silex Technology America, Inc.
www.silexamerica.com
Contents
Silex
Page i
Part Number 140-00192-100
Contents
About This Reference Guide............................................................................................................................................ 1
Safety Precautions ........................................................................................................................................................ 1
Emissions Disclaimer.................................................................................................................................................... 1
Chapter 1: Introduction..................................................................................................................................................... 3
Chapter 2 Installing the Evaluation Daughtercard.......................................................................................................... 5
Verify Development Kit Contents................................................................................................................................. 7
Installing the SX-560 Module ....................................................................................................................................... 8
Monitoring Module Status............................................................................................................................................. 9
OEM Interface ............................................................................................................................................................... 9
Electrical Characteristics ............................................................................................................................................ 10
Power Input.............................................................................................................................................................. 10
Power Management ................................................................................................................................................ 11
Serial Ports .............................................................................................................................................................. 11
RS-232 Cable .......................................................................................................................................................... 12
26-Pin I/O Header ................................................................................................................................................... 14
LEDs and General Purpose I/O Signals ................................................................................................................ 15
USB Host Port and Ethernet Port ......................................................................................................................... 16
Ethernet Port ........................................................................................................................................................... 16
Additional OEM Interface Signals .......................................................................................................................... 16
Serial Peripheral Interface ...................................................................................................................................... 16
LCD Interface .......................................................................................................................................................... 17
OEM Interface Electrical Characteristics ............................................................................................................... 17
Chapter 3 Configuring the SX-560 ................................................................................................................................ 19
Basic Configuration Requirements ............................................................................................................................ 19
Initial Wireless Setup .................................................................................................................................................. 20
Configuration Methods ............................................................................................................................................... 20
Using the ExtendView Utility to Configure the SX-560 (Ethernet Connection) ...................................................... 22
Using a Web Browser to Configure the SX-560 ....................................................................................................... 26
Using the Internal Command Console to Configure the SX-560............................................................................. 28
Chapter 4 Using the SX-560 with Your Application...................................................................................................... 31
Linux Programmability ................................................................................................................................................ 31
Customizing the SX-560 User Interface .................................................................................................................... 31
Power Configuration ................................................................................................................................................... 32
Serial Port Emulator.................................................................................................................................................... 32
Raw TCP connection .................................................................................................................................................. 33
RFC 2217 Remote Modem Control Support............................................................................................................. 34
ECable Mode............................................................................................................................................................... 34
Print Server Mode ....................................................................................................................................................... 35
Console Mode Switching ............................................................................................................................................ 35
AT Commands ............................................................................................................................................................ 36
Page ii
Silex
Contents
Part Number 140-00192-100
SNMP Traps, Email Alerts, and GPIO Status ........................................................................................................... 36
Chapter 5 Interfacing the SX-560 to the OEM Device ................................................................................................. 37
SX-560 Power Requirements .................................................................................................................................... 41
Installing the SX-560................................................................................................................................................... 42
Antenna Connectors ................................................................................................................................................... 42
Retaining Bracket (Optional) ...................................................................................................................................... 43
Regulatory Approval Requirements........................................................................................................................... 44
General Purpose I/O Interface ................................................................................................................................... 44
Chapter 6 Advanced Configuration .............................................................................................................................. 45
Factory Default Settings ............................................................................................................................................. 45
Restoring Factory Default Settings ........................................................................................................................ 46
Modifying TCP/IP Settings ......................................................................................................................................... 46
Configuring SNMP ...................................................................................................................................................... 49
Configuring the General Purpose I/O (GPIO) Lines ................................................................................................. 50
Configuring Serial Port Monitor Alert and Trap Configuration ................................................................................. 61
Setting up Email Alerts and SNMP Traps ................................................................................................................. 62
Using AT Modem Commands .................................................................................................................................... 62
Standard AT Commands Supported...................................................................................................................... 63
Response Codes ........................................................................................................................................................ 65
Using ExtendView for Bulk Configuration ................................................................................................................. 65
Chapter 7 Product Specifications ................................................................................................................................. 67
TCP Port Connections................................................................................................................................................ 68
Appendix A Advanced Security Configuration............................................................................................................. 69
Appendix B Console Commands.................................................................................................................................. 73
Wireless and Network Security Commands.............................................................................................................. 73
Port Commands .......................................................................................................................................................... 78
Server Information Commands .................................................................................................................................. 79
Service Commands .................................................................................................................................................... 81
SNMP Commands ...................................................................................................................................................... 83
String Commands ....................................................................................................................................................... 84
TCP/IP Commands ..................................................................................................................................................... 85
Power Configuration Commands ............................................................................................................................... 89
Miscellaneous Commands ......................................................................................................................................... 90
Help Commands ......................................................................................................................................................... 90
Appendix C Engineering Drawings................................................................................................................................ 91
Antenna Cable Drawings and Specifications ............................................................................................................ 91
Antenna Drawings and Specifications ....................................................................................................................... 92
Appendix D Firmware Update Procedures ................................................................................................................... 95
Appendix E Using the Silex Virtual Link USB Software ............................................................................................... 97
Appendix F GNU/Linux Open Source and Programming ............................................................................................ 99
Appendix G Silex Contact Information ........................................................................................................................ 101
Contents
Silex
Page iii
Part Number 140-00192-100
Figures
Figure 1 SX-560 top and bottom view ............................................................................................................................ 3
Figure 2 Installing SX-560 Module in Evaluation Daughtercard................................................................................... 5
Figure 3 SX-560 Module Inserted in Daughtercard....................................................................................................... 8
Figure 4 Serial Port DB-9 Connector ........................................................................................................................... 11
Figure 5 RS-232 Cable Pinouts .................................................................................................................................... 13
Figure 6 GPIO Special Functions Jumpers (Example Configuration) ........................................................................ 14
Figure 7 USB/Ethernet Jumper Settings ...................................................................................................................... 16
Figure 9 Using spacers with SX-560 WLAN model..................................................................................................... 42
Figure 10 Main and Auxiliary Antenna Connectors ..................................................................................................... 42
Figure 11 Retaining Bracket ......................................................................................................................................... 43
Figure 12 TCP/IP Window............................................................................................................................................. 46
Figure 13 Change Password Window .......................................................................................................................... 47
Figure 14 Advanced TCP/IP Configuration Window ................................................................................................... 48
Figure 15 SNMP Configuration ..................................................................................................................................... 50
Figure 16 Antenna Cable Assembly............................................................................................................................. 91
Tables
Table 1 Development Kit Contents................................................................................................................................. 7
Table 2 Status Monitors ................................................................................................................................................... 9
Table 3 OEM Interface Pinout ........................................................................................................................................ 9
Table 4 OEM Interface Signal Descriptions .................................................................................................................. 10
Table 5 DB-9 Pinouts for RS-232 Mode ...................................................................................................................... 11
Table 6 Logical Serial Port 1 Signal Descriptions ....................................................................................................... 12
Table 7 RS-232 Cable Pinout Description ................................................................................................................... 13
Table 8 GPIO Special Functions .................................................................................................................................. 13
Table 9 26-Pin I/O Header ............................................................................................................................................ 14
Table 10 General Purpose I/O Signal Descriptions ..................................................................................................... 15
Table 11 LED and GPIO Descriptions ......................................................................................................................... 15
Table 12 OEM Signal Parameter Descriptions............................................................................................................ 17
Table 13 OEM Interface Pinout .................................................................................................................................... 40
Table 14 OEM Interface Signal Descriptions................................................................................................................ 40
Table 15 Antenna Connector Types............................................................................................................................. 43
Table 16 GPIO Interface ............................................................................................................................................... 44
Table 17 Factory Default Settings ................................................................................................................................ 45
Table 18 TCP/IP Settings.............................................................................................................................................. 47
Table 19 TCP/IP Configuration Settings ...................................................................................................................... 48
Table 20 SNMP Commands ......................................................................................................................................... 49
Table 21 GPIO General Commands ............................................................................................................................ 51
Table 22 GPIO Trigger Commands.............................................................................................................................. 54
Table 23 GPIO Transmit Commands ........................................................................................................................... 56
Table 24 GPIO Data Commands.................................................................................................................................. 56
Table 25 E-GPIO TCP Monitor Commands................................................................................................................. 58
Table 26 GPIO SNMP Management ............................................................................................................................ 59
Table 27 Port Monitor Alert Commands...................................................................................................................... 61
Table 28 AT Commands ............................................................................................................................................... 63
Table 29 Extended AT Commands .............................................................................................................................. 64
Table 30 Response Codes ........................................................................................................................................... 65
Table 31 Product Specifications ................................................................................................................................... 67
Table 32 Radio Specifications ...................................................................................................................................... 67
Table 33 TCP Port Connections ................................................................................................................................... 68
Table 34 Network Commands ...................................................................................................................................... 73
Table 35 Port Commands ............................................................................................................................................. 78
Page iv
Silex
Contents
Part Number 140-00192-100
Table 36 Server Information Commands ..................................................................................................................... 79
Table 37 Service Commands ....................................................................................................................................... 81
Table 38 SNMP Commands ......................................................................................................................................... 83
Table 39 String Commands .......................................................................................................................................... 84
Table 40 TCP/IP Commands ........................................................................................................................................ 85
Table 41 Power Configuration ...................................................................................................................................... 89
Table 42 Miscellaneous Commands ............................................................................................................................ 90
Table 43 Electrical Performance .................................................................................................................................. 92
Table 44 Electrical Specifications................................................................................................................................. 93
About This Reference Guide
Silex
Page 1
Part Number 140-00192-100
About This Reference Guide
This reference guide provides detailed specifications, diagrams and additional information required to integrate the SX-560 embedded intelligent module in a product. The intended audiences are the developers and engineers responsible for the integration of the module in another product.
Safety Precautions
! To prevent damage to the SX-560 module’s electronic circuit components, follow established ESD practices
and procedures for handling static-sensitive devices. All ESD-sensitive components must be stored and shipped in ESD-conductive bags or bubble-wrap and labeled as such using the standardized ESD adhesive warning label.
! Ethernet electrical wiring must be at least 6 feet from bare power wiring or lightning rods and associated
wires, and at least 6 inches from other types of wire (antenna wires, doorbell wires, wires from transformers to neon signs), steam or hot water pipes, and heating devices.
! Protectors and grounding wire placed by the service provider must not be connected to, removed, or
modified by the customer.
Emissions Disclaimer
Final emission certification per FCC, CE and other agency requirements are the responsibility of the OEM using any printed circuit assemblies or other items used in this developer’s kit in their saleable packaged product.
Page 2
Silex
About This Reference Guide
Part Number 140-00192-100
Introduction
Silex
Page 3
Part Number 140-00192-100
Chapter 1: Introduction
The SX-560 embedded intelligent module provides a complete solution for integrating wireless networking technology into virtually any OEM product that has an RS-232 or UART serial port, or a USB V1.1 port. It has a main printed circuit board that contains a processor, memory, flash memory, three (3) serial ports (one dedicated for use as a console) plus a USB V1.1 host port and an SPI port. The wireless LAN functionality is provided through an SDIO 802.11a/b/g radio daughtercard based on the Atheros AR6001XL chipset. The SX-560 measures 49.6 x 34.3 x 9.65 mm (1.95 x 1.35 x 0.38 inches).
The SX-560-6900 Evaluation Daughtercard is available to expedite the development process. This board includes an RJ45 Ethernet connector, three 9-pin serial connectors, one USB connector, header connectors for all major I/O, power supply, antenna, cables, and software.
Figure 1 SX-560 top and bottom view
Page 4
silex
Introduction
Part Number 140-00192-100
Installing the Evaluation Daughtercard
Silex
Page 5
Part Number140-00192-100
Chapter 2
Installing the Evaluation Daughtercard
The SX-560-6900 Evaluation Daughtercard is designed to help you in the development of the necessary hardware and software required to use the SX-560 module. It includes I/O connectors, cables, and power supply in an easy-to-use package. The SX-560 Module is installed in the Evaluation Daughtercard as shown in Figure 2.
Figure 2 Installing SX-560 Module in Evaluation Daughtercard
Page 6
silex
Installing the Evaluation Daughtercard
Part Number 140-00192-100
The Evaluation Daughtercard makes it easy to connect to the SX-560 for test and development by providing the following:
Three (3) 9-pin connectors and one (1) 10-pin header for connecting the SX-560 serial ports
One (1) 26-pin header for connecting GPIOs, SPI, power, and ground
One (1) RJ45 Ethernet connector
One power jack
3 LEDs for displaying the power and network status
7 LEDs for monitoring the GPIO signals
One (1) Test Button for printing configuration data and resetting the SX-560 to factory defaults
One (1) 18-pin header for selecting GPIOs as modem controls
Two (2) built-in bead antennas
Power supply and mounting hardware
Documentation and software on CD-ROM
The locations of the major Evaluation Daughtercard connectors and headers are shown in the diagram below.
Installing the Evaluation Daughtercard
Silex
Page 7
Part Number 140-00192-100
Verify Development Kit Contents
The SX-560-6900 Evaluation Module Development Kit consists of the components listed in Table 1. Please ensure that all materials listed are present and free from visible damage or defects before proceeding. If anything appears to be missing or damaged, please contact Silex.
Table 1 Development Kit Contents
Description
SX-560-6900 Evaluation Daughtercard
5 VDC 1 Amp Power Supply
AC Power Cord for US
AC Power Cord for Europe
3 x Serial Null Modem Cables with Gender Changer
2 x U.FL/I-PEX to U.FL/I-PEX 100mm (4”) Antenna Cable
2 x U.FL/I-PEX to RP-SMA 100mm (4”) Antenna Cable
2 x 2.4/5GHz Pole Antenna
Metal Retaining Bracket
Plastic bag containing:
! 4 x Rubber Feet with Adhesive
! 3 M2 screws
! 3 M2 nuts
! 3 nylon spacers
CD containing:
! ExtendView Software
! Serial Port Emulator
! UpdateIP Utility Software
! This User’s Guide
Page 8
silex
Installing the Evaluation Daughtercard
Part Number 140-00192-100
Installing the SX-560 Module
To install the SX-560 module in the SX-560-6900 Evaluation Daughtercard:
1. Using the 40-pin OEM interface header (JP2), plug the SX-560 Module in the SX-560-6900 Evaluation Daughtercard and secure with screws, nuts and spacers (you may optionally use the metal retaining bracket to secure the radio card and to reduce electromagnetic interference; refer to Chapter 5 for information on using this bracket). Important: The spacers MUST be installed to avoid
potential damage to the boards.
Figure 3 SX-560 Module Inserted in Daughtercard
2. The Evaluation Daughtercard includes both on-board bead antennas and external antennas. Use the included U.FL to U.FL cables with the bead antennas or the U.FL to RP-SMA cables with the external antennas. Plug the main antenna cable into the Main Antenna Connector on the card (see Figure 3). Plug the auxiliary antenna cable into the Auxiliary Antenna Connector (the auxiliary antenna improves radio reception, but is not required for operation).
3. If you are using the on-board bead antennas, connect the other end of the antenna cable(s) into either of the built-in bead antenna connectors (J7 and J8) as shown in figure 3. If you are using the external antennas, connect the RP-SMA end of the antenna cable(s) to the external antenna(s).
4. Connect one serial null-modem cable from the Serial Port 3 DB-9 connector (J5) on the Evaluation Daughtercard to a serial port on a personal computer or laptop (the computer’s serial port must be set to 115.2Kbps, no parity, no flow control, and 8-bit character size). The PC or laptop acts as a console port for command line configuration and monitoring.
5. If you want to use an Ethernet LAN connection for the initial configuration of the SX-560 (recommended), plug a category 5 Ethernet cable into the RJ-45 jack. The Ethernet interface has Auto-MDIX that automatically detects and configures itself for either a straight-thru or crossover Ethernet cable.
Installing the Evaluation Daughtercard
Silex
Page 9
Part Number 140-00192-100
Monitoring Module Status
You can monitor the module status using the yellow, green and orange LED status indicators on the Evaluation Daughtercard. Table 2 defines the default functions of the LED status indicators.
Table 2 Status Monitors
Function
State
Status
On
The module is receiving power
Off
The module is not receiving power
Power
Orange (D8) Blinking
Firmware update is in progress (Important: Do not power off the module during the update process)
Network Status
Yellow (D9)
Yellow On
Wireless connection established
OEM Interface
The OEM interface is a 40-pin header (JP2) that is used to connect the SX-560 module to the SX-560-6900 Evaluation Daughtercard. It will also serve as the primary means of communications between the SX-560 and your OEM device (refer to Chapter 5 for information on using this header to connect with your device).
Table 3 shows the OEM interface pinout for the Evaluation Daughtercard. Table 4 shows the OEM interface signal descriptions. Please note that the OEM interface signals are not directly accessible from the OEM header when the Evaluation Daughtercard is used. Rather, these signals are available through convenient connectors on the Evaluation Daughtercard, such as the 26-pin I/O Header and the 9-pin serial connectors. These connectors are described later in this chapter.
All input and output signals, except the differential signals, are 0 to 3.3 V logic signals.
Table 3 OEM Interface Pinout
PIN
SIGNAL
PIN
SIGNAL
1
RESETI-
2
GPIO_0
3
GPIO_1
4
GPIO_2
5
GROUND
6
+3.3VDC
7
GPIO_3
8
GPIO_4
9
GPIO_5
10
GPIO_6
11
GPIO_7
12
GPIO_8
13
GPIO_9
14
TXD0
15
GPIO_10
16
CTS0-
17
GROUND
18
+3.3VDC
19
USB+
20
RTS0-
21
USB-
22
RXD0
23
+3.3VDC
24
GROUND
25
SPI_CS-
26
TXD1
27
SPI_CLK
28
CTS1-
29
GROUND
30
+3.3VDC
31
SPI_MOSI
32
RTS1-
33
SPI_MISO
34
RXD1
35
+3.3VDC
36
GROUND
37
IIC_SDC
38
TXD2
39
IIC_SDA
40
RXD2
Page 10
silex
Installing the Evaluation Daughtercard
Part Number 140-00192-100
Table 4 OEM Interface Signal Descriptions
Signal
Pin
Type
Description
GPIO_0, GPIO_1, GPIO_2, GPIO_3, GPIO_4, GPIO_5, GPIO_6l GPIO_7, GPIO_8, GPIO_9, GPIO_10
2, 3, 4, 7, 8, 9, 10, 11, 12, 13, 15
Input/Output
General Purpose Input/Output Signals 0­10, User defined (GPIO_10 is normally used for the Test Button and GPIO8­GPIO10 are normally used for the status LEDs)
RXD0
22
Input
Serial Port 1 Receive Data
TXD0
14
Output
Serial Port 1 Transmit Data
RTS0-
20
Output
Serial Port 1 Request To Send
CTS0
16
Input
Serial Port 1 Clear to Send
RXD1
34
Input
Serial Port 2 Receive Data
TXD1
26
Output
Serial Port 2 Transmit Data
RTS1-
32
Output
Serial Port 2 Request To Send
CTS1
28
Input
Serial Port 2 Clear to Send
USB+, USB-
19, 21
Input/Output
USB V1.1 Host Interface
SPI_CS
25
Output
Serial Peripheral Interface Chip Select (high-true)
SPI_MOSI
31
Output
Serial Peripheral Interface Data Out
SPI_MISO
33
Input
Serial Peripheral Interface Data In
SPI_CLK-
27
Input and (low­true)
Serial Peripheral Interface Clock
IIC_SCL
37
Input/Output
Inter-IC Bus (IIC) Clock
IIC_SDA
39
Input/Output
Inter-IC Bus (IIC) Data
RESET-
24
Output
Open-Drain with Pull-up on SX-560
+3.3VDC
6. 23. 30, 35
Power
Power VCC Input
GND
5, 24, 29, 36
Power
Power Ground
Electrical Characteristics
The power requirements, port pinouts, GPIO characteristics, cable connections and wireless operational modes are described below.
Power Input
Power to the SX-560 Module and the SX-560-6900 Evaluation Daughtercard is supplied through the power jack, located at J6, at +5VDC ±10%. Use the included power supply or an equivalent +5VDC power supply with a minimum of 1 amp capacity.
Power of +3.3VDC ±5% is supplied to the SX-560 Module via the I/O header, JP13.
Installing the Evaluation Daughtercard
Silex
Page 11
Part Number 140-00192-100
Power Management
The SX-560 power consumption is typically 280mA for wireless-to-serial usage, with a peak consumption is 400mA @ 3.3V. In powersave mode (refer to Chapter 4 for more information) with the SX-560 connected wirelessly to an access point, the consumption is 60mA while idling and an average of about 73mA including wakenings to answer the beacon poll.
The above numbers assume that the only active connections are the 802.11 wireless interface and the serial interface (for example, there are no connections to the GPIOs). Power consumption specifications are subject to change; contact Silex for more information.
Serial Ports
Standard serial RS-232 signals are available on the DB-9 male connectors J3, J4 and J5 for Serial Ports 1, 2 and 3 (Serial Port 3 is dedicated as a console port, while Serial Port 2 can be set as either a console port or an I/O port), as shown in Figure 4. Serial Ports 1 and 2 include the RTS and CTS modem signals for hardware flow control, and Serial Port 1 can also support DCD, DTR, and DSR by setting the appropriate jumpers on the JP9 header (see the Using the GPIO Special Functions section later in this chapter). Serial Port 3 does not support any modem signals, and is fixed for operation at 115.2Kbps, no parity, no flow control, and 8-bit character size.
The DB-9 connectors use industry-standard PC-compatible pinouts as shown below:
Figure 4 Serial Port DB-9 Connector
Table 5 DB-9 Pinouts for RS-232 Mode
DB-9
RS-232 Signal
Type
1
DCD
Input
Enabled via JP9 header (Serial Port 1 only)
2
RXD
Input
3
TXD
Output
4
DTR
Output
Enabled via JP9 header (Serial Port 1 only)
5
Ground
6
DSR
Input
Enabled via JP9 header (Serial Port 1 only)
Page 12
silex
Installing the Evaluation Daughtercard
Part Number 140-00192-100
DB-9
RS-232 Signal
Type
7
RTS
Output (not supported on Serial Port 3)
8
CTS
Input (not supported on Serial Port 3)
9
NC
Serial Port 1 can also be accessed using logic signals via a 10-pin header located at JP6. If you want to use this header, you must place a jumper on the 2-pin header at JP10 to disable the RS-232 transceiver. The pinouts are as follows:
Table 6 Logical Serial Port 1 Signal Descriptions
Pin
Signal
Input/Output
Pin
Signal
Input/Output
1
DCD
Input
Enabled via JP9 header
2
DSR
Input
Enabled via JP9 header
3
RXD
Input
4
RTS
Output
5
TXD
Output
6
CTS
Input
7
DTR
Output
Enabled via JP9 header
8
No Connect
9
GND 10
3.3V
All signals are 0 to 3.3 V logic signals.
The console port (Serial Port 3) can be also be accessed via the 26-pin I/O header pin headers (pin 19 for TxD and pin 22 for RxD). The console port is normally set to use the DB-9 connector; to use the 26-pin I/O header, remove the jumper on the header at JP11 so that two sources are not driving the RXD2 signal.
Note that Serial Port 3 is dedicated for use as a console port for configuring the SX-560. Serial port 3 is always set for operation at 115.2Kbps, 8 bit character size, no parity, and no flow control.
Serial Port 2 is set by default for console operation at 115.2Kbps, 8-bit characters, no parity, and no flow control. This port can be set as a second I/O port using the SET PORT S2 CONSOLE DISABLE console command.
RS-232 Cable
The supplied DB-9 female-to-female null modem cable is wired as shown below. The pinouts are compatible with a standard PC 9-pin serial connector, so this cable can be used to directly connect a PC to Serial Port 3 for use as a console terminal to configure the SX-560. It can also be used to connect many types of OEM serial devices to Serial Port 1 or Serial Port 2, provided that these devices use PC­compatible 9-pin connectors.
Installing the Evaluation Daughtercard
Silex
Page 13
Part Number 140-00192-100
Figure 5 RS-232 Cable Pinouts
Table 7 RS-232 Cable Pinout Description
Pin
Description
1
DCD (Data Carrier Detect) Input*
6
DSR (Data Set Ready) Input*
2
RxD (Receive Data) Input
3
TxD (Transmit Data) Output
4
DTR (Data Terminal Ready) Output*
7
RTS (Request To Send) Output*
8
CTS (Clear To Send) Input*
5
Ground
*Note: Serial Port 1 (J3) supports all signals. Serial Port 2 (J4) supports RxD, TxD, RTS, and CTS. Serial Port 3 (J5; dedicated console port) supports RxD and TxD only.
Using the GPIO Special Functions
Six of the General Purpose I/Os (GPIOs) can be configured for either user-defined operations or for GPIO for special functions. These special functions are summarized in the following table:
Table 8 GPIO Special Functions
Special Function (default setting)
Description
GPIO_3
TSPICS
Enable SPI temperature sensor GPIO_4
DTR0
Serial Port 1 DTR modem signal GPIO_5
DSR0
Serial Port 1 DSR modem signal GPIO_6
DCD0
Serial Port 1 DCD modem signal
GPIO_7
GRN
Green status LED (D10) GPIO_8
YEL
Yellow status LED (D9)
The mode of operation for each of the GPIOs can be set by installing jumpers between headers JP7 and JP8 for GPIO operation, or between headers JP8 and JP9 for special function operation (all of the special functions are enabled by default). For example, in the follow diagram, GPIO_3 is enabled for SPI temperature sensor, while GPIO_4 is enabled as the DTR signal (DTR0) for Serial Port 1. The GPIO_5 through GPIO_8 are used as normal GPIOs in this example.
Page 14
silex
Installing the Evaluation Daughtercard
Part Number 140-00192-100
Figure 6 GPIO Special Functions Jumpers (Example Configuration)
The GPIOs are accessed via header JP3 as described in the next section. You can set and read the GPIO state, and set Email alerts and SNMP traps based on the GPIO state as described in Chapter 6 of this manual.
26-Pin I/O Header
The I/O Header, located at JP3, is a 26-pin interface for connecting to the SX-560 GPIO and SPI interfaces. It also provides a direct way of connecting to the SX-560 console interface using 3.3V logic levels rather than the DB-9 RS-232 connector.
The GPIOs, located on JP3, can be used for controlling or monitoring OEM functions. External pull-ups are recommended for customization.
Table 9 26-Pin I/O Header
Pin
Signal
Selectable
Pin
Signal
Selectable
1
GPIO_1
2
GPIO_0
3
GPIO_2
4
3.3V
5
GND 6
HGPIO_3
Via JP7
7
HGPIO_5
Via JP7
8
HGPIO_4
Via JP7
9
HGPIO_7
Via JP7
10
HGPIO_6
Via JP7
11
GPIO_9
12
HGPIO_8
Via JP7
13
3.3V 14
GPIO_10
15
SPI CLK
16
GND
17
SPI SLVCS-
18
SPI MOSI
19
TXD2 20
SPI MISO
21
GND 22
RXD2
23
IIC SCL
24
3.3V
25
IIC SDA
26
RESET-
GPIO 3
GPIO 4
GPIO 5
GPIP 6
GPIO 7
GPIO 8
TSPICS
DTR0
DSR0
DCD0
GRN
YEL
JP7
JP8
JP9
NOTE: GPIO_10 is fixed as a switch input (Test Button) and GPIO_9 is fixed as an LED output (power on/off).
Installing the Evaluation Daughtercard
Silex
Page 15
Part Number 140-00192-100
As discussed in the previous section, GPIOs 3 through 8 are set by default for special functions such as modem controls. To use GPIOs 3 through 8 as normal GPIOs, you must place a jumper between JP7 and JP8 for the specific GPIO as described in the previous section. GPIO 2 can also have a special function if SPI mode is selected for the LCD display via header JP12 as described in the LCD Interface section later in this chapter.
Table 10 General Purpose I/O Signal Descriptions
Silex
S3C2412
I/O
Special Function
GPIO_0
GPF 0
O
GPIO_1
GPF 1
O
GPIO_2
GPF 2
O
Special function SPI_CS- for LCD display GPIO_3
GPF 3
O
Special function TEMP_CS SPI temperature sensor enable GPIO_4
GPF 4
O
Special function, nDTR0 GPIO_5
GPF 5
I
Special function, nDSR0 GPIO_6
GPF 6
I
Special function, nDCD0 GPIO_7
GPF 7
O
Special function, nLED_3; wired link GPIO_8
GPG 5
O
Special function, nLED_2; wireless link GPIO_9
GPG 6
O
nLED_1; power on/status*
GPIO_10
GPG 7
I
Switch Input; 1 = off, 0 = switch depressed*
*The functionality of GPIO_9 and GPIO_10 cannot be changed by the user.
LEDs and General Purpose I/O Signals
The LEDs are connected to the 10 GPIOs for easy viewing of signal activity. The first 7 GPIOs drive the first 7 LEDs, D1 to D7 (these LEDs indicate the status of the GPIOs). GPIOs 7 to 9 drive LEDs D8 to D10. Logic 0 and 0 volts on GPIO_x illuminates the LED.
Table 11 LED and GPIO Descriptions
GPIO
LED
GPIO_0
D1
GPIO_1
D2
GPIO_2
D3
GPIO_3
D4
GPIO_4
D5
GPIO_5
D6
GPIO_6
D7
GPIO_7
D10 green LED
GPIO_8
D9 yellow LED
GPIO_9
D8 orange LED
GPIO_10
N/A
Page 16
silex
Installing the Evaluation Daughtercard
Part Number 140-00192-100
USB Host Port and Ethernet Port
The USB V1.1 host port, located on J1, can be used to connect standard Full Speed (12Mbps) or Low Speed (1.5Mbps) USB devices. High Speed (480Mbps) is not supported.
The USB port is disabled by default. To enable it, remove the jumpers on headers JP4 and JP5 as shown below.
JP4
JP5
USB Enabled Ethernet Enabled
No jumpers installed 2 Jumpers installed (default position)
Figure 7 USB/Ethernet Jumper Settings
Ethernet Port
The Ethernet port, located on J2, can be used for configuring and testing the SX-560. Ethernet provides an easier way to do the initial setup and configuration of the SX-560, because you do not have to worry about wireless security configuration parameters. Operation of the SX-560 through this port is identical to wireless operation, except that wireless security is not supported. Ethernet is enabled by default (see previous section for information on jumper settings).
Note that because the Ethernet port is connected through the USB host port, it cannot be used at the same time as the USB port. Also, when the Ethernet port is used, the 802.11a/b/g wireless port is disabled.
Additional OEM Interface Signals
The output LED signals ORLED-, GRLED- and YELED- represent the state of the LEDs on the module. Logic 0 indicates the LED is on, and Logic 1 indicates the LED is off. Buffers are recommended if LEDs are to be driven on the end-user side.
The SWITCH signal is connected to a momentary pushbutton switch (Test Button) on the Evaluation Daughtercard and is in the normally open position. Depressing the switch causes a short to ground. A
4.7 K-ohm pull-up resistor to +3.3 VDC is connected. The module’s processor monitors this signal. The
end-user can drive or use open-collector to this signal to either logic level or can monitor this signal as an input. The Test Button is normally used either to send configuration information to a printer (button momentarily pressed) or to reset the SX-560 to its default configuration (button held down for more than 5 seconds).
Serial Peripheral Interface
The four SPI signals are accessible using the 26-pin I/O header JP3. The SPI MOSI, SPI MISO, and SPI Clock signals are routed to both the JP3 header and an on-board temperature sensor. The temperature sensor can be disabled by removing the jumper from the TSPICS signal on JP7 as described in the GPIO Special Functions section above.
IMPORTANT: Do not plug a USB device into the USB port if the Ethernet port is enabled.
Installing the Evaluation Daughtercard
Silex
Page 17
Part Number 140-00192-100
LCD Interface
A 16x2 LCD display is available as an option for the SX-560-6900 Evaluation Daughtercard. This LCD can be controlled from either Serial Port 2 or via the SPI interface. The LCD display plugs into header JP1. Header JP12 is used to select serial or SPI control (place a jumper on pins 1 and 2 to select serial, or place the jumper on pins 2 and 3 to select SPI).
OEM Interface Electrical Characteristics
Table 12 OEM Signal Parameter Descriptions
Parameter
Symbol
Condition
Minimum
Maximum
Unit
Input high voltage
Vih 2.0!
Volts
Input low voltage
Vil
0.8
Volts
Output high voltage
UART0_TXD, UART0_RTS,
UART1_TXD, UART1_RTS
UART2_TXD
Voh
Ioh = 4mA
2.4 Volts
Output low voltage
UART0_TXD, UART0_RTS,
UART1_TXD, UART1_RTS
UART2_TXD
Vol
Iol = 8mA
0.4
Volts
Output high voltage
GPIO 1 to 10, SPI, CS, SPI_SDO, SPI_CLK, Reset_N
Voh
Ioh = 8mA
2.4 Volts
Output low voltage
GPIO 1 to 10, SPI, CS, SPI_SDO, SPI_CLK, Reset_N
Vol
Iol = 8mA
0.4
Volts
Input Leakage Current
Ii
0 < Vin < 3.3v
-10
+10
µA
Page 18
silex
Installing the Evaluation Daughtercard
Part Number 140-00192-100
Configuring the SX-560
Silex
Page 19
Part Number 140-00192-100
Chapter 3
Configuring the SX-560
This chapter describes the methods for configuring the basic settings of the SX-560, including the IP address, serial port settings, and wireless security. The SX-560 also has an extensive range of advanced configuration capabilities that are described in Chapter 6, Appendix A, and Appendix B. The SX-560 configuration should be done by a network administrator or another person with technical knowledge of TCP/IP networking and serial communications.
Basic Configuration Requirements
In order to use the SX-560, the following basic parameters must be configured:
TCP/IP Settings:
IP Address
Subnet Mask
Router Address
Note: The TCP/IP settings can be automatically configured using DHCP.
Wireless Configuration Settings:
SSID
Mode (Infrastructure or Ad Hoc)
Channel (required only if using Ad Hoc mode)
Security Settings:
Wireless Encryption Mode (WPA2, WPA, WPA2-WPA, WEP)
Wireless Encryption Settings
Wireless Authentication Mode (WPA-PSK, Open System, Shared Key, TTLS, TLS, LEAP, PEAP,
EAP-FAST)
Authentication Settings
Note: There are numerous possible encryption and authentication settings, and every network can have different settings. Please refer to Appendix A for a detailed summary of these settings.
IMPORTANT: This chapter assumes that you are either using the SX-560-6900 Evaluation Daughtercard or that you have made the appropriate connections to the SX-560 module OEM Header. Refer to Chapter 2 and Chapter 5 for information on connecting to the SX-560 hardware.
Page 20
Silex
Using the SX-560
Part Number 140-00192-100
Serial Port Settings (must match the settings of the attached serial device):
Baud Rate (Speed)
Parity
Character Size
Flow Control
In addition to the above parameters, the SX-560 allows you to configure numerous other capabilities. These other capabilities provide you with the unparalleled flexibility to use the SX-560 on virtually any
802.11a/b/g network with virtually any RS-232 serial device.
Initial Wireless Setup
If you are using a wireless network connection for the first-time configuration of the SX-560, you must set up a temporary ad hoc wireless connection as described in the following steps.
1. Disconnect your PC and the SX-560 from your network, and temporarily change the PC settings as follows:
IP address: 192.0.0.191
Wireless Mode: Ad Hoc (sometimes referred to as Peer-to-Peer)
Channel: 11
SSID (or wireless network name): serserv
Make sure that all network security is disabled.
2. Power on the PC and the SX-560. You can connect to the SX-560 by specifying its default IP address of 192.0.0.192 using the ExtendView utility or a web browser as described in the next sections. After you have connected, you can use ExtendView, the internal web pages, or the internal console to change the SX-560 configuration as follows:
a. Enable AUTO as the boot method or IP address resolution method on the SX-560, or
manually change the IP address to the one you will actually be using on your network.
b. Enter the required wireless networking parameters on the SX-560 for operation on your
wireless network (for example, SSID, mode, and wireless security).
c. Change the serial port settings to match those of your device.
3. After you complete the entire SX-560 configuration process:
a. Set your PC back to its original network settings, and restart it.
b. Restart the SX-560. The new settings will take effect after the SX-560 has restarted.
Configuration Methods
There are three ways to configure the SX-560:
ExtendView. ExtendView is a simple Graphical User Interface configuration program for Windows. It has the advantage of allowing you to perform bulk configuration of multiple SX-560s simultaneously. If you are using a wired Ethernet connection with the SX-560-6900 evaluation daughtercard, ExtendView also lets you set the IP address and wireless network settings into an unconfigured SX-560 device server (if you are using a wireless network connection for connection, then you must first configure the IP address and wireless network settings using the
NOTE: Skip this section if you are using the Ethernet port on the SX-560-6900 Daughtercard for the configuration process, or if you are using a terminal connected to one of the serial ports on the SX-560.
Configuring the SX-560
Silex
Page 21
Part Number 140-00192-100
Initial Wireless Setup procedure described previously in this chapter, or the internal command console.
Internal Web Pages (HTTP). You can use any standard web browser to access the SX-560 internal web pages. These web pages provide an easy-to-use graphical interface for configuring the SX-560. In order to use the internal web pages for the first time, you must assign the SX-560 IP address and wireless network settings using some other method (for example, the Initial Wireless Setup procedure described previously in this chapter, or the internal command console). This initial IP address assignment need only be done one time.
Internal Command Console. The internal command console provides a sophisticated command line interface for advanced users to configure the SX-560. It can be accessed by connecting a serial cable to serial port 2 or serial port 3 (serial port 1 can also be used to access the internal command console by sending the AT#C command or defining a console mode string as described in Chapters 4 and 6). Once the IP address and wireless network settings have been configured, the internal command console can also be accessed via TELNET, or via ExtendView and the internal web pages.
Configuring the SX-560 using each of the above methods is described in the following sections of this chapter.
Page 22
Silex
Using the SX-560
Part Number 140-00192-100
Using the ExtendView Utility to Configure the SX-560 (Ethernet Connection)
The ExtendView Utility is the easiest way to initially configure the SX-560 from a Windows PC because it allows you to directly set the IP address into an unconfigured SX-560 if you are using the SX-560-600 evaluation daughtercard Ethernet port, and it allows you to view the IP addresses of all of the SX-560s on your network. It has limited capabilities for configuring 802.1X authentication, but it can be used in conjunction with either the internal web pages or the internal command console for complete configuration capabilities.
ExtendView is a component of the CD-ROM that is included with the Evaluation Daughtercard, or it can be downloaded from the Silex website. To install ExtendView, simply follow the on-screen installation instructions and then restart your computer when the installation procedure is complete. The SX-560 configuration procedure is as follows (please note that the screens may be slightly different than shown, depending on the SX-560 model and the firmware and software revision levels).
1. Start the ExtendView Utility by clicking on
Start, Programs, silex technology, ExtendView, and then ExtendView.
2. When the Welcome screen appears, click on Next, choose any name for your View Name, select Automatically create a view with default settings (or configure the view to your preferences), and then click Finish.
NOTE: Skip this section if you do not have a Windows PC or if you prefer to use the internal web pages or internal command console for configuration.
Configuring the SX-560
Silex
Page 23
Part Number 140-00192-100
3. Right-click on the SX-560 that you want to configure from the displayed list, and then left­click on Configuration. The default SX-560 name is SDSxxxxxx (where xxxxxx is the last six digits of the MAC address from the label that is affixed to the SX-560).
4. If you do not have a DHCP server, you will be asked to manually enter an IP address (if you are not sure what IP address to enter, ask your network administrator). Click OK when you are finished.
5. The Server Configuration window will appear. Check the IP address setting to make sure it is correct. If necessary, change the Subnet Mask and Gateway. If you have a WINS server, enter its address or click Use DHCP to Locate WINS Server. If desired, you can configure advanced TCP/IP settings by clicking the Advanced TCP/IP button (refer to Chapter 6 for information). This advanced configuration can be done at a later time, however.
NOTE: If you are using DHCP on your network, the SX-560 should have acquired valid IP settings at this point and no further IP address configuration is necessary. However, for some installations, a static IP address is preferred. If your DHCP server does not allow the SX-560 to keep its assigned IP address permanently, then you must manually assign an IP address. In this case, use a static IP address outside the range reserved for DHCP (see your DHCP server documentation for details). To assign a static IP address, select Set Permanent as the IP Address Resolution, and assign a valid static IP address for your network. Click on OK to save the new settings.
Page 24
Silex
Using the SX-560
Part Number 140-00192-100
6. Click the Wireless tab to configure the
802.11a/b/g wireless settings. To operate on an 802.11a/b/g network, the SX-560 configuration must be configured with the wireless configuration and security parameters necessary for the SX-560 to communicate over your wireless network (check with your network administrator if you do not know these parameters).
Select either Infrastructure (if you are using an access point) or Ad Hoc (point-to-point) as the wireless mode
Enter the SSID for your network
If you are using Ad Hoc, select
the RF channel (not required for infrastructure)
The other parameters on this tab do not normally need to be changed (refer to Chapter 6 for information on advanced configuration).
Now click the Configure Wireless Security button to configure the wireless security parameters.
7. If you are using WPA2-PSK, select WPA2 as the Encryption Mode and select PSK as the Authentication Type. If you are using WPA­PSK, select WPA as the encryption mode and select PSK as the Authentication Type. For both WPA2-PSK and WPA-PSK you must enter the Pre-Shared Key for your network and select whether you want a Group Key. Note that it is not necessary to enter a User ID or password.
If you are using WEP, select 128-bit or 64-bit
as the Encryption Mode and Open Systems or Shared Key as the Authentication Type. Enter the WEP keys in hexadecimal format, and select the transmit key (Key Selection).
ExtendView does not fully support
configuration of the 802.1X EAP types, so Silex recommends using the internal web pages or internal command console for
802.1X configuration as described later in this chapter.
Click OK to return to the Server Configuration
window, and then click the I/O port tab to configure serial port 1.
Loading...
+ 80 hidden pages