Realtek Manual For Device Supporting Wireless Wake On LAN (Nov. 2002)
Realtek Manual For Device Supporting Wireless Wake On LAN (Nov. 2002)
2002/11/12 1 Rev1.1
RTL8180L
1. Features
2002/11/12 2 Rev1.1
RTL8180L
2. General Description
The Realtek RTL8180 is a highly integrated and cost-effective wireless LAN network interface controller that integrates a
wireless LAN MAC and a direct sequence spread spectrum baseband processor into one chip. It provides 32-bit performance, PCI
bus master capability, and full compliance with IEEE 802.11 and IEEE 802.11b specifications.
The RTL8180 has on board A/D and D/A converters for analog I and Q inputs and outputs. Differential phase shift keying
modulation schemes DBPSK and DQPSK, with data scrambling capability, are available along with complementary code keying
to provide a variety of data rates. Both receive and transmit AGC functions obtain maximum performance in the analog portions
of the transceiver. The RTL8180 also includes a built-in enhanced signal detector to alleviate severe multipath effects. The target
environment for 11Mbps is 125ns RMS delay spread. It also supports short preamble and antenna diversity. For security issues,
the RTL8180 also implements a high performance internal WEP engine supporting up to 104 bit WEP.
It also supports Advanced Configuration Power management Interface (ACPI), PCI power management system for modern
operating systems that are capable of Operating System directed Power Management (OSPM) to achieve the most efficient power
management possible.
In addition to the ACPI feature, the RTL8180 also supports remote wake-up (including AMD Magic Packet and Microsoft®
wake-up frame) in both ACPI and APM environments. The RTL8180 is capable of performing an internal reset through the
application of auxiliary power. When the auxiliary power is applied and the main power remains off, the RTL8180 is ready and
waiting for the Magic Packet or wake-up frame to wake the system up. Also, the LWAKE pin provides four different output
signals including active high, active low, positive pulse, and negative pulse. The versatility of the RTL8180 LWAKE pin provides
motherboards with Wake-On-LAN (WOL) functionality.
PCI Vital Product Data (VPD) is also supported to provide the information that uniquely identifies hardware (i.e., the RTL8180
LAN card). The information may consist of part number, serial number, and other detailed information.
The RTL8180 supports an enhanced link list descriptor-based buffer management architecture, which is an essential part of a
design for a modern network interface card. It contributes to lowering CPU utilization. Also, the RTL8180 boosts its PCI
performance by supporting PCI Memory Read Line & Memory Read Multiple when transmitting, and Memory Write and
Invalidate when receiving.
The RTL8180 keeps network maintenance costs low and eliminates usage barriers. The RTL8180 is highly integrated and
requires no “glue” logic or external memory.
2002/11/12 3 Rev1.1
RTL8180L
3. Block Diagram
MAC
EEPROM Serial
Interface
LED Driver
Control
Radio and
Synthesizer
Power and TX/RX Timing Control Logic Control
Frame Length
Discriminator
Frame Type
Register
Interrupt RTS, CTS,
Control ACK Frame
PCI Interface + Register Logic Generator
PCI
Interface
WEP Checksum
Engine Logic CCA/
NAV
From BBP
Transmit/
FIFO Receive MAC/BBP
FIFO Control Logic
Logic
Interface
Interface
BBP, TX section
DAC TXI
MAC/BBP Scrambler Coding
Digital
Filter
Interface DAC TXQ
DAC TXAGC
TX State TX AGC
From MAC Register
Machine Control
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
RX State ANTSEL+
From MAC Register
Machine
Diversity
Control ANTSEL-
2002/11/12 4 Rev1.1
RTL8180L
4. Pin Assignments
81 AGND 80 AVDD33
82 VDD33 79 AGND
83 RIFSCK 78 AVDD33
84 RIFSD 77 RXI+
85 RFLE 76 RXI-
86 IFLE/AGCSET 75 AGND
87 CALEN/AGCRESET 74 AGND
88 LNAH/L 73 RXQ+
89 GND 72 RXQ-
90 ANTSEL+ 71 AVDD33
91 ANTSEL- 70 RSSI
92 TRSW+ 69 TXDET
93 TRSW- 68 VREFI
94 VCOPDN/PHITXI/9356SEL 67 CCMP
95 PAPE 66 AGND
96 PE1/PHITXQ 65 R10K
97 PE2/AUX 64 R34K
98 GND18 63 AVDD33
99 VDD18 62 TXI+
100 VDD33 61 TXI-
101 EEDO 60 AGND
102 EEDI 59 TXQ+
103 EESK 58 TXQ-
104 EECS 57 AVDD33
105 LED0 56 TXAGC
106 LED1 55 RXAGC
107 GND 54 AVDD33
108 ISOLATEB 53 XI
109 LWAKE/CSTSCHG 52 XO
110 AVDD33 51 AGND
111 INTAB 50 AD0
112
113
114
115
RSTB
CLK
VDD18
GNTB
RTL8180 49
48
47
46
AD1
VDD18
AD2
AD3
116 REQB 45 AD4
117 PMEB 44 AD5
118 VDD33 43 GND
119 AD31 42 AD6
120 AD30 41 AD7
121 AD29 40 GND18
122 GND18 39 CBE0B
123 AD28 38 AD8
124 GND 37 AD9
125 AD27 36 VDD33
126 AD26 35 AD10
127 AD25 34 AD11
128 AD24 33 AD12
.
1 VDD33 32 GND18
2 CBE3B 31 AD13
3 IDSEL 30 VDD18
4 AD23 29 AD14
5 AD22 28 AD15
6 AD21 27 CBE1B
7 GND 26 VDD33
8 AD20 25 PAR
9 AD19 24 SERRB
10 AD18 23 PERRB
11 AD17 22 STOPB
12 VDD33 21 DEVSELB
13 AD16 20 TRDYB
14 CBE2B 19 CLKRUNB
15 GND 18 GND
16 FRAMEB 17 IRDYB
2002/11/12 5 Rev1.1
RTL8180L
5. Pin Descriptions
In order to reduce pin count, and therefore size and cost, some pins have multiple functions. In those cases, the functions are
separated with a “/” symbol. Refer to the Pin Assignment diagram for a graphical representation.
2002/11/12 6 Rev1.1
RTL8180L
2002/11/12 7 Rev1.1
RTL8180L
IRDYB S/T/S 17 Initiator Ready: This indicates the initiating agent’s ability to complete
the current data phase of the transaction.
As a bus master, this signal will be asserted low when the RTL8180 is
ready to complete the current data phase transaction. This signal is used in
conjunction with the TRDYB signal. Data transaction takes place at the
rising edge of CLK when both IRDYB and TRDYB are asserted low. As a
target, this signal indicates that the master has put data on the bus.
TRDYB S/T/S 20 Target Ready: This indicates the target agent’s ability to complete the
current phase of the transaction.
As a bus master, this signal indicates that the target is ready for the data
during write operations and with the data during read operations. As a
target, this signal will be asserted low when the (slave) device is ready to
complete the current data phase transaction. This signal is used in
conjunction with the IRDYB signal. Data transaction takes place at the
rising edge of CLK when both IRDYB and TRDYB are asserted low.
PAR T/S 25 Parity: This signal indicates even parity across AD31-0 and C/BE3-0,
including the PAR pin. PAR is stable and valid one clock after each
address phase. For data phases, PAR is stable and valid one clock after
either IRDYB is asserted on a write transaction or TRDYB is asserted on
a read transaction. Once PAR is valid, it remains valid until one clock
after the completion of the current data phase. As a bus master, PAR is
asserted during address and write data phases. As a target, PAR is
asserted during read data phases.
PERRB S/T/S 23 Parity Error: This pin is used to report data parity errors during all PCI
transactions except a Special Cycle. PERRB Is driven active (low) two
clocks after a data parity error is detected by the device receiving data,
and the minimum duration of PERRB is one clock for each data phase
with parity error detected.
SERRB O/D 24 System Error: If an address parity error is detected and Configuration
Space Status register bit 15 (detected parity error) is enabled, the
RTL8180 asserts the SERRB pin low and bit 14 of Status register in
Configuration Space.
STOPB S/T/S 22 Stop: Indicates that the current target is requesting the master to stop the
current transaction.
RSTB I 112 Reset: When RSTB is asserted low, the RTL8180 performs an internal
system hardware reset. RSTB must be held for a minimum of 120 ns.
2002/11/12 8 Rev1.1
RTL8180L
2002/11/12 9 Rev1.1
RTL8180L
2002/11/12 10 Rev1.1
RTL8180L
2002/11/12 11 Rev1.1
RTL8180L
2002/11/12 12 Rev1.1
RTL8180L
2002/11/12 13 Rev1.1
RTL8180L
2002/11/12 14 Rev1.1
RTL8180L
6. Register Descriptions
The RTL8180 provides the following set of operational registers mapped into PCI memory space or I/O space.
Offset R/W Tag Description
0000h R/W IDR0 ID Register 0: The ID register0-5 are only permitted to write by 4-byte
access. Read access can be byte, word, or double word access. The initial
value is autoloaded from EEPROM MAC Address field.
0001h R/W IDR1 ID Register 1
0002h R/W IDR2 ID Register 2
0003h R/W IDR3 ID Register 3
0004h R/W IDR4 ID Register 4
0005h R/W IDR5 ID Register 5
0006h-0007h - - Reserved
0008h R/W MAR0 Multicast Register 0: The MAR register0-7 are only permitted to write by
4-bye access. Read access can be byte, word, or double word access. Driver is
responsible for initializing these registers.
0009h R/W MAR1 Multicast Register 1
000Ah R/W MAR2 Multicast Register 2
000Bh R/W MAR3 Multicast Register 3
000Ch R/W MAR4 Multicast Register 4
000Dh R/W MAR5 Multicast Register 5
000Eh R/W MAR6 Multicast Register 6
000Fh R/W MAR7 Multicast Register 7
0010h-0017h - - Reserved
0018h-001Fh R TSFTR Timing Synchronization Function Timer Register
0020h-0023h R/W TLPDA Transmit Low Priority Descriptors Start Address (32-bit). (256-byte
alignment)
0024h-0027h R/W TNPDA Transmit Normal Priority Descriptors Start Address (32-bit). (256-byte
alignment)
0028h-002Bh R/W THPDA Transmit High Priority Descriptors Start Address (32-bit). (256-byte
alignment)
002Ch-002Dh R/W BRSR Basic Rate Set Register
002Eh-0033h R/W BSSID Basic Service Set ID
0034h-0036h - - Reserved
0037h R/W CR Command Register
0038h-003Bh - - Reserved
003Ch-003Dh R/W IMR Interrupt Mask Register
003Eh-003Fh R/W ISR Interrupt Status Register
0040h-0043h R/W TCR Transmit (Tx) Configuration Register
0044h-0047h R/W RCR Receive (Rx) Configuration Register
0048h-004Bh R/W TimerInt Timer Interrupt Register. Once having written a nonzero value to this
register, the Timeout bit of ISR register will be set whenever the least 32 bits
of the TSFTR reaches to this value. The Timeout bit will never be set as long
as TimerInt register is zero.
004Ch-004Fh R/W TBDA Transmit Beacon Descriptor Start Address(32-bit) (256-byte alignment)
0050h R/W 9346CR 93C46 (93C56) Command Register
0051h R CONFIG0 Configuration Register 0
0052h R/W CONFIG1 Configuration Register 1
0053h R/W CONFIG2 Configuration Register 2
0054h-0057h R/W ANA_PARM Analog parameter
0058h R/W MSR Media Status Register
0059h R/W CONFIG3 Configuration Register 3
005Ah R/W CONFIG4 Configuration Register 4
Cont…
2002/11/12 15 Rev1.1
RTL8180L
2002/11/12 16 Rev1.1
RTL8180L
2002/11/12 17 Rev1.1
RTL8180L
2002/11/12 18 Rev1.1
RTL8180L
6.5 IMR: Interrupt Mask Register
(Offset 003Ch-003Dh, R/W)
This register masks the interrupts that can be generated from the Interrupt Status Register. A hardware reset will clear all mask bits.
Setting a mask bit allows the corresponding bit in the Interrupt Status Register to cause an interrupt. The Interrupt Status Register bits
are always set to 1 if the condition is present, regardless of the state of the corresponding mask bit.
Bit R/W Symbol Description
15 R/W TXFOVW Tx FIFO Overflow Interrupt:
1: Enable
0: Disable
14 R/W TimeOut Time Out Interrupt:
1: Enable
0: Disable
13 R/W BcnInt Beacon Time out Interrupt:
1: Enable
0: Disable
12 R/W ATIMInt ATIM Time Out Interrupt:
1: Enable
0: Disable
11 R/W TBDER Tx Beacon Descriptor Error Interrupt:
1: Enable
0: Disable
10 R/W TBDOK Tx Beacon Descriptor OK Interrupt:
1: Enable
0: Disable
9 R/W THPDER Tx High Priority Descriptor Error Interrupt:
1: Enable
0: Disable
8 R/W THPDOK Tx High Priority Descriptor OK Interrupt:
1: Enable
0: Disable
7 R/W TNPDER Tx Normal Priority Descriptor Error Interrupt:
1: Enable
0: Disable
6 R/W TNPDOK Tx Normal Priority Descriptor OK Interrupt:
1: Enable
0: Disable
5 R/W RXFOVW Rx FIFO Overflow Interrupt:
1: Enable
0: Disable
4 R/W _RDU Rx Descriptor Unavailable Interrupt:
1: Enable
0: Disable
3 R/W TLPDER Tx Low Priority Descriptor Error Interrupt:
1: Enable
0: Disable
2 R/W TLPDOK Tx Low Priority Descriptor OK Interrupt:
1: Enable
0: Disable
1 R/W RER Rx Error Interrupt:
1: Enable
0: Disable
0 R/W ROK Rx OK Interrupt:
1: Enable
0: Disable
2002/11/12 19 Rev1.1
RTL8180L
2002/11/12 20 Rev1.1
RTL8180L
2002/11/12 21 Rev1.1
RTL8180L
6.8 RCR: Receive Configuration Register
(Offset 0044h-0047h, R/W)
This register is used to set the receive configuration for the RTL8180. Receive properties such as accepting error packets, runt
packets, setting the receive drain threshold etc. are controlled here.
Bit R/W Symbol Description
31 R/W ONLYERLPKT Early Receiving based on Packet Size: Early Receiving is only performed
for packets with a size greater than 1536 bytes.
30 R/W ENCS2 Enable Carrier Sense Detection Method 2
29 R/W ENCS1 Enable Carrier Sense Detection Method 1
28 R/W ENMARP Enable MAC Autoreset PHY
27:24 - - Reserved
23 R/W CBSSID Check BSSID, To DS, From DS Match Packet: When set to 1, the RTL8180
will check the Rx data type frame’s BSSID, To DS and From DS fields,
according to NETYPE (bits 3:2, MSR), to determine if it is set to Link ok at an
Infrastructure or Adhoc network.
22 R/W APWRMGT Accept Power Management Packet: This bit will determine whether the
RTL8180 will accept or reject packets with the power management bit set.
1: Accept
0: Reject
21 R/W ADD3 Accept Address 3 Match Packets: Set this bit to 1 to accept
broadcast/multicast data type frames that Address 3 matching RTL8180’s
MAC address. This bit is valid only when NETYPE (bits 3:2, MSR) is set to
Link ok in an Infrastructure network.
20 R/W AMF Accept Management Frame: This bit will determine whether the RTL8180
will accept or reject a management frame.
1: Accept
0: Reject
19 R/W ACF Accept Control Frame: This bit will determine whether the RTL8180 will
accept or reject a control frame.
1: Accept
0: Reject
18 R/W ADF Accept Data Frame: This bit will determine whether the RTL8180 will
accept or reject a data frame.
1: Accept
0: Reject
17:16 - - Reserved
15:13 R/W RXFTH2, 1, 0 Rx FIFO Threshold: This bit specifies the Rx FIFO Threshold level. When
the number of the received data bytes from a packet, which is being received
into the Rx FIFO of the RTL8180, has reached to this level (or the FIFO has
contained a complete packet), the receive PCI bus master function will begin to
transfer the data from the FIFO to the host memory. This field sets the
threshold level according to the following table:
000: Reserved
001: Reserved
010: 64 bytes
011: 128 bytes
100: 256 bytes
101: 512 bytes
110: 1024 bytes
111: No Rx threshold. The RTL8180 begins the transfer of data after having
received a whole packet into the FIFO.
Cont…
2002/11/12 22 Rev1.1
RTL8180L
12 R/W AICV Accept ICV Error Packet: This bit determines whether all packets with ICV
error will be accepted or rejected.
1: Accept
0: Reject
11 - - Reserved
10:8 R/W MXDMA2, 1, 0 Max DMA Burst Size per Rx DMA Burst: This field sets the maximum size
of the receive DMA data bursts according to the following table:
000: 16 bytes
001: 32 bytes
010: 64 bytes
011: 128 bytes
100: 256 bytes
101: 512 bytes
110: 1024 bytes
111: Unlimited
7 - - Reserved
6 R 9356SEL EEPROM Usage: This bit reflects what type of EEPROM is used.
1: The EEPROM used is 9356
0: The EEPROM used is 9346
5 R/W ACRC32 Accept CRC32 Error Packet: When set to 1, all packets with CRC32 error
will be accepted. When set to 0, all packets with CRC32 error will be rejected.
1: Accept
0: Reject
4 - - Reserved
3 R/W AB Accept Broadcast Packets: This bit determines whether broadcast packets
will be accepted or rejected.
1: Accept
0: Reject
2 R/W AM Accept Multicast Packets: This bit determines whether multicast packets will
be accepted or rejected.
1: Accept
0: Reject
1 R/W APM Accept Physical Match Packets: This bit determines whether physical match
packets will be accepted or rejected.
1: Accept
0: Reject
0 R/W AAP Accept Destination Address Packets: This bit determines whether all
packets with a destination address will be accepted or rejected.
1: Accept
0: Reject
2002/11/12 23 Rev1.1
RTL8180L
5:4 - - Reserved
3 R/W EECS These bits reflect the state of the EECS, EESK, EEDI and EEDO pins in
2 R/W EESK auto-load or 93C46 (93C56) programming mode.
1 R/W EEDI
0 R EEDO
2002/11/12 24 Rev1.1
RTL8180L
2002/11/12 25 Rev1.1
RTL8180L
2002/11/12 26 Rev1.1
RTL8180L
2002/11/12 27 Rev1.1
RTL8180L
6.14 CONFIG 3: Configuration Register 3
(Offset 0059h, R/W)
Bit R/W Symbol Description
7 R GNTSel Grant Select: This bit allows the selection of the Frame’s asserted time after
the Grant signal has been asserted. The Frame and Grant are the PCI signals.
0: No delay
1: Delay one clock from GNT assertion
6 R/W PARM_En Parameter Write Enable:
Setting this bit to 1 and the 9346CR register EEM1=EEM0=1 enables the
ANA_PARM register to be written via software.
5 R/W Magic Magic Packet: This bit is valid when the PMEn bit of the CONFIG1 register
is set. The RTL8180 will assert the PMEB signal to wakeup the operating
system when the Magic Packet is received.
Once the RTL8180 has been enabled for Magic Packet wakeup and has been
put into an adequate state, it scans all incoming packets addressed to the node
for a specific data sequence, which indicates to the controller that this is a
Magic Packet frame. A Magic Packet frame must also meet the basic
requirements: Frame Control + Duration/ID + Destination address + Address
2 + Address 3 + Sequence Control + data + CRC
The destination address may be the node ID of the receiving station or a
multicast address, which includes the broadcast address.
The specific sequence consists of 16 duplications of 6 byte ID registers, with
no breaks or interrupts. This sequence can be located anywhere within the
packet, but must be preceded by a synchronization stream, 6 bytes of FFh. The
device will also accept a multicast address, as long as the 16 duplications of
the IEEE address match the address of the ID registers.
If the Node ID is 11h 22h 33h 44h 55h 66h, then the magic frame’s format is
like the following:
Frame Control + Duration/ID + Destination address + Address 2 + Address 3
+ Sequence Control + MISC + FF FF FF FF FF FF + MISC + 11 22 33 44 55
66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 + 11 22 33 44
55 66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 + 11 22 33
44 55 66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 + 11 22
33 44 55 66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 + 11 22 33 44 55 66 +
MISC + CRC
4 - - Reserved
3 R CardB_En Card Bus Enable:
1: Enable CardBus related registers and functions
0: Disable CardBus related registers and functions
2 R CLKRUN_En CLKRUN Enable:
1: Enable CLKRUN
0: Disable CLKRUN
1 R FuncRegEn Functions Registers Enable (CardBus Only): This bit enables the 4 Function
Registers (Function Event Register, Function Event Mask Register, Function
Present State Register, and Function Force Event Register) for CardBus
applications.
1: Enable the 4 registers
2: Disable the 4 registers
0 R FBtBEn Fast Back to Back Enable:
1: Enable
0: Disable
2002/11/12 28 Rev1.1
RTL8180L
2002/11/12 29 Rev1.1
RTL8180L
6.17 SCR: Security Configuration Register
(Offset 005Fh, R/W)
Bit R/W Symbol Description
7:6 - - Reserved
5:4 R/W KM Key Mode: The combination of these two bits indicate what kind of security
scheme is being used.
Key Mode Bit 5 Bit 4
Reserved 1 1
Reserved 1 0
WEP104 0 1
WEP40 0 0
3:2 - - Reserved
1 R/W TXSECON TX Security ON:
Set this bit to 1 to turn on the option security scheme of the Tx path. This bit is
written by software and is invalid when WEP40 (bit 7, Config 0), and
WEP104 (bit 6, Config 0) are set to 0.
0 R/W RXSECON RX Security ON:
Set this bit to 1 to turn on the option security scheme of the Rx path. This bit is
written by software and is invalid when WEP40 (bit 7, Config 0), and
WEP104 (bit 6, Config 0) are set to 0.
2002/11/12 30 Rev1.1
RTL8180L
2002/11/12 31 Rev1.1
RTL8180L
6.24 DK1: Default Key 1 Register
(Offset 00A0h-00AFh, R/W)
Bit R/W Symbol Description
127:104 - - Reserved
103:0 R/W DK1 Default Key 1: These 104 bits (bits 103:0) indicate the default 104-bit WEP
key, which the ID is 1 when KM (bits 5:4, SCR) is set to WEP104, the 24 most
significant bits (bits 127:103) will be reserved. The 40 least significant bits
(bits 39:0) indicate the default 40-bit WEP key, which the ID is 1 when KM is
set to WEP40, and the 64 most significant bits (bits 103:40) will be reserved.
This register is only permitted to read/write by 4-byte access.
2002/11/12 32 Rev1.1
RTL8180L
2002/11/12 33 Rev1.1
RTL8180L
2002/11/12 34 Rev1.1
RTL8180L
2002/11/12 35 Rev1.1
RTL8180L
2002/11/12 36 Rev1.1
RTL8180L
2002/11/12 37 Rev1.1
RTL8180L
2002/11/12 38 Rev1.1
RTL8180L
2002/11/12 39 Rev1.1
RTL8180L
* The registers marked with type = 'W *' can be written only if bits EEM1=EEM0=1.
2002/11/12 40 Rev1.1
RTL8180L
2002/11/12 41 Rev1.1
RTL8180L
2002/11/12 42 Rev1.1
RTL8180L
2002/11/12 43 Rev1.1
RTL8180L
2002/11/12 44 Rev1.1
RTL8180L
2002/11/12 45 Rev1.1
RTL8180L
2002/11/12 46 Rev1.1
RTL8180L
2002/11/12 47 Rev1.1
RTL8180L
3Ch ILR R/W IRL7 ILR6 ILR5 ILR4 ILR3 ILR2 ILR1 ILR0
3Dh IPR R 0 0 0 0 0 0 0 1
3Eh MNGNT R 0 0 1 0 0 0 0 0
3Fh MXLAT R 0 0 1 0 0 0 0 0
40h-
RESERVED
4Fh
50h PMID R 0 0 0 0 0 0 0 1
51h NextPtr R 0 0 0 0 0 0 0 0
52h PMC R Aux_I_b1 Aux_I_b0 DSI Reserved PMECLK Version
53h R PME_D3cold PME_D3hot PME_D2 PME_D1 PME_D0 D2 D1 Aux_I_b2
54h PMCSR R 0 0 0 0 0 0 Power State
W - - - - - - Power State
55h R PME_Status - - - - - - PME_En
W PME_Status - - - - - - PME_En
56h-
RESERVED
5Fh
60h VPDID R 0 0 0 0 0 0 1 1
61h NextPtr R 0 0 0 0 0 0 0 0
Flag VPD VPDADDR VPDADDR VPDADD VPDADD VPDADD VPDADD VPDADD VPDADD
62h R/W
Address 7 6 R5 R4 R3 R2 R1 R0
VPDADDR VPDADD VPDADD VPDADD VPDADD VPDADD VPDADD
63h R/W Flag
14 R13 R12 R11 R10 R9 R8
64h R/W Data7 Data6 Data5 Data4 Data3 Data2 Data1 Data0
65h R/W Data15 Data14 Data13 Data12 Data11 Data10 Data9 Data8
VPD Data
66h R/W Data23 Data22 Data21 Data20 Data19 Data18 Data17 Data16
67h R/W Data31 Data30 Data29 Data28 Data27 Data26 Data25 Data24
68h-
RESERVED
FFh
² The above table is based on a status with both VPD and Power Management enabled.
2002/11/12 48 Rev1.1
RTL8180L
2002/11/12 49 Rev1.1
RTL8180L
Status: The status register is a 16-bit register used to record status information for PCI bus related events. Reads to this register
behave normally. Writes are slightly different in that bits can be reset, but not set.
Bit Symbol Description
15 DPERR Detected Parity Error: When this bit is set, it indicates that the RTL8180 has detected a parity error,
even if parity error handling is disabled in the command register PERRSP bit.
14 SSERR Signaled System Error: When this bit is set, it indicates that the RTL8180 has asserted the system error
pin, SERRB. Writing a 1 clears this bit to 0.
13 RMABT Received Master Abort: When this bit is set, it indicates that the RTL8180 has terminated a master
transaction with a master abort. Writing a 1 clears this bit to 0.
12 RTABT Received Target Abort: When this bit is set, it indicates that the RTL8180 master transaction was
terminated due to a target abort. Writing a 1 clears this bit to 0.
11 STABT Signaled Target Abort: This bit is set to 1 whenever the RTL8180 terminates a transaction with a target
abort. Writing a 1 clears this bit to 0.
10:9 DST1-0 Device Select Timing: These bits encode the timing of DEVSELB. They are set to 01b (medium),
indicating the RTL8180 will assert DEVSELB two clocks after FRAMEB is asserted.
8 DPD Data Parity error Detected: This bit sets when the following conditions are met:
• The RTL8180 asserts parity error (PERRB pin) or it senses the assertion of the PERRB pin by another
device.
• The RTL8180 operates as a bus master for the operation that caused the error.
• The Command register PERRSP bit is set.
Writing a 1 clears this bit to 0.
7 FBBC Fast Back-To-Back Capable: Config2<FBtBEn>=0, Read as 0, write operation has no effect.
Config2<FBtBEn>=1, Read as 1.
6 UDF User Definable Features Supported: Read as 0, write operation has no effect. The RTL8180 does not
support UDF.
5 66MHz 66 MHz Capable: Read as 0, write operation has no effect. The RTL8180 has no 66MHz capability.
4 NewCap New Capability: Config1<PMEn>=0, Read as 0, write operation has no effect. Config1<PMEn>=1,
Read as 1.
0:3 - Reserved
RID: Revision ID Register
The Revision ID register is an 8-bit register that specifies the RTL8180 controller revision number.
PIFR: Programming Interface Register
The programming interface register is an 8-bit register that identifies the programming interface of the RTL8180 controller.
The PCI specification reversion 2.1 doesn't define any other specific value for network devices. So PIFR = 00h.
SCR: Sub-Class Register
The Sub-class register is an 8-bit register that identifies the function of the RTL8180. SCR = 00h indicates that the
RTL8180 is an Ethernet controller.
BCR: Base-Class Register
The Base-class register is an 8-bit register that broadly classifies the function of the RTL8180. BCR = 02h indicates that
the RTL8180 is a network controller.
CLS: Cache Line Size
Specifies, in units of 32-bit words (double-words), the system cache line size. The RTL8180 supports cache line size of 8,
and 16 longwords (DWORDs). The RTL8180 uses Cache Line Size for PCI commands that are cache oriented, such as
memory-read-line, memory-read-multiple, and memory-write-and-invalidate.
LTR: Latency Timer Register
Specifies, in units of PCI bus clocks, the value of the latency timer of the RTL8180.
When the RTL8180 asserts FRAMEB, it enables its latency timer to count. If the RTL8180 deasserts FRAMEB prior to
count expiration, the content of the latency timer is ignored. Otherwise, after the count expires, the RTL8180 initiates
transaction termination as soon as its GNTB is deasserted. Software is able to read or write, and the default value is 00h.
HTR: Header Type Register
Reads will return a 0, writes are ignored.
BIST: Built-in Self Test
2002/11/12 50 Rev1.1
RTL8180L
Reads will return a 0, writes are ignored.
IOAR: This register specifies the BASE IO address, which is required to build an address map during configuration. It also
specifies the number of bytes required as well as an indication that it can be mapped into IO space.
Bit Symbol Description
31:8 IOAR31-8 BASE IO Address: This is set by software to the Base IO address for the operational register map.
7:2 IOSIZE Size Indication: Read back as 0. This allows the PCI bridge to determine that the RTL8180 requires 256
bytes of IO space.
1 - Reserved
0 IOIN IO Space Indicator: Read only. Set to 1 by the RTL8180 to indicate that it is capable of being mapped
into IO space.
MEMAR: This register specifies the base memory address for memory accesses to the RTL8180 operational registers. This
register must be initialized prior to accessing any RTL8180's register with memory access.
Bit Symbol Description
31:8 MEM31-8 Base Memory Address: This is set by software to the base address for the operational register map.
7:4 MEMSIZE Memory Size: These bits return 0, which indicates that the RTL8180 requires 256 bytes of Memory
Space.
3 MEMPF Memory Prefetchable: Read only. Set to 0 by the RTL8180.
2:1 MEMLOC Memory Location Select: Read only. Set to 0 by the RTL8180. This indicates that the base register is
32-bit wide and can be placed anywhere in the 32-bit memory space.
0 MEMIN Memory Space Indicator: Read only. Set to 0 by the RTL8180 to indicate that it is capable of being
mapped into memory space.
CISPtr: CardBus CIS Pointer. This field is valid only when CardB_En (bit3, Config2) = 1. The value of this register is
auto-loaded from 93C46 or 93C56 (from offset 50h-51h).
- Bit 2:0: Address Space Indicator
Bit2:0 Meaning
0 Not supported. (CIS begins in device-dependent configuration space.)
1:6 The CIS begins in the memory address governed by one of the six Base
Address Registers. Ex. if the value is 2, then the CIS begins in the memory
address space governed by Base Address Register 2.
7 The CIS begins in the Expansion ROM space.
- Bit27:3: Address Space Offset
- Bit31:28: ROM Image number
Bit2:0 Space Type Address Space Offset Values
0 Configuration space Not supported.
X; 1≤X≤6 Memory space 0h≤value≤FFFF FFF8h. This is the offset into the memory address space
governed by Base Address Register X. Adding this value to the value in the
Base Address Register gives the location of the start of the CIS. For
RTL8180, the value is 100h.
7 Expansion ROM 0≤image number≤Fh, 0h≤value≤0FFF FFF8h. This is the offset into the
expansion ROM address space governed by the Expansion ROM Base
Register. The image number is in the uppermost nibble of the CISPtr
register. The value consists of the remaining bytes. For RTL8180, the
image number is 0h.
2002/11/12 51 Rev1.1
RTL8180L
This read-only register points to where the CIS begins, in one of the following spaces:
i. Memory space – The CIS may be in any of the memory spaces from offset 100h and up after being auto-loaded
from 93C56. The CIS is stored in 93C56 EEPROM physically from offset 80h-FFh.
ii. Expansion ROM space – The CIS is stored in expansion ROM physically within the 128KB max.
SVID: Subsystem Vendor ID. This field will be set to a value corresponding to PCI Subsystem Vendor ID in the external
EEPROM. If there is no EEPROM, this field will default to a value of 10ECh, which is Realtek Semiconductor's PCI
Subsystem Vendor ID.
SMID: Subsystem ID. This field will be set to value corresponding to PCI Subsystem ID in the external EEPROM. If there is no
EEPROM, this field will default to a value of 8180h.
ILR: Interrupt Line Register
The Interrupt Line Register is an 8-bit register used to communicate with the routing of the interrupt. It is written by the
POST software to set interrupt line for the RTL8180.
IPR: Interrupt Pin Register
The Interrupt Pin register is an 8-bit register indicating the interrupt pin used by the RTL8180. The RTL8180 uses INTA
interrupt pin. Read only. IPR = 01h.
MNGNT: Minimum Grant Timer: Read only
Specifies how long a burst period the RTL8180 needs at 33 MHz clock rate in units of 1/4 microsecond. This field will be
set to a value from the external EEPROM. If there is no EEPROM, this field will default to a value of 20h.
MXLAT: Maximum Latency Timer: Read only
Specifies how often the RTL8180 needs to gain access to the PCI bus in unit of 1/4 microsecond. This field will be set to
a value from the external EEPROM. If there is no EEPROM, this field will default to a value of 20h.
2002/11/12 52 Rev1.1
RTL8180L
8.6 Default Value After Power-on (RSTB Asserted)
PCI Configuration Space Table
No. Name Type Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
00h VID R 1 1 1 0 1 1 0 0
01h R 0 0 0 1 0 0 0 0
02h DID R 1 0 0 0 0 0 0 0
03h R 1 0 0 0 0 0 0 1
04h Command R 0 0 0 0 0 0 0 0
W - PERRSP - MWIEN - BMEN MEMEN IOEN
05h R 0 0 0 0 0 0 0 0
W - - - - - - - SERREN
06h Status R 0 0 0 NewCap 0 0 0 0
07h R 0 0 0 0 0 0 1 0
W DPERR SSERR RMABT RTABT STABT - - DPD
08h Revision ID R 0 0 1 0 0 0 0 0
09h PIFR R 0 0 0 0 0 0 0 0
0Ah SCR R 0 0 0 0 0 0 0 0
0Bh BCR R 0 0 0 0 0 0 1 0
0Ch CLS R/W 0 0 0 0 0 0 0 0
0Dh LTR R 0 0 0 0 0 0 0 0
W LTR7 LTR6 LTR5 LTR4 LTR3 LTP2 LTR1 LTR0
0Eh HTR R 0 0 0 0 0 0 0 0
0Fh BIST R 0 0 0 0 0 0 0 0
10h IOAR R 0 0 0 0 0 0 0 1
11h R/W 0 0 0 0 0 0 0 0
12h R/W 0 0 0 0 0 0 0 0
13h R/W 0 0 0 0 0 0 0 0
14h MEMAR R 0 0 0 0 0 0 0 0
15h R/W 0 0 0 0 0 0 0 0
16h R/W 0 0 0 0 0 0 0 0
17h R/W 0 0 0 0 0 0 0 0
18h-
RESERVED(ALL 0)
27h -
28h R 0 0 0 0 0 0 0 0
29h R 0 0 0 0 0 0 0 0
CISPtr
2Ah R 0 0 0 0 0 0 0 0
2Bh R 0 0 0 0 0 0 0 0
2Ch SVID R 1 1 1 0 1 1 0 0
2Dh R 0 0 0 1 0 0 0 0
2Eh SMID R 1 0 0 0 0 0 0 0
2Fh R 1 0 0 0 0 0 0 1
30h BMAR R 0 0 0 0 0 0 0 0
W - - - - - - - BROMEN
31h R 0 0 0 0 0 0 0 0
W BMAR15 BMAR14 BMAR13 BMAR12 BMAR11 - - -
32h R/W 0 0 0 0 0 0 0 0
33h R/W 0 0 0 0 0 0 0 0
34h Cap-Ptr R Ptr7 Ptr6 Ptr5 Ptr4 Ptr3 Ptr2 Ptr1 Ptr0
35h-
RESERVED(ALL 0)
3Bh -
3Ch ILR R/W 0 0 0 0 0 0 0 0
3Dh IPR R 0 0 0 0 0 0 0 1
3Eh MNGNT R 0 0 1 0 0 0 0 0
3Fh MXLAT R 0 0 1 0 0 0 0 0
40h-
RESERVED(ALL 0)
FFh -
2002/11/12 53 Rev1.1
RTL8180L
8.7 PCI Power Management Functions
The RTL8180 is compliant to ACPI (Rev 1.0, 1.0b, 2.0), PCI Power Management (Rev 1.1), and Network Device Class Power
Management Reference Specification (V1.0a), such as to support OS Directed Power Management (OSPM) environment. To
support this, the RTL8180 provides the following capabilities:
Ø The RTL8180 can monitor the network for a Wakeup Frame, a Magic Packet, and notify the system via PME# when such
a packet or event occurs. Then, the whole system can be restore to a working state to process the incoming jobs.
When the RTL8180 is in power down mode (D1 ~ D3):
♦ The Rx state machine is stopped, and the RTL8180 keeps monitoring the network for wakeup events such as Magic
Packet, and Wakeup Frame in order to wake up the system. When in power down mode, the RTL8180 will not reflect the
status of any incoming packets in the ISR register and will not receive any packets into the Rx FIFO.
♦ The FIFO status and the packets which are already received into Rx FIFO before entering into power down mode, are
kept by the RTL8180 during power down mode.
♦ Transmission is stopped. The action of the PCI bus master mode is stopped as well. The Tx FIFO is kept.
♦ After restoration to a D0 state, the PCI bus master mode continues to transfer the data, which is not yet moved into the Tx
FIFO from the last break. The packet that was not transmitted completely last time is transmitted again.
D3cold_support_PME bit(bit15, PMC register) & Aux_I_b2:0 (bit8:6, PMC register) in PCI configuration space.
If EEPROM D3cold_support_PME bit(bit15, PMC) = 1, the above 4 bits depend on the existence of Aux power.
If EEPROM D3cold_support_PME bit(bit15, PMC) = 0, the above 4 bits are all 0's.
Ex.:
1. If EEPROM D3c_support_PME = 1,
Ø If Aux. power exists, then PMC in PCI config space is the same as EEPROM PMC, i.e. if EEPROM PMC
= C2 F7, then PCI PMC = C2 F7.
Ø If Aux. power is absent, then PMC in PCI config space is the same as EEPROM PMC except the above 4
bits are all 0’s. I.e. if EEPROM PMC = C2 F7, the PCI PMC = 02 76.
- In this case, if wakeup support is desired when the main power is off, it is suggested that the
EEPROM PMC be set to: C2 F7 (RT EEPROM default value).
2. If EEPROM D3c_support_PME = 0,
Ø If Aux. power exists, then PMC in PCI config space is the same as EEPROM PMC. I.e. if EEPROM PMC
= C2 77, then PCI PMC = C2 77.
Ø If Aux. power is absent, then PMC in PCI config space is the same as EEPROM PMC except the above 4
bits are all 0’s. I.e. if EEPROM PMC = C2 77, the PCI PMC = 02 76.
- In this case, if wakeup support is not desired when the main power is off, it is suggested that the
EEPROM PMC be set to be 02 76.
Magic Packet Wakeup occurs only when the following conditions are met:
♦ The destination address of the received Magic Packet is acceptable to the RTL8180, such as broadcast, multicast, or
unicast address to the current RTL8180 adapter.
♦ The received Magic Packet does not contain a CRC error.
♦ The Magic bit (CONFIG3#5) is set to 1, the PMEn bit (CONFIG1#0) is set to 1, and the PME# can be asserted in current
power state.
♦ The Magic Packet pattern matches, i.e. 6 * FFh + MISC(can be none)+ 16 * DID(Destination ID) in any part of a valid
packet.
2002/11/12 54 Rev1.1
RTL8180L
Wakeup Frame event occurs only when the following conditions are met:
♦ The destination address of the received Wakeup Frame is acceptable to the RTL8180, such as broadcast, multicast, or
unicast address to the current RTL8180 adapter.
♦ The received Wakeup Frame does not contain a CRC error.
♦ The PMEn bit (CONFIG1#0) is set to 1.
u The 16-bit CRC* (or 16-bit CRC) of the received Wakeup Frame matches with the 16-bit CRC* of the sample Wakeup
Frame pattern given by the local machine’s OS. Or, the RTL8180 is configured to allow direct packet wakeup, such as
broadcast, multicast, or unicast network packet.
l 16-bit CRC:
The RTL8180 supports 5 wakeup frames that includes 2 normal wakeup frames (covering 64 mask bytes from offset
0 to 63 of any incoming network packet) and 3 long wakeup frames (covering 128 mask bytes from offset 0 to 127 of
any incoming network packet).
The PME# signal is asserted only when the following conditions are met:
u The PMEn bit (bit0, CONFIG1) is set to 1.
u The PME_En bit (bit8, PMCSR) in PCI Configuration Space is set to 1.
u The RTL8180 may assert PME# in D1, D2 and D3 power state, or the RTL8180 is in isolation state, referring to
PME_Support(bit15-11) of the PMC register in PCI Configuration Space.
u Magic Packet, or Wakeup Frame has occurred.
• Writing a 1 to the PME_Status (bit15) of PMCSR register in the PCI Configuration Space will clear this bit and cause
the RTL8180 to stop asserting a PME# (if enabled).
When the RTL8180 is in power down mode, ex. D1-D3, the IO and MEM spaces are all disabled, after a RST# assertion, the
RTL8180’s power state is restored to D0 automatically, if the original power state is D3cold. There is no hardware delay at the
RTL8180’s power state transition. When in ACPI mode, the RTL8180 does not support PME from D0 (This is Realtek default
setting of PMC register autoloaded from EEPROM. The setting may be changed from the EEPROM, if required.).
2002/11/12 55 Rev1.1
RTL8180L
9. Functional Description
9.1 Transmit & Receive Operations
The RTL8180 supports a new descriptor-based buffer management that will significantly lower host CPU utilization. The
RTL8180 supports up to 64 consecutive descriptors in memory for transmit and receive separately, which means there might be 5
descriptor rings. Transmit descriptor rings have one beacon transmit descriptor ring, one high priority descriptor ring, one normal
priority descriptor ring and one low priority descriptor ring. Each transmit descriptor ring may consist of up to 64 8-double-word
consecutive descriptors and each receive descriptor ring may consist of up to 64 4-double-word consecutive descriptors,
separately. The start address of each descriptor group should be in 256-byte alignment. Software must pre-allocate enough buffers
and configure all descriptor rings before transmitting and/or receiving packets. Descriptors can be chained to form a packet, in
both Tx and Rx. Please refer to the Realtek RTL8180 programming guide for detailed information. Any Tx buffers pointed to by
one of the Tx descriptors should be at least 4 bytes.
9.1.1 Transmit
The following information describes what the Tx descriptor may look like, depending on different states in each Tx descriptor.
The minimum Tx buffer should be at least 4 bytes.
9.1.1.1 Tx Descriptor Format (before transmitting, OWN=1, Tx command mode 1)
bit 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
O R F L R B M S Offset 0
W S S S TXRATE T RTSRATE E O P KEY RS TPKTSIZE (12 bits)
N V (4 bits) S (4 bits) A R L ID VD
= D E C E C
1 N O F P
N R
A
G
L Offset 4
E Length (15 bits) RTSDUR (16 bits)
N
G
E
X
T
Offset 8
TX_BUFFER_ADDRESS
Offset 12
RSVD
Frame_Length(12 bits)
(20 bits)
Offset 16
NEXT_TX_DESCRIPTOR_ADDRESS
Offset 20
RSVD
Offset 24
RSVD
Offset 28
RSVD
2002/11/12 56 Rev1.1
RTL8180L
2002/11/12 57 Rev1.1
RTL8180L
0 16 SPLCP Short PLCP format: When set, this bit indicates that it needed to add a short
PLCP preamble and header format before transmitting the frame.
0 15:14 KEYID Key ID: The key ID selects one of four possible secret key values for use in
encrypting this frame.
Bit 15 Bit 14
Default Key 0 0 0
Default Key 1 0 1
Default Key 2 1 0
Default Key 3 1 1
0 13: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 or
2Mbps.
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:0 TxBuff 32-bit Address of Transmit Buffer
12 31:12 RSVD Reserved
12 11:0 Frame_Length Transmit Frame Length: This field indicates the length in the Tx buffer, in
bytes, to be transmitted.
16 31:0 NTDA 32-bit Address of Next Transmit Descriptor Address
20 31:0 RSVD Reserved
24 31:0 RSVD Reserved
28 31:0 RSVD Reserved
2002/11/12 58 Rev1.1
RTL8180L
9.1.1.2 Tx Status Descriptor (after transmitting, OWN=0, Tx status mode)
After having transmitted, the Tx descriptor turns into a Tx status descriptor.
bit 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
O R F L T Offset 0
W S S S RSVD (12 bits) O RtsRetryCount DataRetryCount
N V K (7 bits) (8 bits)
= D
0
Offset 4
RSVD
Offset 8
TX_BUFFER_ADDRESS
Offset 12
RSVD (20 bits) Frame_Length (12 bits)
Offset 16
NEXT_TX_DESCRIPTOR_ADDRESS
Offset 20
RSVD
Offset 24
RSVD
Offset 28
RSVD
2002/11/12 59 Rev1.1
RTL8180L
2002/11/12 60 Rev1.1
RTL8180L
9.1.2 Receive
The following describes what the Rx descriptor may look like, depending on different states in each Rx descriptor. Any Rx buffer
pointed to by one of the Rx descriptors should be at least 4 bytes.
9.1.2.1 Rx Command Descriptor (OWN=1)
The driver should pre-allocate Rx buffers and configure Rx descriptors before packet reception. The following
describes what a Rx descriptor may look like before packet reception.
bit 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
O E Offset 0
W O RSVD (17 bits) Buffer_Size (12 bits)
N R
=
1
Offset 4
RSVD (32 bits)
Offset 8
RX_BUFFER_ADDRESS
Offset 12
RSVD
2002/11/12 61 Rev1.1
RTL8180L
9.1.2.2 Rx Status Descriptor (OWN=0)
When packet is received, the Rx command descriptor turns to be a Rx status descriptor.
bit 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
O E F L R B S R R M P B R P C I Offset 0
W O S S X O P S RXRATE S A A A E W R C Frame_Length (12 bits)
N R D V L V (4 bits) V R M R S R C V
= M F C D D M 3
0 A P G 2
F T
A
I
L
Offset 4
RSSI SQ
RSVD (16 bits)
(8 bits) (8 bits)
Offset 8
TSFTL
Offset 12
TSFTH
2002/11/12 62 Rev1.1
RTL8180L
0 19 RSVD Reserved
0 18 MAR Multicast Address Packet Received: When set, this bit indicates that a
multicast packet is received.
0 17 PAM Physical Address Matched: When set, this bit indicates that the destination
address of this Rx packet matches the value in the RTL8180’s ID registers.
0 16 BAR Broadcast Address Received: When set, this bit indicates that a broadcast
packet is received. BAR and MAR will not be set simultaneously.
0 15 RES Receive Error Summary: When set, this bit indicates that at least one of the
following errors has occurred: CRC32, ICV. This bit is valid only when LS
(the Last Segment bit) is set.
0 14 PWRMGT Receive Power Management Packet: When set, this bit indicates that the
Power Management bit is set on the received packet.
0 13 CRC32 CRC32 Error: 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.
0 12 ICV ICV Error: 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.
0 11:0 Frame_Length When OWN=0 and LS =1, this bit indicates the received packet length
including CRC32, in bytes.
4 31:16 RSVD Reserved
4 15:8 RSSI Received Signal Strength Indicator: The RSSI is a measure of the RF
energy received by the PHY.
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. Valid only when LS is set.
12 31:0 TSFTH A snapshot of the TSFTR’s most significant 32 bits. Valid only when LS is set.
2002/11/12 63 Rev1.1
RTL8180L
9.3 Tx Encapsulation
With RTL8180 Internal Baseband Processor
While operating in Tx mode, the RTL8180 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 of the original packet data are listed 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.
9.4 Rx Decapsulation
With RTL8180 Internal Baseband Processor
The RTL8180 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 RTL8180 starts to process the PLCP preamble and header
based on the mode of operation.
The RTL8180 checks CRC16 and CRC32, then reports if CRC16 and CRC32 has error. The RTL8180 also checks the ICV when
using the 40-bit WEP and 104-bit WEP module to decrypt and reports if ICV has errors.
2002/11/12 64 Rev1.1
RTL8180L
2002/11/12 65 Rev1.1
RTL8180L
2002/11/12 66 Rev1.1
RTL8180L
9.6.3 Rx LED
Blinking of the Rx LED indicates that receive activity is occurring.
Power On
LED = High
Receiving No
Packet?
Yes
2002/11/12 67 Rev1.1
RTL8180L
9.6.4 Tx LED
Blinking of the Tx LED indicates that transmit activity is occurring.
Power On
LED = High
Transmitting No
Packet?
Yes
Power On
LED = High
No
Tx/Rx Packet?
Yes
2002/11/12 68 Rev1.1
RTL8180L
Power On
LED = High
No
Link?
Yes
LED = Low
No
Tx/Rx packet?
Yes
2002/11/12 69 Rev1.1
RTL8180L
Power 3.3V
External Philips, RTL8180
Antenna RFMD or Intersil
RF devices
EEPROM
44MHz
Clock
2002/11/12 70 Rev1.1
RTL8180L
11.2 DC Characteristics
Below is a description of the general DC specifications for the RTL8180.
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 Voltage Ioh = -8mA 0.9 * Vcc Vcc V
Vol Maximum Low Level Output Voltage Iol = 8mA 0.1 * Vcc V
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, 330 mA
2002/11/12 71 Rev1.1
RTL8180L
11.3 AC Characteristics
11.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)
2002/11/12 72 Rev1.1
RTL8180L
V_th
CLK V_test
V_tl
T_val
OUTPUT
V_trise, V_tfall
DELAY
Tri-State
V_test V_test
OUTPUT
T_on
T_off
Output Timing Measurement Condition
V_th
CLK V_test
V_tl
T_su T_h
V_th
INPUT V_test inputs valid V_test V_max
V_tl
Input Timing Measurement Conditions
Symbol Level Units
Vth 0.6Vcc V
Vtf 0.2Vcc V
Vtest 0.4Vcc V
Vtrise 0.285Vcc V
Vtfall 0.615Vcc V
Vmax 0.4Vcc V
Input Signal 1 V/ns
Edge Rate
Measurement Condition Parameters
2002/11/12 73 Rev1.1
RTL8180L
PCI Clock Specification
T_high T_low
0.6Vcc
0.5Vcc
0.4Vcc 0.4Vcc, peak-to-peak
(minimum)
0.3Vcc
0.2Vcc
T_cyc
Clock Waveform
V_ih
V_test
CLK (@ Device #1) T_skew
V_il
T_skew
V_ih
T_skew
V_test
CLK (@ Device #2)
V_il
2002/11/12 74 Rev1.1
RTL8180L
PCI Transactions
CLK
1 2 3 4 5 6 7 8 9 10
FRAMEB
IRDYB
TRDYB
DEVSELB
I/O Read
CLK
1 2 3 4 5 6 7 8 9 10
FRAMEB
IRDYB
TRDYB
DEVSELB
I/O Write
2002/11/12 75 Rev1.1
RTL8180L
CLK
1 2 3 4 5 6 7 8 9 10
FRAMEB
IDSEL
IRDYB
TRDYB
DEVSELB
Configuration Read
CLK
1 2 3 4 5 6 7 8 9 10
FRAMEB
IDSEL
IRDYB
TRDYB
DEVSELB
Configuration Write
2002/11/12 76 Rev1.1
RTL8180L
CLK
1 2 3 4 5 6 7 8 9 10
REQB-A
REQB-B
GNTB-A
GNTB-B
FRAMEB
BUS Arbitration
CLK
1 2 3 4 5 6 7 8 9
FRAMEB
DATA TRANSFER
DATA TRANSFER
IRDYB
WAIT
WAIT
TRDYB
DEVSELB
Memory Read
2002/11/12 77 Rev1.1
RTL8180L
CLK
1 2 3 4 5 6 7 8 9
FRAMEB
DATA TRANSFER
DATA TRANSFER
DATA TRANSFER
IRDYB
WAIT
WAIT
WAIT
TRDYB
DEVSELB
Memory Write
CLK
1 2 3 4 5 6 7 8 9
FRAMEB
IRDYB
TRDYB
STOPB
DEVSELB
2002/11/12 78 Rev1.1
RTL8180L
CLK
1 2 3 4 5 6 7 8 9
FRAMEB
IRDYB
TRDYB
STOPB
DEVSELB
CLK
1 2 3 4 5 6 7 8 9
FRAMEB
IRDYB
TRDYB
STOPB
DEVSELB
2002/11/12 79 Rev1.1
RTL8180L
CLK
1 2 3 4 5 6 7 8 9
FRAMEB
IRDYB
TRDYB
NO RESPONSE
DEVSELB FAST MED SLOW SUB ACKNOWLEDGE
CLK
1 2 3 4 5 6 7 8 9 10
FRAMEB
PAR
SERR#
PERR#
2002/11/12 80 Rev1.1
RTL8180L
T_rise T_fall
80%
50%
20%
T_high T_low
T_cyc
Clock Waveform
T_en T_leh
RIFSCK
LE
RIFSD
T_su T_hold
First Last
bit bit
B20 B19 B18 B17 B16 B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1
Register
Data Field
Definition
Intersil Chipset Serial Data Format
First Last
bit bit
D17 D16 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 A3 A2 A1 A0
Data Field Address Field
RFMD Chipset Serial Data Format
2002/11/12 81 Rev1.1
RTL8180L
First
bit
A0 A1 A2 A3 A4 A5 A6 R/W D0 D1 D2 D3 D4 D5 D6 D7
Address Field R/W Data Field
Last
bit
D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D21 D22 D23
Data Field
Philips Chipset Serial Data Format
Note: For programming serial control register, please refer to Intersil, RFMD and Philips’ data sheet.
PE1
PE2
T_d1 T_d5
TRSW+
TRSW-
T_d2 T_d4
PAPE
T_d3
TX IQ
2002/11/12 82 Rev1.1
RTL8180L
PE1
PE2
T_d2 T_d4
PAPE
T_d3
TX IQ
PE2
T_d1 T_d5
TRSW+
TRSW-
T_d2 T_d4
PAPE
T_d3
TX IQ
2002/11/12 83 Rev1.1
RTL8180L
Note:
Symbol Dimension in inch Dimension in mm 1.Dimension b does not include dambar
Min Typical Max Min Typical Max protrusion/intrusion.
A - - 0.063 - - 1.60 2.Controlling dimension: Millimeter
A1 0.002 - - 0.05 - - 3.General appearance spec. should be based
A2 0.053 0.055 0.057 1.35 1.40 1.45 on final visual inspection spec.
b 0.005 0.007 0.009 0.13 0.18 0.23
c 0.004 - 0.006 0.09 - 0.20 TITLE: 128LD LQFP ( 14x14x1.4 mm*2 ) PACKAGE OUTLINE
D 0.624 0.630 0.636 15.85 16.00 16.15 -CU L/F, FOOTPRINT 2.0 mm
D1 0.547 0.551 0.555 13.90 14.00 14.10 LEADFRAME MATERIAL:
e 0.016 BSC 0.40 BSC APPROVE DOC. NO. 530-ASS-P004
E 0.624 0.630 0.636 15.85 16.00 16.15 VERSION 1
E1 0.547 0.551 0.555 13.90 14.00 14.10 PAGE OF
L 0.018 0.024 0.030 0.45 0.60 0.75 CHECK DWG NO. LQ128 - 2
L1 0.039 REF 1.00 REF DATE MAY. 13.2002
Θ 0° 3.5° 7° 0° 3.5° 7° REALTEK SEMI-CONDUCTOR CO., LTD
2002/11/12 84 Rev1.1
RTL8180L
2002/11/12 85 Rev1.1