RTL8150LM [REALTEK]
USB Bus Controller, CMOS, PQFP100, 14 X 14 MM, 1.40 MM HEIGHT, MS-026BED, LQFP-100;型号: | RTL8150LM |
厂家: | Realtek Semiconductor Corp. |
描述: | USB Bus Controller, CMOS, PQFP100, 14 X 14 MM, 1.40 MM HEIGHT, MS-026BED, LQFP-100 时钟 LTE 驱动 外围集成电路 驱动器 |
文件: | 总42页 (文件大小:819K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
RTL8150L(M)
REALTEK SINGLE-CHIP
USB TO FAST ETHERNET
CONTROLLER WITH MII INTERFACE
RTL8150L(M)
1 Features:
z RTL8150L supports 48 pins LQFP
z RTL8150LM supports 100 pins LQFP
z Integrated Fast Ethernet MAC, Physical chip
and transceiver in one chip
z RTL8150LM supports MII interface
z Supports Wake-On-LAN function and
remote wakeup (Magic Packet*, LinkChg
and Microsoft® wake-up frame).
z 18K bytes SRAM built in.(2k bytes for Tx
buffer, and 16k bytes for Rx buffer).
z Uses 93C46 to store resource configuration,
ID parameter,etc.
z Supports 10 Mb/s and 100 Mb/s N-way
Auto-negotiation operation.
z Single-chip USB to Fast Ethernet controller
Compliant to USB interface ver 1.0/1.1.
Full-Speed (12 Mb/s) USB Device
Supports all USB standard commands
Supports Suspend/Resume detection
logic
z Supports LED pins for various network
activity indications.
z Half/Full duplex 10/100Mbps operation.
z Supports Full Duplex Flow Control (IEEE
802.3x)
Supports 4 endpoints
z 1 control endpoint with maximum
8-byte packet
z Uses 25MHz crystal as the internal clock
source.
z 1 bulk IN endpoint with 64
bytes/packet
z 5 V power supply
*Third-party brands and names are the property of their
respective owners.
z 1 bulk OUT endpoint with 64
bytes/packet
z 1 interrupt IN endpoint with 8
bytes/packet
2005/5/5
Ver. 1.50
1
RTL8150L(M)
2General Description
The RTL8150L controller is a 48-pin LQFP single chip that supports USB to 10/100Mbps Fast
Ethernet function. To connect to Home PNA 1.0 PHY or HomePNA 2.0 PHY, the 100-pin
RTL8150LM provides MII interface supporting the MII transmit clock from 0.1 MHz to 25 MHz.
The Realtek RTL8150L(M) is a highly integrated and cost-effective single-chip Fast Ethernet
controller that provides USB to Fast Ethernet capability, and full compliance with IEEE 802.3u
100Base-T specifications and IEEE 802.3x Full Duplex Flow Control. It also supports power
management for modern operating systems that is capable of Operating System Directed Power
Management (OSPM) to achieve the most efficient power management. Besides the PM feature,
the RTL8150L(M) also supports remote wake-up (including AMD Magic Packet*, LinkChg, and
Microsoft® wake-up frame).
For sake of cost-effective, the RTL8150L(M) only requires one 25MHz crystal as its internal clock
source, and requires no “glue” logic or external memory.
The RTL8150L(M) keeps network maintenance cost low and eliminates usage barriers. It is the
easiest way to connect a PC to the computer network without opening the cover, adding cards,
reconfiguring software, or any of the other technicalities.
2005/5/5
Ver. 1.50
2
RTL8150L(M)
3 Pin Assignment
37.VDD5
38.DM
24.VDD33I
23.TXOP
22.TXON
21.GND
39.DP
40.VDD33I
41.GND
42.EEDO
43.EEDI
44.EESK
45.EECS
46.GND
47.VDD33O
48.VDD5
20.VDD33I
19. RXIP
18.RXIN
17.GND
RTL8150L
LLLLLLL
TXXXX LLLLLL
16.RTSET
15.RTT2
14.RTT3
13.VDD5
Lead (Pb)-Free Package Identification
Lead (Pb)-free package is indicated by an ‘L’ in the location marked ‘T’ in the illustration above.
2005/5/5
Ver. 1.50
3
RTL8150L(M)
63 LED0
64 GEP1
65 GEP0
66 MLINK
62 LED1
61 LED2
60 T_RXC
59 T_TXC
58 T_CK25
57 T_DBG24
56 MDIO
55 MDC
54 VDD5
53 GND
67 MACTIVE
68 PWRSET
69 MIICOL
70 GND
71 NC
72 VDD33I
73 GND
74 NC
75 NC
52 NC
51 VDD33O
76 VDD33
77 NC
50 NC
49 NC
78 VDD5
79 DM
48 NC
47 NC
80 DP
46 VDD33I
81 VDD33I
82 GND
45 TXOP
44 TXON
43 GND
42 NC
83 T_TXC100
84 T_RXC100
85 T_VMO
86 T_VPO
87 T_OEB
41 NC
40 NC
39 NC
RTL8150LM
LLLLLLL
38 VDD33I
37 RXIP
36 RXIN
35 GND
34 RTSET
33 RTT2
32 RTT3
31 VDD5
30 NC
29 NC
88 EEDO
89 EEDI
90 EESK
91 EECS
TXXXX LLLLLL
92 TXD3
93 T_CLKIN
94 T_POR
95 T_RCV
96 T_VM
97 T_VP
98 GND
28 NC
99 VDD33O
100 NC
27 NC
26 VDD33O
25 NC
1 NC
24 GND
23 GND
22 NC
2 NC
3 NC
4 VDD5
21 VDD33I
5 TXD2
6 TXD1
7 TXD0
8 TXEN
9 TXC
10 RXER
11 RXC
20 XOUT
19 XIN
18 TEST0
17 TEST1
16 RXD3
15 RXD2
14 RXD1
12 RXDV
13 RXD0
Lead (Pb)-Free Package Identification
Lead (Pb)-free package is indicated by an ‘L’ in the location marked ‘T’ in the illustration above.
2005/5/5
Ver. 1.50
4
RTL8150L(M)
4 Pin Descriptions
4.1 RTL8150L Pin Descriptions
4.1.1 POWER PINS
Symbol
Type
P
P
Pin No
13,27,37,48
12,25,47
Description
VDD5
5.0V power supply as internal regulators input
3.3V power output from internal regulators
Pin 47: Digital power
VDD33O
VDD33I
GND
P
P
P
9,20,24,34,40
3.3V power
Pin 40: Digital power
10,11,17,21,26,33,35, Ground
41,46
VDD33
36
3.3V Standby power
4.1.2 USB INTERFACE
Symbol
DM
Type
I/O
I/O
Pin No
38
Description
Negative data line of USB differential data bus
Positive data line of USB differential data bus
DP
39
4.1.3 10/100 BASE-T UTP INTERFACE
Symbol
Type
Pin No
Description
TXD+
O
O
I
I
I
23
22
19
18
7
10/100 BASE-T transmit data
TXD-
RXIN+
RXIN-
X1
10/100 BASE-T transmit data
10/100 BASE-T receive data
10/100 BASE-T receive data
25 MHz crystal input
X2
O
8
25 MHz crystal output
4.1.4 LED INTERFACE
Symbol
Type
Pin No
Description
LED0, 1, 2
O
30,29,28
LED pins(active low)
LEDS1-0
LED0
LED1
00
01
10
11
TX/RX
TX/RX
TX
TX/RX@ LINK10
LINK100 LINK10/100
LINK10 FULL
LINK10/100
RX
TX/RX@ LINK100
FULL
LED2
During power down mode, the LED‘s are OFF if SYSLED in
configuration register 1 is set.
2005/5/5
Ver. 1.50
5
RTL8150L(M)
4.1.5 EEPROM INTERFACE
Symbol
EECS
EESK
EEDI
Type
Pin No
Description
O
O
O
I
45
44
43
42
93C46 chip select
93C46 clock
93C46 data input
93C46 data output
EEDO
4.1.6 TEST AND THE OTHER PINS
Symbol
RTT2-3
TEST0-1
RTSET
GEP0-1
NC
Type
TEST
TEST
I/O
Pin No
15,14
6,5
16
32,31
1,2,3,4
Description
Chip test pins.
Chip test pins.
This pin must be pulled low by a 1.69KΩ resistor.
General purpose pin 0,1
I/O
Reserved
4.2 RTL8150LM Pin Descriptions
4.2.1 RTL8150LM POWER PINS
Symbol
Type
P
P
Pin No
4,31,54,78
26,51,99
Description
5.0V power supply as internal regulators input
3.3V power output from internal regulators
Pin 99: Digital power
3.3V power
Pin 81: Digital power
VDD5
VDD33O
VDD33I
GND
P
P
P
21,38,46,72,81
23,24,35,43,53,70,73, Ground
82,98
VDD33
76
3.3V Standby power
4.2.2 RTL8150LM USB INTERFACE
Symbol
Type
I/O
Pin No
79
Description
Negative data line of USB differential data bus
DM
DP
I/O
80
Positive data line of USB differential data bus
2005/5/5
Ver. 1.50
6
RTL8150L(M)
4.2.3 RTL8150LM 10/100 BASE-T UTP INTERFACE
Symbol
TXD+
TXD-
RXIN+
RXIN-
X1
Type
Pin No
45
Description
10/100 BASE-T transmit data
10/100 BASE-T transmit data
10/100 BASE-T receive data
10/100 BASE-T receive data
25 MHz crystal input
O
O
I
I
I
44
37
36
19
X2
O
20
25 MHz crystal output
4.2.4 RTL8150LM MII INTERFACE
Symbol
RXD0-3
TXD0-3
TXC
Type
Pin No
13,14,15,16
7,6,5,92
9
Description
I
O
I
MII receive data 0-3
MII transmit data 0-3
MII Transmit Clock: 25 MHz or 2.5 MHz Tx clock supplied by
the external PMD device.
MIICOL
I
69
MII Collision Detected: This signal is asserted high synchronously
by the external physical unit upon detection of a collision on the
medium. It will remain asserted as long as the collision condition
persists.
TXEN
RXC
O
I
8
MII Transmit Enable: Indicates the presence of valid nibble data
on TXD[3:0].
MII Receive Clock: 25 MHz or 2.5 MHz Rx clock supplied by the
external PMD device.
MII Receive Data Valid: Data valid is asserted by an external PHY
when receive data is present on the RXD[3:0], and it is
de-asserted at the end of the packet. This signal is valid on the
rising edge of the RXC.
11
12
RXDV
I
RXER
I
10
MII Receive Error: This pin is asserted to indicate that invalid
symbol has been detected in 100Mbps MII mode. This signal is
synchronized to RXC and can be asserted for a minimum of one
receive clock.
MDC
O
I/O
I
55
56
66
67
MII Management Data Clock: Synchronous clock for MDIO data
transfer.
MII Management Data: Bi-directional signal used to transfer
management information.
MII link status notification, indicates to the MAC that external
PMD is link Ok or not.
MII active status notification, when Mactiveb=high, Mlink is low
active, and vice versa.
MDIO
Mlink
Mactiveb
I
2005/5/5
Ver. 1.50
7
RTL8150L(M)
4.2.5 RTL8150LM LED INTERFACE
Symbol
Type
Pin No
Description
LED0, 1, 2
O
63,62,61
LED pins(active low)
LEDS1-0
LED0
LED1
00
01
10
11
TX/RX
TX/RX
TX
TX/RX@ LINK10
LINK100 LINK10/100
LINK10 FULL
LINK10/100
RX
TX/RX@ LINK100
FULL
LED2
During power down mode, the LED‘s are OFF if SYSLED in
configuration register 0 is set.
4.2.6 RTL8150LM EEPROM INTERFACE
Symbol
EECS
EESK
EEDI
Type
Pin No
Description
O
O
O
I
91
90
89
88
93C46 chip select
93C46 clock
93C46 data input
93C46 data output
EEDO
4.2.7 RTL8150LM TEST AND THE OTHER PINS
Symbol
RTT2-3
Type
TEST
Pin No
33,32
Description
Chip test pins.
17,18,57,58,59,60,83,
T_***
TEST
84,85,86,87,93,94,95, Chip test pins.
96,97
RTSET
GEP0-1
PWRESETB
I/O
I/O
O
34
65,64
68
This pin must be pulled low by a 1.69KΩ resistor.
General purpose pin 0,1
Power-on reset for external PHY, active low
1,2,3,22,25,27,28,29,
30,39,40,41,42,47,48,
49,50,52,71,74,75,77,
100
NC
Reserved
2005/5/5
Ver. 1.50
8
RTL8150L(M)
5. SIE –USB Commands
5.1 Vender Memory Read
Setup transaction:
BmReq
C0
bReq
05
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
regoffsetL regoffsetH 00
00
LengL
LengH
Data transaction:
DATA0
reg0
DATA1
reg1
DATA2
reg2
DATA3
reg3
DATA4
reg4
DATA5
reg5
DATA6
reg6
DATA7
reg7
The total length response by 8150L depends on (LengH,LengL) values.
5.2 Vender Memory Write
Setup transaction:
BmReq
40
bReq
05
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
regoffsetL regoffsetH 00
00
LenghL
LenghH
Data transaction:
DATA0
reg0
DATA1
reg1
DATA2
reg2
DATA3
reg3
DATA4
reg4
DATA5
reg5
DATA6
reg6
DATA7
reg7
Offset 0x1200 to 0x127f register must write by word mode.
5.3 Set address
Setup transaction:
BmReq
00
bReq
05
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
addrL addrH 00 00 00 00
Data transaction: None
5.4 Clear Feature EP0
Setup transaction:
BmReq
02
bReq
01
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 00 00 00 00
Data transaction: None
2005/5/5
Ver. 1.50
9
RTL8150L(M)
5.5 Clear Feature EP1
Setup transaction:
BmReq
02
breq
01
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 81 00 00 00
Data transaction: None
5.6 Clear Feature EP2
Setup transaction:
BmReq
02
bReq
01
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 02 00 00 00
Data transaction: None
5.7 Clear Feature EP3
Setup transaction:
BmReq
02
bReq
01
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 83 00 00 00
Data transaction: None
5.8 Set Feature EP1
Setup transaction:
BmReq
02
bReq
03
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 81 00 00 00
Data transaction: None
5.9 Set Feature EP2
Setup transaction:
BmReq
02
bReq
03
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 02 00 00 00
Data transaction: None
2005/5/5
Ver. 1.50
10
RTL8150L(M)
5.10 Set Feature EP3
Setup transaction:
BmReq
02
bReq
03
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 00 83 00 00
Data transaction: None
5.11 Set Interface 0
Setup transaction:
BmReq
01
bReq
0B
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 00 00 00 00
Data transaction: None
5.12 Set Feature Device
Setup transaction:
BmReq
00
bReq
03
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
01 00 00 00 00 00
Data transaction: None
5.13 Clear Feature Device
Setup transaction:
BmReq
00
bReq
01
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
01 00 00 00 00 00
Data transaction: None
5.14 Set Config 0
Setup transaction:
BmReq
00
bReq
09
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00 00 00 00 00 00
Data transaction: None
2005/5/5
Ver. 1.50
11
RTL8150L(M)
5.15 Set Config 1
Setup transaction:
BmReq
00
bReq
09
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
01 00 00 00 00 00
Data transaction: None
5.16 Get Descriptor Device
Setup transaction:
BmReq
80
bReq
06
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
01
00
00
Lengh_L Lengh_H
Data transaction:
DATA0
12
DA
DATA1
DATA2
DATA3
DATA4
DATA5
DATA6
DATA7
01
0B
01
10
50
-
01
81
-
00
00
-
00
01
-
00
01
-
08
02
-
03
The total length response by 8150L depends on (LengH,LengL) values.
5.17 Get Descriptor Configuration
Setup transaction:
BmReq
80
bReq
06
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
02
00
00
Lengh_L Lengh_H
Data transaction:
DATA0
09
50
FF *
00
07
DATA1
DATA2
27
04
07
05
DATA3
00
00
05
02
DATA4
01
00
81
02
DATA5
01
03
02
40
DATA6
00
FF *
40
00
01
DATA7
02
09
00
07
05
A0
00
00
00
-
83
03
08
00
The total length response by 8150L depends on (LengH,LengL) values.
*The E version is 0xFF ,before E version it is 0x00.
2005/5/5
Ver. 1.50
12
RTL8150L(M)
5.18 Get Descriptor String Index 0
Setup transaction:
BmReq
80
bReq
06
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
03
00
00
Lengh_L Lengh_H
Data transaction:
DATA0
04
DATA1
03
DATA2
04
DATA3
09
DATA4
-
DATA5
-
DATA6
-
DATA7
-
The total length response by 8150L depends on (LengH,LengL) values.
5.19 Get Descriptor String Index 1
Setup transaction:
BmReq
80
bReq
06
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
01
03
09
04
Lengh_L Lengh_H
Data transaction:(REALTEK)
DATA0
10
DATA1
03
DATA2
52
DATA3
00
DATA4
45
DATA5
00
DATA6
41
DATA7
00
4C
00
54
00
45
00
4B
00
The total length response by 8150L depends on (LengH,LengL) values.
5.20 Get Descriptor String Index 2
Setup transaction:
BmReq
80
bReq
06
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
02
03
09
04
Lengh_L Lengh_H
Data transaction:(USB 10/100 LAN)
DATA0
1E
20
31
4C
DATA1
03
00
00
00
DATA2
55
31
30
41
DATA3
00
00
00
00
DATA4
53
30
30
4E
DATA5
00
00
00
00
DATA6
DATA7
42
2F
20
-
00
00
00
-
2005/5/5
Ver. 1.50
13
RTL8150L(M)
5.21 Get Descriptor String Index 3
Setup transaction:
BmReq
80
bReq
06
wValueL wValueH wIndexL WindexH wLengthL wLengthH
03
03
09
04
Lengh_L Lengh_H
Data transaction:
DATA0
0A
31
DATA1
03
00
DATA2
30
-
DATA3
00
-
DATA4
30
-
DATA5
00
-
DATA6
30
-
DATA7
00
-
The total length response by 8150L depends on (LengH,LengL) values.
5.22 Get Config
Setup transaction:
BmReq
80
bReq
08
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
00
00
01
00
Data transaction:
DATA0
Value
DATA1
-
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
5.23 Get Status Device
Setup transaction:
BmReq
80
bReq
00
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
00
00
02
00
Data transaction:
DATA0
Value
DATA1
Value
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
5.24 Get Status EP0
Setup transaction:
BmReq
82
bReq
00
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
00
00
02
00
Data transaction:
DATA0
Value
DATA1
Value
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
2005/5/5
Ver. 1.50
14
RTL8150L(M)
5.25 Get Status EP1
Setup transaction:
BmReq
82
bReq
00
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
81
00
02
00
Data transaction:
DATA0
Value
DATA1
value
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
5.26 Get Status EP2
Setup transaction:
BmReq
82
bReq
00
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
02
00
02
00
Data transaction:
DATA0
Value
DATA1
value
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
5.27 Get Status EP3
Setup transaction:
BmReq
82
bReq
00
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
83
00
02
00
Data transaction:
DATA0
Value
DATA1
Value
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
2005/5/5
Ver. 1.50
15
RTL8150L(M)
5.28 Get Status Interface 0
Setup transaction:
BmReq
81
bReq
00
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
00
00
02
00
Data transaction:
DATA0
Value
DATA1
value
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
5.29 Get Interface 0
Setup transaction:
BmReq
81
bReq
0A
wValueL wValueH wIndexL wIndexH wLengthL wLengthH
00
00
00
00
01
00
Data transaction:
DATA0
value
DATA1
-
DATA2
-
DATA3
-
DATA4
-
DATA5
-
DATA6
-
DATA7
-
2005/5/5
Ver. 1.50
16
RTL8150L(M)
6. Memory Allocation
$0000H~$011FH------- Reserved
$0120H~$01FFH------- RTL8150L(M) REGISTER
$1200H~$127FH--------Serial EEPROM(9346)
Offset
0120h-0125h
0126h-012Dh
012Eh
012Fh
0130-0131h
0132h
0133h
0134h
0135h
0136h
0137h
0138h
0139-013Ah
013Bh
013Ch
Type
R/W*
Pin No
IDR0-5
MAR0-7
CR
Description
Ethernet Address ,load from 93C46
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W*
R/W*
R/W
R/W
R/W
R/W
R/W
R/W*
R/W
R/W*
R
Multicast register
Command Register
Transmit configuration register
Receive configuration register
Transmit status register
Receive status register
-
TCR
RCR
TSR
RSR
Reserved
CON0
Configuration register0
Configuration register1
Medium status
MII PHY address select
MII PHY data
CON1
MSR
PHYADD
PHYDAT
PHYCNT
Reserved
GPPC
WAKECNT
BMCR
BMSR
MII PHY control
013Dh
013Eh
General purpose pin control
Wake up event control
Basic mode control register
Basic mode status register
Auto-negotiation advertisement register
Auto-negotiation link partner ability register
Auto-negotiation expansion register
Nway test register
0140h-0141h
0142h-0143h
0144h-0145h
0146h-0147h
0148h-0149h
R/W*
R/W
R/W
ANAR
ANLP
AER
014Ah-014Bh R/W
014Ch-014Dh R/W
NWAYT
CSCR
CS confiiguration register
014Eh-014Fh
0150h-0151h
0152h-0153h
0154h-0155h
0156h-0157h
0158h-015Fh
0160h-0167h
0168h-016Fh
0170h-0177h
0178h-017Fh
0180h-0183h
0184h
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R /W
R/W
CRC0
CRC1
CRC2
CRC3
Power Management CRC register for wakeup frame0
Power Management CRC register for wakeup frame1
Power Management CRC register for wakeup frame2
Power Management CRC register for wakeup frame3
Power Management CRC register for wakeup frame4
Power Management wakeup frame0(64bit) bytemask
Power Management wakeup frame1(64bit) bytemask
Power Management wakeup frame2(64bit) bytemask
Power Management wakeup frame3(64bit) bytemask
Power Management wakeup frame4(64bit) bytemask
PHY parameter 1
CRC4
BYEMASK0
BYEMASK 1
BYEMASK 2
BYEMASK 3
BYEMASK 4
PHY1
PHY2
TW1
Reserved
PHY parameter 2
Twister parameter 1
0186h-0189h
018Ah-01ff
* : denotes auto-loaded from 93C46 during chip initialization.
2005/5/5
Ver. 1.50
17
RTL8150L(M)
7. Register Descriptions
7.1Command Register (Offset 012Eh, R/W)
Default/
Attribute
Bit
Symbol
Description
7-6
5
-
Reserved
1:EEPROM write enable
0: disable
-
WEPROM
0,R/W
The EEPROM map from 0x1200 to 127fh. Write 0x1200 equal to
program EEPROM offset 0x00. Write to EEPROM must use WORD
mode access at a time. The read EEPROM have not limit.
Reset: Setting to 1 forces the RTL8150L(M) to a software reset state
which disables the transmitter and receiver, reinitializes the FIFOs,
resets the system buffer pointer to the initial value , Rx buffer is
empty). The values of IDR0-5 and MAR0-7 will have no changes.
This bit is 1 during the reset operation, and is cleared to 0 by the
RTL8150L(M) when the reset operation is complete.
Ethernet 10/100M receive enable
4
SOFT_RST
0,R/W
3
2
1
RE
TE
EP3CLREN
0,R/W
0,R/W
0,R/W
Ethernet 10/100M transmit enable
1: Enable clearing the performance counter of EP3 after EP3 access.
0: Disable
0
AUTOLOAD
1: Auto-load the contents of 93c46 into RTL8150L(M)’s registers.
This bit is self clearing after load complete.
0,R/W
7.2Transmit Configuration Register (Offset 012Fh, R/W)
Bit
Symbol
Description
Default/
Attribute
0,R/W
7-6
TXRR1, 0
Tx Retry Count: These 2 bits are used to specify additional
transmission retries in multiple of 16(IEEE 802.3 CSMA/CD retry
count). If the TXRR is set to 0, the transmitter will re-transmit 16
times before aborting due to excessive collisions if the TXRR is set
to a value greater than 0, the transmitter will re-transmit a number of
times equals to the following formula before aborting:
Total retries = 16 + (TXRR * 16)
The ECOL bit in the TSR register will be set if transmit abort due to
excessive collision.
5
4,3
Reserve
IFG1, 0
-
Interframe Gap Time: This field allows the user to adjust the
interframe gap time below the standard: 9.6 us for 10Mbps, 960 ns
for 100Mbps. The time can be programmed from 9.6 us to .8.4 us
(10Mbps) and 960ns to 840ns (100Mbps).
0,R/W
The formula for the inter frame gap is:
10 Mbps
100 Mbps
8.4us + 0.4(IFG(1:0)) us
840ns + 40(IFG(1:0)) ns
2, 1
0
Reserved
NOCRC
-
-
1: There’s no CRC appended at the end of a packet.
0: There’s CRC appended at the end of a packet.
0,R/W
2005/5/5
Ver. 1.50
18
RTL8150L(M)
7.3 Receive Configuration Register (Offset 0130h-0131h,
R/W)
Default/
Attribute
-
Bit
Symbol
Description
15-8
7
-
Reserved
TAIL
0: CRC field forward to HOST
0,R/W
1: Rx Header forward to HOST. The first two bytes of CRC field are
replaced by receive header.
6
AER
1:Accept CRC error packet
0,R/W
5
4
AR
AM
1: Accept RUNT packet (<64 bytes)
1: Accept all multicast packets enumerated in the driver’s multicast
0,R/W
0,R/W
address list.
0: Disabled.
3
2
AB
AD
1: Accept broadcast packets
0: Reject broadcast packets.
1: Packets received containing a destination address that match the
MAC address of the networking device are accepted.
0: Disabled.
0,R/W
0,R/W
1
0
AAM
AAP
1: Accept all multicast frames received by the networking device,
including the ones enumerated in the device’s multicast address list,
0: Disable.
0,R/W
0,R/W
1: Accept all physical frames
0: Disable.
7.4Transmit Status Register(Offset 0132h)
Default/
Attribute
Bit
Symbol
Description
7-6
5
4
3
2
-
Reserved
-
ECOL
LCOL
LOSS_CRS
JBR
1: Excessive collision indication
1: Late collision indication
1: Loss of carrier indication
1: Jaber time out indication
R
R
R
R
R
R
1
0
TX_BUF_EMPTY 1: Tx buffer empty indication
TX_BUF_FULL 1: Tx buffer full indication
Note: TSR register will be cleared to the default value after read or EP3 access.
7.5Receive Status Register(Offset 0133h)
Default/
Attribute
R
Bit
Symbol
Description
7
WEVENT
Wake Up Event indication:
1: Wakeup event occurs
6
RX_BUF_FULL Rx Buffer Full indication
19
R
2005/5/5
Ver. 1.50
RTL8150L(M)
5
4
LKCHG
RUNT
Link Change indication
Runt Packet indication
R
R
1: The received packet length is smaller than 64 bytes.
3
2
1
LONG
CRC
FAE
Long Packet indication
1: The size of the received packet exceeds 4k bytes.
CRC Error indication.
1: The received packet is checked with CRC error.
Frame Alignment Error:
R
R
R
1: Indicates that a frame alignment error occurred on this received
packet.
0
ROK
Receive OK indication.
R
1: Indicate that a packet is received without error.
Note: RSR register will be cleared to the default value after read or EP3 access.
7.6Configuration Register 0(Offset 0135h, R/W)
Default/
Attribute
0,R/W
Bit
Symbol
Description
7
6
SUSLED
PARM_EN
0: LED pins are driven high to turn off LED during suspend.
Parameter Enable: (These parameters are used in 100Mbps mode.)
1: PHY1_PARM, PHY2_PARM, TW_PARM can be modified
through access to register 0180H~0189H.
0,R/W
0: Disable
Note: Each time 93C46 auto-load process is executed, the PHY1_PARM,
PHY2_PARM, TW_PARM will be re-loaded the default value from
93C46.
4-5
3
-
Reserved
Link Down Power Saving mode:
-
LDPS
0,R/W
1: Disable.
0: Enable. When the ethernet cable is disconnected (Link Down),
part of analog circuit will be powered down in order to save power.
The other part of analog circuits relating to SD signal monitoring
and 100M signal receiving are not powered down in case the cable
is re-connected and link should be re-established again.
Medium Select
2
MSEL
0,R/W
When write :
1:MII mode (disable internal PHY)
0:Auto-detect. The UTP mode will be the default. The
RTL8150L(M) is switched to MII mode if the internal PHY is not
link OK.
When read
1:MII mode: The MAC MII is connected to the MII interface of the
external PHY.
0:UTP mode: The MAC MII is connected to the internal PHY.
Refer to LED PIN definition. The default value is auto-loaded from
93C46.
1-0
LEDS1-0
0,R/W
2005/5/5
Ver. 1.50
20
RTL8150L(M)
7.7Configuration Register 1(Offset 0136h, R/W)
Default/
Attribute
Bit
Symbol
Description
7
6
-
Reserved.
Broadcast Wakeup Frame Function:
1: Enable Broadcast Wakeup Frame
-
BWF
0,R/W
If
set_feature
command
with
Feature
Selector
=DEVICE_REMOTE_WAKEUP is received from USB host and
BWF=1, RTL8150L(M) will signal wakeup to the host when
correctly receiving a packet with DID=FF FF FF FF FF FF
(Broadcast packet),.
0: Disable.
5
4
MWF
UWF
Multicast Wakeup Frame Function:
1: Enable Multicast Wakeup Frame
0,R/W
0,R/W
If
set_feature
command
with
Feature
Selector
=DEVICE_REMOTE_WAKEUP is received from USB host and
MWF=1, RTL8150L(M) will signal wakeup to the host when
correctly receiving multicast packets (packets that survive the
multicast hash),.
0: Disable.
Unicast Wakeup Frame Function:
1: Enable Unicast Wakeup Frame
f
set_feature
command
with
Feature
Selector
=DEVICE_REMOTE_WAKEUP is received from USB host and
UWF=1, RTL8150L(M) will signal wakeup to the host when
correctly receiving a packet with DID=IDR0~5.
0: Disable.
2-3
1
-
Reserved
-
LONGWF1
1: The Bytemask3 and Bytemask4 are cascaded to form a 128 byte
long Bytemask for long wakeup frame 1, and long wakeup frame 1
use CRC3 as CRC check. When LONGWF1=1, wakeup frame 3
and wakeup frame 4 are disable.
0,R/W
0: Disable LOGNWF1.
0
LONGWF0
1: The Bytemask1 and Bytemask2 are cascaded to form a 128 byte
long Bytemask for long wakeup frame 0, and long wakeup frame 0
use CRC1 as CRC check. When LONGWF0=1, wakeup frame 1
and wakeup frame 2 are disabled.
0,R/W
0: Disable LOGNWF0.
2005/5/5
Ver. 1.50
21
RTL8150L(M)
7.8Media Status Register (Offset 0137h, R/W)
Default/
Attribute
Bit
Symbol
Description
7
TXFCE/
LdTXFCE
Tx Flow Control Enable: The flow control is valid in full-duplex
mode only. This register‘s default value comes from 93C46.
R/W
RTL8150L
ANE = 1
ANE = 1
Remote
NWAY FLY mode
NWAY mode only
No NWAY
TXFCE/LdTXFCE
R/O
R/W
R/W
R/W
ANE = 1
ANE = 0 &
full-duplex mode
ANE = 0 &
half-duplex
mode
-
-
Invalid
NWAY FLY mode : NWAY with flow control capability
NWAY mode only : NWAY without flow control capability
RX Flow control Enable: The flow control is enabled in full-duplex
mode only. The default value comes from 93C46 .
-
1: Indicate that the current link is full-duplex
0: Indicate that the current link is half-duplex
1: Indicate that the current link is in 100Mbps mode.
0: Indicate that the current link is in 10Mbps mode.
Link status.
6
RXFCE
R/W
5
4
Reserved
Duplex
-
R
3
2
SPEED_100
LINK
R
R
1: Link OK.
0: Link Fail.
1
0
TXPF
RXPF
1: Indicate that RTL8150L(M) sends pause packet.
0: Indicate that RTL8150L(M) has sent timer done packet to release
remote station from pause Tx state.
1: Indicate that RTL8150L(M) is in Backoff state because a pause
packet from remote station has been receipt.
0: Indicate that RTL8150L(M) is not in pause state.
R
R
7.9 MII PHY Address(Offset 0138h, R/W)
Default/
Attribute
-
Bit
Symbol
Description
7-5
4-0
Reserved
PHYADD
MII PHY Address select
R/W
7.10 MII PHY DATA(Offset 0139h-013Ah, R/W)
Default/
Attribute
R/W
Bit
Symbol
Description
15-0
MIIDAT
Data read from MII PHY or data that is to be written to MII PHY.
2005/5/5
Ver. 1.50
22
RTL8150L(M)
7.11 MII PHY Access Control(Offset 013Bh, R/W)
Default/
Attribute
Bit
Symbol
Description
7
6
Reserved
PHYOWN
-
Own bit: RTL8150L(M) will initiate a MII management data
transaction if this bit is set 1 by software. After transaction,
this bit is auto cleared by RTL8150L.
MII management data R/W control
1:write,
0: read
PHY register offset
0,R/W
5
RWCR
R/W
R/W
4-0
PHYOFF
7.12 General Purpose Register(Offset 013Dh, R/W)
Default/
Attribute
Bit
Symbol
Description/Usage
7-5
4
GEPREG1~3
GEPREG0
Reserved
General purpose bit
-
RO
1: Supports external Home PNA PHY
3
2
GEP1DAT
GEP1RW
If GEP1RW is set 1, the GEP1 pin will reflect the value of GEP1DAT,
else GEP1DAT will reflect the value of GEP1 pin.
General purpose pin control bit:
R/W
R/W
0: The corresponding GEP1 pin is considered input
1: The corresponding GEP1 pin is considered output
If GEP0RW is set 1, the GEP0 pin will reflect the value of GEP0DAT,
else GEP0DAT will reflect the value of GEP0 pin.
General purpose pin control bit:
1
0
GEP0DAT
GEP0RW
R/W
R/W
0: The corresponding GEP0 pin is considered input
1: The corresponding GEP0 pin is considered output
If GEPRW=0 ,READ only
2005/5/5
Ver. 1.50
23
RTL8150L(M)
7.13 Wake Up Event Control(Offset 013E, R/W)
Default/
Attribute
-
0, R/W
0, R/W
0, R/W
0, R/W
0, R/W
0, R/W
0, R/W
Bit
Symbol
Description/Usage
7
6
5
4
3
2
1
0
Reserved
LKWEN
Link change wake-up enable
MAGWEN
WUF4EN
WUF3EN
WUF2EN
WUF1EN
WUF0EN
Magic Packet wake-up enable
Wake up frame 4 enable
Wake up frame 3 enable
Wake up frame 2 enable
Wake up frame 1 enable
Wake up frame 0 enable
Note: RTL8150L(M) will signal wakeup to the host only when the following two conditions are met:
1. The host has send set_feature_device command.
2. One of the wakeup frame function has been enabled and triggered.
7.14 Basic Mode Control Register (Offset 0140h-0141h, R/W)
Default/
Attribute
Bit
Name
Description/Usage
15
Reset
This bit, which is self clearing, will reset the control and status
0, RW
registers of PHY into the default states if it is set 1.
14
13
Reserved
Spd_Set
-
-
Speed select.
RW
1 = 100Mbps;
0 = 10Mbps.
Note: The initial value of this bit comes from 93C46
12
Auto Negotiation This bit enables/disables the NWay auto-negotiation function.
0, RW
Enable
(ANE)
1 = Enable auto-negotiation. If this bit is set, bit 8 and bit13 will be
ignored, and the values of bit8 and bit 13 indicate the result of auto
negotiation process.
0 = Disable auto-negotiation.
Note: The initial value of this bit comes from 93C46
11-10
9
Reserved
Restart Auto
Negotiation
-
-
This bit allows the NWay auto-negotiation function to be re-initiated.
0, RW
1 = Re-start auto-negotiation
0 = Normal operation.
This bit sets the duplex mode.
1 = full-duplex
0 = normal operation.
Note: This bit‘s initial value comes from 93C46
-
8
Duplex Mode
0, RW
-
7-0
Reserved
2005/5/5
Ver. 1.50
24
RTL8150L(M)
7.15 Basic Mode Status Register (Offset 0142h-0143h, R)
Default/
Attribute
0, RO
Bit
Name
Description/Usage
15
100Base-T4 Capable:
100Base-T4
100Base_TX_ FD
100Base_TX_HD
10Base_T_FD
0 = Device not able to perform 100Base-T4 mode
100Base-TX Full Duplex Capable:
1 = Device able to perform 100Base-TX in full duplex mode
100Base-TX Half Duplex Capable:
1 = Device able to perform 100Base-TX in half duplex mode
10Base-T Full Duplex Capable:
1 = Device able to perform 10Base-T in full duplex mode
10Base-T Half Duplex Capable:
14
13
12
11
1, RO
1, RO
1, RO
1, RO
10_Base_T_HD
-
1 = Device able to perform 10Base-T in half duplex mode
10-6
5
Reserved
-
Auto Negotiation 1 = Auto-negotiation process completed;
0, RO
Complete
0 = Auto-negotiation process not completed.
1 = Remote fault condition detected (clear on read);
0 = No remote fault condition detected.
4
3
0, RO
1, RO
Remote Fault
Auto Negotiation 1 = Device is able to perform Auto-Negotiation.
ability
0 = Device not able to perform Auto-Negotiation.
2-1
0
Reserved
1 = Extended register capabilities;
0 = Basic register set capabilities.
Extended
Capability
1, RO
2005/5/5
Ver. 1.50
25
RTL8150L(M)
7.16 Auto-negotiation Advertisement Register (Offset
0144h-0145h, R/W)
Default/
Attribute
0, RO
Bit
Name
Description/Usage
15
NP
Next Page capability.
0 = Advertise that NP capability not supported by local mode
1 = Advertise NP exchange capability and desire to transfer next
page.
14
13
ACK
RF
1 = Acknowledge reception of link partner’s capability data word.
1 = Advertise remote fault detection capability;
0 = Do not advertise remote fault detection capability.
Reserved
1 = Advertise flow control supported by local node.
0 = Advertise flow control not supported by local mode.
0, RO
0, RW
12-11
10
-
-
The default
value comes
from
PAUSE
EEPROM, RO
9
8
T4
TXFD
TX
1 = Advertise 100Base-T4 supported by local node;
0, RO
1, RW
1, RW
1, RW
1, RW
0 = Advertise 100Base-T4 not supported by local node.
1 = Advertise 100Base-TX full duplex supported by local node;
0 = Advertise 100Base-TX full duplex not supported by local node.
1 = Advertise 100Base-TX supported by local node;
0 = Advertise 100Base-TX not supported by local node.
1 = Advertise 10Base-T full duplex supported by local node;
0 = Advertise 10Base-T full duplex not supported by local node.
1 = Advertise 10Base-T supported by local node;
7
6
10FD
10
5
0 = Advertise 10Base-T not supported by local node.
4-0
Selector
Binary encoded selector supported by this node. Currently only
CSMA/ CD <00001> is specified. No other protocols are supported.
<00001>,
RW
2005/5/5
Ver. 1.50
26
RTL8150L(M)
7.17 Auto-Negotiation Link Partner Ability Register (Offset
0146h-0147h, R)
Default/
Attribute
Bit
Name
Description/Usage
15
NP
Next Page Indication:
0, RO
0 = Link Partner does not desire Next Page Transfer
1 = Link Partner desires Next Page Transfer.
1 = link partner acknowledges reception of the capability data word.
0 = Not acknowledged
The device’s Auto-Negotiation state machine will automatically
control this bit based on the incoming FLP bursts.
Remote Fault:
14
13
ACK
RF
0, RO
0, RO
1 = Remote Fault indicated by Link Partner
0 = No Remote Fault indicated by Link Partner.
-
1 = Flow control is supported by link partner ,
0 = Flow control is not supported by link partner.
100BASE-T4 Support:
1 = 100Base-T4 is supported by the link partner;
0 = 100Base-T4 not supported by the link partner.
100BASE-TX Full Duplex Support:
1 = 100Base-TX full duplex is supported by the link partner;
0 = 100Base-TX full duplex not supported by the link partner.
100BASE-TX Support:
1 = 100Base-TX is supported by the link partner;
0 = 100Base-TX not supported by the link partner.
10BASE-T Full Duplex Support:
1 = 10Base-T full duplex is supported by the link partner;
0 = 10Base-T full duplex not supported by the link partner.
10BASE-T Support:
1 = 10Base-T is supported by the link partner;
0 = 10Base-T not supported by the link partner.
Protocol Selection Bits:
12-11
10
Reserved
Pause
-
0, RO
9
8
T4
TXFD
TX
0, RO
0, RO
0, RO
0, RO
0, RO
0, RO
7
6
10FD
10
5
4-0
Selector
Link Partner’s binary encoded protocol selector.
2005/5/5
Ver. 1.50
27
RTL8150L(M)
7.18 Auto-negotiation Expansion Register (Offset
0148h-0149h, R)
This register contains additional status for NWay auto-negotiation.
Default/
Attribute
Bit
Name
Description/Usage
15-5
4
-
Reserved, This bit is always set to 0.
Status indicating if a multiple link fault has occurred.
1 = fault occurred; 0 = no fault occurred.
-
MLF
0, RO
3
2
1
LP_NP_ABLE
NP_ABLE
Status indicating if the link partner supports Next Page negotiation. 1
= supported; 0 = not supported.
This bit indicates if the local node is able to send additional Next
Pages.
This bit is set when a new Link Code Word Page has been received.
The bit is automatically cleared when the auto-negotiation link
partner‘s ability register (register 146h) is read by management.
0, RO
0, RO
0, RO
PAGE_RX
0
LP_NW_ABLE 1 = link partner supports NWay auto-negotiation.
0, RO
7.19 NWay Test Register (Offset 014Ah-014Bh, R/W)
Default/
Attribute
-
Bit
Name
Description/Usage
15-8
7
6-4
3
2
1
-
Reserved
NWLPBK
-
ENNWLE
FLAGABD
FLAGPDF
FLAGLSC
1 = set NWay to loopback mode.
0, RW
-
0, RW
0, RO
0, RO
0, RO
Reserved
1 = LED0 Pin indicates linkpulse
1 = Auto-neg experienced ability detect state
1 = Auto-neg experienced parallel detection fault state
1 = Auto-neg experienced link status check state
0
2005/5/5
Ver. 1.50
28
RTL8150L(M)
7.20 CS Configuration Register (Offset 014Ch-014Dh, R/W)
Default/
Bit
Name
Description/Usage
Attribute
0,WO
-
15
14-10
9
Testfun
-
LD
1 = Speeds up internal timer for Auto-Negociation
Reserved
Active low TPI link disable signal. When low, TPI still transmits link
pulses and TPI stays in good link state.
1 = HEART BEAT enable
1, RW
8
HEART BEAT
1, RW
0 = HEART BEAT disable. HEART BEAT function is only valid in
10Mbps mode.
7
6
JBEN
1 = enable jabber function.
0 = disable jabber function
Force link-up in 100Mbps for diagnostic purposes.
1 = DISABLE
1, RW
1, RW
F_LINK_100
0 = ENABLE.
5
F_Connect
Force connection of the link for diagnostic purposes:
1 = Fore connection
0, RW
0 = Disable
4
3
-
Reserved
-
Con_status
This bit indicates the status of the connection.
1 = valid connected link detected
0 = disconnected link detected.
Assertion of this bit configures LED1 pin to indicate connection
status.
0, RO
2
Con_status_En
0, RW
1
0
-
Reserved
Bypass Scramble function
-
PASS_SCR
0, RW
2005/5/5
Ver. 1.50
29
RTL8150L(M)
8 EEPROM 93C46 Contents
The 93C46 is a 1K-bit EEPROM. Although it is actually addressed by words, we list its contents by
bytes below for convenience.
After the valid duration of the RSTB pin or auto-load command in Command Register(offset
012Eh), the RTL8150L(M) performs a series of EEPROM read operation from the 93C46.
If you want to change the Realtek default setting of the content in EEPROM, we suggest that
you have Realtek approval.
Bytes
Contents
Description
00h
01h
50h
81h
These 2 bytes contain ID code word for the RTL8150L(M). The RTL8150L(M)
will load the contents of EEPROM into the corresponding location if the ID
word (8150h) is right.
02h-07h
Ethernet ID
Ethernet ID, After auto-load command or hardware reset, RTL8150L(M) loads
Ethernet ID to IDR0-IDR5 of RTL8150L(M)'s.
08h
09h
CONFIG0
MSR/BMCR
RTL8150L(M) Configuration register 0, operational registers offset 0135h.
Bit7-6 map to the bit7-6 of Media Status register (MSR), Bit5, 4, 0 map to the
bit13, 12, 8 of Basic Mode Control register (BMCR), Bit2 maps to the bit10 of
Auto-negotiation Advertisement Register (ANAR), Bit3, 1 are reserved. If the
network speed is set to Auto-Detect mode (i.e. Nway mode), then Bit2=0 means
the local RTL8150L(M) supports flow control (IEEE 802.3x) (in this case,
Bit10=1 in Auto-negotiation Advertisement Register (offset 146h-147h), and
Bit2=1 means the local RTL8150L(M) does not support flow control (in this
case, Bit10=0 in Auto-negotiation Advertisement). This is because that there are
Nway switch hubs will keep sending flow control pause packets with no reason,
if the link partner supports Nway flow control.
0Ah
0Bh
GEP
UDP
General Purpose Pin Control Register (offset 013Dh).
Reserved. Do not change this filed without Realtek approval.
USB Device Parameter
0Ch
ATTR
USB Configuration characteristics:
Bit7 is reserved and must be set to one for USB spec.
A device configuration that uses power from the bus and a local source reports a
non-zero value in MaxPower to indicate the amount of bus power required and
sets Bit 6.
Bit5 is set one to support remote wakeup.
Bit4-0: Reserved and must be reset to zero for USB spec.
Reserved. Do not change this filed without Realtek approval.
PHY Parameter 2 for RTL8150L(M). Operational register of the RTL8150L(M)
is 0184h.
Reserved. Do not change this filed without Realtek approval.
PHY Parameter 1 for RTL8150L(M). Operational register of the RTL8150L(M)
is 0180h-0183h.
Reserved. Do not change this filed without Realtek approval.
Twister Parameter for RTL8150L(M). Operational registers of the
RTL8150L(M) are 0186h-0189h.
0Dh
PHY2_PARM
PHY1_PARM
TW1_PARM
0Eh-11h
12h-15h
16h
17h
18h-19h
MAXPOR
INTERVAL
LanguageID
The maximum USB power consumption.
Interval for pollin endpoint 3 for data transfers. Expressed in milliseconds.
The string in a USB device may support multiple languages. A manufacturer
can specify the desired language using a sixteen-bit language ID.
1Ah-1Bh
ManufacturerID The system manufacturer’s ID.
2005/5/5
Ver. 1.50
30
RTL8150L(M)
1Ch-1Dh
1Eh-27h
28h-4fh
ProductID
Serial number
Manufacturer
String
The of a system manufacturer’s product ID.
The product’s serial number.
These bytes specify a manufacturer’s information for the USB standard request.
Maximum string length is 40 bytes.
50h-7dh
7eh-7fh
Product String
These bytes specify a device’s information for the USB standard request.
Maximum string length is 46 bytes.
Reserved
8.1 Summary of the RTL8150L’s Registers in the
EEPROM(93C46)
Offset
00h
01h
Name
ROMID0
ROMID1
Type
R
R
Bit7
0
1
Bit6
1
0
Bit5
0
0
Bit4
1
0
Bit3
0
0
Bit2
0
0
Bit1 Bit0
0
0
0
1
02-07h IDR0-IDR5
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PARM_EN
08h
09h
0Ah
0Bh
0Ch
Config0
MSR/ BMCR
GPCP
SUSLED
-
-
LDPS
-
MSEL LEDS1 LEDS0
PAUSE FUDUP
TXFCE RXFCE Spd_set
ANE
-
GEPREG3 GEPREG2 GEPREG1 GEPREG0 GEP1DAT GEP1RW GEP0DAT GEP0RW
UDP
ATTR
8 bit Read Write
1
0
0
0
1
0
0
0
0
0
0
0Dh PHY2_PARM
0E-11h PHY1_PARM
12h-15h TW1_PARM
8 bit Read Write
32 bit Read Write
32 bit Read Write
8 bit Read Write
16h
17h
MAXPOR
Interval
0
0
0
0
1
18h-19h Language ID
16 bit Read Write
Manufacture
1Ah-1Bh
ID
R/W
16 bit Read Write
1Ch-1Dh Product ID
1Eh-27h Serial number
R/W
R/W
16 bit Read Write
10 bytes Read Write
Manufacture
28h-4fh
R/W
40 bytes Read Write
String
50h-7dh Product string
R/W
-
46 bytes Read Write
-
7eh-7fh
Reserved
2005/5/5
Ver. 1.50
31
RTL8150L(M)
9Functional Description
9.1System Block Diagram
EEPROM
Interface
Memory
Management
Unit
MAC
Controller
DP
SIE
DM
(MMU)
MII
Interface
TXO+
TXO-
SRAM
Tx/2k bytes
10/100Mbps
PHY
RXIN+
RXIN-
Rx/16k bytes
9.2USB Endpoint SIE function description
The SIE employs a robust hardwired USB protocol implementation so that the entire USB
interface operation could be done without firmware intervention. For all three types of EP’s, bulk
in,bulk out, and interrupt, appropriate responses and handshake signals are generated by SIE.
The SIE analog transceiver complies fully with driver and receiver characteristics defined in
USB Spec. Rev. 1.1,
2005/5/5
Ver. 1.50
32
RTL8150L(M)
9.2.1 Endpoint0
All USB devices support a common accesses mechanism for accessing information through this
control pipe. Associated with the control pipe at endpoint zero is the information required to
completely describe the USB device. This pipe also provides the register read and write to
RTL8150L .
9.2.2 Endpoint 1 Bulk IN
The MAXIMUM packet size of BULK IIN is 64 bytes. Every Ethernet packet are transfer to
HOST by this Endpoint. If the Ethernet packet is larger than 64 bytes, the RTL8150L(M) splits
the Ethernet packet into multiples of 64 bytes. The HOST treats the USB packet that less than 64
bytes or equal zero as End of Ethernet packet.
9.2.3 Endpoint 2 Bulk OUT
The HOST sends the USB packet to Ethernet by maximum 64 bytes. If the Ethernet packet is
larger than 64 bytes, the Host will send this Ethernet packet in multiples of 64 bytes USB packet.
The USB packet less than 64 bytes (including zero byte) indicates the end of a Ethernet packet.
The Ethernet packet (containing multiples of USB packets) will be queued in TX FIFO and
transmitted later when possible. If the Ethernet packet is transmitted to medium without error,
the TX FIFO space which was occupied by the transmitted Ethernet packet will be released again.
If the 2K TX FIFO is full, the RTL8150L(M) will respond with a NAK when the host is trying to
bulk out more USB packets. It is possible that there are multiples of Ethernet packets in the TX
FIFO simultaneously. If a Ethernet packet is to be transmitted but experiences collisions for more
than 16 times (default), this is called transmit abort and this packet will be skipped for
transmission by RTL8150L(M).
2005/5/5
Ver. 1.50
33
RTL8150L(M)
9.2.4 Endpoint 3 Interrupt IN
The Interrupt EP (EP3) can be used to poll the current status of RTL8150L(M). The 8 bytes of
EP3 contain the information listed below. After EP3 access, the information will be cleared and
the counter will be reset if EP3CLREN (Reg 012Eh) is set. The NUMTXOK, RXLOST,
CRCERR, COLCNT counters will saturate to 255 if the number of up count events is greater
than 255.
The eight bytes of EP3 Interrupt IN contains:
DATA0
TSR
DATA1
RSR
DATA2
GEP/MSR
DATA3
WAKSR
DATA4
NUMTXOK
DATA5
RXLOST
DATA6
CRCERR
DATA7
COLCNT
Offset Name
Type Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
TX_BUF_ TX_BUF_
TSR
R
-
-
ECOL
LCOL
LOSS_CRS
JBR
00h
EMPTY
FULL
RX_BUF_F
ULL
RSR
R
R
R
-
LKCHG
-
RUNT
Duplex
-
LONG
CRC
FAE
ROK
01h
GEP/MSR
GEP1DAT GEP0DAT
SPEED_100
WAKEUP_EV
LINK
TXPF
RXPF
02h
LKWAKE_ MAGIC_
EV EV
WAKSR
PARM_EN
BMU_EV
03h
TXOK_CNT
R
R
R
R
8-bit counter that counts for valid packets transmitted.
8-bit counter that counts for packet lost due to Rx buffer overflow.
8-bit counter that counts for error packets
04
05h
06h
07h
RXLOST_CNT
CRCERR_CNT
COL_CNT
8-bit counter that counts for collisions.
2005/5/5
Ver. 1.50
34
RTL8150L(M)
9.3Ethernet Function Description
9.3.1 Transmit operation
The USB host initiates a transmission by transferring multiple USB packets into Tx buffer. When
MAC receives the end of USB BULK OUT packet from USB host, the RTL8150L(M) starts
Ethernet packet transmission.
9.3.2 Receive Operation
The incoming Ethernet packet is queued in the RTL8150L(M)’s Rx buffer. While the
RTL8150L(M) is receiving the Ethernet packet, it also performs address filtering of multicast
packets according to its hash algorithms. When the Ethernet packet is correctly received or the
amount of data in the Rx buffer reaches the level defined in the Receive Configuration
Register(Early receive function is on), the RTL8150L(M) requests the USB SIE to begin
transferring the data to the USB Host memory .
Rx header format (ref. Receive Configuration Register, offset 0130h)
Bit 11-0: Rx bytes count
Bit 12:Valid packet (Packet that is RXOK and not accept error)
Bit 13: Runt packet
Bit 14: Physical match packet
Bit 15: Multicast packet
9.3.3 Collision
If the RTL8150L(M) is not set the full-duplex mode, a collision event occurs when the receive
input is not idle while the RTL8150L(M) transmits. If the collision is detected during the
preamble transmission, the jam pattern is transmitted after completing the preamble transmission
(including the JK symbol pair).
2005/5/5
Ver. 1.50
35
RTL8150L(M)
9.3.4 Flow Control
The RTL8150L(M) supports IEEE802.3X flow control to improve performance in full-duplex
mode. It recognizes PAUSE packet sent from remote station and backoff transmission
according to IEEE802.3X if RXFCE is set, or RTL8150L(M) sends PAUSE packet to remote
station when the local RX FIFO exceeds some threshold if the TXFCE is set.
9.3.4.1 Control Frame Transmission
When the free space of RX FIFO is less than 3K bytes. The RTL8150L(M) sends a PAUSE
packet with pause_time(=FFFFh) to inform the remote station to stop transmission for the
specified period of time. After the packets in the RX FIFO are consumed and the free space of
RX FIFO is greater than 5K bytes, the RTL8150L(M) sends the PAUSE packet with
pause_time(=0000h) to inform the remote station to restart transmission.
9.3.4.2 Control Frame Reception
RTL8150L(M) backoffs transmission for the specified period of time when it receives a valid
PAUSE packet with pause_time(=n). If the PAUSE packet is received while RTL8150L(M) is
transmitting, RTL8150L(M) will start to backoff after current transmission completes.
RTL8150L(M) is free to transmit next packets again if a valid PAUSE packet with
pause_time(=0000h) is received or the backoff timer(=n*512 bit time) elapses.
Note: The PAUSE operation cannot be used to inhibit transmission of MAC Control frames
(e.g. PAUSE packet). The N-way flow control capability can be disabled (Refer to
Section 8. EEPROM 93C46 Contents for detailed description).
2005/5/5
Ver. 1.50
36
RTL8150L(M)
10. ELECTRICAL CHARACTERISTICS
10.1 Temperature Limit Ratings:
Parameter
Storage temperature
Minimum
Maximum
Units
°C
-55
+125
Operating temperature
0
70
°C
10.2 DC CHARACTERISTICS:
10.2.1 Supply Voltage (BUS POWER) Vbus = 4.5V min. to
5.5V max. Vcc = 3.3V
Symbol
Parameter
Conditions Minimum Maximum
Units
V
Minimum High Level Output Voltage
I
0.9 * Vcc
Vcc
0.1 * Vcc
Vcc+0.5
0.3 * Vcc
50
V
OH
OH= -2mA
V
Maximum Low Level Output Voltage
Minimum High Level Input Voltage
Maximum Low Level Input Voltage
Input Current
I
V
V
OL
OL= 8mA
V
0.5 * Vcc
-0.5
IH
V
V
IL
I
V
V
50
uA
IN
IN= CC or
GND
I
Tri-State Output Leakage Current
Average Operating Supply Current
V
V
50
50
uA
OZ
OUT= CC or
GND
I
I
0mA,
110
mA
CC
OUT=
2005/5/5
Ver. 1.50
37
RTL8150L(M)
10.3 EEPROM Interface
EESK
EECS
EEDI
0
0
0
0
A0
A2 A1
1
1
EEDO
D1 D0
D15 D14
T1
T4
T2
EESK
T3
T5
EEDI
T6
EECS
EEDO
T7
T8
Symbol
Parameter
Min.
Typ.
Max.
Unit
T1
T2
T3
T4
T5
T6
T7
T8
EESK high width
EESK low width
3.2
3.2
µs
µs
µs
µs
µs
ns
ns
ns
EEDI setup to EESK rising edge
EEDI hold from EESK rising edge
3.0
3.0
3.0
EECS goes high to EESK rising edge
EECS goes low from EESK falling edge
EEDO setup to EESK falling edge
EEDO hold from EESK falling edge
0
20
10
2005/5/5
Ver. 1.50
38
RTL8150L(M)
10.4 GPIO Interface
Symbol
Parameter
Min.
Typ.
Max.
Unit
V
Vih
Input high voltage
2.0
Vil
Input low voltage
0.8
V
Voh
Vol
Output high voltage
Output low voltage
Input high leakage current
Input low leakage current
0.9Vcc
V
0.1Vcc
50
V
Iih
µA
µA
Iil
-10
10.5 USB interface
Symbol
Parameter
Min.
9.6
Typ.
12
Max.
14.4
Unit
ns
Tfr
Rise Time
Fall Time
Tff
12.8
16
19.2
ns
2005/5/5
Ver. 1.50
39
RTL8150L(M)
Note:
1.To be determined at seating plane -c-
2.Dimensions D1 and E1 do not include mold protrusion.
D1 and E1 are maximum plastic body size dimensions
including mold mismatch.
Symbol Dimension in inch Dimension in mm
Min Nom Max Min Nom Max
A
0.067
1.70
3.Dimension b does not include dambar protrusion.
Dambar can not be located on the lower radius of the foot.
4.Exact shape of each corner is optional.
-
-
-
-
A1 0.000 0.004 0.008 0.00 0.1 0.20
A2 0.051 0.055 0.059 1.30 1.40 1.50
b
0.006 0.009 0.011 0.15 0.22 0.29
5.These dimensions apply to the flat section of the lead
between 0.10 mm and 0.25 mm from the lead tip.
6. A1 is defined as the distance from the seating plane
to the lowest point of the package body.
b1 0.006 0.008 0.010 0.15 0.20 0.25
c
c1 0.004
0.004
0.008 0.09
0.006 0.09
0.20
0.16
-
-
-
-
D
D1
E
E1
0.354 BSC
0.276 BSC
0.354 BSC
0.276 BSC
0.020 BSC
9.00 BSC
7.00 BSC
9.00 BSC
7.00 BSC
0.50 BSC
7.Controlling dimension : millimeter.
8. Reference document : JEDEC MS-026 , BBC
TITLE : 48LD LQFP ( 7x7x1.4mm)
PACKAGE OUTLINE DRAWING , FOOTPRINT 2.0mm
LEADFRAME MATERIAL:
e
L
L1
θ
0.016 0.024 0.031 0.40 0.60
0.80
APPROVE
CHECK
DOC. NO.
VERSION
PAGE
0.039 REF
1.00 REF
0° 3.5°
1
OF
0° 3.5°
9°
-
9°
-
DWG
DATE
N
SS048 - P1
MAR. 25.1997
θ 1 0°
θ 2
-
0°
-
12°TYP
12°TYP
12°TYP
12°TYP
REALTEK SEMI-CONDUCTOR CO., LTD
θ 3
2005/5/5
Ver. 1.50
40
RTL8150L(M)
Note:
1.To be determined at seating plane -c-
2.Dimensions D1 and E1 do not include mold protrusion.
D1 and E1 are maximum plastic body size dimensions
Symbol
Dimension in
inch
Dimension in
mm
Min Nom Max Min Nom Max
0.067 1.70
0.000 0.004 0.008 0.00 0.1 0.20
0.051 0.055 0.059 1.30 1.40 1.50
0.006 0.009 0.011 0.15 0.22 0.29
including mold mismatch.
A
A1
A2
B
3.Dimension b does not include dambar protrusion.
Dambar can not be located on the lower radius of the foot.
4.Exact shape of each corner is optional.
5.These dimensions apply to the flat section of the lead
between 0.10 mm and 0.25 mm from the lead tip.
6. A1 is defined as the distance from the seating plane
to the lowest point of the package body.
-
-
-
-
B1 0.006 0.008 0.010 0.15 0.20 0.25
C
0.004
C1 0.004
0.008 0.09
0.006 0.09
0.20
0.16
-
-
-
-
D
D1
E
E1
0.630 BSC
0.551 BSC
0.630 BSC
0.551 BSC
0.020 BSC
16.00 BSC
14.00 BSC
16.00 BSC
14.00 BSC
0.50 BSC
7.Controlling dimension : millimeter.
8. Reference document : JEDEC MS-026 , BED.
TITLE : 100LD LQFP ( 14x14x1.4mm)
PACKAGE OUTLINE DRAWING , FOOTPRINT 2.0mm
LEADFRAME MATERIAL:
e
L
L1
0.016 0.024 0.031 0.40 0.60 0.80
APPROVE
CHECK
DOC. NO.
VERSION
PAGE
DWG NO.
DATE
0.039 REF
1.00 REF
1
OF
θ
0° 3.5° 9°
0° 3.5° 9°
LQ100 - P1
APR. 28.1997
θ 1
θ 2
θ 3
0°
-
-
0°
-
-
12°TYP
12°TYP
12°TYP
12°TYP
REALTEK SEMI-CONDUCTOR CO., LTD
2005/5/5
Ver. 1.50
41
RTL8150L(M)
Ordering Information
Part Number
RTL8150L
Package
48-pin LQFP
Status
RTL8150LM
RTL8150L-LF
RTL8150LM-LF
100-pin LQFP
48-pin LQFP Lead(Pb)-Free package
100-pin LQFP Lead (Pb)-Free package
Note: See page 3 and 4 for lead (Pb)-free package identification.
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
2005/5/5
Ver. 1.50
42
相关型号:
©2020 ICPDF网 联系我们和版权申明