Datasheet RTL8187 Datasheet (Realtek Semiconductor)

RTL8187L
802.11b/g RTL8187 miniCard
Rev. 1.2
06 September 2005
Track ID: JATR-1076-21
RTL8187L
COPYRIGHT
©2005 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permission of Realtek Semiconductor Corp.
DISCLAIMER
Realtek provides this document “as is”, without warranty of any kind, neither expressed nor implied, including, but not limited to, the particular purpose. Realtek may make improvements and/or changes in this document or in the product described in this document at any time. This document could include technical inaccuracies or typographical errors.
TRADEMARKS
Realtek is a trademark of Realtek Semiconductor Corporation. Other names mentioned in this document are trademarks/registered trademarks of their respective owners.
Datasheet
USING THIS DOCUMENT
This document is intended for the software engineer’s reference and provides detailed programming information.
Though every effort has been made to ensure that this document is current and accurate, more information may have become available subsequent to the production of this guide. In that event, please contact your Realtek representative for additional information that may help in the development process.
REVISION HISTORY
Revision Release Date
1.0 2004/10/22 First release.
1.1 2005/04/25 Revised data transaction content.
1.2 2005/09/06 Added RoHS declaration (see last 2 pages).
Summary
Added offset 8 information (Table 27, page 23, and Table 28, page 23).
Added lead (Pb)-free and package identification information on page 4. Corrected section 14 Mechanical Dimensions, page 34.
Wireless LAN Network Interface Controller ii Track ID: JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
Table of Contents
1. GENERAL DESCRIPTION ...............................................................................................................................................1
2. FEATURES ..........................................................................................................................................................................2
3. SYSTEM APPLICATIONS ................................................................................................................................................3
4. BLOCK DIAGRAM ............................................................................................................................................................3
5. PIN ASSIGNMENTS...........................................................................................................................................................4
5.1. LEAD (PB)-FREE PACKAGE IDENTIFICATION ...................................................................................................................4
6. PIN DESCRIPTIONS ..........................................................................................................................................................5
6.1. USB TRANSCEIVER INTERFACE ......................................................................................................................................5
6.2. EEPROM INTERFACE .....................................................................................................................................................5
6.3. POWER PINS ....................................................................................................................................................................5
6.4. LED INTERFACE..............................................................................................................................................................6
6.5. ATTACHMENT UNIT INTERFACE ......................................................................................................................................6
6.5.1. RTL8225 RF Chipset..............................................................................................................................................6
6.5.2. RTL8255 RF Chipset..............................................................................................................................................7
6.6. CLOCK AND OTHER PINS.................................................................................................................................................8
7. CPU ACCESS TO ENDPOINT DATA..............................................................................................................................9
7.1. CONTROL TRANSFER.......................................................................................................................................................9
7.2. BULK TRANSFER .............................................................................................................................................................9
8. USB REQUEST..................................................................................................................................................................10
8.1. GET DESCRIPTOR-DEVICE.............................................................................................................................................10
8.2. GET DESCRIPTOR-DEVICE QUALIFIER (HIGH SPEED)....................................................................................................10
8.3. GET DESCRIPTOR-CONFIGURATION ..............................................................................................................................11
8.4. GET DESCRIPTOR-STRING INDEX 0 ...............................................................................................................................11
8.5. GET DESCRIPTOR-STRING INDEX 1 ...............................................................................................................................12
8.6. GET DESCRIPTOR-STRING INDEX 2 ...............................................................................................................................12
8.7. GET DESCRIPTOR-STRING INDEX 3 ...............................................................................................................................13
8.8. GET DESCRIPTOR-STRING INDEX 4 ...............................................................................................................................13
8.9. GET DESCRIPTOR-STRING INDEX 5 ...............................................................................................................................14
8.10. GET DESCRIPTOR-OTHER SPEED CONFIGURATION....................................................................................................14
8.11. SET ADDRESS ............................................................................................................................................................15
8.12. SET INTERFACE 0 ......................................................................................................................................................15
8.13. SET FEATURE DEVICE ...............................................................................................................................................15
8.14. CLEAR FEATURE DEVICE ..........................................................................................................................................16
8.15. SET CONFIG 0............................................................................................................................................................16
8.16. SET CONFIG 1............................................................................................................................................................16
9. EEPROM (93C46 OR 93C56) CONTENTS ....................................................................................................................17
9.1. EEPROM REGISTERS SUMMARY..................................................................................................................................20
9.2. EEPROM POWER MANAGEMENT REGISTERS SUMMARY .............................................................................................20
10. USB PACKET BUFFERING ........................................................................................................................................21
10.1. TRANSMIT BUFFER MANAGER ..................................................................................................................................21
10.2. RECEIVE BUFFER MANAGER .....................................................................................................................................21
Wireless LAN Network Interface Controller iii Track ID: JATR-1076-21 Rev. 1.2
RTL8187L
10.3. PACKET RECOGNITION ..............................................................................................................................................21
11. FUNCTIONAL DESCRIPTION ..................................................................................................................................22
11.1. TRANSMIT & RECEIVE OPERATIONS..........................................................................................................................22
11.1.1. Transmit ...............................................................................................................................................................22
11.1.2. Receive .................................................................................................................................................................25
11.2. LOOPBACK OPERATION .............................................................................................................................................27
11.3. TX ENCAPSULATION (WITH RTL8187L INTERNAL BASEBAND PROCESSOR)............................................................27
11.4. RX DECAPSULATION (WITH RTL8187L INTERNAL BASEBAND PROCESSOR) ...........................................................27
11.5. LED FUNCTIONS .......................................................................................................................................................28
11.5.1. Link Monitor.........................................................................................................................................................28
11.5.2. Infrastructure Monitor .........................................................................................................................................28
11.5.3. Rx LED .................................................................................................................................................................28
11.5.4. Tx LED .................................................................................................................................................................29
11.5.5. Tx/Rx LED ............................................................................................................................................................29
11.5.6. LINK/ACT LED ....................................................................................................................................................30
12. APPLICATION DIAGRAM .........................................................................................................................................31
13. ELECTRICAL CHARACTERISTICS........................................................................................................................32
13.1. TEMPERATURE LIMIT RATINGS .................................................................................................................................32
13.2. DC CHARACTERISTICS ..............................................................................................................................................32
13.3. AC CHARACTERISTICS ..............................................................................................................................................33
13.3.1. Serial EEPROM Interface Timing (93C46(64*16)/93C56(128*16))...................................................................33
Datasheet
14. MECHANICAL DIMENSIONS ...................................................................................................................................34
14.1. MECHANICAL DIMENSIONS NOTES............................................................................................................................35
15. ORDERING INFORMATION .....................................................................................................................................36
List of Tables
TABLE 1. USB TRANSCEIVER INTERFACE .....................................................................................................................................5
TABLE 2. EEPROM INTERFACE ....................................................................................................................................................5
TABLE 3. POWER PINS ...................................................................................................................................................................5
TABLE 4. LED INTERFACE.............................................................................................................................................................6
TABLE 5. ATTACHMENT UNIT INTERFACE .....................................................................................................................................6
TABLE 6. RTL8255 RF CHIPSET....................................................................................................................................................7
TABLE 7. CLOCK AND OTHER PINS ................................................................................................................................................8
TABLE 8. GET DESCRIPTOR-DEVICE............................................................................................................................................10
TABLE 9. GET DESCRIPTOR- DEVICE QUALIFIER (HIGH SPEED) ..................................................................................................10
TABLE 10. GET DESCRIPTOR-CONFIGURATION .............................................................................................................................11
TABLE 11. GET DESCRIPTOR-STRING INDEX 0 ..............................................................................................................................11
TABLE 12. GET DESCRIPTOR-STRING INDEX 1 ..............................................................................................................................12
TABLE 13. GET DESCRIPTOR-STRING INDEX 2 ..............................................................................................................................12
TABLE 14. GET DESCRIPTOR-STRING INDEX 3 ..............................................................................................................................13
TABLE 15. GET DESCRIPTOR-STRING INDEX 4 ..............................................................................................................................13
TABLE 16. GET DESCRIPTOR-STRING INDEX 5 ..............................................................................................................................14
TABLE 17. GET DESCRIPTOR-OTHER SPEED CONFIGURATION ......................................................................................................14
TABLE 18. SET ADDRESS ..............................................................................................................................................................15
TABLE 19. SET INTERFACE 0 .........................................................................................................................................................15
Wireless LAN Network Interface Controller iv Track ID: JATR-1076-21 Rev. 1.2
RTL8187L
TABLE 20. SET FEATURE DEVICE..................................................................................................................................................15
TABLE 21. CLEAR FEATURE DEVICE .............................................................................................................................................16
TABLE 22. SET CONFIG 0 ..............................................................................................................................................................16
TABLE 23. SET CONFIG 1 ..............................................................................................................................................................16
TABLE 24. EEPROM (93C46 OR 93C56) CONTENTS....................................................................................................................17
TABLE 25. EEPROM REGISTERS SUMMARY ................................................................................................................................20
TABLE 26. EEPROM POWER MANAGEMENT REGISTERS SUMMARY............................................................................................20
TABLE 27. TX DESCRIPTOR FORMAT ............................................................................................................................................22
TABLE 28. TX STATUS DESCRIPTOR..............................................................................................................................................23
TABLE 29. RX DESCRIPTOR FORMAT ............................................................................................................................................25
TABLE 30. RX STATUS DESCRIPTOR..............................................................................................................................................25
TABLE 31. TEMPERATURE LIMIT RATINGS....................................................................................................................................32
TABLE 32. DC CHARACTERISTICS.................................................................................................................................................32
TABLE 33. EEPROM ACCESS TIMING PARAMETERS ....................................................................................................................33
TABLE 34. ORDERING INFORMATION ............................................................................................................................................36
Datasheet
List of Figures
FIGURE 1. BLOCK DIAGRAM..........................................................................................................................................................3
FIGURE 2. PIN ASSIGNMENTS.........................................................................................................................................................4
FIGURE 3. RX LED ......................................................................................................................................................................28
FIGURE 4. TX LED ......................................................................................................................................................................29
FIGURE 5. TX/RX LED ................................................................................................................................................................29
FIGURE 6. LINK/ACT LED.........................................................................................................................................................30
FIGURE 7. APPLICATION DIAGRAM..............................................................................................................................................31
FIGURE 8. SERIAL EEPROM INTERFACE TIMING ........................................................................................................................33
Wireless LAN Network Interface Controller v Track ID: JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet

