Quatech 802.11B/G SPI Commands, Tx Message Header, Rx Message Header, SPI Command Description

Page 24

Quatech, Inc.

Airborne Enterprise Module Databook

 

 

the Airborne Device Server module by the host at the same time the Rx message header is sent to the host from the Airborne Device Server.

The Tx message header consists of a Command (CMD) byte, followed by three Parameter (PARM) bytes. They are described in the SPI Commands section (7.4) below.

The Rx message header consists of a Rx Data Available field, and a Tx Buffer Available field. The Rx Data Available field indicates the number of data bytes the Device Server has available for the host. They can be received by the RXDATA command. The Tx Buffer Available field indicates how many data bytes the Device Server is able to accept from the host. This data is to be shifted in by the host using the TXDATA (Table 16) command. Both fields are 16 bit values and are stored in little-endian format (LSB first).

Table 14 - Tx Message Header

0

1

2

3

CMD

PARAM1

PARAM2

Table 15 - Rx Message Header

0

1

2

3

Rx Data Available

Tx Buffer Available

7.4SPI Commands

The following commands are available for use in the CMD message header.

Table 16 - SPI Command Description

 

Command

 

 

Name

 

 

Description

 

 

 

 

 

 

 

 

(Hex)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x00

 

 

NOP

 

 

The NOP command does nothing.

 

 

 

 

 

 

 

It is intended to be used when the host wants to simply retrieve

 

 

 

 

 

 

 

the Rx Message Header without any other operation.

 

 

 

 

 

 

 

 

 

0x04

 

 

BREAK

 

 

The BREAK command will issue a break sequence to the

 

 

 

 

 

 

 

module.

 

 

 

 

 

 

 

It is analogous to the BREAK signal on a common UART.

 

 

 

 

 

 

 

 

 

0x08

 

 

TXINTCLR

 

 

The TXINTCLR command will clear the Tx interrupt.

 

 

 

 

 

 

 

Use this command when the module is issuing a Tx interrupt but

 

 

 

 

 

 

 

there is no more data to send. This is analogous to the reset Tx

 

 

 

 

 

 

 

interrupt command on a common UART.

 

 

 

 

 

 

 

 

 

24

8/11/2009

100-8080-110

Image 24 Contents
Product Specification Airborne Enterprise Module Databook Quatech Confidential Quatech, Inc. HeadquartersAirborne Enterprise Module Databook Contents Figures Conventions TerminologyFile Format Product Description WLNG-AN-DP500 Module ExampleBlock Diagram WLNG-SE/SP/AN/ET-DP500 Block DiagramModel Numbers Model NumbersPin out and Connectors Module Pin DefinitionGpio CTS2 Uart Digital Uart Ports Ethernet PHY PortUart Pin Definition Serial Peripheral Interface SPI Debug/Console PortGeneral Purpose Input/Output Gpio Connector Definition RF ShieldElectrical & RF Specification Operating Conditions & DC SpecificationSymbol Parameter Min Typ Max Units Absolute Maximum Values1Transmitting @ 11Mb/s 10/100 100% Duty Cycle RF Characteristics 802.11b/g Symbol Parameter Rate Mb/s Min Average Peak Units DBm / mWBand Supported Data Rates Mb/s Band Region Freq Range No. Channels GHzTransmit Power AC Electrical Characteristics Transmitter Performance/RangeRadio Typical Performance Range Typical Outdoor DistanceSPI AC Characteristics SPI InterfaceUART2 Pin Debug Pin Definition DescriptionSPI Protocol SPI Read/Write TimingSPI Commands SPI Command DescriptionCommand Name Description Hex Tx Message HeaderIntena Antenna Antenna SelectionHost Board Mounted Antenna Antenna Type Features Cost Size Availability Performance Host Chassis Mounted AntennaEmbedded Antenna Embedded Antenna OptionsAntenna Location Performance Airborne Enterprise Module Databook Reset Function Symbol ParameterRadio Connector DF12-36DS-0.5VXX Hirose Board Connector DF12-36DP-0.5VXX HiroseRF Connector Mechanical OutlineCertification & Regulatory Approvals FCC StatementFCC RF Exposure Statement Information for Canadian Users IC Notice11.4 FCC/IOC Modular Approval Country StandardRegulatory Test Mode Support Physical & Environmental Approvals Mechanical ApprovalsTest Reference Conditions Change Log Date Section Change Description Author