User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 12
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
8
8
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
V
V
e
e
r
r
s
s
i
i
o
o
n
n
4
4
.
.
1
1
5
5
2.1 Host
The Host is any system that has applications being executed and either a UART
or SPI interface to connect to the RS9110-N-11-2X module.
2.1.1 UART
The UART on the Host side provides an interface for the Host to access the Wi-Fi
module. UART is used to configure various parameters of the RS9110-N-11-2X
module and also to send and receive data over the network by accessing the
TCP/IP stack in the RS9110-N-11-2X module.
2.1.2 SPI
The SPI on the Host side provides an interface for the Host to access the Wi-Fi
module. SPI on the Host acts as the master.
The SPI driver on the Host is a thin driver through which the applications interact
with the Wi-Fi module. The SPI driver uses the SPI Host controller driver on the
Host to send/receive the data to/from the RS9110-N-11-2X module and also to
configure the same over the SPI interface.
2.2 RS9110-N-11-2X
The RS9110-N-11-2X module incorporates Wi-Fi, TCP/IP, DHCP, ARP, etc. It
handles all the network connectivity functions. The following sections describe
the software components of the RS9110-N-11-2X module in brief.
2.2.1 SPI
The SPI interface can be used to operate the module and transfer data. SPI
frames are used to operate the module in SPI mode. The RS9110-N-11-2X acts
the SPI slave, while the Host acts as the master. It is a standard 4-wire SPI
interface.
2.2.2 UART
The UART interface can be used to operate the module and transfer data. AT
command set is used to operate the module in UART mode.
2.2.3 Hardware Abstraction Layer (HAL)
The HAL abstracts the lower layers in the Host interface with which the RS9110-
N-11-2X module is connected. The HAL interacts with the Wireless Control Block
layer for the processing of the frames obtained from or destined to the Host.
2.2.4 Wireless Control Block (WCB)
The data from/to the Host is classified as Wi-Fi specific frames and TCP/IP
specific frames. The WCB layer processes the frame obtained and acts
accordingly. The functionality of the WCB module depends on the type of the
frame and the direction of the frame (in case of TCP/IP) as described below.
2.2.5 Wi-Fi Control frames
The WCB interprets the Wi-Fi control information from the Host and interacts
with the SME (Station Management Entity). Configuration of the RS9110-N-11-
2X module from the Host for Wi-Fi access is through AT commands. The Wi-Fi AT
commands set or get the values of various configurable parameters for providing
the Wi-Fi access.