1. General Description

The Realtek RTL8187L is a low-profile highly integrated cost-effective Wireless LAN USB 2.0 network interface controller that integrates a USB 2.0 PHY, SIE (Serial Interface Engine), 8051 MCU, a Wireless LAN MAC, and a Direct Sequence Spread Spectrum/OFDM baseband processor onto one chip. It provides USB high speed (480Mbps), and full speed (12Mbps), and supports 4 endpoints for transfer pipes. To reduce protocol overhead, the RTL8187L supports Short InterFrame Space (SIFS) burst mode to send packets back-to-back. A protection mechanism prevents collisions among 802.11b nodes. The RTL8187L fully complies with IEEE 802.11a/b/g specifications.
Direct Sequence Spread Spectrum (DSSS), Complementary Code Keying (CCK), and Orthogonal Frequency Division Multiplexing (OFDM) baseband processing are implemented to support all IEEE
802.11a, 802.11b, and 802.11g data rates. Differential phase shift keying modulation schemes, DBPSK and DQPSK with data scrambling capability, are available, along with complementary code keying to provide data rates of 1, 2, 5.5, and 11Mbps, with long or short preamble. A high-speed Fast Fourier Transform (FFT)/Inverse Fast Fourier Transform (IFFT), combined with BPSK, QPSK, 16QAM and 64QAM modulation of the individual sub-carriers, provides data rates of 6, 9, 12, 18, 24, 36, 48 and 54Mbps, with rate-compatible punctured convolutional coding with a coding rate of 1/2, 2/3, and 3/4.
An enhanced signal detector, an adaptive frequency domain equalizer, and a soft-decision Viterbi decoder are built-in to alleviate severe multipath effects. Efficient IQ-imbalance calibration, DC offset, phase noise, frequency offset, and timing offset compensation reduce radio frequency front-end impairments. Selectable digital transmit and receiver FIR filters are provided to meet the requirements of transmit spectrum masks, and to reject adjacent channel interference, respectively. Both in the transmitter and receiver, programmable scaling in the digital domain trades the quantization noise against the increased probability of clipping. Robust signal detection, symbol boundary detection, and channel estimation perform well at the minimum sensitivity.
The RTL8187L supports fast receiver Automatic Gain Control (AGC) and antenna diversity functions, and an adaptive transmit power control function to obtain better performance in the analog portions of the transceiver. It also has on-chip digital-to-analog converters and analog-to-digital converters for analog I and Q inputs and outputs, transmit TSSI and receiver RSSI inputs, and transmit and receiver AGC outputs.
The RTL8187L is highly integrated and requires no ‘glue’ logic or external memory. It keeps network maintenance costs low and eliminates usage barriers.
Wireless LAN Network Interface Controller 1 Track ID JATR-1076-21 Rev. 1.2

2. Features

RTL8187L
Datasheet
128-Pin LQFP and 128-pin LQFP Lead
(Pb)-Free package
State machine implementation without
external memory (RAM, flash) requirement
Complies with IEEE 802.11a/b/g standards
Supports descriptor-based buffer
management
Integrated Wireless LAN MAC and Direct
Sequence Spread Spectrum/OFDM Baseband Processor in one chip
Enhanced signal detector, adaptive frequency
domain equalizer, and soft-decision Viterbi decoder to alleviate severe multipath effects
Processing Gain compliant with FCC
On-Chip A/D and D/A converters for I/Q
Data, AGC, and Adaptive Power Control
OFDM with BPSK, QPSK, 16QAM and
64QAM modulations and demodulations supported with rate compatible punctured convolutional coding with coding rate of 1/2, 2/3, and 3/4
Efficient IQ-imbalance calibration, DC
offset, phase noise, frequency offset and timing offset compensation reduce analog front-end impairments
Selectable digital transmit and receiver FIR
filters provided to meet transmit spectrum mask requirements and to reject adjacent channel interference
Programmable scaling both in transmitter
and receiver to trade quantization noise against the increased probability of clipping
Fast receiver Automatic Gain Control (AGC)
& antenna diversity functions
Supports both transmit and receive Antenna
Diversity
Data rates of 1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36,
48, and 54Mbps
Supports 40MHz OSC as the internal clock
source. The frequency deviation of the OSC must be within 25 PPM on IEEE 802.11g and 20 PPM on IEEE 802.11a
IEEE 802.11g protection mechanisms for
both RTS/CTS and CTS-to-self
Burst-mode support for dramatically
enhanced throughput
DSSS with DBPSK and DQPSK, CCK
modulations and demodulations supported with long and short preamble
Hardware-based IEEE 802.11i
encryption/decryption engine, including 64-bit/128-bit WEP, TKIP, and AES
Supports Wi-Fi alliance WPA and WPA2
security
Contains two large independent transmit and
receive FIFO buffers
Advanced power saving mode when the
LAN and wakeup function are not used
Uses 93C46 (64*16-bit EEPROM) or 93C56
(128*16-bit EEPROM) to store resource configuration and ID parameter data
LED pins for various network activity
indications
Two GPIO pins supported
Wireless LAN Network Interface Controller 2 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
Supports digital loopback capability on both
ports
Scatter and gather operation
Complies with USB Specification 2.0
Supports Full-speed (12Mbps) and
High-speed (480Mbps)
Embedded standard 8051 CPU with
enhanced features:
Four cycles per instruction
Variable clock speed cuts power
consumption

3. System Applications

Supports 4 endpoints:
64-Byte buffer for control endpoint
512-Byte buffer for bulk IN endpoint
Two 512-Byte buffers for bulk OUT
endpoint
3.3V and 1.8V power supplies required
5V tolerant I/Os
0.18µm CMOS process
USB Dongle WLAN adapter
Embedded WLAN solution in notebook, desktop, mobile phone, and motherboard
Wireless LAN Network Interface Controller 3 Track ID JATR-1076-21 Rev. 1.2

4. Block Diagram

