ETC RTL8208

RTL8208
REALTEK SINGLE CHIP
OCTAL 10/100 MBPS
FAST ETHERNET TRANSCEIVER
RTL8208
7.4.2 Receive Function .......................................... 21
7.4.3 Link Monitor ................................................ 22
7.4.4 Baseline Wander Compensation ................... 23
7.5 100Base-FX ......................................................... 23
7.5.1 Transmit Function......................................... 23
7.5.2 Receive Function .......................................... 23
7.5.3 Link Monitor ................................................ 24
7.5.4 Far-End-Fault-Indication (FEFI) .................. 24
7.6 RMII/SMII/SS-SMII ............................................ 24
7.6.1 RMII (Reduced MII) .................................... 25
7.6.2 SMII (Serial MII) ......................................... 25
7.5.3 SS-SMII (Source Synchronous -Serial MII)....... 27
7.7 Power Saving and Power Down Mode ................ 28
7.7.1 Power Saving Mode ..................................... 28
7.7.2 Power Down Mode....................................... 28
7.8 LED Configuration .............................................. 28
7.8.1 LED Blinking Time ...................................... 28
7.8.2 Serial Stream Order ...................................... 29
7.8.3 Bi-Color LED ............................................... 30
7.9 2.5V Power Generation....................................... 31
8. Design and Layout Guide ......................................... 32
8.1 General Guidelines............................................... 32
8.2 Differential Signal Layout Guidelines ................. 32
8.3 Clock Circuit ........................................................ 32
8.4 2.5V power........................................................... 32
8.5 Power Planes ........................................................ 32
8.6 Ground Planes ...................................................... 32
8.7 Transformer Options ............................................ 32
9. Application information ........................................... 33
9.1 10Base-T/100Base-TX Application..................... 33
9.2 100Base-FX Application...................................... 34
10. Electrical Characteristics ....................................... 35
10.1 Absolute Maximum Ratings .............................. 35
10.2 Operating Range ................................................ 35
10.3 DC Characteristics ............................................. 35
10.4 AC Characteristics ............................................. 36
10.5 Digital Timing Characteristics ........................... 37
10.6 Thermal Data...................................................... 38
11. Mechanical Dimensions .......................................... 39
1. Features........................................................................ 2
2. General Description .................................................... 2
3. Block Diagram............................................................. 3
4. Pin Assignments .......................................................... 4
5. Pin Description ............................................................ 6
5.1 Media Connection Pins .......................................... 6
5.2 Power and Ground Pins.......................................... 6
5.3 Miscellaneous Pins................................................. 7
5.4 RMII/SMII/SS-SMII Pins ...................................... 8
5.5 SMI (Serial Management Interface) Pins ............... 9
5.6 LED Pins ................................................................ 9
5.7 Mode Control Pins ............................................... 10
5.8 Reserved Pins ....................................................... 11
6. Register Descriptions ................................................ 12
6.1 Register 0: Control ............................................... 12
6.2 Register1: Status................................................... 14
6.3 Register2: PHY Identifier 1 Register ................... 15
6.4 Register3: PHY Identifier 2 Register ................... 15
6.5 Register4: Auto-Negotiation Advertisement........ 16
6.6 Register5: Auto-Negotiation Link Partner Ability......... 17
6.7 Register6: Auto-Negotiation Expansion............... 18
7. Functional Description ............................................. 19
7.1 General ................................................................. 19
7.1.1 SMI (Serial Management Interface) ............. 19
7.1.2 Port Pair Loop Back Mode (PP-LPBK)........ 19
7.1.3 PHY Address ................................................ 20
7.1.4 Auto-Negotiation .......................................... 20
7.1.5 Full-Duplex Flow Control ............................ 20
7.2 Initialization and Setup......................................... 20
7.2.1 Reset ............................................................. 20
7.2.2 Setup and configuration................................ 20
7.3 10Base-T .............................................................. 20
7.3.1 Transmit Function......................................... 20
7.3.2 Receive Function .......................................... 21
7.3.3 Link Monitor................................................. 21
7.3.4 Jabber............................................................ 21
7.3.5 Loopback ...................................................... 21
7.4 100Base-TX ......................................................... 21
7.4.1 Transmit Function......................................... 21
2001/01/07
1
Rev.1.923
RTL8208
1. Features
Supports 8-port integrated physical layer and
transceiver for 10Base-T and 100Base-TX
Up to 8 ports support of 100Base-FX
Reduced 100Base-FX interface (patented)
Robust baseline wander correction for improved
100BASE-TX performance
Fully compliant with IEEE 802.3/802.3u
IEEE 802.3u compliant Auto-negotiation for 10/100
Mbps control
Hardware controlled Flow control advertisement ability
Supports RMII/SMII/SS-SMII interfaces
Multiple driving capabilities of RMII/SMII/SS-SMII
Supports 25MHz crystal as clock source for RMII with
50MHz REFCLK output for MAC
Very low power consumption
Supports port-pair loop mode (PP-LPBK mode)
Supports two Power reduction methods:
1. Power saving mode (cable detection)
2. Power down mode
Power-on auto reset function eliminates the need for
external reset circuits
Flexible LED display modes through 2-wire serial
LED control interface
128-pin PQFP
2.5V/3.3V power supply
0.25µm, CMOS technology
2. General Description
The RTL8208 is a highly integrated 8 port, 10Base-T/100Base-TX/FX, Ethernet transceiver implemented in 0.25µm CMOS
technology. It is currently the world’s smallest Octal-PHY chip package with many special patented features. Traditional SD pins
in 100Base-FX are omitted by Realtek patent to obtain fewer pin-count. Flexible hardware settings are provided to configure the
various operating modes of the chip. The RTL8208 consists of 8 separate and independent channels. Each channel consists of an
RMII/SMII/SS-SMII interface to MAC controller, and hardware pins are used to configure the interface for RMII, or SMII, or
SS-SMII mode. In RMII mode, another hardware pin is used to set port-pair loop mode (PP-LPBK mode), which can extend
physical transmission length or perform physical media transport operations without any switch controller. In addition, the
RTL8208 features very low power consumption, as low as 1.8 W (max.). Additionally, pin-outs are designed to provide
optimized direct routing can be implemented, which simplifies the layout work and reduces EMI noise issues.
2001/01/07
2
Rev.1.923
RTL8208
3. Block Diagram
RX CL
K
FX input
CR
S
RX D
V
R
STA
X T
M A CEH IN
E
ADAPTIVE
EQUALIZER
CLOCK
RECOVERY
R M II
RX
4B /5
D ECB O D
E
SERIAL-TO-PARALLE
L
RX D 0
RX D 1
C R SD
V
R X D [3:0
]
EESCRAM BLE
R
M O D E[1:0]
RX
SM II
RX
FIFO
SY N C
TP input
B Y P-D ESC
R
R X +/-
R X R EC EIV ER
TX +/-
PARALLEL-TO-SERIA
L
TX D [3:0
]
SCAM BLE
R
R M II
TX
FX enable
B Y P-SC
R
4B/5B
ENCODER
TX D 0
TX D 1
TX E
N
T
STA
X T
M A CEH IN
E
TX/FX output
SM II
TX
CO
TXLC L
TX KE
TX
NE
R
M LT
EN C3O D E
R
10/100
TX /FX
D R IV E
R
TX TR A N SM ITTER
2001/01/07
3
Rev.1.923
2001/01/07
4
33
34
35
36
37
38
VSSA
TXOP[6]
TXON[6]
VDDAL
RXIP[6]
32
RXIN[5]
VDDAL
31
VSSA
RXIP[5]
RXIN[6]
28
29
30
TXOP[5]
26
25
VDDAH
27
TXON[4]
VDDAH
24
VSSA
TXON[5]
21
22
23
RXIP[4]
TXOP[4]
20
18
VDDAL
19
17
RXIN[3]
VDDAL
16
RXIP[3]
RXIN[4]
14
15
13
TXON[3]
VSSA
12
TXOP[3]
10
11
9
TXOP[2]
VDDAH
8
VDDAH
7
TXON[2]
6
117
VSSA
VDDAH
RXIP[2]
116
RXIN[2]
VCTRL
5
115
4
113
VDDAL
114
X2
VDDAL
X1
RXIN[1]
MDC
2
112
1
MDIO
3
111
VSSA
VSS
RXIP[1]
RX_SYNC
CRS_DV[5]
RXD0[5]
RXD1[5]
66
65
TXD1[5]
68
67
TX_EN[5]
TXD0[5]
69
VDD
71
70
RXD1[4]
VSS
72
CRS_DV[4]
73
RXD0[4]
76
74
TXD1[4]
77
75
TX_EN[4]
TXD0[4]
78
VDD
79
TX_SYNC
VSS
82
80
RXD1[3]
83
81
CRS_DV[3]
RXD0[3]
84
TXD1[3]
85
TX_EN[3]
TXD0[3]
VDD
89
86
VSS
90
87
RXD1[2]
91
88
CRS_DV[2]
RXD0[2]
92
TXD1[2]
93
TX_EN[2]
TXD0[2]
94
RXD1[1]
95
97
96
CRS_DV[1]
RXD0[1]
TXD1[1]
100
98
101
99
TX_EN[1]
TXD0[1]
102
RTL8208
4. Pin Assignments
VDD
103
64
TX_EN[6]
VSS
104
63
TXD0[6]
RXD1[0]
105
62
TXD1[6]
RXD0[0]
106
61
CRS_DV[0]
107
60
RXD0[6]
TXD1[0]
108
59
RXD1[6]
TXD0[0]
109
58
VSS
TX_EN[0]
110
57
VDD
RTL8208
125
42
VDDAH
126
41
TXON[7]
TXON[1]
127
40
VDDAH
TXOP[1]
128
39
VDDAH
IBREF
118
VDDAL
119
RXIN[0]
120
RXIP[0]
121
VSSA
122
45
TXOP[0]
123
44
RXIP[7]
TXON[0]
124
43
VSSA
VDDAH
08042T1
53
50
050A TAIWAN
CRS_DV[6]
56
TX_EN[7]
55
TXD0[7]
54
52
TXD1[7]
RXD0[7]
51
RXD1[7]
CRS_DV[7]
49
LED_DATA
48
REFCLK
LED_CLK
47
RESET#
46
VDDAL
RXIN[7]
TXOP[7]
Rev.1.923
RTL8208
'I' stands for input; 'O' stands for output; 'A' stands for analog; ‘D’ stands for digital
Pin Name
VSSA
RXIP[1]
RXIN[1]
VDDAL
VDDAL
RXIN[2]
RXIP[2]
VSSA
TXOP[2]
TXON[2]
VDDAH
VDDAH
TXON[3]
TXOP[3]
VSSA
RXIP[3]
RXIN[3]
VDDAL
VDDAL
RXIN[4]
RXIP[4]
VSSA
TXOP[4]
TXON[4]
VDDAH
VDDAH
TXON[5]
TXOP[5]
VSSA
RXIP[5]
RXIN[5]
VDDAL
VDDAL
RXIN[6]
RXIP[6]
VSSA
TXOP[6]
TXON[6]
VDDAH
VDDAH
TXON[7]
TXOP[7]
VSSA
RXIP[7]
RXIN[7]
VDDAL
RESET#
REFCLK
LED_DATA/LEDMODE[1]
LED_CLK/LEDMODE[0]
RXD1[7]
RXD0[7]/DRIVE[0]
CRS_DV[7]/MODE[0]
TXD1[7]
TXD0[7]
TX_EN[7]
VDD
VSS
RXD1[6]/DISBLINK
RXD0[6]/DRIVE[1]
CRS_DV[6]/MODE[1]
TXD1[6]
TXD0[6]
TX_EN[6]
2001/01/07
Pin#
Type
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
AGND
AI
AI
AVDD
AVDD
AI
AI
AGND
AO
AO
AVDD
AVDD
AO
AO
AGND
AI
AI
AVDD
AVDD
AI
AI
AGND
AO
AO
AVDD
AVDD
AO
AO
AGND
AI
AI
AVDD
AVDD
AI
AI
AGND
AO
AO
AVDD
AVDD
AO
AO
AGND
AI
AI
AVDD
I
I/O
I/O
I/O
I/O
I/O
I/O
I
I
I
DVDD
DGND
I/O
I/O
I/O
I
I
I
Pin Name
RXD1[5]/LED_BLNK_TIME
RXD0[5]
CRS_DV[5]/TP_PAUSE
TXD1[5]
TXD0[5]
TX_EN[5]
VDD
VSS
RXD1[4]/PHY_ADDR[4]
RXD0[4]
CRS_DV[4]/RX_CLK
TXD1[4]
TXD0[4]
TX_EN[4]/TX_CLK
VDD
SYNC/TX_SYNC
RX_SYNC/RPT_MODE
VSS
RXD1[3]/PHY_ADDR[3]
RXD0[3]
CRS_DV[3]/FX_PAUSE
TXD1[3]
TXD0[3]
TX_EN[3]
VDD
VSS
RXD1[2]/TEST
RXD0[2]
CRS_DV[2]/FX_DUPLEX
TXD1[2]
TXD0[2]
TX_EN[2]
RXD1[1]
RXD0[1]
CRS_DV[1]/SEL_TXFX[1]
TXD1[1]
TXD0[1]
TX_EN[1]
VDD
VSS
RXD1[0]
RXD0[0]
CRS_DV[0]/SEL_TXFX[0]
TXD1[0]
TXD0[0]
TX_EN[0]
VSS
MDIO
MDC
X1
X2
VCTRL
VDDAH
IBREF
VDDAL
RXIN[0]
RXIP[0]
VSSA
TXOP[0]
TXON[0]
VDDAH
VDDAH
TXON[1]
TXOP[1]
5
Pin#
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Type
I/O
O
I/O
I
I
I
DVDD
DGND
I/O
O
O
I
I
I
DVDD
I
I
DGND
I/O
O
I/O
I
I
I
DVDD
DGND
I/O
O
I/O
I
I
I
O
O
I/O
I
I
I
DVDD
DGND
O
O
I/O
I
I
I
DGND
I/O
I
I
O
I/O
AVDD
AO
AVDD
AI
AI
AGND
AO
AO
AVDD
AVDD
AO
AO
Rev.1.923
RTL8208
5. Pin Description
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.
'I' stands for input
'O' stands for output
'A' stands for analog signal
'D' stands for digital signal
'P' stands for power
'G' stands for ground
'Pu' stand for internal pull up (75K ohm)
'Pd' stand for internal pull down (75K ohm)
5.1 Media Connection Pins
Pin Name
RXIP[7:0]
RXIN[7:0]
TXOP[7:0]
TXON[7:0]
Pin
44,35,30,21,16,
7,2,121
45,34,31,20,17,
6,3,120
42,37,28,23,14,
9,128,123
41,38,27,24,
13,10,127,124
Type
AI
AI
AO
AO
Description
Receiver Input: Differential positive signal shared by 100Base-TX,
100Base-FX, 10Base-T.
Receiver Input: Differential negative signal shared by 100Base-TX,
100Base-FX, 10Base-T.
Transmitter Output: Differential positive signal shared by
100Base-TX, 100Base-FX, 10Base-T.
Transmitter Output: Differential negative signal shared by
100Base-TX, 100Base-FX, 10Base-T.
5.2 Power and Ground Pins
Pin Name
VDDAH
VDDAH
VDDAL
VSSA
VDD
VSS
2001/01/07
Pin
117
11,12,25,26,39,
40,125,126
119,4,5,18,19,3
2,33,46
122,18,15,22,2
9,36,43
57,71,79,89,
103
58,72,82,90,
104,111
Type
P
P
Description
Power for IBREF
3.3V Power to analog: Used for transmitters and equalizers.
P
2.5V Power to analog: Used for PLL circuits.
G
Analog ground
P
Digital 2.5V power supply
G
Digital ground
6
Rev.1.923
RTL8208
5.3 Miscellaneous Pins
Pin Name
RESET#
X1
114
Type
I,
(Pu)
I
X2
REFCLK
115
48
O
I/O
IBREF
118
A
VCTRL
116
O
2001/01/07
Pin
47
Description
Reset: This is an active low input. To complete the reset function, this
pin must be asserted low for at least 10ms.
25MHz Crystal X1 or 25MHz Oscillator clock input: When X1 is
pulled low, X2 must be floating. REFCLK will then be the chip clock
input.
25MHz Crystal X2
Reference clock:
If X1 is 25MHz active, REFCLK is a 50MHz output.
If X1 is pulled-low (disabled), REFCLK is the clock input as below:
50MHz 100ppm clock input for RMII mode.
125MHz 100ppm clock input for SMII/SS-SMII mode.
Reference Bias Resistor: This pin must be tied to analog ground through
an external 1.96KΩ resistor when using a 1:1 transformer on Tx/Rx.
Voltage control: This pin controls a PNP transistor to generate the
2.5V power supply for VDD and VDDAL pins.
7
Rev.1.923
RTL8208
5.4 RMII/SMII/SS-SMII Pins
Pin Name
TXD0[7:0]
Pin
55,63,69,77,
87,95,101,109
Type
I
TXD1[7:0]
54,62,68,76,
86,94,100,108
I
TX_EN [7:0]
56,64,70,78,
88,96,102,110
I
RXD0[7:0]
52,60,66,74,
84,92,98,106
O
RXD1[7:0]
51,59,65,73,
83,91,97,105
O
CRS_DV[7:0]
53,61,67,75,
85,93,99,107
O
RX_CLK/
CRS_DV[4]
RX_SYNC
75
O
81
I/O
SYNC/
TX_SYNC
80
I
TX_CLK/
TX_EN[4]
78
I
2001/01/07
Description
Transmit Data Input (bit 0):
In RMII, TXD0 and TXD1 are the di-bits input transmitted and driven
synchronously to REFCLK from MAC.
In SMII, TXD0 inputs the data that is transmitted and is driven
synchronously to REFCLK. In 100Mbps, TXD0 inputs a new 10-bit
segment starting with SYNC. In 10Mbps, TXD0 must repeat each
10-bit segment 10 times.
In SS-SMII, TXD0 behaves as SMII except synchronous to TX_CLK
instead of REFCLK and 10-bit segment starting with TX_SYNC
instead of SYNC.
Transmit Data Input (bit 1):
In RMII, TXD1 and TXD0 are the input di-bits synchronously to
REFCLK.
In SMII/SS-SMII, TXD1 is not used and should be tied either high or
low.
Transmit Enable:
In RMII , TX_EN indicates the di-bits on TXD is valid and is
synchronous to REFCLK.
In SMII/SS-SMII, TX_EN[7:0] are not used.
Receive Data Input (bit 0):
In RMII, RXD0 and RXD1 output di-bits synchronously to REFCLK.
In SMII, RXD0 outputs data or inband management information
synchronously to REFCLK. In 100Mbps, RXD0 outputs a new 10-bit
segment starting with SYNC. In 10Mbps, RXD0 must repeat each
10-bit segment 10 times.
In SS-SMII, RXD0 behaves as SMII except synchronous to RX_CLK
instead of REFCLK and 10-bit segment starting with RX_SYNC
instead of SYNC.
Receive Data Input (bit 1):
In RMII, RXD1 and RXD0 output di-bits synchronously to REFCLK.
In SMII/SS-SMII, RXD1is not used and they are driven low.
Carrier Sense and Data Valid:
In RMII, CRS_DV is asynchronous to REFCLK and asserts when the
medium is non-idle.
In SMII/SS-SMII, CRS_DV[7:0] are not used and driven low.
Receive Clock: In SS-SMII, CRS_DV[4] of RMII is used as
RX_CLK, which is a 125MHz clock output.
Receive Synchronous :
In SS-SMII, RX_SYNC is a sync signal used to delimit the 10-bit
segment of RXD0 for all ports.
Sync/Transmit Synchronous: In SMII, SYNC is a sync signal used
to delimit a 10-bit segment of RXD0 and TXD0 for all ports.
In SS-SMII, TX_SYNC is a sync signal used to delimit the 10-bit
segment of TXD0 for all ports.
Transmit Clock/Transmit Enable: In SS-SMII, TX_EN[4] of RMII
is used as TX_CLK, which is a 125MHz clock input from MAC.
8
Rev.1.923
RTL8208
5.5 SMI (Serial Management Interface) Pins
Pin Name
MDIO
Pin
112
MDC
113
Type
I/O,
(Pu)
I,
(Pd)
Description
Management Data I/O. Bi-directional data interface. A 1.5KΩ
pull-up resistor is required (as specified in IEEE802.3u).
The MAC controller access of the MII registers should be delayed at
least 700us after completion of the reset because of the internal reset
operation of the RTL8208
Management Data Clock. 0 to 25MHz clock sourced by MAC to
sample MDIO.
The MAC controller access of the MII registers should be delayed at
least 700us after completion of the reset because of the internal reset
operation of the RTL8208
5.6 LED Pins
Pin Name
LED_DATA/
LEDMODE[1]
LED_CLK/
LEDMODE[0]
2001/01/07
Pin
49
Type
I/O
50
I/O
Description
LED_DATA outputs serial status bits that can be shifted into a shift
register to be displayed via LEDs. LED_DATA is output
synchronously to LED_CLK.
This pin is latched upon reset as LEDMODE[1]
LEDMODE[1:0] controls the forms of serial LED statuses.
See LED operation mode section.
LED_CLK outputs the reference clock for the serial LED signals. This
pin is latched upon reset as LEDMODE[0]
9
Rev.1.923
RTL8208
5.7 Mode Control Pins
Pin Name
SEL_TXFX[1:0]/
CRS_DV[1:0]
PP-LPBK mode
/ RX_SYNC
PHY_ADDR[4:3]/
RXD1[4:3]
MODE[1:0]/
CRS_DV[6:7]
Pin
99,107
81
73,83
61,53
TP_PAUSE/
CRS_DV[5]
67
FX_PAUSE/
CRS_DV[3]
85
FX_DUPLEX/
CRS_DV[2]
93
DISBLINK/
RXD1[6]
59
LED_BLNK_TIME/
RXD1[5]
65
LEDMODE[1:0]
49,50
Type
Description
I/O, Select 10/100BaseTX or 100BaseFX: (default = 2’b00)
(Pd,Pd) If RPT_MODE = 0:
2’b00: All 8 ports (port0~port7) are 10Base-T/100Base-TX.
2’b01: Port 7 is 100FX, other ports are 10Base-T/100Base-TX.
2’b10: Ports 6 & 7 are 100FX, other ports are 10Base-T/100Base-TX.
2’b11: All 8 ports are 100Base-FX.
If RPT_MODE =1:
2’b00: All 8 ports (port0~port7) are 10Base-T/100Base-TX.
2’b01: Port 7 and 5 are 100FX, others are 10Base-T/100Base-TX.
2’b10: Ports 1,3,5&7 are 100FX, others are 10Base-T/100Base-TX.
2’b11: All 8 ports are 100Base-FX.
I/O, Port Pair Loop Back mode: (default =0)
(Pd) Upon power-on reset, this pin is input to assert PP-LPBK mode. When
set, all eight ports are port-pair looped back, acting like a signal
regeneration/transformation repeater.
Refer to the section covering PP-LPBK mode.
I/O, PHY Address: (default = 2’b01) These 2bits determine the highest
(Pd,Pu) 2bits of 5-bit PHY address upon reset.
I/O, Select RMII/SMII/SS-SMII mode: (default = 2’b11)
(Pu,Pu) 2’b1x: RMII
2’b00: SMII
2’b01: SS-SMII
I/O, Twisted Pair Pause capability: (default =1) Sets the Flow control
(Pu) ability of Reg.4.10 for UTP ports upon power-on reset.
1: With flow control ability.
0: Without flow control ability
I/O, 100Base-FX Flow control capability: (default =1) Forces the flow
(Pu) control capability of Reg.4.10 and Reg.5.10 upon power-on reset.
1: With flow control ability in 100Base-FX.
0: Without flow control ability in 100Base-FX.
I/O, FX_DUPLEX: Force 100Base-FX Full Duplex Mode: (default =1)
(Pu) This pin sets 100Base-FX duplex and affects those ports in
100Base-FX mode.
1=full duplex, 0=half duplex.
Upon reset, this pin sets the default values of Reg.0.8 of those ports in
100Base-FX.
I/O, Disable power-on reset LEDs blinking: (default = 0)
(Pd)
1=Disable power-on LED blinking
0=blink.
I/O, LED blink time: (default =1) Used to control blinking speed of
(Pu) activity and collision LEDs.
1= 43ms
0= 120ms
I,
LEDMODE[1:0]: (default = 00) Controls the forms of serial LED status.
(Pd,Pd)
LEDMODE Mode
Output
2’b00
3-bit serial stream
Col/Fulldup, Link/Act, Spd
2’b01
2-bit serial stream
Spd, Link/Act
2’b10
3-bit for Bi-color LED Col/Fulldup, Link/Act, Spd
See LED operation mode section for more information.
2001/01/07
10
Rev.1.923
RTL8208
Pin Name
DRIVE[0]/
RXD0[7]
Pin
52
DRIVE[1]/
RXD0[6]
60
Type
I/O,
(Pd)
Description
DRIVE[0]: Controls the output driving ability of SSMII RX_CLK.
1’b0: 12mA (default)
1’b1: 16mA
I/O, DRIVE[1]: Controls the output driving abilities of the
(Pd,Pd) RMII/SMII/SS-SMII signals other than RX_CLK.
Drive [1:0]
2’b00
2’b01
2’b10
2’b11
Output driving ability
4mA (default)
8mA
12mA
16mA
5.8 Reserved Pins
Pin Name
ENANAPAR/
RXD1[1]
TEST/
RXD1[2]
CPRST/
RXD1[0]
2001/01/07
Pin
97
91
105
Type
I/O,
(Pd)
I/O,
(Pd)
I/O,
(Pd)
Description
Reserved for internal use. Must be kept floating.
TEST. Reserved for internal use. Must be kept floating.
Reserved for internal use. Must be kept floating.
11
Rev.1.923
RTL8208
6. Register Descriptions
The first six registers of the MII are defined by the MII specification. Other registers are defined by Realtek Semiconductor Corp.
for internal use and are reserved for specific uses.
Register
Description
Default
0
Control Register
3100
1
Status Register
0F49
2
PHY Identifier 1 Register
001C
3
PHY Identifier 2 Register
C883
4
Auto-Negotiation Advertisement Register
05E1
5
Auto-Negotiation Link Partner Ability Register
0001
6
Auto-Negotiation Expansion Register
0000
RO: Read Only
RW: Read/Write
LL: Latch Low until cleared
LH: Latch High until cleared
SC: Self Clearing
6.1 Register 0: Control
Reg. bit
0.15
0.14
Name
Reset
Loopback
0.13
Spd_Sel
0.12
Auto Negotiation
Enable
0.11
Power Down
0.10
Isolate
0.9
0.8
Restart Auto
Negotiation
Duplex Mode
0.[7:0]
Reserved
Description
1=PHY reset. This bit is self-clearing.
This will loopback TXD to RXD and ignore all the activities
on the cable media. Valid only for 10Base-T.
1=Enable loopback.
0=Normal operation.
When Nway is enabled, this bit reflects the result of
Auto-negotiation. (Read only)
When Nway is disabled, this bit can be set by SMI*.
(Read/Write)
When 100FX is enabled, this bit =1 (Read only)
1=100Mbps.
0=10Mbps.
This bit can be set through SMI.(Read/Write)
When 100FX is enabled, this bit =0 (Read only)
1 = Enable Auto-negotiation process.
0 = disable Auto-negotiation process.
1=Power down. All functions will be disabled except
SMI.read/write function.
0=Normal operation.
1 = Electrically isolate the PHY from RMII/SMII/SS-SMII.
PHY is still able to respond to MDC/MDIO.
0 = Normal operation
1=Restart Auto-Negotiation process.
0=Normal operation.
When Nway is enabled, this bit reflects the result of
Auto-negotiation. (Read only)
When Nway is disabled, this bit can be set by SMI*.
(Read/Write)
When 100FX is enabled, this bit is determined by the
FX_DUPLEX pin. (Read/Write)
1=Full duplex operation.
0=Half duplex operation.
Mode
RW/SC
RW
Default
0
0
RW
1
RW
1
or
0 for 100FX
RW
0
RW
0
RW/SC
0
RW
1
0
*SMI: Serial Management Interface , which is composed of MDC,MDIO, allows MAC to manage PHY.
2001/01/07
12
Rev.1.923
RTL8208
Reset – In order to reset the RTL8208 by software control, a ‘1’ must be written to bit 15 using an SMI write operation. The bit
clears itself after the reset process is complete, and does not need to be cleared using a second SMI write. Writes to other Control
register bits will have no effect until the reset process is completed, which requires approximately 1us. Writing a ‘0’ to this bit
has no effect. Because this bit is self clearing after a few cycles from a write operation, it will return a ‘0’ when read.
Loopback – The RTL8208 may be placed into loopback mode by writing a ‘1’ to bit 14. Loopback mode may be cleared either
by writing a ‘0’ to bit 14 or by resetting the chip. When this bit is read, it will return a ‘1’ when the chip is in software-controlled
loopback mode, otherwise it will return a ‘0’.
Speed Selection – If Auto-negotiation is enabled, this bit has no effect on the speed selection. However, if Auto-negotiation is
disabled by software control, the operating speed of the RTL8208 can be forced by writing the appropriate value to bit 13.
Writing a ‘1’ to this bit forces 100Base-X operation, while writing a ‘0’ forces 10Base-T operation. When this bit is read, it
returns the value of the software controlled forced speed selection only.
Auto Negotiation Enable – Default Auto Negotiation enable for all TP ports and disable for FX ports. Auto-negotiation can be
disabled by either software control to set 0.12=0.
Power Down – The RTL8208 supports a low power mode which is intended to decrease power consumption. Writing a ‘1’ will
enable power down mode, and writing a ‘0’ will return the RTL8208 to normal operation. When read, this register will return a
‘1’ when in power down mode, and a ‘0’ during normal operation.
Isolate – Each individual PHY may be isolated from its MII by writing a ‘1’ to bit 10. All MII outputs will be tri-stated and all
MII inputs will be ignored. Since the MII management interface is still active, the isolate mode may be cleared either by writing
a ‘0’ to bit 10 or by resetting the chip. When this bit is read, it will return a ‘1’ when the chip is in isolate mode, and a ‘0’ during
normal operation.
Restart Auto Negotiation – Bit 9 is a self-clearing bit that allows the Auto-negotiation process to be restarted, regardless of the
current status of the Auto-negotiation state machine. In order for this bit to have an effect, Auto-negotiation must be enabled.
Writing a ‘1’ to this bit restarts Auto-negotiation while writing a ‘0’ to this bit has no effect. When this bit is read, it will always
return a ‘0’.
Duplex Mode – By default, the RTL8208 powers up in half duplex mode. The chip can be forced into full duplex mode by
writing a ‘1’ to bit 8 while Auto-negotiation is disabled. Half duplex mode can be resumed either by writing a ‘0’ to bit 8 or by
resetting the chip. When Nway is enabled, this bit reflects the results of the Auto-negotiation, and is in a read only mode. When
Nway is disabled, this bit can be set through the SMI, and is in a read/write mode. When 100FX is enabled, this bit can be set
through the SMI or FX_DUPLEX pin and is in a read/write mode.
Reserved Bits – All reserved MII register bits must be written as ‘0’ at all times. Ignore the RTL8208 output when these bits are
read.
2001/01/07
13
Rev.1.923
RTL8208
6.2 Register1: Status
Reg. bit
1.15
1.14
Name
100Base_T4
100Base_TX_FD
1.13
100Base_TX_HD
1.12
10Base_T_FD
1.11
10Base_T_HD
1.[10:7]
1.6
Reserved
MF Preamble
Suppression
Auto-negotiate
Complete
1.5
1.4
Remote Fault
1.3
1.2
Auto-Negotiation
Ability
Link Status
1.1
Jabber Detect
1.0
Extended Capability
Description
0 = no 100Base-T4 capability.
1=100Base-TX full duplex capable.
0=Not 100Base-TX full duplex capable.
1=100Base-TX half duplex capable.
0=Not 100Base-TX half duplex capable.
1=10Base-TX full duplex capable.
0=Not 10Base-TX full duplex capable.
1=10Base-TX half duplex capable.
0=Not 10Base-TX half duplex capable.
The RTL8208 will accept management frames with
preamble suppressed.
1=Auto-negotiation process completed. Reg.4,5 are valid if
this bit is set.
0=Auto-negotiation process not completed.
1=Remote fault indication from link partner has been
detected.
0=No remote fault indication detected.
When in 100FX mode, this bit means in-band signal
Far-End-Fault is detected. Refer to FX MODE section.
1=Nway Auto-negotiation capable. (permanently =1)
0=Without Nway Auto-negotiation capability.
1=Link has never failed since previous read.
0=Link has failed since previous read.
If link fails, this bit will be set to 0 until bit is read.
1=Jabber detected.
0=No Jabber detected.
The jabber function is disabled in 100Base-X mode. Jabber
is supported only in 10Base-T mode.
1=Extended register capable. (permanently =1)
0=Not extended register capable.
Mode
RO
RO
Default
0
1
RO
1
RO
1
RO
1
RO
RO
0
1
RO
0
RO/LH
0
RO
1
RO/LL
0
RO/LH
0
RO
1
100Base_T4 – The RTL8208 does not support the T4 function. Any reads to this bit will return a ‘0’.
100Base_TX_FD – The RTL8208 is capable of operating in 100Base-TX full duplex mode.
100Base_TX_HD – The RTL8208 is capable of operating in 100Base-TX half duplex mode.
10Base_T_FD – The RTL8208 is capable of operating in 10Base-T full duplex mode.
10Base_T_HD – The RTL8208 is capable of operating in 10Base-T half duplex mode.
Reserved – Ignore the output of the RTL8208 when these bits are read.
MF Preamble Suppression – Management Frame Preamble Suppression is permanently set in the RTL8208, allowing
subsequent MII management frames to be accepted with or without the standard preamble pattern. Only two preamble bits are
required between successive management commands, instead of the normal 32, however, a minimum of 32 preamble bits are
required for the first SMI read/write transaction after reset. One idle bit is required between any two management transactions (as
defined in IEEE802.3u spec). Reads of this bit will always return a ‘1’.
Auto-negotiate Complete – Bit 5 will return a ‘1’ if the Auto-negotiation process has been completed and the contents of
registers 4 and 5 are valid.
Remote Fault – When link partner detect far-end fault, it would send far-end indication stream pattern. When RTL8208 receive
this pattern, set Reg1.4=1.
Auto-Negotiation Ability – The RTL8208 is capable of performing IEEE Auto-negotiation, and will return a ‘1’ when bit 4 is
read, regardless of whether or not the Auto-negotiation function has been disabled.
Link Status – The RTL8208 will return a ‘1’ on bit 2 when the link state machine is in Link Pass, indicating that a valid link has
been established. Otherwise, it will return ‘0’. When a link failure occurs after the link pass state has been entered, the Link
2001/01/07
14
Rev.1.923
RTL8208
Status bit will be latched at ‘0’ and will remain so until the bit is read. After the bit is read, it becomes ‘1’ if the Link Pass state
has been entered again.
Jabber Detect – The RTL8208 will return a ‘1’ on bit 1 if a jabber condition has been detected. After the bit is read, or if the chip
is reset, it reverts to ‘0’. This is for 10Base-T only. Jabber occurs when a predefined excessive long packet is detected for
10Base-T. When the duration of TX_EN exceeds the jabber timer (21ms), the transmit and loopback functions will be disabled
and the COL LED starts blinking. After TX_EN goes low for more than 500 ms, the transmitter will be re-enabled and the COL
LED stops blinking.
Extended Capability – The RTL8208 supports extended capability registers, and will return a ‘1’ when bit 0 is read. Several
extended registers have been implemented in the RTL8208.
6.3 Register2: PHY Identifier 1 Register
The PHY Identifier Registers #1 and #2 together form a unique identifier for the PHY section of this device. The Identifier
consists of a concatenation of the Organizationally Unique Identifier (OUI), the vendor's model number and the model revision
number. A PHY may return a value of zero in each of the 32 bits of the PHY Identifier if desired. The PHY Identifier is intended
to support network management.
Reg. bit
2.[15:0]
Name
OUI
Description
Composed of the 3rd to 18th bits of the Organizationally
Unique Identifier (OUI), respectively.
Mode
RO
Default
001C h
Mode
RO
RO
RO
Default
110010
001000
0011
6.4 Register3: PHY Identifier 2 Register
Reg. bit
3.[15:10]
3.[9:4]
3.[3:0]
2001/01/07
Name
OUI
Model Number
Revision Number
Description
Assigned to the 19th through 24th bits of the OUI.
Manufacturer's model number 08.
Manufacturer's revision number 03.
15
Rev.1.923
RTL8208
6.5 Register4: Auto-Negotiation Advertisement
This register contains the advertisement abilities of this device as they will be transmitted to its Link Partner during
Auto-negotiation.
Reg. bit
Name
Description
Mode
Default
4.15
Next Page
1=Next Page enabled.
RO
0
0=Next Page disabled. (Permanently =0)
4.14
Acknowledge
Permanently =0.
RO
0
4.13
Remote Fault
1=Advertises that RTL8208 has detected a remote fault.
RW
0
0=No remote fault detected.
4.[12:11]
Reserved
RO
0
4.10
Pause
1=Advertises that the RTL8208 has flow control capability. RW
Set by
0=Without flow control capability.
TP_PAUSE
In 100FX mode, this bit is set by 100FX_PAUSE upon reset.
Or
In 100/10TP mode, this bit is set by TP_PAUSE upon reset.
FX_PAUSE
4.9
100Base-T4
1 = 100Base-T4 capable.
RO
0
0 = Not 100Base-T4 capable. (Permanently =0)
4.8
100Base-TX-FD
1=100Base-TX full duplex capable.
RW
1
0=Not 100Base-TX full duplex capable.
4.7
100Base-TX
1=100Base-TX half duplex capable.
RW
1
0=Not 100Base-TX half duplex capable.
4.6
10Base-T-FD
1=10Base-TX full duplex capable.
RW
1
0=Not 10Base-TX full duplex capable.
4.5
10Base-T
1=10Base-TX half duplex capable.
RW
1
0=Not 10Base-TX half duplex capable.
4.[4:0]
Selector Field
[00001]=IEEE802.3
RO
00001
Next Page – The RTL8208 does not implement the Next Page function, so bit 15 will always return a ‘0’ when read.
Acknowledge – Because the Next Page function is not implemented, bit 14 will always return a ‘0’ when read.
Remote Fault – When RTL8208 can not receive valid signal , set Reg4.13=1. The RTL8208 advertises this information to
inform link partner.
Reserved – Ignore the output of the RTL8208 when these bits are read.
Pause –Setting this bit indicates the availability of Flow Control capabilities when full duplex operation is in use. This bit is used
by one MAC to communicate Pause Capability to its Link Partner and has no effect on PHY operation.
100Base-T4 – Because the RTL8208 does not support the T4 function, any reads to this bit will return a ‘0’.
100Base-TX-FD – This bit advertises the ability to the Link Partner that the RTL8208 can operate in 100Base-TX full duplex
mode. Writing a ‘0’ to this bit will suppress the transmission of this ability to the Link Partner. Resetting the chip will restore the
default value. The default value is ‘1’ and writing a ‘1’ will set this bit to ‘1’. Reading this bit will return the last written value or
the default value if no write has been completed since the last reset.
100Base-TX – This bit advertises the ability to the Link Partner that the RTL8208 can operate in 100Base-TX half duplex mode.
Writing a ‘0’ to this bit will suppress the transmission of this ability to the Link Partner. Resetting the chip will restore the default
value. The default value is ‘1’ and writing a ‘1’ will set this bit to ‘1’. Reading this bit will return the last written value or the
default value if no write has been completed since the last reset.
10Base-T-FD – This bit advertises the ability to the Link Partner that the RTL8208 can operate in 10Base-T full duplex mode.
Writing a ‘0’ to this bit will suppress the transmission of this ability to the Link Partner. Resetting the chip will restore the default
value. The default value is ‘1’ and writing a ‘1’ will set this bit to ‘1’. Reading this bit will return the last written value or the
default value if no write has been completed since the last reset.
10Base-T – This bit advertises the ability to the Link Partner that the RTL8208 can operate in 10Base-T half duplex mode.
Writing a ‘0’ to this bit will suppress the transmission of this ability to the Link Partner. Resetting the chip will restore the default
value. The default value is ‘1’ and writing a ‘1’ will set this bit to ‘1’. Reading this bit will return the last written value or the
default value if no write has been completed since the last reset.
Selector Field – Bits 4:0 contain a fixed value of 00001, indicating that the chip belongs to the 802.3 class of PHY transceivers.
2001/01/07
16
Rev.1.923
RTL8208
6.6 Register5: Auto-Negotiation Link Partner Ability
This register contains the advertised abilities of the Link Partner as received during Auto-negotiation. The content changes after
the successful Auto-negotiation.
Reg. bit
Name
Description
Mode
Default
5.15
Next Page
1=Link partner desires Next Page transfer.
RO
0
0=Link partner does not desire Next Page transfer.
5.14
Acknowledge
1=Link Partner acknowledges reception of FLP words.
RO
0
0=No acknowledgement by Link Partner.
5.13
Remote Fault
1=Remote Fault indicated by Link Partner.
RO
0
0=No remote fault indicated by Link Partner.
5.12-11
Reserved
RO
0
5.10
Pause
1=Flow control supported by Link Partner.
RW
0
0=No flow control supported by Link Partner.
When Nway is enabled, this bit reflects Link Partner ability. (read only)
In 100FX mode, this bit is set by FX_PAUSE or SMI.
5.9
100Base-T4
1=100Base-T4 supported by Link Partner.
RO
0
0=100Base-T4 not supported by Link Partner.
5.8
100Base-TX-FD
1=100Base-TX full duplex supported by Link Partner.
RO
0
0=100Base-TX full duplex not supported by Link Partner.
For 100FX mode, this bit is set when Reg.0.8=1 or
FX_DUPLEX =1.
When Nway is disabled, this bit is set when Reg.0.13=1 and
Reg.0.8=1.
5.7
100Base-TX
1=100Base-TX half duplex supported by Link Partner.
RO
0
0=100Base-TX half duplex not supported by Link Partner.
For 100FX mode, this bit is set when Reg.0.8=0 or
FX_DUPLEX =0.
When Nway is disabled, this bit is set when Reg.0.13=1 and
Reg.0.8=0.
5.6
10Base-T-FD
1=10Base-TX full duplex supported by Link Partner.
RO
0
0=10Base-TX full duplex not supported by Link Partner.
When Nway is disabled, this bit is set when Reg.0.13=0 and
Reg.0.8=1.
5.5
10Base-T
1=10Base-TX half duplex supported by Link Partner.
RO
0
0=10Base-TX half duplex not supported by Link Partner.
When Nway disabled, this bit is set when Reg.0.13=0,and
Reg.0.8=0.
5.[4:0]
Selector Field
[00001]=IEEE802.3
RO
00001
Note that the values are only guaranteed to be valid once Auto-negotiation has successfully completed, as indicated by bit 5 of
the MII Status Register.
Next Page – Bit 15 returns a value of ‘1’ when the Link Partner implements the Next Page function and has Next Page
information that it wants to transmit. However, since the RTL8208 does not implement the Next Page function, it ignores the
Next Page bit, except to copy it to this register.
Acknowledge – Bit 14 is used by Auto-negotiation to indicate that a device has successfully received its Link Partner’s Link
Code Word.
Remote Fault – Bit 13 returns a value of ‘1’ when the Link Partner signals that it has detected a remote fault. The RTL8208
advertises this information, but does not act upon it.
Reserved – Ignore the output of the RTL8208 when these bits are read.
Pause – Indicates that the Link Partner pause bit is set.
100Base-T4 – Though the RTL8208 does not support the T4 function, this bit reflects this ability of the Link Partner.
100Base-TX-FD – This bit indicates that the Link Partner can support 100Base-TX full duplex mode. This bit is cleared any
time Auto-negotiation is restarted or the RTL8208 is reset.
100Base-TX – This bit indicates that the Link Partner can support 100Base-TX half duplex mode. This bit is cleared any time
2001/01/07
17
Rev.1.923
RTL8208
Auto-negotiation is restarted or the RTL8208 is reset.
10Base-T-FD – This bit indicates that the Link Partner can support 10Base-T full duplex mode. This bit is cleared any time
Auto-negotiation is restarted or the RTL8208 is reset.
10Base-T – This bit indicates that the Link Partner can support 10Base-T half duplex mode. This bit is cleared any time
Auto-negotiation is restarted or the RTL8208 is reset.
Selector Field – Bits 4:0 reflect the value of the Link Partner’s selector field. These bits are cleared any time Auto-negotiation is
restarted or the chip is reset, and generally reflect the value of 0001, indicating that the Link Partner is an 802.3 device.
6.7 Register6: Auto-Negotiation Expansion
Reg. bit
6.[15:5]
6.4
6.3
6.2
6.1
6.0
Name
Reserved
Parallel Detection
Fault
Link Partner Next
Page Able
Local Next Page
Able
Page Received
Link Partner AutoNegotiation Able
Description
1=A fault has been detected via the Parallel Detection function.
0=No fault has been detected via the Parallel Detection function.
1= Link Partner is Next Page able.
0= Link Partner is not Next Page able.
1= RTL8208 is Next Page able.
0= RTL8208 is not Next Page able. (permanently=0)
1= A New Page has been received.
0= A New Page has not been received.
If Auto- Negotiation is enabled, this bit means:
1= Link Partner is Auto-Negotiation able.
0= Link Partner is not Auto-Negotiation able.
In 100FX or Nway disabled, this bit always =1.
Mode
RO
RO
Default
0
0
RO
0
RO
0
RO/LH
0
RO
0
(AutoNegotiation)
or
1 (100FX)
Reserved – Ignore the output of the RTL8208 when these bits are read.
Parallel Detection Fault – Bit 4 is a read-only bit that gets latched high when a parallel detection fault occurs in the
Auto-negotiation state machine. For further details, please consult the IEEE standard. The bit is reset to ‘0’ after the register is
read, or when the chip is reset.
Link Partner Next Page Able – Bit 3 returns a ‘1’ when the Link Partner has Next Page capabilities. It has the same value as bit
15 of the Link Partner Ability Register.
Local Next Page Able – The RTL8208 does not have Next Page capabilities, so it will always return a ‘0’ when bit 2 is read.
Page Received – Bit 1 is latched high when a new link code word is received from the Link Partner, checked and acknowledged.
This bit is cleared when the link is lost or the chip is reset.
Link Partner Auto-Negotiation Able – Bit 0 returns a ‘1’ when the Link Partner is known to have Auto-negotiation capabilities.
Before any Auto-negotiation information is exchanged, or if the Link Partner does not comply with IEEE Auto-negotiation, the
bit returns a value of ‘0’.
2001/01/07
18
Rev.1.923
RTL8208
7. Functional Description
7.1 General
7.1.1 SMI (Serial Management Interface)
SMI (Serial Management Interface) is also known as MII Management Interface, which consists of two signals, MDIO and
MDC; allowing the MAC controller to control and monitor the state of the PHY. MDC is a clock input for PHY to latch MDIO on
its rising edge. The clock can run from DC to 25MHz. MDIO is a bi-directional connection used to write data to, or read data
from PHY. The PHY address base is set by pins PHY_ADDR[4:3] and eight ports addresses of RTL8208 are internally
000,001,010,011,100,101,110,and 111.
SMI Read/Write Cycles
Preamble
(32 bits)
Read
1……..1
Write
1……..1
Start
(2 bits)
01
01
OP Code
(2 bits)
10
01
PHYAD
(5 bits)
AAAAA
AAAAA
REGAD
(5 bits)
RRRRR
RRRRR
TurnAround
(2 bits)
Z0
10
Data
(16 bits)
D…….D
D…….D
Idle
Z*
Z*
*Z: high-impedance. During idle time, MDIO state is determined by an external 1.5KΩ pull-up resistor.
The RTL8208 supports Preamble Suppression, which allows the MAC to issue Read/Write Cycles without preamble bits (but
needs at least one Idle for every cycle). However, for the first MII management cycle after power-on reset, a 32-bit preamble is
needed. To guarantee the first successful SMI transaction after power-on reset, the MAC should be delayed at least 700us to issue
the first SMI Read/Write Cycle relative to the rising edge of reset.
7.1.2 Port Pair Loop Back Mode (PP-LPBK)
PP-LPBK mode is enabled by pulling pin 81 high on reset. When in PP-LPBK mode, the ports of the RTL8208 is configured as
four pairs, port0 & port1, port2 & port3, port4 & port5, and port 6 & port7. Each pair are set as RMII interface loop back, acting
like a signal regeneration /transformation repeater, so a switch controller is not necessary.
In PP-LPBK mode, TP port and FX port selection is different from that in normal mode. The TP and FX port selection
configuration is as follows:
For this table, “U” means UTP port, “F” means Fiber port.
PP-LPBK
SEL_TXFX[1:0]
mode
(Pin 99,107)
Port0, Port1
(Pin 81)
0
00
U
U
(normal mode)
01
U
U
10
U
U
11
F
F
1
00
U
U
(PP-LPBK)
01
U
U
10
U
F
11
F
F
Port2, Port3
U
U
U
F
U
U
U
F
U
U
U
F
U
U
F
F
Port4, Port5
U
U
U
F
U
U
U
F
U
U
U
F
U
F
F
F
Port6, Port7
U
U
F
F
U
U
U
F
U
F
F
F
U
F
F
F
Since this configuration is a loop back mode, it uses Full duplex only, and Half duplex is not supported. The loop-back-pair ports
should be configured as the same Speed. Although this mode does not effect normal N-Way mode, in order to keep in the same
speed for each pair’s two ports, there is an auto-detection scheme. This scheme specifies that if one port of the pair is already
linked, when the other port is linked later, the earlier link-on port will re-start Auto-negotiation, trying to keep the two ports
linked at the same speed. When PP-LPBK mode is set, there are three requirements: It must be based upon RMII mode; no
switch controller is connected; and TX_EN[7:0] is pulled down.
2001/01/07
19
Rev.1.923
RTL8208
7.1.3 PHY Address
Each transceiver in the RTL8208 will have a unique PHY address for MII management. The address will be set through the PHY
address pins. The pins are latched at the trailing end of a reset. Transceiver 1 will have the address AA000, where AA=PHYAD
[4:3]. Each internal PHY address is AA000, AA001, AA010, AA011, AA100, AA101, AA110, AA111. Every time an SMI
write or read operation is executed, the transceiver compares the PHY address with its own PHY address definition, and the
operation is executed only when the addresses match.
7.1.4 Auto-Negotiation
For 100/10 TP port, the RTL8208 default setup is Auto-Negotiation enabled. Setting Register 0.12=0 by an SMI write can
disable Auto-Negotiation. For a 100FX port, Auto-Negotiation is always disabled.
For an Auto-Negotiation enabled port, the RTL8208 will negotiate with its link partner to determine the speed and duplex status.
The RTL8208’s ability is advertised in Register 4, and , after Auto-Negotiation is finished, the link partner’s ability will be
stored in Register 5.
If the link partner is Auto-Negotiation disabled, the RTL8208 enters a parallel-detection state to identify the speed of the link
partner. The RTL8208 will link in the same speed as link partner, but in half duplex mode.
Auto-Negotiation is also used to determine Full-duplex flow control. flow control ability is advertised in Register 4.10. The link
partner’s flow control ability is stored in Register 5.10. See the following section for more information.
7.1.5 Full-Duplex Flow Control
If hardware pin TP_pause or 100FX_pause are enabled at power-on reset, Register 5.10=1 and Register 4.10=1. Therefore, after
reset is completed:
When Auto-Negotiation is enabled, Register 4.10 may be overwritten by the MAC, and Register 5.10 may be updated after
N-Way has completed and, Register 5.10 is set as read only for the MAC.
When Auto-Negotiation is disabled, Register 5.10 is set to R/W for the MAC through the SMI interface. If the SMI does not
write to Register 5.10, it is still Register 5.10=1, which means hardware forced flow control is enabled.
7.2 Initialization and Setup
7.2.1 Reset
The RTL8208 is initialized while in a reset state. During reset, each transceiver will be reset simultaneously. There are 3 ways to
reset the RTL8208: Power-on auto reset; hardware pin reset; and software reset. The internal power-on auto reset circuit can reset
the chip while the reset pin (pin47) is floating. The hardware reset signal must be asserted to pin 47, RESET#, low for at least
100ms. A software reset is implemented by writing Register 0.15=1, which is self clearing.
7.2.2 Setup and configuration
The operational modes of the RTL8208 can be configured either by hardware pin (pulled high or low) upon reset or by software
programming via accessing the RTL8208 registers through the SMI. Refer to the pin and register description sections.
7.3 10Base-T
7.3.1 Transmit Function
When TX_EN is active, TXD from RMII/SMII/SS-SMII is serialized, Manchester-encoded, and driven into the network
medium as a packet stream. An on-chip filtering and wave shaping circuit eliminates the need for external filtering. The transmit
function is disabled when the link has failed or when Auto-negotiation proceeds.
2001/01/07
20
Rev.1.923
RTL8208
7.3.2 Receive Function
The Manchester decoder converts the incoming serial stream when the circuit detects the signal , and the digital serial stream is
then converted to 2-bit (RMII) or 1-bit (SMII/SS-SMII) data format. The preamble of the incoming stream is stripped off and
regenerated. SFD is generated into RXD once the incoming SFD is detected and data bits entering the elastic buffer are over
threshold.
7.3.3 Link Monitor
The 10Base-T link pulse detection circuit constantly monitors the RXIP/RXIN pins for the presence of valid link pulses.
Auto-polarity is implemented for correcting the detected reverse polarity of the RXIP/RXIN signal pairs.
7.3.4 Jabber
Jabber occurs when TX_EN is asserted over 21ms. Both transmit and loopback functions are disabled once jabber occurs. The
MII Register 1.1 (Jabber detect) bit is set high until jabber disappears and the bit is read again. The Jabber function is supported
in 10-Base-T only, and is not implemented in 100Base-TX. The collision LED of the corresponding port will blink while Jabber
occurs. Jabber is dismissed after TX_EN remains low for at least 500ms.
7.3.5 Loopback
Loopback mode can be achieved by writing to Register 0.14=1. Loopback mode routes transmitted data at the output of NRZ to
the NRZI conversion module, back to the receiving path. This mode is used to check all the device’s connection at the 5-bit
symbol bus, and verify the operation of the phase locked loop.
7.4 100Base-TX
An internal 125MHz clock is generated by an on-chip PLL circuit to synchronize the transmit data or generate the clock signal
for the incoming data stream.
7.4.1 Transmit Function
Upon detection of TX_EN high, the RTL8208 converts RMII/SMII/SS-SMII TXD to 5 bit code-group and substitutes J/K
code-groups for the first 2 code-groups, which are called Start of Stream Delimiter (SSD). 4B5B coding continues for all of the data
as long as TX_EN is asserted high. At the end of TX_EN, T/R code-groups are appended to the last data field, which will be
stripped off at the remote receiving side. During the inter-packet gap, where TX_EN deasserted, IDLE code-groups are transmitted
for the sake of clocking of the remote receiver. The 5-bit serial data stream after 4B5B coding is then scrambled as defined by the
TP-PMD Stream Cipher function to flatten the power spectrum energy such that EMI effects can be significantly reduced.
This multi-level signaling technology moves the power spectrum energy from high frequency to low frequency, which also
benefits EMI emission. Scrambling is not implemented in 100Base-FX.
7.4.2 Receive Function
The receive path includes a receiver composed of an adaptive equalizer and DC restoration circuits. These circuits compensate
for incoming distortion of the MLT-3 signal. An MLT-3 to NRZI, and NRZI to NRZ converter is used to convert analog signals
to digital bit-streams. A PLL circuit is also included to clock data bits exactly with minimum bit error rate. De-scrambler, 5B/4B
decoder and serial-to-parallel conversion circuits follow. CRS_DV is asserted no later than when the SSD
(Start-of-Stream-Delimiter) is detected within a few bits time (delay due to the elastic buffer as mentioned in the RMII section),
and ends toggling once the data in the elastic buffer has been dumped to RXD.
2001/01/07
21
Rev.1.923
RTL8208
Name
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
I
J
K
T
R
H
V
V
V
V
V
V
V
V
V
V
4B Code
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
0000*
0101*
0101*
0000*
0000*
1000
0111
0111
0111
0111
0111
0111
0111
0111
0111
0111
5B Code
11110
01001
10100
10101
01010
01011
01110
01111
10010
10011
10110
10111
11010
11011
11100
11101
11111
11000
10001
01101
00111
00100
00000
00001
00010
00011
00101
00110
01000
01100
10000
11001
Definition
Data 0
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
Data 9
Data A
Data B
Data C
Data D
Data E
Data F
Idle
Start of stream Delimiter, Part 1
Start of stream Delimiter, Part 2
End of stream Delimiter, Part 1
End of stream Delimiter, Part 2
Transmit Error (used to force signaling errors)
Invalid code
Invalid code
Invalid code
Invalid code
Invalid code
Invalid code
Invalid code
Invalid code
Invalid code
Invalid code
*Treated as an invalid code (mapped to 0111) when received in data field.
4B5B Encoding
7.4.3 Link Monitor
In 100Base-TX mode, receive signal energy is detected by monitoring the receive pair for transitions in the signal level.
Signal levels are qualified using squelch detect circuits. When no signal or valid signals are detected on the receive pair, the
link monitor will enter and remain in the “Link Fail” state where only idle codes will be transmitted. When a valid signal is
detected on the receive pair for a minimum period of time, the link monitor will enter the “Link Pass” state and the transmit
and receive functions will be enabled.
2001/01/07
22
Rev.1.923
RTL8208
7.4.4 Baseline Wander Compensation
The RTL8208 is ANSI TP-PMD compliant and supports input and Base Line Wander (BLW) compensation in 100Base-TX
mode. The RTL8208 does not require external attenuation circuitry at its receive inputs, RXIP/RXIN. It accepts TP-PMD
compliant waveforms directly, requiring only a 100Ω termination and a 1:1 transformer.
BLW is the change in the average DC content, over time, of an AC coupled digital transmission over a given transmission
medium. BLW is a result from the interaction between the low frequency components of a transmitted bit stream and the
frequency response of the AC coupling component(s) within the transmission system. If the low frequency content of the digital
bit stream goes below the low frequency pole of the AC coupling transformers, then the droop characteristics of the transformers
will dominate resulting in potentially serious BLW. If BLW is not compensated for, packet loss will occur.
7.5 100Base-FX
The RTL8208 can be configured into 100Base-FX mode through SEL_TXFX[1:0] (RPT_MODE should be 0). According to the
setting of SEL_TXFX[1:0], port 7 or port 6/7 or all eight ports can be configured to 100Base-FX operation.
RPT_MODE=0
SEL_TXFX[1:0] Port 0
2’b00
UTP
2’b01
UTP
2’b10
UTP
2’b11
FX
Port 1
UTP
UTP
UTP
FX
Medium type
Port2 Port3 Port4 Port5 Port6 Port7
UTP UTP UTP UTP UTP UTP
UTP UTP UTP UTP UTP
FX
UTP UTP UTP UTP
FX
FX
FX
FX
FX
FX
FX
FX
UTP: 10Base-T/100Base-TX,
FX: 100Base-FX.
Compared to common 100Base-FX applications, the RTL8208 lacks a pair of differential SD (signal detect) signals to achieve
its link monitoring function (patent), which significantly reduces the pin count in this octal PHY.
Any of the RTL8208 transceivers may interface with an external 100Base-FX fiber optic device and receiver instead of the
magnetics module used with twisted pair cable. The differential transmit and receive data pairs will operate at PECL voltage
levels instead of those required for twisted-pair transmission. The data will be encoded using two-level NRZI instead of
three-level MLT3. The data stream is not scrambled for fiber-optic transmission.
7.5.1 Transmit Function
In 100Base-FX transmission, TXD is processed as 100Base-TX, except without scrambling, before the NRZI stage. Instead of
converting to MLT-3 signals, as in 100Base-TX, the serial data stream is driven out as NRZI PECL signals, which enter the fiber
transceiver in differential-pairs form. The fiber transceiver should be available working in a 3.3V environment. Refer to the fiber
application section for more information.
PECL DC characteristics
Parameter
PECL Input High Voltage
PECL Input Low Voltage
PECL Output High Voltage
PECL Output Low Voltage
Symbol
Vih
Vil
Voh
Vol
Min
Vdd-1.16
Vdd-1.81
Vdd-1.02
Max
Vdd-0.88
Vdd-1.47
Vdd-1.62
Unit
V
V
V
V
7.5.2 Receive Function
Signals are received through PECL receiver inputs from the fiber transceiver, and directly passed to the clock recovery circuit for
data/clock recovery. The scrambler/descrambler is bypassed in 100Base-FX mode.
2001/01/07
23
Rev.1.923
RTL8208
7.5.3 Link Monitor
In 100Base-FX mode, if the RTL8208 receive path detects a valid link word, it enters the link state. If no valid link word is
detected, it is in a link down state. Therefore, SD+/- is not necessary. The RTL8208 uses a reduced 100Base-FX interface.
7.5.4 Far-End-Fault-Indication (FEFI)
The MII Register 1.4 (Remote Fault indication detected) is a FEFI bit when 100FX is enabled, which indicates FEFI has been
detected. FEFI is an alternative in-band signaling method which is composed of 84 consecutive ‘1’ followed by one ‘0’. From
the point of view of the RTL8208, once this pattern is detected 3 times, Register 1.4 is set, which means the transmit path
(Remote side’s receive path) has some problems.
On the other hand, if the RTL8208 detects no valid link pulse on RxOP/N pair, it sends out a FEFI stream pattern, which in turn
will cause the remote side to detect a Far-End-Fault indication. This means the RTL8208 sees problems on the receive path.
The FEFI mechanism is used only in 100Base-FX applications.
7.6 RMII/SMII/SS-SMII
The interface to the MAC can be RMII, SMII, or SS-SMII through MODE[1:0]. When floating MODE[1:0] upon power-on reset,
the RTL8208 operates in RMII mode (default).
MODE[1:0]
2’b1x
2’b00
2’b01
Operation Mode
RMII
SMII
SS-SMII
REFCLK Clock input
50MHz, 100ppm
125MHz, 100ppm
125MHz, 100ppm
Below illustrates the signals required for each interface:
RMII
REFCLK
CRS_DV[3:0]
CRS_DV[4]
CRS_DV[7:5]
RXD0[7:0]
RXD1[7:0]
TX_EN[3:0]
TX_EN[4]
TX_EN[7:5]
TXD0[7:0]
TXD1[7:0]
2001/01/07
SMII
REFCLK
SYNC
SS-SMII
REFCLK
TX_SYNC
RX_SYNC
RX_CLK
RXD0[7:0]
RXD0[7:0]
TX_CLK
TXD0[7:0]
TXD0[7:0]
24
Rev.1.923
RTL8208
7.6.1 RMII (Reduced MII)
The RTL8208 meets all of the RMII requirements outlined in the RMII Consortium specifications. The main advantage
introduced by RMII is pin count reduction; e.g., it operates with only one 50Mhz reference clock for both the TX and RX sides
without separate clocks needed for both paths, as with the MII interface. However, some hardware modification is needed for
this change, the most important and outstanding of which is the presence of an elastic buffer for absorption of the frequency
difference between the 50MHz reference clock and the clocking information of the incoming data stream. Another change
implemented is that the MII RXDV and Carrier_Sense are merged into one signal, CRS_DV, which is asserted high while
detecting incoming packet data. When internal Carrier_Sense de-asserted, CRS_DV is de-asserted when the first di-bit of a
nibble is presented onto RXD[1:0] synchronously to REFCLK. If there is still data in the FIFO that has not yet been presented
onto RXD[1:0], then on the second di-bit of a nibble CRS_DV reasserts. This pattern of assertion and de-assertion continues
until all received data in the FIFO has been presented onto RXD[1:0]
CRS_DV[7:0]
CRS_DV[7:0]
RXD0[7:0]
RXD0[7:0]
RXD1[7:0]
RTL8208
TX_EN[7:0]
TXD0[7:0]
RXD1[7:0]
8-port
MAC
RTL8208
X1
TXD1[7:0]
X1
REFCLK
X2
TX_EN[7:0]
TXD0[7:0]
8-port
MAC
TXD1[7:0]
REFCLK
25MHz
50MHz
oscillator
RMII Signal Diagram
50MHz Oscillator Solution
RMII Signal Diagram
25MHz Crystal Solution
7.6.2 SMII (Serial MII)
The RTL8208 also supports SMII interface to MAC, which allows a further reduction in the number of signals. As illustrated
below, both the MAC and RTL8208 are synchronous to a 125MHz reference clock.
SYNC
TXD0[7:0]
8-port
MAC
RTL8208
RXD0[7:0]
X1
REFCLK
125MHz
oscillator
SMII Signal Diagram
2001/01/07
25
Rev.1.923
RTL8208
Receive Path
Receive data and control information are signaled in 10-bit segments. SYNC signal is used to delimit the 10-bit segments. MAC
is responsible to generate these SYNC pulses every ten clocks. For 100Mbps mode, each segment represents a byte of data.
However, for 10Mbps mode, each segment is repeated ten times to represent a byte of data. The receive sequence contains all of
the information defined on the standard MII receive path.
RX_DV
CRS
X
0
X
1
RXD0
RXD1
RXD2
RXD3
RXER from
previous
frame
Speed
0 =10Mbps
1 =100Mbps
Duplex
0 = Half
1 = Full
Link
0 = Down
1 = Up
RXD4
RXD5
RXD7
RXD6
Jabber
Upper Nibble False Carrier
0 = OK
0 = OK
0 = Invalid
1 = Detected
1 = Detected
1 = Valid
1
One Data Byte (Two MII Data Nibbles)
SMII Reception Encoding
1
2
CRS
RXDV
3
4
5
6
7
RXD1
RXD2
RXD3
RXD4
8
9
10
REFCLK
SYNC
RXD[0]
RXD0
RXD5
RXD6
RXD7
SMII Reception
Transmit Path
Transmit data and control information are signaled in 10-bit segments. SYNC signal is used to delimit the 10-bit segments. MAC
is responsible to generate these SYNC pulses every ten clocks. For 100Mbps mode, each segment represents a byte of data.
However, for 10Mbps mode, each segment is repeated ten times to represent a byte of data.
TXER
TXEN
X
0
X
1
TXD0
TXD1
X
X
TXD2
TXD3
X
TXD4
X
TXD5
X
TXD6
X
X
TXD7
X
One Data Byte (Two MII Data Nibbles)
SMII Transmission Encoding
1
2
TX_ER
TX_EN
3
4
5
6
7
TXD1
TXD2
TXD3
TXD4
8
9
10
TXD6
TXD7
REFCLK
SYNC
TXD0
TXD5
SMII Transmission
Collision Detection
The RTL8208 does not indicate that a collision has occurred. It is left up to the MAC to detect the assertion of both CRS_DV and
TX_EN.
2001/01/07
26
Rev.1.923
RTL8208
7.5.3 SS-SMII (Source Synchronous -Serial MII)
Source-Synchronous SMII is designed for applications requiring a trace delay of more than 1ns. Three signals are added to the
SMII interface: RX_SYNC, RX_CLK, TX_CLK; and the SYNC of SMII is modified to TX_SYNC in SS-SMII.
TX_SYNC
TXD0[7:0]
TX_CLK
8-port
MAC
RX_SYNC
RTL8208
RXD0[7:0]
RX_CLK
X1
REFCLK
125MHz
oscillator
SS-SMII Signal Diagram
Receive Path
Receive data and control information are signaled in 10-bit segments. RX_SYNC signal is used to delimit the 10-bit segments.
RTL8208 is responsible to generate these RX_SYNC pulses every ten clocks. For 100Mbps mode, each segment represents a
byte of data. However, for 10Mbps mode, each segment is repeated ten times to represent a byte of data. The receive sequence
contains all of the information defined on the standard MII receive path.
1
2
CRS
RXDV
3
4
5
6
RXD1
RXD2
RXD3
7
8
9
10
RX_CLK
RX_SYNC
RXD[0]
RXD0
RXD4
RXD5
RXD6
RXD7
SS-SMII Reception
Transmit Path
Transmit data and control information are signaled in 10-bit segments. TX_SYNC signal is used to delimit the 10-bit segments.
MAC is responsible to generate these TX_SYNC pulses every ten clocks. For 100Mbps mode, each segment represents a byte of
data. However, for 10Mbps mode, each segment is repeated ten times to represent a byte of data. The receive sequence contains
all of the information defined on the standard MII receive path. The PHY can sample one of the ten segments.
1
2
TX_ER
TX_EN
3
4
5
6
7
TXD3
TXD4
8
9
10
TXD6
TXD7
TX_CLK
TX_SYNC
TXD[0]
TXD0
TXD1
TXD2
TXD5
SS-SMII Transmission
Collision Detection
The RTL8208 does not indicate that a collision has occurred. It is left up to the MAC to detect the assertion of both CRS_DV and
TX_EN.
2001/01/07
27
Rev.1.923
RTL8208
7.7 Power Saving and Power Down Mode
7.7.1 Power Saving Mode
The RTL8208 implements a power saving mode on a per port basis. One port automatically enters power saving mode 10
seconds after the cable is disconnected from it, regardless of whether the RTL8208’s operation mode is Nway or Force mode.
Once one port enters power saving mode, it transmits normal link pulses only on its TXOP/TXON pins and keeps monitoring
RXIP/RXIN to try to detect any incoming signals , which might be 100Base-TX MLT-3 idle pattern, 10Base-T link pulses or
Nway’s FLP (fast link pulses). After it detects any incoming signals, it wakes up from the power saving mode and operates in the
normal mode according to the result of the connection.
Power saving mode is not supported when in 100FX operation.
7.7.2 Power Down Mode
Setting Register 0.11through the SMI interface forces the corresponding port of the RTL8208 to enter power down mode, which
disables all transmit/receive functions and RMII functions on that port, except SMI (MDC/MDIO management interface).
7.8 LED Configuration
The RTL8208 supports serial LED status streams for LED display. The forms of LED status streams, as shown below, are
controlled by LEDMODE[1:0] pins, which are latched upon reset. All LED statuses are represented as active-low, except
Link/Act in Bi-color LED mode, whose polarity depends on Spd status.
LEDMODE[1:0]
Mode
Output sequences
00
3-bit serial stream
Col/Fulldup, Link/Act, Spd
01
2-bit serial stream
Spd,
Link/Act
10
3-bit for Bi-color LED Col/Fulldup, Link/Act, Spd
LED Statuses
Col/Fulldup
Link/Act
Spd
Description
Col, Full duplex Indicator. Blinking every 43ms when collision
happens. Low for full duplex, and high for half duplex mode.
Link, Activity Indicator. For 3-bit serial stream mode, low for link
established. For 3-bit Bi-color LED mode, Link/Act is high for link
established when speed is low (100Mb/s); Link/Act is low for link
established when speed is high (10Mb/s). Link/Act Blinks every
43ms when the corresponding port is transmitting or receiving.
Speed Indicator. Low for 100Mb/s, and high for 10Mb/s.
7.8.1 LED Blinking Time
LED blinking time can be set to 120ms by setting LED_BLNK_TIME=0. The LED statuses supporting 43/120ms blinking time
are Col/Fulldup, Link/Act. For status Link/Act/Spd, the LED blinking time is not affected by LED_BLNK_TIME.
2001/01/07
28
Rev.1.923
RTL8208
7.8.2 Serial Stream Order
Every bit stream is output port by port, from port0 to port7 with Col/Fulldup as the first bit in a port stream. For 2-bit serial stream
mode, the sequence is Spd, then Link/Act. The following diagrams illustrate the sequences in 3-bit and 2-bit serial stream mode.
2.56 us
LEDCLK
LEDDTA
2.56 us
1
Col/Dup
2.56 us
2
Link/Act
2.56 us
3
Spd
Port 0 3-bit serial stream
2.56 us
19
20
Col/Dup
Link/Act
2.56 us
21
Spd
Port 6 3-bit serial stream
2.56 us
2.56 us
22
23
Col/Dup
Link/Act
2.56 us
24
Spd
Port 7 3-bit serial stream
3-Bit Serial Stream Mode
2.56 us
LEDCLK
LEDDTA
2.56 us
1
Spd
2.56 us
2.56 us
2
2.56 us
13
Spd
Link/Act
Port 0 2-bit
serial stream
14
Link/Act
Port 6 2-bit
serial stream
2.56 us
15
Spd
2.56 us
16
Link/Act
Port 7 2-bit
serial stream
2-Bit Serial Stream Mode
VDD
LEDDTA
LEDCLK
QA
QB
QC
CLK
74164 QD
VDD
QE
QF
B
QG
QH
CLR
port 7 Spd LED
port 7 Link/Act LED
port 7 Col/Dup LED
port 6 Spd LED
port 6 Link/Act LED
port 6 Col/Dup LED
port 5 Spd LED
port 5 Link/Act LED
QA
QB
QC
CLK
74164 QD
VDD
QE
QF
B
QG
QH
CLR
port 5 Col/Dup LED
port 4 Spd LED
port 4 Link/Act LED
port 4 Col/Dup LED
port 3 Spd LED
port 3 Link/Act LED
port 3 Col/Dup LED
port 2 Spd LED
QA
QB
QC
CLK
QD
74164
VDD
QE
QF
B
QG
QH
CLR
port 2 Link/Act LED
port 2 Col/Dup LED
port 1 Spd LED
port 1 Link/Act LED
port 1 Col/Dup LED
port 0 Spd LED
port 0 Link/Act LED
port 0 Col/Dup LED
A
A
A
External circuit for 3-bit serial LED mode
2001/01/07
29
Rev.1.923
RTL8208
VDD
LEDDTA
LEDCLK
QA
QB
QC
CLK
QD
74164
VDD
QE
QF
B
QG
QH
CLR
port 7 Link/Act LED
port 7 Spd LED
port 6 Link/Act LED
port 6 Spd LED
port 5 Link/Act LED
port 5 Spd LED
port 4 Link/Act LED
port 4 Spd LED
QA
QB
QC
CLK
QD
74164
VDD
QE
QF
B
QG
QH
CLR
port 3 Link/Act LED
port 3 Spd LED
port 2 Link/Act LED
port 2 Spd LED
port 1 Link/Act LED
port 1 Spd LED
port 0 Link/Act LED
port 0 Spd LED
A
A
External circuit for 2-bit serial LED mode
7.8.3 Bi-Color LED
For 3-bit Bi-color LED mode, Link/Act and Spd are used for one Bi-color LED package, which is a single LED package with
two LEDs connected in parallel with opposite polarities.
Yellow
Spd
0
0
1
Link/Act
Indication
Bi-Color state
0
No Link
Off
1
100Mb/s Link up Green
0
10Mb/s Link up
Yellow
Link/Act
Spd
Green
2001/01/07
30
Rev.1.923
RTL8208
7.9 2.5V Power Generation
The RTL8208 uses a PNP transistor to generate 2.5V from the 3.3V power supply. This 2.5V provides for digital core and analog
receive circuits. Once your system needs more than one RTL8208 chip (greater than 8 ports), do not use one PNP transistor for
all of the RTL8208 chips even if the rating is enough. Instead, use one transistor for each RTL8208.
Do not connect any beads directly between the collector of PNP transistor and VDDAL. This will affect the stability of the 2.5V
power significantly if the bead exists.
3.3V
RTL8208
3.3V
VDDAH
VDDAH: 3.3V
VDDAL: 2.5V
2SB1197K
Ic(max.)=800mA
VCTRL
VDDAL
2.5V
0.1uF
47uF
Using a PNP Transistor to Produce 2.5V
The power transistor is a 2SB1197K, and follows the following specifications.
Absolute maximum ratings (Ta=25°C)
Parameter
Symbol
Collector-base voltage
VCBO
Collector-emitter voltage
VCEO
Emitter-base voltage
VEBO
Collector current
IC
Collector power dissipation
PC
Junction temperature
Tj
Storage temperature
Tstg
For more information, refer to http://www.rohm.com
2001/01/07
Limits
-40
-32
-5
-0.8
0.2
150
-55~+150
31
Unit
V
V
V
A(DC)
W
°C
°C
Rev.1.923
RTL8208
8. Design and Layout Guide
In order to achieve maximum performance for the RTL8208, good design attention is required throughout the design and layout
process. The following recommendations can help to implement a high performance system.
8.1 General Guidelines
• Create a good power source, minimizing noise from switching power supply circuits.
• Verify the quality of the components, such as clock source and transformer, to meet the application requirements.
• Keep power and ground noise levels below 150mV.
• Use bulk capacitors (4.7uF-10uF) between the power and ground planes.
• Use 0.1uF decoupling capacitors to reduce high-frequency noise on the power and ground planes.
• Keep decoupling capacitors as close as possible to the RTL8208 power pins.
• Provide termination for all TXOP/N and RXIP/N.
8.2 Differential Signal Layout Guidelines
• Keep differential pairs as close as possible and route both traces as identically as possible.
• Avoid vias and layer changes if possible.
• Keep the different pairs away from each other.
8.3 Clock Circuit
• The clock should be 25M/50MHz/125MHz 100ppm with jitter less than 0.5ns.
• If use 50MHz or 125MHz as clock source, make the length of clock path to RTL8208 equal to the length to MAC as possible.
The length difference should under 1 inch.
• If use 50MHz, please put a damping resistor at clock source side.
• If possible, make clock trace smooth, strait, and surrounded by ground traces to minimize high-frequency emissions.
8.4 2.5V power
• Do not connect a bead directly between the collector of the PNP transistor and VDDAL. This will affects the stability of the
2.5V power significantly if a bead exists.
• Use a bulk of capacitor (4.7uF-10uF) between the collector of PNP transistor and ground plane.
• Do not use one PNP transistor for more than one RTL8208 chip, even if the rating is enough. Use one transistor for each
RTL8208.
8.5 Power Planes
• If the layout board size is small, it is better not to divide the power plane into digital and analog power planes.
• Use 0.1uF decoupling capacitors and bulk capacitors between power plane and ground plane.
8.6 Ground Planes
• If the layout board size is small, keep the system ground region as one continuous, unbroken plane.
• Place a moat (gap) between the system ground and chassis ground.
• For better ESD test performance, please use iron case, and put screw to connect frame ground to iron case.
8.7 Transformer Options
• The magnetics support 1:1 turn ratio on both the transmit and receive paths are valid for RTL8208. There are many vendors
improving their magnetics design to meet this requirement, and several are listed below.
Vendor
Pulse
Magnetic 1
Model
H1164
ML164
Vendor
BothHand
GTS
Model
40ST1041AX
FC-638L
• The center-tap of the primary side of the transformer should not be connected to ground with capacitors, because of the
RTL8208’s special design.
2001/01/07
32
Rev.1.923
RTL8208
9. Application information
9.1 10Base-T/100Base-TX Application
RXIP
RXIN
Pulse H1164
1:1
50Ω
1%
50Ω
1%
RJ45
1
0.1uF
2
3
RTL8208
4
TXOP
5
50Ω
1%
1:1
50Ω
1%
6
7
0.1uF
8
TXON
IBREF
75Ω ∗ 3
1.96ΚΩ, 1%
0.1uF/3KV
Chasis GND
10Base-T/100Base-TX Diagram
The Central Tap in the primary side of H1164 must be left floating, and cannot be bypassed to GND via capacitor.
2001/01/07
33
Rev.1.923
RTL8208
9.2 100Base-FX Application
(3.3V fiber transceiver)
VCC_RX (3.3V)
82Ω
RXIP
82Ω
130Ω
RXIN
DELTA
OPT-155A2H1
1*9 SC Duplex FDDI
Fast Ethernet Optical
Transceiver Module
1 GND_RX
130Ω
2 RD+
RTL8208
3 RD4 SD
VCC_TX (3.3V)
VCC_RX (3.3V)
VCC_TX (3.3V)
82 Ω
5 VCC_RX
6 VCC_TX
7 TD-
TXON
82 Ω
130 Ω
8 TD+
9 GND_TX
TXOP
130 Ω
IBREF
Chasis GND
1.96ΚΩ, 1%
100Base-FX Application (3.3V Fiber Transceiver)
2001/01/07
34
Rev.1.923
RTL8208
10. Electrical Characteristics
10.1 Absolute Maximum Ratings
WARNING: Absolute maximum ratings are limits beyond which may cause permanent damage to the device or affect device
reliability. All voltages are specified reference to GND unless otherwise specified.
Parameter
Minimum
Maximum
Units
Storage Temperature
-55
+150
°C
Vcc Supply Referenced to GND
-0.5
+4.0
V
Digital Input Voltage
-0.5
VDD
V
DC Output Voltage
-0.5
VDD
V
10.2 Operating Range
Parameter
Ambient Operating Temperature(Ta)
3.3V Supply Voltage Range(VDDAH)
2.5V Supply Voltage Range(VDDAL,VDD)
Minimum
0
3.15
2.375
Maximum
+70
3.45
2.625
Units
°C
V
V
10.3 DC Characteristics
Parameter
Power Supply Current for
2.5V
Power Supply Current for
3.3V
Total Power Consumption
for all 8 ports
TTL Input High Voltage
TTL Input Low Voltage
TTL Input Current
TTL Input Capacitance
Output High Voltage
Output Low voltage
2001/01/07
Symbol
Conditions
Icc
10 Base-T, idle
10 Base-T, Peak continuous 100% utilization
100 Base-TX, idle
100 Base-TX, Peak continuous 100% utilization
Power saving
Power down
Icc
10 Base-T, idle
10 Base-T, Peak continuous 100% utilization
100 Base-TX, idle
100 Base-TX, Peak continuous 100% utilization
Power saving
Power down
PS
10 Base-T, idle
10 Base-T, Peak continuous 100% utilization
100 Base-TX, idle
100 Base-TX, Peak continuous 100% utilization
Power saving
Power down
Vih
Vil
Iin
Cin
Voh
Vol
35
Min
Typical
Max
81.2
88.9
125.5
145.7
76.7
15.5
88.5
499.2
370.7
371.3
48.1
3.3
495
1870
1537
1590
350
50
mA
mW
1.5
1.0
10
-10
3
2.25
0
Units
mA
2.75
0.25
V
V
uA
pF
V
V
Rev.1.923
RTL8208
Parameter
Output Tristate Leakage
Current
TX+/- Output Current High
TX+/- Output Current Low
TX+/- Output Current High
TX+/- Output Current Low
SYM
|IOZ|
Conditions
Transmitter, 100Base-TX (1:1 Transformer Ratio)
IOH
IOL
Transmitter, 10Base-T(1:1 Transformer Ratio)
IOH
IOL
Receiver, 100Base-TX
Min
Typical
Max
10
Units
uA
20
mA
uA
50
mA
uA
0
0
RX+/- Common-mode input
voltage
RX+/- Differential input
resistance
1.6
V
20
kΩ
20
340
kΩ
mV
Receiver, 10BaseT
Differential Input Resistance
Input Squelch Threshold
10.4 AC Characteristics
Parameter
SYM
Differential Output Voltage,
peak-to-peak
Differential Output Voltage
Symmetry
Differential Output
Overshoot
Rise/Fall time
Rise/Fall time imbalance
VOD
VOS
VOO
tr ,tf
2001/01/07
Typical
Max
Units
1.938
V
99.3
%
Percent of Vp+ or Vp-
3.29
%
10-90% of Vp+ or Vp-
4.3/3.4
910
ns
ps
±175
ps
1.0
ns
4.27
V
VOD
Deviation from best-fit time-grid, 010101 …
Sequence
Idle pattern
Transmitter, 10Base-T
50Ω from each output to Vcc, all pattern
10.5
Ecm
Period of time from start of TP_IDL to link
pulses or period of time between link pulses
Peak output current on TD short circuit for 10
seconds.
Return loss from 5MHz to 10MHz for reference
resistance of 100 Ω.
Terminate each end with 50Ω resistive load.
Return loss from 5MHz to 10MHz for reference
resistance of 100Ω.
dB below fundamental, 20 cycles of all ones data
TP_IDL width
14
Timing jitter
TD Short Circuit Fault
Tolerance
TD Differential Output
Impedance (return loss)
TD Common-Mode Output
Voltage
Transmitter Output Jitter
RD Differential Output
Impedance (return loss)
Harmonic Content
Start-of-idle Pulse width
Min
|tr - tf|
Duty Cycle Distortion
Differential Output Voltage,
peak-to-peak
TP_IDL Silence Duration
Conditions
Transmitter, 100Base-TX
50Ω from each output to Vcc, Best-fit over 14 bit
times
50Ω from each output to Vcc, |Vp+|/|Vp-|
36
15.75
ms
mA
12.4
25.5
dB
mV
25
ns
dB
dB
ns
Rev.1.923
RTL8208
10.5 Digital Timing Characteristics
Parameter
Active TX_EN Sampled to
first bit of “J on MDI output
Inactive TX_EN Sampled
to first bit of “T on MDI
output
TX Propagation Delay
First bit of “J on MDI input
to CRS_DV assert
First bit of “T on MDI input
to CRS_DV de-assert
RX Propagation Delay
TX Propagation Delay
TX_EN to MDI output
SYM
tTXpd
tRXpd
tTXpd
Typical
Max
Units
11
12
Bits
15
16
Bits
From TXD[1:0] to TXOP/N
100Base-TX Receive System Timing
From RXIP/N to CRS_DV
11
12
Bits
6
8
Bits
From RXIP/N to CRS_DV
16
18
Bits
From RXIP/N to RXD[1:0]
10Base-T Transmit System Timing
From TXD[1:0] to TXOP/N
From TX_EN assert to TXOP/N
10Base-T Receive System Timing
Preamble on RXIP/N to CRS_DV asserted
TP_IDL to CRS_DV de-asserted
15
17
Bits
5
5
6
6
Bits
Bits
9
Bits
Bits
9
12
Bits
43
43
120
120
ms
ms
80
80
ms
ms
Conditions
100Base-TX Transmit System Timing
Carrier Sense Turn-on delay tCSON
tCSOFF
Carrier Sense Turn-off
Delay
tRXpd From RXIP/N to RXD[1:0]
RX Propagation Delay
LED timing
tLEDon While LED blinking
LED On Time
tLEDoff While LED blinking
LED Off Time
Jabber timing (10Base-T only)
Jabber Active
From TX_EN=1 to Jabber asserted
Jabber de-assert
From TX_EN=0 to Jabber de-asserted
RMII Timing
TXD, TX_EN Setup time
TXD [1:0], TX_EN to REFCLK rising edge
setup time
TXD, TX_EN Hold time
TXD [1:0], TX_EN to REFCLK rising edge hold
time
RXD, CRSDV, RXER to
Output delay from REFCLK rising edge to RXD
REFCLK delay
[1:0], CRSDV, RXER
SMII Timing
TXD, SYNC Setup time
TXD, SYNC to REFCLK rising edge setup time
TXD, SYNC Hold time
TXD SYNC to REFCLK rising edge hold time
RXD, to REFCLK delay
Output delay from REFCLK rising edge to RXD
SMI Timing
MDC
MDC clock rate
MDIO Setup Time
Write cycle
MDIO Hold Time
Write cycle
MDIO output delay relative
Read cycle
to rising edge of MDC
2001/01/07
37
Min
12
8
60
60
70
2
ns
2
ns
4
ns
2
2
2.5
ns
ns
ns
3.5
25
10
10
10
MHz
ns
ns
ns
Rev.1.923
RTL8208
10.6 Thermal Data
Parameter
Thermal resistance: junction to
ambient,
0 ft/s airflow
Thermal resistance: junction to
case,
0 ft/s airflow
2001/01/07
SYM
θja
Conditions
4 layers PCB, ambient temperature 25°C
θjc
4 layers PCB, ambient temperature 25°C
38
Min
Typical
38.2
Max
Units
°C/W
°C/W
Rev.1.923
RTL8208
11. Mechanical Dimensions
Symbol
A
A1
A2
b
c
D
E
e
HD
HE
L
L1
Y
Θ
Dimension in inch
Min Typical Max
0.134
0.004 0.010 0.036
0.102 0.112 0.122
0.005 0.009 0.013
0.002 0.006 0.010
0.541 0.551 0.561
0.778 0.787 0.797
0.010 0.020 0.030
0.665 0.677 0.689
0.902 0.913 0.925
0.027 0.035 0.043
0.053 0.063 0.073
0.004
0°
12°
2001/01/07
Dimension in mm
Min Typical Max
3.40
0.10 0.25 0.91
2.60 2.85 3.10
0.12 0.22 0.32
0.05 0.15 0.25
13.75 14.00 14.25
19.75 20.00 20.25
0.25
0.75
0.5
16.90 17.20 17.50
22.90 23.20 23.50
0.68 0.88 1.08
1.35 1.60 1.85
0.10
0°
12°
1. Dimension D & E do not include interlead flash.
2. Dimension b does not include dambar protrusion/intrusion.
3. Controlling dimension : Millimeter
4. General appearance spec. should be based on final visual
inspection spec.
TITLE : 128 QFP (14x20 mm ) PACKAGE OUTLINE
-CU L/F, FOOTPRINT 3.2 mm
LEADFRAME MATERIAL :
APPROVE
DOC. NO. 530-ASS-P004
VERSION
1
PAGE
OF
CHECK
DWG NO.
Q128 - 1
DATE
Oct. 08 1998
REALTEK SEMI-CONDUCTOR CO., LTD
39
Rev.1.923
RTL8208
Realtek Semiconductor Corp.
Headquarters
1F, 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: www.realtek.com.tw
2001/01/07
40
Rev.1.923