Redpine Signals RS9110N1124 User Manual

Redpine Signals, Inc
.
Redpine Signals, Inc
.
Connect-io-n™
RS9110-N-11-24
EEvvaalluuaattiioonn BBooaarrdd UUsseerr GGuuiiddee
VVeerrssiioonn 33..1133
April 2013
2107 N. First Street, #680
2107 N. First Street, #680
San Jose, CA 95131.
San Jose, CA 95131. Tel: (408) 748-3385
Tel: (408) 748-3385
Fax: (408) 705-2019
Fax: (408) 705-2019
Email: info@redpinesignals.com
Email: info@redpinesignals.com
Website: www.redpinesignals.com
Website: www.redpinesignals.com
Redpine Signals, Inc. Proprietary and Confidential.
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
Part Number Description
Device Number Description
RS9110-N-11-24
RS9110-N-11-24-02
RS9110-N-11-24-04
Part with UART as Host Interface
Part with SPI as Host Interface
Part with UART/SPI as Host Interface
TCP/IP Enabled
Yes No
Yes Yes
Yes Yes
Option for TCP/IP Bypass
RS9110-N-11-24-04 will replace RS9110-N-11-24 and RS9110-N-11-24-02. RS9110-N-11-24-04 is feature compatible with RS9110-N-11-24 and RS9110­N-11-24-02.
Redpine Signals, Inc. Page 2
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
Table of Contents
1 Introduction ........................................................................ 6
2 Components on the EVBs ..................................................... 7
3 Using the Evaluation Board in UART mode ......................... 10
3.1 Configure Serial port in computer .........................................10
3.2 Configure Serial Port Monitor in the PC .................................14
3.3 Evaluating the Module in Infrastructure mode .......................18
3.3.1 Configuration and Test Procedure .................................................... 18
3.4 Evaluating the Modules in Ad-hoc mode ................................24
3.5 Upgrading Firmware .............................................................25
3.5.1 Firmware Upgrade Using UART Interface without wireless firmware
upgrade feature ............................................................................ 25
3.5.2 Firmware Upgrade Using UART Interface with wireless firmware upgrade
feature’ ........................................................................................ 30
3.5.3 Firmware Upgrade from 4.7.x to a higher version Wirelessly ............... 32
3.6 Using the Wireless Configuration Feature..............................35
3.6.1.1 Wireless Configuration in AP Mode.............................................. 35
3.6.1.2 Wireless Configuration When the Module is Connected to an AP ..... 40
3.7 General Operation of the Modules .........................................44
4 Using the Evaluation Board in SPI mode ............................ 46
4.1 TCP/IP Stack Usage in RS9110-N-11-24–SPI mode ...............47
4.1.1 Using the Wi-Fi module with TCP/IP stack enabled ............................. 47
4.1.2 Using the Wi-Fi module with TCP/IP stack bypassed ........................... 48
4.2 SPI Operations .....................................................................49
5 FCC and IC Declaration ...................................................... 53
Redpine Signals, Inc. Page 3
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
Table of Figures
Figure 1: Evaluation Set-up - Infrastructure Mode ..................................... 18
Figure 2: Hyperterminal Messages ............................................................. 21
Figure 3: Messages in Laptop (C) ............................................................... 21
Figure 4: General Sequence of Commands ................................................. 23
Figure 5: Evaluation Set-up – Ad-hoc Mode ................................................ 24
Figure 6: Wireless Firmware Upgrade Set-up ............................................. 32
Figure 7: Configuration GUI ....................................................................... 33
Figure 8: Wireless Configuration Set-up ..................................................... 36
Figure 9: Configuration GUI ....................................................................... 37
Figure 10: Wireless Configuration Set-up ................................................... 40
Figure 12: Firmware Upgrade and General Operation in UART modules ..... 45
Figure 13: Connections in SPI mode ........................................................... 46
Figure 14: Architecture with TCP/IP Enabled ............................................. 48
Figure 15: Architecture with TCP/IP Bypassed .......................................... 49
Redpine Signals, Inc. Page 4
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
List of Tables
Table 1: UART Header Pins ........................................................................... 8
Table 2: SPI Header Pins .............................................................................. 9
Table 3: DIP Switch Setting (6 switches) ..................................................... 9
Redpine Signals, Inc. Page 5
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
1 Introduction
This document describes how to use the RS9110-N-11-24 EVB. It describes the sequence of commands and set-up requirements to quickly evaluate the major functions of the modules.
Chapters Using the Evaluation Board in UART mode to Evaluating the
Module in Infrastructure mode describe operation using the UART
interface. Using the Evaluation Board in SPI mode describes operation using the SPI interface. Upgrading Firmware describes the firmware upgrade procedure. Even if the user does not plan to use the UART interface, it is recommended to go through the UART section because all the set-ups to evaluate different functionalities of the module in UART mode are directly reusable in the SPI mode also.
RS9110-N-11-24
Redpine Signals, Inc. Page 6
Connect
-io-n™
VVeerrssiioonn 33..1133
DIP Switches
SPI Header
2 Pin Jumper
LED1: Glows when
position
Evaluation Board User Guide
RS9110-N-11-24
2 Components on the EVBs
The RS9110-N-11-24 EVB has various switches and headers to enable the user to configure it for different scenarios1. The figure below shows the various components. The exact EVB may differ slightly from the pictures below due to different PCB versions or minor changes.
LED3: Glows after successful
RS9110-N-11-24 module
DB9 Connector for UART
USB Connector for Power
power supply cable is inserted
Push Button
SW4
SW5
LED2: Glows when power switch is in on
Power
UART Header for MCU
Figure 1: RS9110-N-11-24-EVB
1
All components described in this section may not be present in different versions
of the EVB PCB. General functionality will however not be affected.
Redpine Signals, Inc. Page 7
Connect
-io-n™
VVeerrssiioonn 33..1133
Pin
Pin
1 NC - This pin must be left
2 NC - This pin must be left
3 NC - This pin must be left
4 UART
-
Input
UART RX pin of the
5 UART
-
Output
UART TX pin of the
6 NC - No connect
7 NC - No connect
8 GND
-
Ground
9 GND
-
Ground
10 GND
-
Ground
Pin
1 NC - No connect
2 SPI_CS
Input
SPI sl
ave select
3 GND
-
Ground
4 VCC
-
3.3V power supply. If
USB Connector for Power
The power for the board can be supplied through this connector.
UART Header for MCU
If the EVB needs to be connected to the serial interface of an MCU platform, this header can be used. The voltage level of the UART TX and RX pins of this header is 3.3V. The Ground pin should be connected to a corresponding ground signal of the MCU board.
Evaluation Board User Guide
RS9110-N-11-24
number
SPI Header
The SPI header is used to connect the SPI interface of the module to a Host MCU. The pin configuration of this header is as follows:
name Direction
RX
TX
Table 1: UART Header Pins
Description
unconnected
unconnected
unconnected
module
module
Redpine Signals, Inc. Page 8
number
Pin name Direction
Description
the USB port for power supply is not used, this pin can be used to drive power to the EVB from the Host MCU platform. The maximum current
Connect
-io-n™
VVeerrssiioonn 33..1133
sourcing capacity of the
5 SPI_CLK
Input
SPI clock
6 GND
-
Ground
7 SPI_MOSI
Input
SPI data input
8 SPI_MISO
Output
SPI data output
9 INTR
Output
Interrupt output (Active
10 NC - No connect
Switch
Status
Comment
1,2,3
ON, OFF, OFF
Power on reset selected
1,2,3
OFF, ON, OFF
Push button reset
1,2,3
OFF, OFF, ON
Reset from Host
4,5 ON, ON
SPI mode selected
4,5 OFF, OFF
UART mode selected
6 OFF Keep in OFF mode
DIP Switches
The DIP switches are used to select the module to work in UART or SPI mode.
Evaluation Board User Guide
RS9110-N-11-24
Table 2: SPI Header Pins
Host should be 500mA. If not used, this pin should be left open
high)
#
selected
selected
Table 3: DIP Switch Setting (6 switches)
Note: If Reset from Host selected using DIP switch settings then 14th pin of GPIO header should be connected to the host. If EVB has 4 switches DIP switch then resistor R19 should be populated with 0 ohms.
SW4 and SW5
These switches are used to select the UART DB9 connector or the “UART Header for MCU” for communicating using the UART interface. The direction shown with the thick red arrow is to select the DB9 connector. The direction shown with the thick black arrow is to select the UART Header.
2 Pin Jumper
Used for Power measurements.
Redpine Signals, Inc. Page 9
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
3 Using the Evaluation Board in UART mode
The following sections describe how to use the Evaluation Board in UART mode.
3.1 Configure Serial port in computer
To know the COM port name, check the computer’s Device Manager settings.
The COM port name is displayed in the window. Hyperterminal or Teraterm should be opened and configured accordingly with this COM port name.
The steps for configuring HyperTerminal are shown below.
Redpine Signals, Inc. Page 10
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
Open HyperTerminal
RS9110-N-11-24
Baud Rate: 115200 bps, Data bits: 8, Parity: None, Stop bits: 2, Flow Control: None
Currently other baud rates are not supported.
Redpine Signals, Inc. Page 11
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
Click on ASCII Setup
Redpine Signals, Inc. Page 12
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
Complete the settings as shown below and click OK.
Teraterm can also be used. Similar configuration steps should be followed.
Redpine Signals, Inc. Page 13
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
3.2 Configure Serial Port Monitor in the PC
The actual bytes exchanged between the module and the Host PC may not all be readable on Hyperterminal or Teraterm because of ASCII conversion. A serial port monitor free package is available at http://www.serial-port-monitor.com/ , while other similar software such as Hterm, Docklight etc. also provide good interfaces to simultaneously view ASCII and actual bytes exchanged in the UART interface. The following sections assume that HHD Free Serial Port Monitor has been installed from the above link.
Open the “HHD Free Serial Port Monitor” BEFORE opening the Hyperterminal or Teraterm. Click on File -> New Session. Select “Serial Port Monitor”. Select the appropriate COM port and “Request view” for the display format.
2
can be used to see the actual bytes. A
2
Redpine Signals Inc. assumes no liability for damages of any kind resulting from
use of third party software.
Redpine Signals, Inc. Page 14
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
Redpine Signals, Inc. Page 15
Connect
-io-n™
VVeerrssiioonn 33..1133
Evaluation Board User Guide
RS9110-N-11-24
All bytes exchanged through the UART interface will now be visible on the monitor.
Redpine Signals, Inc. Page 16
Connect
-io-n™
VVeerrssiioonn 33..1133
IP Address:
Evaluation Board User Guide
RS9110-N-11-24
192.168.1.100
Subnet:
255.255.255.0
Gateway:
192.168.1.1
Redpine Signals, Inc. Page 17
Loading...
+ 37 hidden pages