RTL8187L
Datasheet
MAC
D+
D-
BBP, TX Section
MAC/BBP
Interface
SIE + Register
Scrambler
EEPROM
Interface
LED Driver
Power and TX/RX Timing Control Logic
WEP/
TKIP/
AES
Engine
Interrupt
Control
Logic
FIFO
Coding
Checksum
Logic
RTS, CTS,
ACK Frame
Generator
FIFO
Control
Logic
Digital
Filter
Serial
Control
Register
Frame Length
Transmit/
Receive
Logic
Interface
DAC
DAC
Frame Type
CCA/
NAV
Radio and Synthesizer Control
Discriminator
From BBP
MAC/BBP
Interface
TXI
TXQ
From
MAC
Register
TX State Machine
TX AGC
Control
DAC
ADC
TXAGC
TXDET
BBP, RX Section
MAC/BBP
Interface
To MAC
From
MAC
Descrambler
Register
Clear Channel
Assessment/
Signal Quality
Decoding
RX AGC
Control
RX State Machine
ADC
ADC
DAC
ADC
Antenna
Diversity
Control
Figure 1. Block Diagram
Wireless LAN Network Interface Controller 3 Track ID JATR-1076-21 Rev. 1.2
RXI
RXQ
RXAGC
RSSI
ANTSEL
ANTSELB

5. Pin Assignments

RTL8187L
Datasheet
Figure 2. Pin Assignments
5.1. Lead (Pb)-Free Package Identification
Lead (Pb)-free package is indicated by an ‘L’ in the location marked ‘T’ in Figure 2.
Wireless LAN Network Interface Controller 4 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet

6. Pin Descriptions

In order to reduce pin count, and therefore size and cost, some pins have multiple functions. In such cases, the functions are separated with a ‘/’ symbol. Refer to the Pin Assignments diagram on page 4 for a graphical representation.
The following signal type codes are used in the tables:
I: Input. O: Output
S/T/S: Sustained Tri-State. O/D: Open Drain.
T/S: Tri-State bi-directional input/output pin.
6.1. USB Transceiver Interface
Table 1. USB Transceiver Interface
Symbol Type Pin No Description
HSDP I/O 26 High speed USB D+ signal HSDM I/O 24 High speed USB D- signal FSDP I/O 27 Full speed USB D+ signal FSDM I/O 25 Full speed USB D- signal RUP N/A 28 External pull-up resistor (1.5kW) for D+ line. RREF N/A 31 External Reference. Requires 1% precision 6.25K resistor to ground
6.2. EEPROM Interface
Table 2. EEPROM Interface
Symbol Type Pin No Description
EESK O 51 EESK in 93C46 (93C56) programming or auto-load mode. EEDI O 39 EEDI in 93C46 (93C56) programming or auto-load mode. EEDO I/O 36 EEDO in 93C46 (93C56) programming or auto-load mode. EECS O 47 EEPROM Chip Select.
93C46 (93C56) chip select.
6.3. Power Pins
Table 3. Power Pins
Symbol Type Pin No Description
VDD33 P 40, 59, 78, 93, 111 +3.3V (Digital). AVDD P 2, 9, 22, 29, 32, 127 +3.3V (Analog). VDD P 44, 53, 72, 82, 90, 96,
105, 115
GND P 41, 45, 52, 60, 73, 80,
83, 91, 110
AGND P 3, 10, 21, 23, 30, 123,
126, 128
Wireless LAN Network Interface Controller 5 Track ID JATR-1076-21 Rev. 1.2
+1.8V.
Ground (Digital).
Ground (Analog).
RTL8187L
Datasheet
6.4. LED Interface
Table 4. LED Interface
Symbol Ty pe Pin No Description
LED0, 1 O 48, 56 LED Pins (Active low)
LED0 TX/RX TX/RX TX LINK/ACT LED1 Infrastructure LINK RX Infrastructure During power down mode, the LED signals are logic high.
LEDS1~0 00 01 10 11
6.5. Attachment Unit Interface
6.5.1. RTL8225 RF Chipset
Table 5. Attachment Unit Interface
Symbol Type Pin No Description
RIFSCK O 57 Serial Clock Output.
For the RTL8225 RF chipset, all operation mode switching and register setting is
done via a 4-wire serial interface. RIFSD I/O 61 Serial Data Input/Output. RFLE O 58 Serial Enable control. CALEN O 77 Serial Read/Write control. CALMODE O 108 Receiver Output.
I and Q channel AC coupling high-pass corner frequency selection. The output
function of this pin is not used in the RTL8225 RF chipset.
LNA_HL O 88 Not used in the RTL8225 RF chipset. ANTSEL O 87 Antenna Select.
The antenna detects signal change states as the receiver switches from antenna to
antenna during the acquisition process in antenna diversity mode. This is a
complement for ANTSELB for differential drive of antenna switches. ANTSELB O 95 Antenna Select B.
The antenna detects signal change states as the receiver switches from antenna to
antenna during the acquisition process in the antenna diversity mode. This is a
complement for ANTSEL for differential drive of antenna switches. TRSW TRSWB VCOPDN O 49 Output Pin as shutdown mode select digital input. A_PAPE O 85 2.4GHz Transmit Power Amplifier Power Enable. B_PAPE O 107 Not used in the RTL8225 RF chipset. RFTXEN O 102 Not used in the RTL8225 RF chipset. RFRXEN O 113 Not used in the RTL8225 RF chipset. GPIO0 O 67 General purpose input/output pin. GPIO1 O 68 General purpose input/output pin. GPIO2 O 69 General purpose input/output pin. GPIO3 O 70 General purpose input/output pin.
O O
104 103
Transmit/Receive path select.
The TRSW select signal controls the direction of the Transmit/Receive switch.
Wireless LAN Network Interface Controller 6 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Symbol Type Pin No Description
GPIO4 O 100 General purpose input/output pin. GPIO5 O 94 General purpose input/output pin. VREFO X 118 Not used in the RTL8225 RF chipset. VRP X 119 Not used in the RTL8225 RF chipset. VRN X 120 Not used in the RTL8225 RF chipset. RXIP RXIN RXQP RXQN RXAGC I 4 Not used in the RTL8225 RF chipset. TXAGC O 5 Not used in the RTL8225 RF chipset. RSSI I 6 Analog Input to the Receive Power A/D Converter for Receive AGC Control. TSSI0 TSSI1 TXQP
TXQN
TXIP TXIN
TXQTP TXQTN
TXITP TXITN
I I
I I
I 7 Input to the Transmit Power A/D Converter for 2.4GHz Transmit AGC Control. I 8 Not used in the RTL8225 RF chipset. I
I O O O O O O
121 122 124 125
11 12 14 13 15 16 17 18
Receive (Rx) In-phase Analog Data.
Receive (Rx) Quadrature-phase Analog Data.
Not used in the RTL8225 RF chipset.
Not used in the RTL8225 RF chipset.
Transmit (TX) Quadrature-phase Analog Data.
Transmit (TX) In-phase Analog Data.
Datasheet
6.5.2. RTL8255 RF Chipset
Table 6. RTL8255 RF Chipset
Symbol Type Pin No Description
RIFSCK O 57 Serial Clock Output.
For the RTL8255 RF chipset, all operation mode switching and register setting is
done via a 3-wire serial interface. RIFSD O 61 Serial Data Input/Output. RFLE O 58 Serial Enable control. CALEN X 77 Not used in the RTL8255 RF chipset. CALMODE O 108 Receiver Output.
I and Q channel AC coupling high-pass corner frequency selection. The output
function of this pin is not used in the RTL8255 RF chipset. LNAHL O 88 Not used in the RTL8255 RF chipset. ANTSEL
ANTSELB
TRSW TRSWB VCOPDN O 49 Not used in the RTL8255 RF chipset. APAPE O 85 2.4GHz Transmit Power Amplifier Power Enable. BPAPE O 107 5GHz Transmit Power Amplifier Power Enable.
O O
O O
87 95
104 103
Antenna Select.
The antenna detects signal change states as the receiver switches from antenna to
antenna during the acquisition process in antenna diversity mode.
Transmit/Receive path select.
The TRSW select signal controls the direction of the Transmit/Receive switch.
Wireless LAN Network Interface Controller 7 Track ID JATR-1076-21 Rev. 1.2
Symbol Type Pin No Description
RFTXEN O 102 Not used in the RTL8255 RF chipset. RFRXEN O 113 Not used in the RTL8255 RF chipset.
GPIO[0] GPIO[1] GPIO[2] GPIO[3] GPIO[4] GPIO[5]
VREFO X VRP VRN RXIP
RXIN
RXQP RXQN
RXAGC TXAGC RSSI TSSI0 TSSI1 TXQP
TXQN
TXIP TXIN
TXQTP TXQTN
TXITP TXITN
O O O O O O
X 119 Not used in the RTL8255 RF chipset. X 120 Not used in the RTL8255 RF chipset.
I I
I I
O 4 Not used in the RTL8255 RF chipset. O 5 Not used in the RTL8255 RF chipset.
I 6 Analog Input to the Receive Power A/D Converter for Receive AGC Control. I 7 Input to the Transmit Power A/D Converter for 2.4GHz Transmit AGC Control.
I 8 Input to the Transmit Power A/D Converter for 5GHz Transmit AGC Control. O O O O O O O O
67 68 69 70
100
94
118
121 122 124 125
11 12 14 13 15 16 17 18
General purpose input/output pin. General purpose input/output pin. General purpose input/output pin. General purpose input/output pin. General purpose input/output pin. General purpose input/output pin. Not used in the RTL8255 RF chipset.
Receive (Rx) In-phase Analog Data.
Receive (Rx) Quadrature-phase Analog Data.
Transmit (TX) Quadrature-phase Analog Data.
Transmit (TX) In-phase Analog Data.
Not used in the RTL8255 RF chipset.
Not used in the RTL8255 RF chipset.
RTL8187L
Datasheet
6.6. Clock and Other Pins
Table 7. Clock and Other Pins
Symbol Type Pin No Description
R15K I/O 1 This pin must be pulled low by a 15K resistor. XI I 20 40MHz OSC Input.
Wireless LAN Network Interface Controller 8 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet

