RTL8187L RTL8187L-LF: Wireless Lan Network Interface Controller
RTL8187L RTL8187L-LF: Wireless Lan Network Interface Controller
RTL8187L RTL8187L-LF: Wireless Lan Network Interface Controller
RTL8187L-LF
DATASHEET
Rev. 1.2
06 September 2005
Track ID: JATR-1076-21
RTL8187L
Datasheet
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.
REVISION HISTORY
Revision Release Date Summary
1.0 2004/10/22 First release.
1.1 2005/04/25 Revised data transaction content.
Added offset 8 information (Table 27, page 23, and Table 28, page 23).
1.2 2005/09/06 Added RoHS declaration (see last 2 pages).
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
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
Datasheet
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
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
Datasheet
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
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.
2. Features
128-Pin LQFP and 128-pin LQFP Lead OFDM with BPSK, QPSK, 16QAM and
(Pb)-Free package 64QAM modulations and demodulations
supported with rate compatible punctured
State machine implementation without convolutional coding with coding rate of 1/2,
external memory (RAM, flash) requirement 2/3, and 3/4
3. System Applications
USB Dongle WLAN adapter
4. Block Diagram
MAC EEPROM
Interface
LED Driver Serial
Control
Radio and
Synthesizer
Power and TX/RX Timing Control Logic Control
Frame Length
Discriminator
Frame Type
Interrupt RTS, CTS,
Register
Control ACK Frame
Logic Generator
D+
S I E + Register
D-
WEP/
TKIP/ Checksum
AES Logic CCA/
Engine NAV
From BBP
Transmit/
FIFO
Receive MAC/BBP
FIFO Control
Logic Interface
Logic Interface
BBP, TX Section
DAC TXI
MAC/BBP Digital
Scrambler Coding
Interface Filter
DAC TXQ
DAC TXAGC
From Register
TX State TX AGC
Machine Control
MAC ADC TXDET
BBP, RX Section
ADC RXI
MAC/BBP
Descrambler Decoding
Interface
ADC RXQ
Clear Channel
DAC RXAGC
RX AGC
To MAC Assessment/
Control
Signal Quality
ADC RSSI
Antenna
From RX State
Diversity
ANTSEL
Register
Machine
MAC Control ANTSELB
5. Pin Assignments
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. S/T/S: Sustained Tri-State.
O: Output O/D: Open Drain.
T/S: Tri-State bi-directional input/output pin.
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
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
0A 06 00 02 00 00 00 40
01 00
Data Transaction
DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 DATA6 DATA7
04 03 09 04 - - - -
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
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
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
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
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
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.
Bit7:
1: The power control signal to AFE will be auto controlled by suspendm.
0Ch RFChipID RF Chip ID.
The identifier of the RF chip.
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
R C M S N RSVD TPKTSIZE (12 bits) Offset 0
RSVD TXRATE T RTSRATE T O P O
(4 bits) S (4 bits) S R L _
E E E C E
N N F P N
R C
A R
G Y
P
T
L
E Length (15 bits) RTSDUR (16 bits) Offset 4
N
G
E
X
T
RATE_ R A AGC (8 bits) RETRY_LIMIT (8 bits) CWMAX CWMIN Offset 8
FALL S N (4 bits) (4 bits)
BACK_ V T
LIMIT D E
(4 bits) (3 bits) N
N
A
11.1.2. Receive
Rx Descriptor Format
Table 29. 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 F S R R M P B R P C I Offset 0
RSVD M O P S RXRATE S A A A E W R C Frame_Length (12 bits)
A V L V (4 bits) V R M R S R C V
F F C D D M 3
P G 2
T
W D A Offset 4
RSVD (6 bits) A E AGC (8 bits) N RSSI SQ
K C T (7 bits) (8 bits)
E R E
U Y N
P P N
T A
E
D
TSFTL Offset 8
TSFTH Offset 12
11.5.3. Rx LED
Blinking of the Rx LED indicates that receive activity is occurring.
Power On
LED = High
Receiving No
Packet?
Yes
Figure 3. Rx LED
11.5.4. Tx LED
Blinking of the Tx LED indicates that transmit activity is occurring.
Power On
LED = High
Transmitting No
Packet?
Yes
Figure 4. Tx LED
Power On
LED = High
No
Tx/Rx Packet?
Yes
Power On
LED = High
No
Link?
Yes
LED = Low
No
Tx/Rx packet?
Yes
RTL8187L
External D+
Base
Antenna RF Band
MAC SIE
D-
Devices
13.2. DC Characteristics
Table 32. DC Characteristics
Symbol Parameter Conditions Minimum Typical 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 Ioh = -8mA 0.9 * Vcc Vcc V
Voltage
Vol Maximum Low Level Output Iol = 8mA 0.1 * Vcc V
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 Vin =Vcc or GND -1.0 1.0 µA
Ioz Tri-State Output Leakage Current Vout =Vcc or GND -10 10 µA
Icc Average Operating Supply Current Iout = 0mA, 460 mA
13.3. AC Characteristics
13.3.1. Serial EEPROM Interface Timing (93C46(64*16)/93C56(128*16))
EESK
EECS tcs
EEDI (Read) 1 1 0 An A2 A1 A0
(Read)
EEDO High Impedance 0 Dn D1 D0
EESK
EECS tcs
tsk
EESK
tskh tskl tcsh
EECS tcss
tdis tdih
EEDI
tdos tdoh
EEDO (Read)
tsv
EEDO STATUS VALID
(Program)