
2 – Airborne Wireless LAN Node Module
100-8004-102G Airborne Wireless LAN Node Module Data Book
Page 21
Quatech, Inc. Confidential
The Configuration Status must be available to be shifted out of the MISO port at the
beginning of each command, requiring its update immediately at the end of a frame to be
prepared for the next frame.
A pre-defined data frame has to be agreed upon by both the master and slave for the
exchange of data. The data frame is described by two parameters, the clock polarity and
the clock phase. These parameters have four possible states that correspond to four SPI
Modes.
Table 9. SPI Modes
SPI
Mode
Clock
Polarity
(CPOL)
Clock
Phase
(CPHA)
Clock (SCK) Idle
Low: Output on rising,
sample on falling
High: Output on falling,
sample on rising
Output
Sample
Edge
Input
Sample
Edge
0 0 0 Low Falling Rising
*1
0 1 Low Rising Falling
2 1 0 High Rising Falling
3 1 1 High Falling Rising
*The WLN SPI Slave shall run in Mode 1 only.
The Slave's MOSI needs to be setup by the Master on the first-edge (rising if Idle = Low,
falling if Idle = High) following the assertion of /SS. Therefore, the Slave will sample its
MOSI on the second-edge (transition).
The bit ordering of data coming into the SPI Slave is MSB-first for both transmit and
receive.
2.9.3 WLN UART Connections
For embedded applications that will communicate with the serial UART interface, the following
guidelines are also recommended:
Connect HS.TXD (port F1) to the receive line of the embedded processor UART.
Connect HS.RXD (port F7) to the transmit line of the embedded processor UART.
Connect HS.RTS (port F4) and HS.CTS (port F5) if hardware handshaking is desired.
Connect the CONNECT status line (port F6) to a digital input on the embedded
processor. This line indicates whether a TCP connection is active.
Connection to the other status lines ⎯ POST, RF LINK, WLAN CFG LINK ⎯ is optional.
If HS.RTS and HS.CTS (Ports F4 and F5) are not used, tie them to ground via 10 kΩ
resistors.
2.9.4 WLN SPI Connections
Connect the application’s MOSI line to port F7 of the WLN to transfer data from the
Master.
Comentarios a estos manuales