7. CPU Access to Endpoint Data

7.1. Control Transfer
Control transfers configure and send commands to a device. Because they are so important, they employ extensive USB error checking. The host reserves a portion of each USB frame for control transfers. Control transfers consist of two or three stages. The SETUP stage contains eight bytes of USB control data. An optional DATA stage contains more data, if required. The STATUS stage allows the device to indicate successful completion of a control operation.
7.2. Bulk Transfer
Bulk data is bursty, traveling in packets of 8, 16, 32, or 64 bytes at full speed, or at 512 bytes at high speed. Bulk data has guaranteed accuracy due to an automatic retry mechanism for erroneous data. The host schedules bulk packets when there is available bus time.
Wireless LAN Network Interface Controller 9 Track ID JATR-1076-21 Rev. 1.2
RTL8187L

8. USB Request

8.1. Get Descriptor-Device
Table 8. Get Descriptor-Device
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 00 01 00 00 Lengh_L Length_H
High Speed Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
12 01 00 02 00 00 00 40
DA 0B 87 81 00 01 01 02
03 01
Full Speed Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
12 01 10 01 00 00 00 40
DA 0B 87 81 00 01 01 02
03 01
Datasheet
8.2. Get Descriptor-Device Qualifier (High Speed)
Table 9. Get Descriptor- Device Qualifier (High Speed)
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 00 06 00 00 Lengh_L Length_H
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
0A 06 00 02 00 00 00 40
01 00
Wireless LAN Network Interface Controller 10 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
8.3. Get Descriptor-Configuration
Table 10. Get Descriptor-Configuration
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 00 02 00 00 Lengh_L Length_H
High Speed Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
09 02 27 00 01 01 04 80
FA 09 04 00 00 03 00 00
00 05 07 05 81 02 00 02 00 07 05 02 02 00 02 00 07 05 03 02 00 02 00
Full Speed Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
09 02 27 00 01 01 00 E0 01 09 04 00 00 03 00 00 00 05 07 05 81 02 40 00 00 07 05 02 02 40 00 00 07 05 03 02 40 00 00
Datasheet
8.4. Get Descriptor-String Index 0
Table 11. Get Descriptor-String Index 0
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 00 03 00 00 Lengh_L Length_H
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
04 03 09 04 - - - -
Wireless LAN Network Interface Controller 11 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
8.5. Get Descriptor-String Index 1
Table 12. Get Descriptor-String Index 1
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 01 03 09 04 Lengh_L Length_H
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
10 03 52 00 65 00 61 00
6C 00 74 00 65 00 6B 00
8.6. Get Descriptor-String Index 2
Table 13. Get Descriptor-String Index 2
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 02 03 09 04 Lengh_L Length_H
Datasheet
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
3A 03 52 00 54 00 4C 00
38 00 31 00 38 00 37 00 20 00 57 00 59 00 72 00 65 00 6C 00 65 00 73 00 73 00 20 00 4C 00 41 00
4E 00 20 00 41 00 64 00
61 00 70 00 74 00 65 00 72 00
Wireless LAN Network Interface Controller 12 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
8.7. Get Descriptor-String Index 3
Table 14. Get Descriptor-String Index 3
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 03 03 09 04 Lengh_L Length_H
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
1A 03 30 00 30 00 65 00
30 00 34 00 63 00 30 00 30 00 30 00 30 00 30 00 31 00
8.8. Get Descriptor-String Index 4
Datasheet
Table 15. Get Descriptor-String Index 4
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 04 03 09 04 Lengh_L Length_H
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
2C 03 57 00 69 00 72 00
65 00 6C 00 65 00 73 00 73 00 20 00 4E 00 65 00 74 00 77 00 6F 00 72 00
6B 00 20 00 43 00 61 00
72 00 64 00
Wireless LAN Network Interface Controller 13 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
8.9. Get Descriptor-String Index 5
Table 16. Get Descriptor-String Index 5
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 05 03 09 04 Lengh_L Length_H
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
34 03 42 00 75 00 6C 00 6B 00 2D 00 49 00 4E 00 2C 00 42 00 75 00 6C 00 6B 00 2D 00 4F 00 55 00
54 00 2C 00 42 00 75 00 6C 00 6B 00 2D 00 4F 00
55 00 54 00
Datasheet
8.10. Get Descriptor-Other Speed Configuration
Table 17. Get Descriptor-Other Speed Configuration
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
80 06 00 07 00 00 Lengh_L Length_H
High Speed Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
09 02 27 00 01 01 04 80 FA 09 04 00 00 03 00 00
00 05 07 05 81 02 00 02
00 07 05 02 02 00 02 00
07 05 03 02 00 02 00
Full Speed Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
09 02 27 00 01 01 00 E0
01 09 04 00 00 03 00 00
00 05 07 05 81 02 40 00
00 07 05 02 02 40 00 00
07 05 03 02 40 00 00
Wireless LAN Network Interface Controller 14 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
8.11. Set Address
Table 18. Set Address
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 05 addrL addrH 00 00 00 00
Note: No data transaction.
8.12. Set Interface 0
Table 19. Set Interface 0
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
01 0B 00 00 00 00 00 00
Note: No data transaction.
Datasheet
8.13. Set Feature Device
Table 20. Set Feature Device
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 03 01 00 00 00 00 00
Note: No data transaction.
Wireless LAN Network Interface Controller 15 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
8.14. Clear Feature Device
Table 21. Clear Feature Device
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 01 01 00 00 00 00 00
Note: No data transaction.
8.15. Set Config 0
Table 22. Set Config 0
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 09 00 02 00 00 00 00
Note: No data transaction.
Datasheet
8.16. Set Config 1
Table 23. Set Config 1
Setup Transaction
BmReq bReq wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 09 01 00 00 00 00 00
Note: No data transaction.
Wireless LAN Network Interface Controller 16 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet

9. EEPROM (93C46 or 93C56) Contents

