KSZ8041NL/RNL
10Base-T/100Base-TX
Physical Layer Transceiver
Data Sheet Rev. 1.4
MicroLeadFrame and MLF are registered trademarks of Amkor Technology, Inc.
Micrel Inc. • 2180 Fortune Drive • San Jose, CA 95131 • USA • tel +1 (408) 944-0800 • fax + 1 (408) 474-1000 • http://www.micrel.com
September 2010 M9999-090910-1.4
General Description
The KSZ8041NL is a single supply 10Base-T/100Base-TX
Physical Layer Transceiver, which provides MII/RMII
interfaces to transmit and receive data. A unique mixed
signal design extends signaling distance while reducing
power consumption.
HP Auto MDI/MDI-X provides the most robust solution for
eliminating the need to differentiate between crossover
and straight-through cables.
The KSZ8041NL represents a new level of features a nd
performance and is an ideal choice of physical layer
transceiver for 10Base-T/100Base-TX applications.
The KSZ8041RNL is an enhanced RMII version of the
KSZ8041NL that does not require a 50MHz system clock.
It uses a 25MHz crystal for its input reference clock and
outputs a 50MHz RMII reference clock to the MAC.
The KSZ8041NL and KSZ8041RNL are available in 32-
pin, lead-free MLF® (QFN per JDEC) packages (See
Ordering Information).
Data sheets and support documentation can be found on
Micrel’s web site at: www.micrel.com.
Functional Diagram
KSZ8041NL KSZ8041RNL
Micrel, Inc. KSZ8041NL/RNL
September 2010 2 M9999-090910-1.4
Features
Single-chip 10Base-T/100Base -TX physical layer
solution
Fully compliant to IEEE 802.3u Standard
Low power CMOS design, power consumption of
<180mW
HP auto MDI/MDI-X for reliable detection and
correction for strai ght-through and crossover cables
with disable and enable option
Robust operation over sta ndard cables
Power down and power saving modes
MII interface support (KSZ8041NL only)
RMII interface support with external 50MHz system
clock (KSZ8041NL only)
RMII interface support with 25MHz crystal/clock input
and 50MHz reference clock output to MAC
(KSZ8041RNL only)
MIIM (MDC/MDIO) manageme nt bus to 6.25MHz for
rapid PHY register configuration
Interrupt pin option
Programmable LED outputs for link, activity and
speed
ESD rating (6kV)
Single power supply (3.3V)
Built-in 1.8V regulator for core
Available in 32-pin (5mm x 5mm) MLF® package
Applications
Printer
LOM
Game Console
IPTV
IP Phone
IP Set-top Box
Ordering Information
Part Number Temperature Range Package Lead Finish Description
KSZ8041NL 0°C to 70°C 32-Pin MLF® Pb-Free MII / RMII, Commercial Temperature
KSZ8041NLI (1) 40°C to 85°C 32-Pin MLF® Pb-Free MII / RMII, Industrial Temperature
KSZ8041NL AM(1) 40°C to 85°C 32-Pin MLF® Pb-Free MII / RMII, Automotive Qualified Device
KSZ8041MNLU 40°C to 85°C 32-Pin MLF® Pb-Free KSZ8041NL AM with MII support only.
KSZ8041RNLU 40°C to 85°C 32-Pin MLF® Pb-Free KSZ8041NL AM with RMII support only.
KSZ8041RNL 0°C to 70°C 32-Pin MLF® Pb-Free RMII with 50MHz clock output, Commercial
Temperature
KSZ8041RNLI (1) 40°C to 85°C 32-Pin MLF® Pb-Free RMII with 50MHz clock output, Industrial
Temperature
Note:
1. Contact factory for lead time.
Micrel, Inc. KSZ8041NL/RNL
September 2010 3 M9999-090910-1.4
Revision History
Revision Date Summary of Changes
1.0 10/13/06 Data sheet created.
1.1 4/27/07 Added maximum MDC clock speed.
Added 40K +/-30% to note 1 of Pin Descri pti on and Strapping Options tables for internal pull-ups/pull-
downs.
Changed Model Number in Register 3 h – PHY Identifier 2.
Changed polarity (swapped definition) of DUPLEX strapping pin.
Removed DUPLEX strapping pin update to Register 4h – Auto-Negotiation Advertisement bits [8, 6].
Set “Disable power saving” as the default for Register 1Fh bit [10].
Corrected LED1 (pin 31) definition for Activit y in LED mode 01.
Added Symbol Error to MII/RMII Receive Error description and Register 15h – RXER Counter.
Added a 100pF capacitor on REXT (pin 10) in Pin Description table.
1.2 7/18/08 Added Automotive Qualified part number to Ordering Information.
Added maximum case temperature.
Added thermal resistance ( θJC).
Added chip maximum current consumption.
1.3 12/11/09 Added Automotive Qualified part number, KSZ8041NL EAM, to Ordering Information.
Changed MDIO hold time (min) from 10ns to 4ns.
Added LED drive current.
Renamed Register 3h bits [3:0] to “manufacturer’s revis ion number” and changed default value to
“Indicates silicon revision.”
Updated RMII output delay for CRSDV and RXD[1:0] output pins.
Added support for Asymmetric PAUSE in register 4h bit [11].
Added control bits for 100Base-TX preamble restore (register 14h bit [7]) and 10Base-T preamble
restore (register 14h bit [6]).
Changed strapping pin definition for CONFIG[2:0] = 100 from “PCS Loopback” to “MII 100Mbps
Preamble Restore.”
Corrected MII timing for tRLAT, tCRS1, tCRS2.
Added KSZ8041RNL device and updated entire data sheet accordingly.
1.4 01/19/10 Removed part number (KSZ8041NL EAM) from Ordering Information.
Removed chip maximum current consumptio n.
Micrel, Inc. KSZ8041NL/RNL
September 2010 4 M9999-090910-1.4
Contents
General Description..............................................................................................................................................................1
Functional Diagram...............................................................................................................................................................1
Features .................................................................................................................................................................................2
Applications...........................................................................................................................................................................2
Ordering Information............................................................................................................................................................2
Revision History....................................................................................................................................................................3
List of Figures........................................................................................................................................................................7
List of Tables.........................................................................................................................................................................8
Pin Configuration – KSZ8041NL.................................................................................................. ........................................9
Pin Description – KSZ8041NL............................................................................................................................................10
Pin Description – KSZ8041NL (continued).......................................................................................................................11
Pin Description – KSZ8041NL (continued).......................................................................................................................12
Pin Description – KSZ8041NL (continued).......................................................................................................................13
Strapping Options – KSZ8041NL.......................................................................................................................................14
Pin Configuration – KSZ8041RNL .....................................................................................................................................15
Pin Description – KSZ8041RNL.........................................................................................................................................16
Pin Description – KSZ8041RNL (continued) ....................................................................................................................17
Pin Description – KSZ8041RNL (continued) ....................................................................................................................18
Strapping Options – KSZ8041RNL....................................................................................................................................19
Functional Description.......................................................................................................................................................20
100Base-TX Transmit.......................................................................................................................................................20
100Base-TX Receive........................................................................................................................................................20
PLL Clock Synthesizer......................................................................................................................................................20
Scrambler/De-scrambler (100Base-TX only)....................................................................................................................20
10Base-T Transmit...........................................................................................................................................................20
10Base-T Receive............................................................................................................................................................21
SQE and Jabber Function (10Base-T only)......................................................................................................................21
Auto-Negotiation...............................................................................................................................................................21
MII Management (MIIM) Interface....................................................................................................................................23
Interrupt (INTRP)..............................................................................................................................................................23
MII Data Interface (KSZ8041NL only) ..............................................................................................................................23
MII Signal Definition (KSZ8041NL only)...........................................................................................................................24
Transmit Clock (TXC)...................................................................................................................................................24
Transmit Enable (TXEN) ..............................................................................................................................................24
Transmit Data [3:0] (TXD[3:0]) .....................................................................................................................................24
Receive Clock (RXC)....................................................................................................................................................24
Receive Data Valid (RXDV)..........................................................................................................................................25
Receive Data [3:0] (RXD[3:0])......................................................................................................................................25
Receive Error (RXER)..................................................................................................................................................25
Carrier Sense (CRS) ....................................................................................................................................................25
Collision (COL) .............................................................................................................................................................25
Micrel, Inc. KSZ8041NL/RNL
September 2010 5 M9999-090910-1.4
Reduced MII (RMII) Data Interface...................................................................................................................................25
RMII Signal Definition.......................................................................................................................................................26
Reference Clock (REF_CLK) .......................................................................................................................................26
Transmit Enable (TX_EN) ............................................................................................................................................26
Transmit Data [1:0] (TXD[1:0]) .....................................................................................................................................26
Carrier Sense/Receive Data Valid (CRS_DV)..............................................................................................................27
Receive Data [1:0] (RXD[1:0])......................................................................................................................................27
Receive Error (RX_ER)................................................................................................................................................27
Collision Detection........................................................................................................................................................27
RMII Signal Diagram.........................................................................................................................................................27
HP Auto MDI/MDI-X..........................................................................................................................................................28
Straight Cable...............................................................................................................................................................29
Crossover Cable...........................................................................................................................................................29
Power Management..........................................................................................................................................................30
Power Saving Mode .....................................................................................................................................................30
Power Down Mode.......................................................................................................................................................30
Reference Clock Connection Options ..............................................................................................................................30
Reference Circuit for Power and Ground Connections....................................................................................................31
Register Map........................................................................................................................................................................32
Register Description...........................................................................................................................................................32
Register Description (continued) ......................................................................................................................................33
Register Description (continued) ......................................................................................................................................34
Register Description (continued) ......................................................................................................................................35
Register Description (continued) ......................................................................................................................................36
Register Description (continued) ......................................................................................................................................37
Register Description (continued) ......................................................................................................................................38
Register Description (continued) ......................................................................................................................................39
Absolute Maximum Ratings(1) ............................................................................................................................................40
Operating Ratings(2) ............................................................................................................................................................40
Electrical Characteristics(4) ................................................................................................................................................40
Electrical Characteristics(4) (continued)............................................................................................................................41
Timing Diagrams.................................................................................................................................................................42
MII SQE Timing (10Base-T) .............................................................................................................................................42
MII Transmit Timing (10Base-T).......................................................................................................................................43
MII Receive Timing (10Base-T)........................................................................................................................................44
MII Transmit Timing (100Base-TX) ..................................................................................................................................45
MII Receive Timing (100Base-TX) ...................................................................................................................................46
RMII Timing.......................................................................................................................................................................47
Auto-Negotiation Timing...................................................................................................................................................48
MDC/MDIO Timing ...........................................................................................................................................................49
Reset Timing.....................................................................................................................................................................50
Micrel, Inc. KSZ8041NL/RNL
September 2010 6 M9999-090910-1.4
Reset Circuit........................................................................................................................................................................51
Reference Circuits for LED Strapping Pins......................................................................................................................52
Selection of Isolation Transformer....................................................................................................................................213H53
87HSelection of Reference Crystal..........................................................................................................................................214H53
88HPackage Information...........................................................................................................................................................215H54
Micrel, Inc. KSZ8041NL/RNL
September 2010 7 M9999-090910-1.4
List of Figures
Figure 1. Auto-Negotiation Flow Chart.................................................................................................................................22
Figure 2. KSZ8041NL RMII Interface...................................................................................................................................27
Figure 3. KSZ8041RNL RMII Interface................................................................................................................................28
Figure 4. Typical Straight Cable Connection .......................................................................................................................29
Figure 5. Typical Crossover Cable Connection ...................................................................................................................29
Figure 6. 25MHz Crystal / Oscillator Reference Clock ........................................................................................................30
Figure 7. 50MHz Oscillator Reference Clock for KSZ8041NL RMII Mode..........................................................................30
Figure 8. KSZ8041NL/RNL Power and Ground Connections..............................................................................................31
Figure 9. MII SQE Timing (10Base-T) .................................................................................................................................42
Figure 10. MII Transmit Timing (10Base-T).........................................................................................................................43
Figure 11. MII Receive Timing (10Base-T)..........................................................................................................................44
Figure 12. MII Transmit Timing (100Base-TX).....................................................................................................................45
Figure 13. MII Receive Timing (100Base-TX)......................................................................................................................46
Figure 14. RMII Timing – Data Received from RMII............................................................................................................47
Figure 15. RMII Timing – Data Input to RMII.......................................................................................................................47
Figure 16. Auto-Negotiation Fast Link Pulse (FLP) Timing .................................................................................................48
Figure 17. MDC/MDIO Timing..............................................................................................................................................49
Figure 18. Reset Timing.......................................................................................................................................................50
Figure 19. Recommended Reset Circuit..............................................................................................................................51
Figure 20. Recommended Reset Circuit for interfacing with CPU/FPGA Reset Output......................................................51
Figure 21. Reference Circuits for LED Strapping Pins.........................................................................................................52
Micrel, Inc. KSZ8041NL/RNL
September 2010 8 M9999-090910-1.4
List of Tables
Table 1. MII Management Frame Format............................................................................................................................23
Table 2. MII Signal Definition................................................................................................ ...............................................24
Table 3. RMII Signal Description – KSZ8041NL..................................................................................................................26
Table 4. RMII Signal Description – KSZ8041RNL...............................................................................................................26
Table 5. MDI/MDI-X Pin Definition.......................................................................................................................................28
Table 6. KSZ8041NL/RNL Power Pin Description...............................................................................................................31
Table 7. MII SQE Timing (10Base-T) Parameters...............................................................................................................42
Table 8. MII Transmit Timing (10Base-T) Parameters ........................................................................................................43
Table 9. MII Receive Timing (10Base-T) Parameters .........................................................................................................44
Table 10. MII Transmit Timing (100Base-TX) Parameters..................................................................................................45
Table 11. MII Receive Timing (100Base-TX) Parameters...................................................................................................46
Table 12. RMII Timing Parameters – KSZ8041NL ..............................................................................................................47
Table 13. RMII Timing Parameters – KSZ8041RNL............................................................................................................47
Table 14. Auto-Negotiation Fast Link Pulse (FLP) Timing Parameters...............................................................................48
Table 15. MDC/MDIO Timing Parameters...........................................................................................................................49
Table 16. Reset Timing Parameters ....................................................................................................................................50
Table 17. Transformer Selection Criteria.............................................................................................................................253H53
127HTable 18. Qualified Single Port Magnetics...........................................................................................................................254H53
128HTable 19. Typical Reference Crystal Characteristics...........................................................................................................255H53
Micrel, Inc. KSZ8041NL/RNL
September 2010 9 M9999-090910-1.4
Pin Configuration – KSZ8041NL
32-Pin (5mm x 5mm) MLF®
Micrel, Inc. KSZ8041NL/RNL
September 2010 10 M9999-090910-1.4
Pin Description – K SZ8041NL
Pin Number Pin Name Type(1) Pin Function
1 GND Gnd Ground
2 VDDPLL_1.8 P 1.8V analog VDD
3 VDDA_3.3 P 3.3V analog VDD
4 RX- I/O Physical receive or transmit signal (- differential)
5 RX+ I/O Physical receive or transmit signal (+ differential)
6 TX- I/O Physical transmit or receive signal (- differential)
7 TX+ I/O Physical transmit or receive signal (+ differential)
8 XO O Crystal feedback
This pin is used only in MII mode when a 25 MHz crystal is used.
This pin is a no connect if oscillator or external clock source is used, or if RMII mode
is selected.
9 XI /
REFCLK I Crystal / Oscillator / External Clock Input
MII Mode: 25MHz +/-50ppm (crystal, oscillator, or external clock)
RMII Mode: 50MHz +/-50ppm (oscillator, or external clock only)
10 REXT I/O Set physical transmit output current
Connect a 6.49KΩ resistor in parallel with a 100pF capacitor to groun d on this pin.
See KSZ8041NL reference schematics.
11 MDIO I/O Management Interface (MII) Data I/O
This pin requires an external 4.7KΩ pull-up resistor.
12 MDC I Management Interface (MII) Clock Input
This pin is synchronous to the MDIO data interface.
13 RXD3 /
PHYAD0 Ipu/O MII Mode: Receive Data Output[3](2) /
Config Mode: The pull-up/pull-down value is latched as PHYADDR[0] during
power-up / reset. See “Strapping Options” section for details.
14 RXD2 /
PHYAD1 Ipd/O MII Mode: Receive Data Output[2](2) /
Config Mode: The pull-up/pull-down value is latched as PHYADDR[1] during
power-up / reset. See “Strapping Options” section for details.
15 RXD1 /
RXD[1] /
PHYAD2
Ipd/O MII Mode: Receive Data Output[1](2) /
RMII Mode: Receive Data Output[1](3) /
Config Mode: The pull-up/pull-down value is latched as PHYADDR[2] during
power-up / reset. See “Strapping Options” section for details.
16 RXD0 /
RXD[0] /
DUPLEX
Ipu/O MII Mode: Receive Data Output[0](2) /
RMII Mode: Receive Data Output[0](3) /
Config Mode: Latched as DUPLEX (register 0h, bit 8) during power-up /
reset. See “Strapping Options” section for details.
17 VDDIO_3.3 P 3.3V digital VDD
18 RXDV /
CRSDV /
CONFIG2
Ipd/O MII Mode: Receive Data Valid Output /
RMII Mode: Carrier Sense/Receive Data Valid Output /
Config Mode: The pull-up/pull-down value is latched as CONFIG2 during
power-up / reset. See “Strapping Options” section for details.
19 RXC O MII Mode: Receive Clock Output
Micrel, Inc. KSZ8041NL/RNL
September 2010 11 M9999-090910-1.4
Pin Description – KSZ8041NL (Continued)
Pin Number Pin Name Type(1) Pin Function
20 RXER /
RX_ER /
ISO
Ipd/O MII Mode: Receive Error Output /
RMII Mode: Receive Error Output /
Config Mode: The pull-up/pull-down value is latched as ISOLATE during
power-up / reset. See “Strapping Options” section for details.
21 INTRP Opu Interrupt Output: Programmable Interrupt Output
Register 1Bh is the Interrupt Control/Status Register for prog r amming the interrupt
conditions and reading the interrupt status. Register 1Fh bit 9 sets the interrupt
output to active low (default) or active high.
22 TXC O MII Mode: Transmit Clock Output
23 TXEN /
TX_EN I MII Mode: Transmit Enable Input /
RMII Mode: Transmit Enable Input
24 TXD0 /
TXD[0] I MII Mode: Transmit Data Input[0](4) /
RMII Mode: Transmit Data Input[0](5)
25 TXD1 /
TXD[1] I MII Mode: Transmit Data Input[1](4) /
RMII Mode: Transmit Data Input[1](5)
26 TXD2 I
MII Mode: Transmit Data Input[2](4) /
27 TXD3 I
MII Mode: Transmit Data Input[3](4) /
28 COL /
CONFIG0 Ipd/O MII Mode: Collision Detect Output /
Config Mode: The pull-up/pull-down value is latched as CONFIG0 during
power-up / reset. See “Strapping Options” section for details.
29 CRS /
CONFIG1 Ipd/O MII Mode: Carrier Sense Output /
Config Mode: The pull-up/pull-down value is latched as CONFIG1 during
power-up / reset. See “Strapping Options” section for details.
Micrel, Inc. KSZ8041NL/RNL
September 2010 12 M9999-090910-1.4
Pin Description – KSZ8041NL (Continued)
Pin Number Pin Name Type(1) Pin Function
30 LED0 /
NWAYEN Ipu/O LED Output: Programmable LED0 Output /
Config Mode: Latched as Auto-Negotiation Enable (register 0h, bit 12) during
power-up / reset. See “Strapping Options” section for details.
The LED0 pin is programmable via register 1Eh bits [15:14], and is defined as
follows.
LED mode = [00]
Link/Activity Pin State LED Definition
No Link H OFF
Link L ON
Activity Toggle Blinking
LED mode = [01]
Link Pin State LED Definition
No Link H OFF
Link L ON
LED mode = [10]
Reserved
LED mode = [11]
Reserved
Micrel, Inc. KSZ8041NL/RNL
September 2010 13 M9999-090910-1.4
Pin Description – KSZ8041NL (Continued)
Pin Number Pin Name Type(1) Pin Function
31 LED1 /
SPEED Ipu/O LED Output: Programmable LED1 Output /
Config Mode: Latched as SPEED (register 0h, bit 13) during power-up / reset.
See “Strapping Options” section for details.
The LED1 pin is programmable via register 1Eh bits [15:14], and is defined as
follows.
LED mode = [00]
Speed Pin State LED Definition
10BT H OFF
100BT L ON
LED mode = [01]
Activity Pin State LED Definition
No Activity H OFF
Activity Toggle Blinking
LED mode = [10]
Reserved
LED mode = [11]
Reserved
32 RST# I Chip Reset (active low)
PADDLE GND Gnd Ground
Notes:
1. P = Power supply.
Gnd = Ground.
I = Input.
O = Output.
I/O = Bi-directional.
Ipd = Input with internal pull-down (40K +/-30%).
Ipu = Input with internal pull-up (40K +/-30%).
Opu = Output with internal pull-up (40K +/-30%).
Ipu/O = Input with internal pull-up (40K +/-30%) duri ng power-up/reset; output pin otherwise.
Ipd/O = Input with internal pull-down (40K +/-30%) during power-up/reset; output pin otherwise.
2. MII Rx Mode: The RXD[3..0] bits are synchronous with RXCLK. When RXDV is asserted, RXD[3..0] presents valid data to MAC through the
MII. RXD[3..0] is invalid when RXDV is de-asserted.
3. RMII Rx Mode: The RXD[1:0] bits are synchronous with REF_CLK. For each clock period in which CRS_DV is asserted, two bits of
recovered data are sent from the PHY.
4. MII Tx Mode: The TXD[3..0] bits are synchronous with TXCLK. When TXEN is asserted, TXD[3..0] pr esents valid data from the MAC th rough
the MII. TXD[3..0] has no effect when TXEN is de-asserted.
5. RMII Tx Mode: The TXD[1:0] bits are synchronous with REF_CLK. For each clock period in which TX_EN is asserted, two bits of data are
received by the PHY from the MAC.
Micrel, Inc. KSZ8041NL/RNL
September 2010 14 M9999-090910-1.4
Strapping Options – KSZ8041NL
Pin Number Pin Name Type(1) Pin Function
15
14
13
PHYAD2
PHYAD1
PHYAD0
Ipd/O
Ipd/O
Ipu/O
The PHY Address is latched at power-up / reset and is con f igurable to any value from
1 to 7.
The default PHY Address is 00001.
PHY Address bits [4:3] are always set to ‘00’.
18
29
28
CONFIG2
CONFIG1
CONFIG0
Ipd/O
Ipd/O
Ipd/O
The CONFIG[2:0] strap-in pins are latched at power-up / reset and are defined as
follows:
CONFIG[2:0] Mode
000 MII (default)
001 RMII
010 Reserved – not used
011 Reserved – not used
100 MII 100Mbps Preamble Restore
101 Reserved – not used
110 Reserved – not used
111 Reserved – not used
20 ISO Ipd/O ISOLATE mode
Pull-up = Enable
Pull-down (default) = Disable
During power-up / reset, this pin value is latched into register 0h bit 10.
31 SPEED Ipu/O SPEED mode
Pull-up (default) = 100Mbps
Pull-down = 10Mbps
During power-up / reset, this pin value is latched into register 0h bit 13 as the Speed
Select, and also is latched into register 4h (Auto-Negotiation Advertisement) as the
Speed capability support.
16 DUPLEX Ipu/O DUPLEX mode
Pull-up (default) = Half Duplex
Pull-down = Full Duplex
During power-up / reset, this pin value is latched into register 0h bit 8 as the Duplex
Mode.
30 NWAYEN Ipu/O Nway Auto-Negotiation Enable
Pull-up (default) = Enable Auto-Negotiation
Pull-down = Disable Auto-Negotiati on
During power-up / reset, this pin value is latched into register 0h bit 12.
Note:
1. Ipu/O = Input with internal pull-up (40K +/-30%) during power-up/reset; output pin otherwise.
Ipd/O = Input with internal pull-down (40K +/-30%) during power-up/reset; output pin otherwise.
Pin strap-ins are latched during power-up or reset. In some systems, the MAC receive input pins may drive high during
power-up or reset, and consequently cause the PHY strap-in pins on the MII/RMII signals to be latched high. In this
case, it is recommended to add 1K pull-downs on these PHY strap-in pins to ensure the PHY does not strap-in to
ISOLATE mode, or is not configured with an incorrect PHY Address.
Micrel, Inc. KSZ8041NL/RNL
September 2010 15 M9999-090910-1.4
Pin Configuration – KSZ8041RNL
32-Pin (5mm x 5mm) MLF®
Micrel, Inc. KSZ8041NL/RNL
September 2010 16 M9999-090910-1.4
Pin Description – K SZ8041RNL
Pin Number Pin Name Type(1) Pin Function
1 GND Gnd Ground
2 VDDPLL_1.8 P 1.8V analog VDD
3 VDDA_3.3 P 3.3V analog VDD
4 RX- I/O Physical receive or transmit signal (- differential)
5 RX+ I/O Physical receive or transmit signal (+ differential)
6 TX- I/O Physical transmit or receive signal (- differential)
7 TX+ I/O Physical transmit or receive signal (+ differential)
8 XO O Crystal feedback – for 25 MHz crystal
This pin is a no connect if oscillator or external clock source is used.
9 XI I Crystal / Oscillator / External Clock Input
25MHz +/-50ppm
10 REXT I/O Set physical transmit output current
Connect a 6.49KΩ resistor in parallel with a 100pF capacitor to groun d on this
pin. See KSZ8041RNL refere nce schematics.
11 MDIO I/O Management Interface (MII) Data I/O
This pin requires an external 4.7KΩ pull-up resistor.
12 MDC I Management Interface (MII) Clock Input
This pin is synchronous to the MDIO data interface.
13 PHYAD0 Ipu/O
The pull-up/pull-down value is latched as PHYADDR[0] during power-up / reset.
See “Strapping Options” section for details.
14 PHYAD1 Ipd/O
The pull-up/pull-down value is latched as PHYADDR[1] during power-up / reset.
See “Strapping Options” section for details.
15 RXD1 /
PHYAD2 Ipd/O RMII Mode: RMII Receive Data Output[1](2) /
Config Mode: The pull-up/pull-down value is latched as PHYADDR[2] during
power-up / reset. See “Strapping Options” section for details.
16 RXD0 /
DUPLEX Ipu/O RMII Mode: RMII Receive Data Output[0](2) /
Config Mode: Latched as DUPLEX (register 0h, bit 8) during po wer-up /
reset. See “Strapping Options” section for details.
17 VDDIO_3.3 P 3.3V digital VDD
18 CRS_DV /
CONFIG2 Ipd/O RMII Mode: Carrier Sense/Receive Data Valid Output /
Config Mode: The pull-up/pull-down value is latched as CONFIG2 during
power-up / reset. See “Strapping Options” section for details.
19 REF_CLK O 50MHz Clock Output
This pin provides the 50MHz RMII reference clock output to the MAC.
20 RX_ER /
ISO Ipd/O RMII Mode: RMII Receive Error Output /
Config Mode: The pull-up/pull-down value is latched as ISOLATE during
power-up / reset. See “Strapping Options” section for details.
21 INTRP Opu Interrupt Output: Programmable Interrupt Output
Register 1Bh is the Interrupt Control/Status Register for programming the
interrupt conditions and readi ng the interrupt status. Register 1Fh bit 9 sets the
interrupt output to active low (default) or active high.
22 NC O No connect
23 TX_EN I RMII Transmit Enable Input
Micrel, Inc. KSZ8041NL/RNL
September 2010 17 M9999-090910-1.4
Pin Description – KSZ8041RNL (Continued)
Pin Number Pin Name Type(1) Pin Function
24 TXD0 I
RMII Transmit Data Input[0](3)
25 TXD1 I
RMII Transmit Data Input[1](3)
26 NC I No connect
27 NC I No connect
28 CONFIG0 Ipd/O
The pull-up/pull-down value is latched as CONFIG0 during power-up / reset.
See “Strapping Options” section for details.
29 CONFIG1 Ipd/O
The pull-up/pull-down value is latched as CONFIG1 during power-up / reset.
See “Strapping Options” section for details.
30 LED0 /
NWAYEN Ipu/O LED Output: Programmable LED0 Output /
Config Mode: Latched as Auto-Negotiation Enable (register 0h, bit 12)
during power-up / reset. See “Strapping Options” section for details.
The LED0 pin is programmable via register 1Eh bits [15:14], and is defined as
follows.
LED mode = [00]
Link/Activity Pin State LED Definition
No Link H OFF
Link L ON
Activity Toggle Blinking
LED mode = [01]
Link Pin State LED Definition
No Link H OFF
Link L ON
LED mode = [10] , [11] Reserved
Micrel, Inc. KSZ8041NL/RNL
September 2010 18 M9999-090910-1.4
Pin Description – KSZ8041RNL (Continued)
Pin Number Pin Name Type(1) Pin Function
31 LED1 /
SPEED Ipu/O LED Output: Programmable LED1 Output /
Config Mode: Latched as SPEED (register 0h, bit 13) during power-up / reset.
See “Strapping Options” section for details.
The LED1 pin is programmable via register 1Eh bits [15:14], and is defined as
follows.
LED mode = [00]
Speed Pin State LED Definition
10BT H OFF
100BT L ON
LED mode = [01]
Activity Pin State LED Definition
No Activity H OFF
Activity Toggle Blinking
LED mode = [10], [11] Reserved
32 RST# I Chip Reset (active low)
PADDLE GND Gnd Ground
Notes:
1. P = Power supply.
Gnd = Ground.
I = Input.
O = Output.
I/O = Bi-directional.
Opu = Output with internal pull-up (40K +/-30%).
Ipu/O = Input with internal pull-up (40K +/-30%) during power-up/reset; output pin otherwise.
Ipd/O = Input with internal pull-down (40K +/-30%) during power-up/reset; output pin otherwise.
2. RMII Rx Mode: The RXD[1:0] bits are synchronous with REF_CLK. For each clock period in which CRS_DV is asserted, two bits of
recovered data are sent from the PHY.
3. RMII Tx Mode: The TXD[1:0] bits are synchronous with REF_CLK. For each clock period in which TX_EN is asserted, two bits of data are
received by the PHY from the MAC.
Micrel, Inc. KSZ8041NL/RNL
September 2010 19 M9999-090910-1.4
Strapping Options – KSZ8041RNL
Pin Number Pin Name Type(1) Pin Function
15
14
13
PHYAD2
PHYAD1
PHYAD0
Ipd/O
Ipd/O
Ipu/O
The PHY Address is latched at power-up / reset and is con f igurable to any value from
1 to 7.
The default PHY Address is 00001.
PHY Address bits [4:3] are always set to ‘00’.
18
29
28
CONFIG2
CONFIG1
CONFIG0
Ipd/O
Ipd/O
Ipd/O
The CONFIG[2:0] strap-in pins are latched at power-up / reset and are defined as
follows:
CONFIG[2:0] Mode
000 Reserved – not used
001 RMII
010 Reserved – not used
011 Reserved – not used
100 Reserved – not used
101 Reserved – not used
110 Reserved – not used
111 Reserved – not used
20 ISO Ipd/O ISOLATE mode
Pull-up = Enable
Pull-down (default) = Disable
During power-up / reset, this pin value is latched into register 0h bit 10.
31 SPEED Ipu/O SPEED mode
Pull-up (default) = 100Mbps
Pull-down = 10Mbps
During power-up / reset, this pin value is latched into register 0h bit 13 as the Speed
Select, and also is latched into register 4h (Auto-Negotiation Advertisement) as the
Speed capability support.
16 DUPLEX Ipu/O DUPLEX mode
Pull-up (default) = Half Duplex
Pull-down = Full Duplex
During power-up / reset, this pin value is latched into register 0h bit 8 as the Duplex
Mode.
30 NWAYEN Ipu/O Nway Auto-Negotiation Enable
Pull-up (default) = Enable Auto-Negotiation
Pull-down = Disable Auto-Negotiati on
During power-up / reset, this pin value is latched into register 0h bit 12.
Note:
1. Ipu/O = Input with internal pull-up (40K +/-30%) during power-up/reset; output pin otherwise.
Ipd/O = Input with internal pull-down (40K +/-30%) during power-up/reset; output pin otherwise.
Pin strap-ins are latched during power-up or reset. In some systems, the MAC receive input pins may drive high during
power-up or reset, and consequently cause the PHY strap-in pins on the RMII signals to be latched high. In this case, it is
recommended to add 1K pull-downs on these PHY strap-in pins to ensure the PHY does not strap-in to ISOLATE mode,
or is not configured with an incorre ct PHY Address.
Micrel, Inc. KSZ8041NL/RNL
September 2010 20 M9999-090910-1.4
Functional Description
The KSZ8041NL is a single 3.3V supply Fast Ethernet transceiver. It is fully compliant with the IEEE 802.3u Specification.
On the media side, the KSZ8041NL supports 10Base-T and 100Base-TX with HP auto MDI/MDI-X for reliable detection of
and correction for straight-through and crossover cables.
The KSZ8041NL offers a choice of MII or RMII data interface connection with the MAC processor. The MII management
bus option gives the MAC processor complete access to the KSZ8041NL control and status registers. Additionally, an
interrupt pin eliminates the need for the processor to poll for PHY status change.
Physical signal transmission and reception are enhanced through the use of patented analog circuitries that make the
design more efficient and allow for lower power consumption and smaller chip die size.
The KSZ8041RNL is an enhanced RMII version of the KSZ8041NL that does not require a 50MHz system clock. It uses a
25MHz crystal for its input reference clock and o utputs a 50MHz RMII reference clock to the MAC.
100Base-TX Transmit
The 100Base-TX transmit function performs parallel-to-serial conversion, 4B/5B coding, scrambling, NRZ-to-NRZI
conversion, and MLT3 encoding and transmission.
The circuitry starts with a parallel-to-serial conversion, which converts the MII data from the MAC into a 125MHz serial bit
stream. The data and control stream is then converted into 4B/5B coding, followed by a scrambler. The serialized data is
further converted from NRZ-to-NRZI format, and then transmitted in MLT3 current output.
The output current is set by an external 6.49kΩ 1% resistor for the 1:1 transformer ratio. It has typical rise/fall times of 4
ns and complies with the ANSI TP-PMD standard regarding amplitude balance, overshoot and timing jitter. The wave-
shaped 10Base-T output drivers are also incorporated into the 100Base-TX driv ers.
100Base-TX Receiv e
The 100Base-TX receiver function performs adaptive equalization, DC restoration, MLT3-to-NRZI conversion, data and
clock recovery, NRZI-to-NRZ conversion, de-scrambling, 4B/5B decoding, and serial-to-parallel conversion.
The receiving side starts with the equalization filter to compensate for inter-symbol interference (ISI) over the twisted pair
cable. Since the amplitude loss and phase distortion is a function of the cable length, the equalizer must adjust its
characteristics to optimize performance. In this design, the variable equalizer makes an initial estimation based on
comparisons of incoming signal strength against some known cable characteristics, and then tunes itself for optimization.
This is an ongoing proce s s and self-adjusts again st environmental changes such as temperature variations.
Next, the equalized signal goes through a DC restoration and data conversion block. The DC restoration circuit is used to
compensate for the effect of baseline wander and to improve the dynamic range. The differential data conversion circuit
converts the MLT3 format back to NRZI. The slicing thre shold is also adaptive.
The clock recovery circuit extracts the 125MHz clock from the edges of the NRZI signal. This recovered clock is then used
to convert the NRZI signal into the NRZ format. This signal is sent through the de-scrambler followed by the 4B/5B
decoder. Finally, the NRZ serial data is converted to the MII format and provided as the input data to the MAC.
PLL Clock Synthesizer
The KSZ8041NL/RNL generates 125MΗz, 25MΗz and 20MΗz clocks for system timing. Internal clocks are generated
from an external 25MHz crystal or oscillator. For the KSZ8041NL in RMII mode, these internal clocks are generated from
an external 50MHz oscillator or system clock.
Scrambler/De-scrambler (100Base-TX only )
The purpose of the scrambler is to sprea d the power spectrum of the sign al in order to redu ce EMI and baseline wander.
10Base-T Transmit
The 10Base-T drivers are incorporated with the 100Base-TX drivers to allow for transmission using the same magnetic.
The drivers also perform internal wave-shaping and pre-emphasize, and output 10Base-T signals with a typical amplitude
of 2.5V peak. The 10Base-T signals have harmonic contents that are at least 27dB below the fundamental frequency
when driven by an all-ones Man chester-encoded signal.
Micrel, Inc. KSZ8041NL/RNL
September 2010 21 M9999-090910-1.4
10Base-T Receive
On the receive side, input buffer and level detecting squelch circuits are employed. A differential input receiver circuit and
a PLL performs the decoding function. The Manchester-encoded data stream is separated into clock signal and NRZ data.
A squelch circuit rejects signals with levels less than 400 mV or with short pulse widths to prevent noise at the RX+ and
RX- inputs from falsely trigger the decoder. When the input exceeds the squelch limit, the PLL locks onto the incoming
signal and the KSZ8041NL/RNL decodes a data frame. The receive clock is kept active during idle periods in between
data reception.
SQE and Jabber Function (10Base-T only)
In 10Base-T operation, a short pulse is put out on the COL pin after each frame is transmitted. This SQE Test is required
as a test of the 10Base-T transmit/receive path. If transmit enable (TXEN) is high for more than 20 ms (jabbering), the
10Base-T transmitter is disabled and COL is asserted high. If TXEN is then driven low for more than 250 ms, the 10Base-
T transmitter is re-enabled and COL is de-asserted (returns to low).
Auto-Negotiation
The KSZ8041NL/RNL conforms to the auto-negotiation protocol, defined in Clause 28 of the IEEE 802.3u specification.
Auto-negotiation is enabled by either hardware pin strapping (pin 30) or software (register 0h bit 12).
Auto-negotiation allows unshielded twisted pair (UTP) link partners to select the highest common mode of operation. Link
partners advertise their capabilities to each other, and then compare their own capabilities with those they received from
their link partners. The highest speed and duplex setting that is common to the two link partners is selected as the mode
of operation.
The following list shows the spe ed and duplex operation mode from highest to lowest.
Priority 1: 100Ba se -TX, full-dupl ex
Priority 2: 100Ba se -TX, half-du plex
Priority 3: 10Base-T, full-duplex
Priority 4: 10Base-T, ha lf-duplex
If auto-negotiation is not supported or the KSZ8041NL/RNL link partner is forced to bypass auto-negotiation, the
KSZ8041NL/RNL sets its operating mode by observing the signal at its receiver. This is known as parallel detection, and
allows the KSZ8041NL/RNL to establish link by listening for a fixed signal protocol in the absence of auto-negotiation
advertisement protocol.
The auto-negotiation link up process is shown in the flow chart illustrated as Figure 1.
Micrel, Inc. KSZ8041NL/RNL
September 2010 22 M9999-090910-1.4
Start Auto Negotiat ion
Force Link Setting
Listen for 10BASE-T
Link Pulses
Listen for 100BASE-TX
Idles
A
ttempt Auto
Negotiation
Link Mode Set
Bypass Auto Negotiation
and Set Link Mode
Link Mode Set ?
Parallel
Operation
Join
Flow
N
o
Yes
Yes
No
Figure 1. Auto-Negotiation Flow Chart
Micrel, Inc. KSZ8041NL/RNL
September 2010 23 M9999-090910-1.4
MII Management (MIIM) Interface
The KSZ8041NL/RNL supports the IEEE 802.3 MII Management Interface, also known as the Management Data Input /
Output (MDIO) Interface. This interface allows upper-layer devices to monitor and control the state of the
KSZ8041NL/RNL. An external device with MIIM capability is used to read the PHY status and/or configure the PHY
settings. Further details on the MIIM interface can be found in Clause 22.2.4 of the IEEE 802.3 Specification.
The MIIM interface consists of the following:
A physical connection that incorporates the clock line (MDC) and the data line (MDIO).
A specific protocol that operates across the aforementioned physical connection that allows a external controller
to communicate with one or more PHY devices. Each KSZ8041NL/RNL device is assigned a unique PHY address
between 1 and 7 by its PHYAD[2:0] strapping pins. Also, every KSZ8041NL/RNL device supports the broadcast
PHY address 0, as defined per the IEEE 802.3 Specification, which can be used to read/write to a single
KSZ8041NL/RNL device, or write to multiple KSZ8041NL/RNL devices simultaneou sly.
A set of 16-bit MDIO registers. Register [0:6] are required, and their functions are defined per the IEEE 802.3
Specification. The additional registers are provided for expanded functionality.
The Table 1 shows the MII Management frame format for the KSZ8041NL/RNL.
Preamble
Start of
Frame Read/Write
OP Code
PHY
Address
Bits [4:0]
REG
Address
Bits [4:0]
TA Data
Bits [15:0]
Idle
Read 32 1’s 01 10 00AAA RRRRR Z0 DDDDDDDD_DDDDDDDD Z
Write 32 1’s 01 01 00AAA RRRRR 10 DDDDDDDD_DDDDDDDD Z
Table 1. MII Management Frame Format
Interrupt (INTRP)
INTRP (pin 21) is an optional interrupt signal that is used to inform the external controller that there has been a status
update to the KSZ8041NL/RNL PHY register. Bits[15:8] of register 1Bh are the interrupt control bits, and are used to
enable and disable the conditions for asserting the INTRP signal. Bits[7:0] of register 1Bh are the interrupt status bits, and
are used to indicate which interrupt conditions have occurred. The interrupt status bits are cleared after reading register
1Bh.
Bit 9 of register 1Fh sets the interrupt level to active high or active low.
MII Data Interface (KSZ80 41NL only)
The Media Independent Interface (MII) is specified in Clause 22 of the IEEE 802.3 Specification. It provides a common
interface between physical layer and MAC layer devices, and has the following key characteristics:
Supports 10Mbps and 100Mbps data rates.
Uses a 25MHz reference cl ock, sourced by the PHY.
Provides independent 4-bit wide (nibble) transmit and receive data paths.
Contains two distinct groups of signals: one for transmission and the other for reception.
By default, the KSZ8041NL is configured to MII mode after it is power-up or reset with the following:
A 25MHz crystal connected to XI, XO (pins 9, 8), or an external 25MHz clock source (oscillator) connected to XI.
CONFIG[2:0] (pins 18, 29, 28) set to ‘000’ (default setting).
Micrel, Inc. KSZ8041NL/RNL
September 2010 24 M9999-090910-1.4
MII Signal Definition (KSZ8041NL only)
The Table 2 describes the MII signals. Refer to Clause 22 of the IEEE 802.3 Specification for detailed information.
MII
Signal Name
Direction
(with respect to PHY,
KSZ8041NL signal)
Direction
(with respect to MAC) Description
TXC Output Input Transmit Clock
(2.5MHz for 10Mbps; 25MHz for 100Mbps)
TXEN Input Output Transmit Enable
TXD[3:0] Input Output Transmit Data [3:0]
RXC Output Input Receive Clock
(2.5MHz for 10Mbps; 25MHz for 100Mbps)
RXDV Output Input Receive Data Valid
RXD[3:0] Output Input Receive Data [3:0]
RXER Output Input, or (not required) Receive Error
CRS Output Input Carrier Sense
COL Output Input Collision Detection
Table 2. MII Signal Definition
Transmit Clock (TXC)
TXC is sourced by the PHY. It is a continuous clock that provide s the timing refe rence for TXEN and TXD[3:0].
TXC is 2.5MHz for 10Mbp s ope ration and 25MHz for 100Mbps op eration.
Transmit Enable (TXEN)
TXEN indicates the MAC is presenting nibbles on TXD[3:0] for transmission. It is asserted synchronously with the first
nibble of the preamble and remains asserted while all nibbles to be transmitted are presented on the MII, and is negated
prior to the first TXC following the final nibble of a fram e.
TXEN transitions synchronously with respect to TXC.
Transmit Data [3:0] (TXD[3:0])
TXD[3:0] transitions synchronously with respect to TXC. When TXEN is asserted, TXD[3:0] are accepted for transmission
by the PHY. TXD[3:0] is ”00” to indicate idle when TXEN is de-asserted. Values other than “00” on TXD[3:0] while TXEN
is de-asserted are ignored by the PHY.
Receive Clock (RXC)
RXC provides the timing reference for RXDV, RXD[3:0], and RXER.
In 10Mbps mode, RXC is recovered from the line while carrier is active. RXC is derived from the PHY’s reference
clock when the line is idle, or link is down.
In 100Mbps mode, RXC is continuously recovered from the line. If link is down, RXC is derived from the PHY’s
reference clock.
RXC is 2.5MHz for 10Mb ps operation and 25MHz for 100Mbps operation.
Micrel, Inc. KSZ8041NL/RNL
September 2010 25 M9999-090910-1.4
Receive Data Valid (RXDV)
RXDV is driven by the PHY to indicate that the PHY is presenting recovered and decoded ni bbles on RXD[3:0].
In 10Mbps mode, RXDV is asserted with the first nibble of the SFD (Start of Frame Delimiter), “5D”, and remains
asserted until the end of the frame.
In 100Mbps mode, RXDV is asserted from the first nibble of the preamble to the last nibble of the frame.
RXDV transitions synchron ously with respect to RXC.
Receive Data [3:0] (RXD[3:0])
RXD[3:0] transitions synchronously with respect to RXC. For each clock period in which RXDV is asserted, RXD[3:0]
transfers a nibble of recov ered data from the PHY.
Receive Error (RXER)
RXER is asserted for one or more RXC periods to indicate that a Symbol Error (e.g. a coding error that a PHY is capable
of detecting, and that may otherwise be undetectable by the MAC sub-layer) was detected somewhere in the frame
presently being transferred from the PHY.
RXER transitions synchron ously with respect to RXC. While RXDV is de-asserted, RXER has no effect on the MAC.
Carrier Sense (CRS)
CRS is asserted and de-a sserted as follows:
In 10Mbps mode, CRS assertion is based on the reception of valid preambles. CRS de-assertion is based on the
reception of an end-of-frame (EOF) marker.
In 100Mbps mode, CRS is asserted when a start-of-stream delimiter, or /J/K symbol pair is detected. CRS is de-
asserted when an end-of-stream delimiter, or /T/R symbol pair is detected. Additionally, the PMA layer de-asserts
CRS if IDLE symbols are received without /T/R.
Collision (COL)
COL is asserted in half-duplex mode whenever the transmitter and receiver are simultaneously active on the line. This is
used to inform the MAC that a collision has occurred during its transmission to the PHY.
COL transitions asynchronously with respect to TXC and RXC.
Reduced MII (RMII) Data Interface
The Reduced Media Independent Interface (RMII) specifies a low pin count Media Independent Interface (MII). It provides
a common interface between physical layer and MAC layer devices, and has the following key characteristics:
Supports 10Mbps and 100Mbps data rates.
Uses a 50MHz reference clock.
Provides independent 2-bit wide (di-bit) transmit and receive data paths.
Contains two distinct groups of signals: one for transmission and the other for reception.
The KSZ8041NL is configured in RMII mode after it is power-up or reset with the following:
A 50MHz reference clock connected to REFCLK (pin 9).
CONFIG[2:0] (pins 18, 29, 28) set to ‘001’.
The KSZ8041RNL is configured in RMII mode and outputs the 50MHz RMII reference clock to the MAC on REF_CLK (pin
19) after it is power-up or reset with the following:
A 25MHz crystal connected to XI (pin 9) and XO (pin 8), or a 25MHz reference clock connected to XI (pin 9).
CONFIG[2:0] (pins 18, 29, 28) set to ‘001’.
In RMII mode, unused MII signals, TXD[3:2] (pins 2 7, 26), are tied to ground.