The RTL8187L supports the attachment of an external EEPROM. The 93C46 is a 1Kbit EEPROM (the 93C56 is a 2Kbit EEPROM). The EEPROM interface provides the ability for the RTL8187L to read from, and write data to, an external serial EEPROM device. If the EEPROM is not present, the RTL8187L initialization uses default values for the Operational Registers. Software can read and write to the EEPROM using “bit-bang” accesses via the 9346CR Register.
Although it is actually addressed by words, its contents are listed below by bytes for convenience. After the initial power on or auto-load command in the 9346CR, the RTL8187L performs a series of EEPROM read operations from the 93C46 (93C56).
Note: It is suggested to obtain Realtek approval before changing the default settings of the EEPROM.
Table 24. EEPROM (93C46 or 93C56) Contents
Bytes Contents Description
00h 87h 01h 81h
02h-03h VID USB Vendor ID. 04h-05h DID USB Device ID.
06h ChannelPlan Channel Plan: Map of channels to be scanned. 07h EnergyDetThr Energy detection threshold. 08h RFParm RF specific parameter.
09h-0Ah Version The version of EEPROM content.
0Bh Options function Bit0: Timeout function.
0Ch RFChipID RF Chip ID.
These 2 bytes contain the ID code word for the RTL8187L. The RTL8187L will load the contents of the EEPROM into the corresponding location if the ID word (8187h) is correct.
0: Disable RTL8187L’s USB timeout mechanism. 1: Enable RTL8187L’s USB timeout mechanism.
Bit1: USB remote wake up function. 0: There is no remote wake up feature for the RTL8187L. 1: There is a remote wake up feature for the RTL8187L.
Bit2: 0: The RTL8187L’s remote wake-up is based on the WLAN’s wake-up signal 1: The RTL8187L’s remote wake-up is push-button based.
Bit3: USB Status stage. 1: Bypass the check setup interrupt procedure of 8051 when host sends set_address
command.
Bit4: SelfloopbackISR function. 1: The UTM self loopback will be initialized by internal 8051.
Bit7: 1: The power control signal to AFE will be auto controlled by suspendm.
The identifier of the RF chip.
Wireless LAN Network Interface Controller 17 Track ID JATR-1076-21 Rev. 1.2
Bytes Contents Description
0Dh CONFIG3 RTL8187L Configuration register 3.
Operational register FF59h.
0Eh~13h MAC Address MAC Address.
After the auto-load command or a hardware reset, the RTL8187L loads MAC
Addresses to IDR0~IDR5 of the I/O registers of the RTL8187L. 14h - Reserved. 15h CONFIG1 RTL8187L Configuration register 1.
Operational register FF52h.
16h~17h
18h CONFIG2 RTL8187L Configuration register 2.
19h CONFIG4 RTL8187L Configuration register 4.
1Ah~1Dh ANA_PARM Analog Parameter for the RTL8187L.
1Eh TESTR RTL8187L Test Mode Register.
1Fh - Reserved. 20h OFDM_TxPower1 Transmit Power Level for 802.11a-defined channel_ID 36
21h OFDM_TxPower2 Transmit Power Level for 802.11a-defined channel_ID 40
22h OFDM_TxPower3 Transmit Power Level for 802.11a-defined channel_ID 44
23h OFDM_TxPower4 Transmit Power Level for 802.11a-defined channel_ID 48
24h OFDM_TxPower5 Transmit Power Level for 802.11a-defined channel_ID 52
25h OFDM_TxPower6 Transmit Power Level for 802.11a-defined channel_ID 56
26h
27h
28h
29h
2Ah
2Bh
2Ch CCK_TxPower1 Transmit Power Level for 802.11b(g)-defined channel_ID 1
CRC 16-bit CRC value of EEPROM content.
Operational register FF53h.
Operational register FF5Ah.
Operational registers of the RTL8187L are from FF54h to FF57h.
Reserved. Do not change this field without Realtek approval.
Operational register FF5Bh.
Reserved. Do not change this field without Realtek approval.
(Center frequency=5180MHz).
(Center frequency=5200MHz).
(Center frequency=5220MHz).
(Center frequency=5240MHz).
(Center frequency=5260MHz).
(Center frequency=5280MHz).
OFDM_TxPower
7
OFDM_TxPower
8
OFDM_TxPower
9
OFDM_TxPower
10
OFDM_TxPower
11
OFDM_TxPower
12
Transmit Power Level for 802.11a-defined channel_ID 60
(Center frequency=5300MHz).
Transmit Power Level for 802.11a-defined channel_ID 64
(Center frequency=5320MHz).
Transmit Power Level for 802.11a-defined channel_ID 149
(Center frequency=5745MHz).
Transmit Power Level for 802.11a-defined channel_ID 153
(Center frequency=5765MHz).
Transmit Power Level for 802.11a-defined channel_ID 157
(Center frequency=5785MHz).
Transmit Power Level for 802.11a-defined channel_ID 161
(Center frequency=5805MHz).
(center frequency=2412MHz).
RTL8187L
Datasheet
Wireless LAN Network Interface Controller 18 Track ID JATR-1076-21 Rev. 1.2
Bytes Contents Description
2Dh CCK_TxPower2 Transmit Power Level for 802.11b(g)-defined channel_ID 2
(center frequency=2417MHz).
2Eh CCK_TxPower3 Transmit Power Level for 802.11b(g)-defined channel_ID 3
(center frequency=2422MHz).
2Fh CCK_TxPower4 Transmit Power Level for 802.11b(g)-defined channel_ID 4
(center frequency=2427MHz). 30h CCK_TxPower5 Transmit Power Level for 802.11b(g)-defined channel_ID 5
(center frequency=2432MHz). 31h CCK_TxPower6 Transmit Power Level for 802.11b(g)-defined channel_ID 6
(center frequency=2437MHz).
32h-35h ANA_PARM2 Reserved: Do not change this field without Realtek approval.
Analog Parameter1 for the RTL8187L: Operational registers of the RTL8187L are
from FF60h to FF63h. 36h CCK_TxPower11 Transmit Power Level for 802.11b(g)-defined channel_ID 11
(center frequency=2462MHz). 37h CCK_TxPower12 Transmit Power Level for 802.11b(g)-defined channel_ID 12
(center frequency=2467MHz). 38h CCK_TxPower13 Transmit Power Level for 802.11b(g)-defined channel_ID 13
(center frequency=2472MHz). 39h CCK_TxPower14 Transmit Power Level for 802.11b(g)-defined channel_ID 14
(center frequency=2484MHz).
3Ah-6Bh Manufacture String
&
Product String
6Ch-79h - Reserved.
7Ah CCK_TxPower7 Transmit Power Level for 802.11b(g)-defined channel_ID 7
7Bh CCK_TxPower8 Transmit Power Level for 802.11b(g)-defined channel_ID 8
7Ch CCK_TxPower9 Transmit Power Level for 802.11b(g)-defined channel_ID 9
7Dh CCK_TxPower10 Transmit Power Level for 802.11b(g)-defined channel_ID 10
Manufacture String and Product String:Those bits specify both manufacturer’s
information and device’s information for the USB standard request.
Maximum two strings total length are 50 bytes.
(center frequency=2442MHz).
(center frequency=2447MHz).
(center frequency=2452MHz).
(center frequency=2457MHz).
RTL8187L
Datasheet
Wireless LAN Network Interface Controller 19 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
9.1. EEPROM Registers Summary
Table 25. EEPROM Registers Summary
Address Name Ty pe Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
FF00h-
FF05h
FF52h CONFIG1
FF53h CONFIG2
FF54h-
FF57h
FF59h CONFIG3
FF5Ah CONFIG4
FF5Bh TESTR 8-bit Read Write
FF60h-
FF63h
FFD8h CONFIG5 R/W** - - - - - - LANWake -
Note 1: Registers marked 'W Note 2: Registers marked 'W**' can be written only if bits EEM1:0=[1:1] and
CONFIG3<PARM_EN>= 0.
IDR0 IDR5 R/W*
R LEDS1 LEDS0 - LWACT - - - -
W* LEDS1 LEDS0 - LWACT - - - -
R LCK - - - -
W* - - - - -
ANA_PARM R/W** 32-bit Read Write
R - PARM_En Magic - - - - -
W* - PARM_En Magic - - - - -
R - - - LWPME - LWPTN -
W* - - - LWPME - LWPTN -
ANA_PARM2 R/W 32-bit Read Write
*'
can be written only if bits EEM1=EEM0=1.
PAPE
_sign
PAPE
_sign
PAPE _time PAPE _time
9.2. EEPROM Power Management Registers Summary
Table 26. EEPROM Power Management Registers Summary
Configuration
Space Offset
52h R Aux_I_b1 Aux_I_b0 DSI Reserved PMECLK Version
53h
Wireless LAN Network Interface Controller 20 Track ID JATR-1076-21 Rev. 1.2
Name Type Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
PMC
R PME_D3
PME_D3
cold
PME_D2 PME_D1 PME_D0 D2 D1 Aux_I_b2
hot
RTL8187L
Datasheet
10. USB Packet Buffering
The RTL8187L incorporates two independent FIFOs for transferring data to/from the system interface and from/to the network. The FIFOs provide temporary storage of data, freeing the host system from the real-time demands of the network.
The way in which the FIFOs are emptied and filled is controlled by the FIFO threshold values in the Receive Configuration registers. These values determine how full or empty the FIFOs must be before the device requests the bus. Once the RTL8187L requests the bus, it will attempt to empty or fill the FIFOs as allowed by the respective MXDMA settings in the Transmit Configuration and Receive Configuration registers.
10.1. Transmit Buffer Manager
The buffer management scheme used on the RTL8187L allows quick, simple, and efficient use of the frame buffer memory. The buffer management scheme uses separate buffers and descriptors for packet information. This allows effective transfers of data to the transmit buffer manager by simply transferring the descriptor information to the transmit queue.
The Tx Buffer Manager DMA’s packet data from system memory and places it in the 3.5KB transmit FIFO, and pulls data from the FIFO to send to the Tx MAC. Multiple packets may be present in the FIFO, allowing packets to be transmitted with Short InterFrame (SIF) space. Additionally, once the RTL8187L requests the bus, it will attempt to fill the FIFO as allowed by the MXDMA setting.
The Tx Buffer Manager process also supports priority queuing of transmit packets. It handles this by drawing from two separate descriptor lists to fill the internal FIFO. If packets are available in the high priority queues, they will be loaded into the FIFO before those of low priority.
10.2. Receive Buffer Manager
The Rx Buffer Manager uses the same buffer management scheme as used for transmits. The Rx Buffer Manager retrieves packet data from the Rx MAC and places it in the 4KB receive data FIFO, and pulls data from the FIFO for DMA to system memory. The receive FIFO is controlled by the FIFO threshold value in RXFTH. This value determines the number of long words written into the FIFO from the MAC unit before a DMA request for system memory occurs. Once the RTL8187L gets the bus, it will continue to transfer the long words from the FIFO until the data in the FIFO is less than one long word, or has reached the end of the packet, or the max DMA burst size is reached, as set in MXDMA.
10.3. Packet Recognition
The Rx packet filter and recognition logic allows software to control which packets are accepted, based on destination address and packet type. Address recognition logic includes support for broadcast, multicast hash, and unicast addresses. The packet recognition logic includes support for WOL and programmable pattern recognition.
Wireless LAN Network Interface Controller 21 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
11. Functional Description
11.1. Transmit & Receive Operations
The RTL8187L supports a new descriptor-based buffer management that will significantly lower host CPU utilization. The RTL8187L supports transmit descriptor and receive descriptor in memory. Each OUT packet contains 3-double-word transmit descriptors and each IN packet contains 4-double-word receive descriptors.
11.1.1. Transmit
Tx Descriptor Format
Table 27. Tx Descriptor Format
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RSVD TXRATE
(4 bits)
L
E N G
E X
T
RATE_
FALL
BACK_
LIMIT
(4 bits)
R S V D
(3 bits)
R T
RTSRATE
S
(4 bits)
E
N
Length (15 bits)
A N T E N N A
AGC (8 bits) RETRY_LIMIT (8 bits) CWMAX
C
T S E
N
M
S
N
RSVD
O
P
O
R
L
_
E
C
E
F
P
N
R
C
A
R
G
Y
P
T
TPKTSIZE (12 bits) Offset 0
RTSDUR (16 bits)
CWMIN
(4 bits)
(4 bits)
Offset 4
Offset 8
Wireless LAN Network Interface Controller 22 Track ID JATR-1076-21 Rev. 1.2
Table 28. Tx Status Descriptor
Offset# Bit# Symbol Description
0 31:28 RSVD Reserved.
0 27:24 TXRATE
Tx Rate. These four bits indicate the current frame’s transmission rate.
1Mbps 0 0 0 0 2Mbps 0 0 0 1
5.5Mbps 0 0 1 0 11Mbps 0 0 1 1 6Mbps 0 1 0 0 9Mbps 0 1 0 1 12Mbps 0 1 1 0 18Mbps 0 1 1 1 24Mbps 1 0 0 0 36Mbps 1 0 0 1 48Mbps 1 0 1 0 54Mbps 1 0 1 1 Reserved All other combinations
0 23 RTSEN RTS Enable.
Set to 1 indicates that an RTS/CTS handshake shall be performed at the beginning of any frame exchange sequence where the frame is of type Data or Management, the frame has a unicast address in the Address1 field, and the length of the frame is greater than RTSThreshold.
0 22:19 RTSRATE
RTS Rate. These four bits indicate the RTS frame’s transmission rate before transmitting the
current frame and will be ignored if the RTSEN bit is set to 0.
1Mbps 0 0 0 0 2Mbps 0 0 0 1
5.5Mbps 0 0 1 0 11Mbps 0 0 1 1 6Mbps 0 1 0 0 9Mbps 0 1 0 1 12Mbps 0 1 1 0 18Mbps 0 1 1 1 24Mbps 1 0 0 0 36Mbps 1 0 0 1 48Mbps 1 0 1 0 54Mbps 1 0 1 1 Reserved All other combinations
0 18 CTSEN CTS Enable.
Both RTSEN and CTSEN set to 1 indicates that the CTS-to-Self protection mechanism will be used.
RTL8187L
Datasheet
Bit 27 Bit 26 Bit 25 Bit 24
Bit 22 Bit 21 Bit 20 Bit 19
Wireless LAN Network Interface Controller 23 Track ID JATR-1076-21 Rev. 1.2
Offset# Bit# Symbol Description
0 17 MOREFRAG More Fragment.
This bit is set to 1 in all data type frames that have another fragment of the current packet to follow.
0 16 SPLCP Short Physical Layer Convergence Protocol format.
When set, this bit indicates that a short PLCP preamble will be added to the header before transmitting the frame.
0 15 NO_ENCRYPT No Encryption.
This packet will be sent out without encryption even if Tx encryption is enabled.
0 14:12 RSVD Reserved.
0 11:0 TPKTSIZE Transmit Packet Size.
This field indicates the number of bytes required to transmit the frame.
4 31 LENGEXT Length Extension.
This bit is used to supplement the Length field (bits 30:16, offset 4). This bit will be ignored if the TXRATE is set to 1Mbps, 2Mbps, or 5.5Mbps.
4 30:16 Length PLCP Length.
The PLCP length field indicates the number of microseconds required to transmit the frame.
4 15:0 RTSDUR RTS Duration.
These bits indicate the RTS frame’s duration field before transmitting the current frame and will be ignored if the RTSEN bit is set to 0.
8 31:28 RATE_FALL
BACK_LIMIT 8 27:25 RSVD Reserved. 8 24 ANTENNA Tx Antenna. 8 23:16 AGC Tx AGC. 8 15:8 RETRY_LIMIT Retry Count Limit. 8 7:4 CWMAX Maximum Contention Window. 8 3:0 CWMIN Minimum Contention Window.
Data Rate Auto Fallback Limit.
RTL8187L
Datasheet
Wireless LAN Network Interface Controller 24 Track ID JATR-1076-21 Rev. 1.2
11.1.2. Receive
Rx Descriptor Format
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D
RSVD
RSVD (6 bits)
M
A
F
RTL8187L
Table 29. Rx Descriptor Format
F
S
R
O
P
S
RXRATE
V
L
V
F
C
P
W
A K
E
U
P
(4 bits)
D
D E C R Y P T E D
R
AGC (8 bits)
M
S
A
V
R
D
P
B
R
P
C
I
A
A
E
W
R
C
M
R
S
R
C
V
M
3
G
2
T
A N T E N N A
TSFTL Offset 8 TSFTH Offset 12
RSSI
(7 bits)
Frame_Length (12 bits)
SQ
(8 bits)
Datasheet
Offset 0
Offset 4
Table 30. Rx Status Descriptor
Offset# Bit# Symbol Description
0 31:28 RSVD Reserved.
0 27 DMAF RX DMA Fail.
When set, this packet will be dropped by software.
0 26 FOVF FIFO Overflow.
When set, this bit indicates that the receive FIFO was exhausted before this packet was fully received.
0 25 SPLCP Short Physical Layer Convergence Protocol format.
When set, this bit indicates that a short PLCP preamble was added to the current received frame.
0 24 RSVD Reserved.
Wireless LAN Network Interface Controller 25 Track ID JATR-1076-21 Rev. 1.2
Offset# Bit# Symbol Description
0 23:20 RXRATE
0 19 RSVD Reserved. 0 18 MAR Multicast Address Packet Received.
0 17 PAM Physical Address Matched.
0 16 BAR Broadcast Address Received.
0 15 RES Receive Error.
0 14 PWRMGT Receive Power Management Packet.
0 13 CRC32 CRC32 Error.
0 12 ICV Integrity Check Value Error.
0 11:0 Frame_Length This bit indicates the received packet length including CRC32, in bytes.
4 31:26 RSVD Reserved. 4 25 WAKEUP The received packet is a unicast wakeup packet. 4 24 DECRYPTED The received packet has been decrypted. 4 23:16 AGC The AGC of the received packet. 4 15 ANTENNA The received packet is received through this antenna.
4 14:8 RSSI Received Signal Strength Indicator.
Rx Rate. These four bits indicate the current frame’s receiving rate.
1Mbps 0 0 0 0 2Mbps 0 0 0 1
5.5Mbps 0 0 1 0 11Mbps 0 0 1 1 6Mbps 0 1 0 0 9Mbps 0 1 0 1 12Mbps 0 1 1 0 18Mbps 0 1 1 1 24Mbps 1 0 0 0 36Mbps 1 0 0 1 48Mbps 1 0 1 0 54Mbps 1 0 1 1 Reserved All other combinations
When set, this bit indicates that a multicast packet was received.
When set, this bit indicates that the destination address of this Rx packet matches the value in the RTL8187L’s ID registers.
When set, this bit indicates that a broadcast packet was received. BAR and MAR will not be set simultaneously.
Valid if DMAF=0
When set, this bit indicates that the Power Management bit is set on the received packet.
When set, this bit indicates that a CRC32 error has occurred on the received packet. A CRC32 packet can be received only when RCR_ACRC32 is set.
When set, this bit indicates that an ICV error has occurred on the received packet. A ICV packet can be received only when RCR_AICV is set.
The RSSI is a measure of the RF energy received by the PHY.
Bit 23 Bit 22 Bit 21 Bit 20
RTL8187L
Datasheet
Wireless LAN Network Interface Controller 26 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Offset# Bit# Symbol Description
4 7:0 SQ Signal Quality.
The SQ is a measure of the quality of BAKER code lock, providing an effective measure during the full reception of a PLCP preamble and header.
8 31:0 TSFTL A snapshot of the TSFTR’s least significant 32 bits.
12 31:0 TSFTH A snapshot of the TSFTR’s most significant 32 bits.
Datasheet
11.2. Loopback Operation
Loopback mode is normally used to verify that the logic operations have performed correctly. In loopback mode, the RTL8187L takes frames from the transmit descriptor and transmits them up to internal Rx logic. The loopback function does not apply to an external PHYceiver.
11.3. Tx Encapsulation (With RTL8187L Internal Baseband Processor)
While operating in Tx mode, the RTL8187L encapsulates the frames that it transmits according to the Differential Binary Phase Shift Keying (DBPSK) for 1Mbps, Differential Quaternary Phase Shift Keying (DQPSK) for 2Mbps, and Complementary Code Keying (CCK) for 5.5Mbps and 11Mbps modulators. The changes to the original packet data are as follows:
1. The PLCP preamble is always transmitted as the DBPSK waveform and used by the receiver to achieve
initial PN synchronization.
2. The PLCP header can be configured to be either DBPSK or DQPSK and includes the necessary data
fields of the communications protocol to establish the physical layer link.
3. The MAC frame can be configured for DBPSK, DQPSK, or CCK.
11.4. Rx Decapsulation (With RTL8187L Internal Baseband Processor)
The RTL8187L continuously monitors the network when reception is enabled. When activity is recognized it starts to process the incoming data. After detecting receive activity on the channel, the RTL8187L starts to process the PLCP preamble and header based on the mode of operation.
The RTL8187L checks CRC16 and CRC32, then reports if CRC16 or CRC32 has errors. When using the 40-bit WEP and 104-bit WEP module for decryption, the RTL8187L also checks the Integrity Check Value (ICV) and reports if the ICV has errors.
Wireless LAN Network Interface Controller 27 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
11.5. LED Functions
The RTL8187L supports 2 LED signals in 4 configurable operation modes. The following sections describe the different LED actions.
11.5.1. Link Monitor
The Link Monitor senses the link integrity. Whenever link status is established, the specific link LED pin is driven low.
11.5.2. Infrastructure Monitor
The Infrastructure Monitor senses the link integrity of an Infrastructure network. Whenever Link OK in Infrastructure network status is established, the specific Infrastructure LED pin is driven low.
11.5.3. Rx LED
Blinking of the Rx LED indicates that receive activity is occurring.
Power On
LED = High
Receiving
Packet?
Yes
LED = High for (100 +- 10) ms
LED = Low for (12 +- 2) ms
Figure 3. Rx LED
No
Wireless LAN Network Interface Controller 28 Track ID JATR-1076-21 Rev. 1.2
11.5.4. Tx LED
Blinking of the Tx LED indicates that transmit activity is occurring.
Power On
LED = High
RTL8187L
Datasheet
Transmitting
Packet?
Yes
LED = High for (100 +- 10) ms
LED = Low for (12 +- 2) ms
No
Figure 4. Tx LED
11.5.5. Tx/Rx LED
Blinking of the Tx/Rx LED indicates that both transmit and receive activity is occurring.
Power On
LED = High
Tx/Rx Packet?
Yes
LED = High for (100 +- 10) ms
LED = Low for (12 +- 2) ms
No
Figure 5. Tx/Rx LED
Wireless LAN Network Interface Controller 29 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
11.5.6. LINK/ACT LED
Blinking of the LINK/ACT LED indicates that the RTL8187L is linked and operating properly. If this LED is high for extended periods it indicates that a link problem exists.
Power On
LED = High
Link?
Yes
LED = Low
No
Tx/Rx packet?
Yes
LED = High for (100 +- 10) ms
LED = Low for (12 +- 2) ms
Figure 6. LINK/ACT LED
No
Wireless LAN Network Interface Controller 30 Track ID JATR-1076-21 Rev. 1.2
12. Application Diagram
RTL8187L
Datasheet
Main/Aux. Power
Antenna
Regulators
Power 3.3V, 1.8V
External
RF
Devices
Figure 7. Application Diagram
Power 3.3V, 1.8V
LED
Power 3.3V, 1.8V
RTL8187L
Base
Band
40MHz
Clock
EEPROM
External
ROM/RAM
SIEMAC
D+
D-
Power 3.3V
Wireless LAN Network Interface Controller 31 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
13. Electrical Characteristics
13.1. Temperature Limit Ratings
Table 31. Temperature Limit Ratings
Parameter Minimum Maximum Units
Storage temperature -55 +125 °C Operating temperature -10 70 °C
13.2. DC Characteristics
Table 32. DC Characteristics
Symbol Parameter Conditions Minimum Typi cal Maximum Units
VDD33 3.3V Supply Voltage 3.0 3.3 3.6 V VDD18 1.8V Supply Voltage 1.7 1.8 1.9 V
Voh Minimum High Level Output
Voltage
Vol Maximum Low Level Output
Voltage
Vih Minimum High Level Input Voltage 0.5 * Vcc Vcc+0.5 V
Vil Maximum Low Level Input Voltage -0.5 0.3 * Vcc V Iin Input Current V Ioz Tri-State Output Leakage Current V Icc Average Operating Supply Current I
I
oh = -8mA
I
ol = 8mA
in =Vcc or GND
out =Vcc or GND
out =
0.9 * Vcc Vcc V
0.1 * Vcc V
0mA, 460 mA
-1.0 1.0 µA
-10 10 µA
Wireless LAN Network Interface Controller 32 Track ID JATR-1076-21 Rev. 1.2
RTL8187L
Datasheet
13.3. AC Characteristics
13.3.1. Serial EEPROM Interface Timing (93C46(64*16)/93C56(128*16))
EESK
EECS
EEDI
EEDO
EESK
EECS
EEDI
EEDO
EESK
EECS
EEDI
EEDO
EEDO
(Read)
(Read)
High Impedance
(Write)
(Write)
High Impedance
(Read)
(Program)
110An A2 A0A1
110AnA0
tskh
tcss
tdis tdih
tsv
...
tsk
...
Dn
tskl
tdos tdoh
STATUS VALID
Figure 8. Serial EEPROM Interface Timing
Dn D1 D0
0
tcs
D0
twp
tcs
BUSY READY
tcsh
Table 33. EEPROM Access Timing Parameters
Symbol Parameter Minimum Ty pical Maximum Units
tcs Minimum CS Low Time 9346/9356 1000/250 ns
twp Write Cycle Time 9346/9356 10/10 ms
tsk SK Clock Cycle Time 9346/9356 4/1 µs
tskh SK High Time 9346/9356 1000/500 ns
tskl SK Low Time 9346/9356 1000/250 ns tcss CS Setup Time 9346/9356 200/50 ns
tcsh CS Hold Time 9346/9356 0/0 ns
tdis DI Setup Time 9346/9356 400/50 ns tdih DI Hold Time 9346/9356 400/100 ns tdos DO Setup Time 9346/9356 2000/500 ns
tdoh DO Hold Time 9346/9356 2000/500 ns
tsv CS to Status Valid 9346/9356 1000/500 ns
Wireless LAN Network Interface Controller 33 Track ID JATR-1076-21 Rev. 1.2
14. Mechanical Dimensions
RTL8187L
Datasheet
See the Mechanical Dimensions notes on the next page.
Wireless LAN Network Interface Controller 34 Track ID JATR-1076-21 Rev. 1.2
14.1. Mechanical Dimensions Notes
Symbol Dimension in inch Dimension in mm
Min Typical Max Min Typical Max protrusion/intrusion.
A
A1
A2
b c
D
D1
e
E
E1
L
L1
Θ
- - 0.063 - - 1.60 2.Controlling dimension: Millimeter
0.002 - - 0.05 - - 3.General appearance spec. should be based
0.053 0.055 0.057 1.35
0.005 0.007 0.009 0.13
0.004 - 0.006 0.09 - 0.20 TITLE: 128LD LQFP ( 14x14x1.4 mm*2 ) PACKAGE OUTLINE
0.624 0.630 0.636 15.85
0.547 0.551 0.555 13.90
0.016 BSC 0.40 BSC
0.624 0.630 0.636 15.85
0.547 0.551 0.555 13.90
0.018 0.024 0.030 0.45
0.039 REF 1.00 REF
0° 3.5° 7° 0° 3.5° 7°
1.40
0.18
16.00
14.00
16.00
14.00
0.60
1.45 on final visual inspection spec.
0.23
16.15 -CU L/F, FOOTPRINT 2.0 mm
14.10 LEADFRAME MATERIAL:
16.15 VERSION 1
14.10 PAGE OF
0.75 CHECK DWG NO. LQ128 - 2
Note:
1.Dimension b does not include dambar
APPROVE DOC. NO. 530-ASS-P004
DATE MAY. 13.2002
REALTEK SEMICONDUCTOR CORP.
RTL8187L
Datasheet
Wireless LAN Network Interface Controller 35 Track ID JATR-1076-21 Rev. 1.2
15. Ordering Information
Table 34. Ordering Information
Part Number Package Status
RTL8187L 128-pin LQFP MP RTL8187L-LF RTL8187L with Lead (Pb)-Free package MP
RTL8187L
Datasheet
Realtek Semiconductor Corp. Headquarters
No. 2, Industry East Road IX, Science-based Industrial Park, Hsinchu, 300, Taiwan, R.O.C. Tel: 886-3-5780211 Fax: 886-3-5776047 www.realtek.com.tw
Wireless LAN Network Interface Controller 36 Track ID JATR-1076-21 Rev. 1.2
Federal Communication Commission Interference Statement
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turnin g the equipment off and on, the user is encouraged to try to correct th e interference by one of the following measures:
Reorient or relocate the receivin g a nt en na. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit diffe rent from that to which the
receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
FCC Caution: Any changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate this equipment.
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
This device and its antenna(s) must not be co-located or operating in conjunction with any other antenna or transmitter.
This device is intended only for OEM integrators under the following conditions:
OEM integrator is still responsible for testing their end product for any additional compliance requirements required with this module installed (for example, digital device emissions, PC peripheral requirements, etc.).
IMPORTANT NOTE
certain laptop configurations or co-location with another transmitter), then the FCC authorization is no longer considered va lid and the FCC ID can not be used on the final product. In these circumstances, the OEM integ rator will be respon sible for re-evaluatin g the end product (including the transmitter) and obtaining a separate FCC authorization. Without Co-located The antenna (s) used for this transmitter must not be co-located or operating in conjunction with any other a ntenna or transmitter.
: In th e event that these conditions can not be met (for example
Modular Approval OEM integrator is still responsible for testing their end product for any additional compliance requirements required with this module installed (for ex ample, digital device emissions, PC peripheral requirements, etc.). IMPORTANT NOTE: In the event that these conditions can not be met (for example certain laptop configurations or co-location with another transmitter), then the FCC authorization is no longer considered valid and the FCC ID can not be used on the final product. In these circumstances, the OEM integrator will be responsible for re-evaluating the end product (including the transmitter) and obtaining a separate FCC authorization. Modular OEM Integrator Notice End Product Labeling This transmitter module is authoriz e d o nly f or us e in device where the antenna may be installed such that 20 cm may be maintained between the antenna and users. The final end product must be labeled in a vis i ble area with the following: “Contains TX FCC ID: TX2-RTL8187”.
IC Radiation Exposure Statement:
"Operation is subject to the following two conditions: (1) this device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired operation of the device."
OEM integrator is still responsible for testing their end product for any additional compliance requirements required with this module installed (for ex ample, digital device emissions, PC peripheral requirements, etc.). IMPORTANT NOTE: In the event that these conditions can not be met (for example certain laptop configurations or co-location with another transmitter), then the FCC authorization is no longer considered valid and the FCC ID can not be used on the final product. In these circumstances, the OEM integrator will be responsible for re-evaluating the end product (including the transmitter) and obtaining a separate FCC authorization.
This transmitter module is authoriz e d o nly f or us e in device where the antenna may be installed such that 20 cm may be maintained between the antenna and users. The final end product must be labeled in a vis i ble area with the following: “Contains TX IC ID: 6317A–RTL8187”.
This device has been designed to operate with an antenna having a maximum gain of [3.00] dBi. Antenna having a higher gain is strictly prohibited per regulations of Industry Canada. The required antenna impedance is 50 ohms." List of antennas below:
Ant. Type
1.
Connector Ant. Type
3.
Connector Ant. Type
5.
Connector Ant. Type
7.
Connector Ant. Type
9.
Connector Ant. Type
11 .
Connector Ant. Type
13 .
Connector Ant. Type
15 .
Connector Ant. Type
17 .
Connector Ant. Type
19 .
Connector Ant. Type
21 .
Connector
PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX
PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No. PK Gain(dBi) Model No.
3 DQ661500301
2.39 AR830WIPI02A
0.78 WDAN-QMA6002
-DF
0.3 AAFJ5050002LF0
1.97 ARMK8WIPI02A
2.37 AAFA5050004LQ
0
2.57 B0785028000003
2.55 AR621WIPI02D
2.49 ARK8MWIPI01B
2.86 AAFQ5050002LK
0
0.74 MA6002
Ant. Type
2.
Connector Ant. Type
4.
Connector Ant. Type
6.
Connector Ant. Type
8.
Connector Ant. Type
10 .
Connector Ant. Type
12 .
Connector Ant. Type
14 .
Connector Ant. Type
16 .
Connector Ant. Type
18 .
Connector Ant. Type
20 .
Connector Ant. Type
22 .
Connector
PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX PIFA IPEX
PK Gain(dBi)
Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No. PK
Gain(dBi) Model No.
To reduce potential radio interference to other users, the antenna type and its gain
2.32 MA6001
2.11 AR320WIPI02B
1.1 DQ661500115
2.57 AR620WIPI02C 1 ARMK8WIPI02A
2.11 AR320WIPI01B
2.21 AR330WIPI01D
2.48 ARW62WIPI01G
0.46 AAFQ5050001L
K0
2.45 B012502800000
4
0.03 W340UA1
should be so chosen that the equivalent isotropically radiated power (e.i.r.p.) is not more than that permitted for successful communication.
Installation Guide__
Installation Guide__
Reeaalltteekk
R
880022..1111 bb//gg m
RTTLL88118877
R
miinnii
C
C
++ R
arrdd
a
RTTLL88222255--
VFF
V
((ZZ22))
Date: 2006/06/06
Version: 1.0
This document is subject to change without notice. The document contains Realtek confidential information and must not be disclosed to any third party without appropriate NDA.
Installation Description
This module is to be installed only by the professionals. When IRF303JU/IRF303U2is installed in a product, we shall consider the following points;
1. Since RTL8187 miniCard owns its FCC ID Number/IC Number, we shall affix an exterior label on the outside of the product if the FCC ID/IC Number is not visible. The exterior label shall use wording such as either “Contains Transmitter Module FCC ID: TX2-RTL8187/IC Number: 6317A-RTL8187”or “Contains FCC ID: TX2-RTL8187/ IC Number: 6317A-RTL8187”.
2. RTL8187 miniCard complies with requirements of sub-sections 15.203, 15.205, 15.207,
15.247 and 15.407 in FCC Rules Part 15. We shall installRTL8187 miniCard in accordance with their requirements. RTL8187 miniCard complies with requirements of the sub-section
2.1091. When installers install RTL8187 miniCard into a product, they shall ensure that the public is not exposedto radio frequency energy levels in excess of the Commission’s guidelines in accordance with the sub-section 15.247(e)(i) and 15.407(f) in FCC Rules Part 15.
Loading...