MICREL KS8721BL

KS8721BL/SL
Micrel
KS8721BL/SL
3.3V Single Power Supply 10/100BASE-TX/FX MII Physical Layer Transceiver
Rev. 1.1
General Description
Features
Operating with a 2.5V core to meet low-voltage and lowpower requirements, the KS8721BL and KS8721SL are
10BASE-T/100BASE-TX/FX Physical Layer Transceivers
that use MII and RMII interfaces to transmit and receive data.
They contain 10BASE-T Physical Medium Attachment (PMA),
Physical Medium Dependent (PMD), and Physical Coding
Sub-layer (PCS) functions. The KS8721BL/SL also have onchip 10BASE-T output filtering. This eliminates the need for
external filters and allows a single set of line magnetics to be
used to meet requirements for both 100BASE-TX and
10BASE-T.
The KS8721BL/SL automatically configures itself for 100 or
10Mbps and full- or half-duplex operation, using an on-chip
auto-negotiation algorithm. It is the ideal physical layer
transceiver for 100BASE-TX/10BASE-T applications.
• Single chip 100BASE-TX/100BASE-FX/10BASE-T
physical layer solution
• 2.5V CMOS design; 2.5/3.3V tolerance on I/O
• 3.3V single power supply with built-in voltage regulator;
Power consumption <340mW (including output driver
current)
• Fully compliant to IEEE 802.3u standard
• Supports MII and Reduced MII (RMII)
• Supports 10BASE-T, 100BASE-TX, and 100BASE-FX
with Far_End_Fault Detection
• Supports power-down and power-saving modes
• Configurable through MII serial management ports or via
external control pins
• Supports auto-negotiation and manual selection for
10/100Mbps speed and full-/half-duplex modes
• On-chip, built-in, analog front-end filtering for both
100BASE-TX and 10BASE-T
Functional Diagram
TX+
TX-
Transmitter
10/100
Pulse
Shaper
NRZ/NRZI
MLT3 Encoder
4B/5B Encoder
Scrambler
Parallel/Serial
TXD3
TXD2
TXD1
TXD0
TXER
Parallel/Serial
Manchester Encoder
Adaptive EQ
Base Line
Wander Correction
MLT3 Decoder
NRZI/NRZ
RX+
RX-
Clock
Recovery
4B/5B Decoder
Descrambler
Serial/Parallel
MII/RMII
Registers
and
Controller
Interface
Auto
Negotiation
Manchester Decoder
Serial/Parallel
10BASE-T
Receiver
Power
Down or
Saving
XI
XO
PLL
PWRDWN
TXC
TXEN
CRS
COL
MDIO
MDC
RXD3
RXD2
RXD1
RXD0
RXER
RXDV
RXC
LINK
LED
Driver
COL
FDX
SPD
Micrel, Inc. • 1849 Fortune Drive • San Jose, CA 95131 • USA • tel + 1 (408) 944-0800 • fax + 1 (408) 474-1000 • http://www.micrel.com
May 2004
1
M9999-051704
KS8721BL/SL
Features
Micrel
Ordering Information
(continued)
Part Number
• LED outputs for link, activity, full-/half-duplex, collision,
and speed
• Supports back-to-back, FX to TX for media converter
applications
• Supports MDI/MDI-X auto-crossover
• KS8721BL is a drop-in replacement for the KS8721BT
in the same footprint
• KS8721SL is a drop-in replacement for the KS8721B in
the same footprint
• Commercial temperature range: 0°C to +70°C
• Industrial temperature range: –40°C to +85°C
• Available in 48-pin SSOP and LQFP
M9999-051704
2
Temp. Range
Package
Lead Finish
KS8721BL
0°C to +70°C
48-Pin LQFP
Standard
KS8721SL
0°C to +70°C
48-Pin SSOP
Standard
KS8721BLI
–40°C to +85°C
48-Pin LQFP
Standard
KS8721SLI
–40°C to +85°C
48-Pin SSOP
Standard
KSZ8721BL
0°C to +70°C
48-Pin LQFP
Lead-Free
KSZ8721SL
0°C to +70°C
48-Pin SSOP
Lead-Free
May 2004
KS8721BL/SL
Micrel
Revision History
Revision
Date
Summary of Changes
0.90
1/12/04
Created.
1.0
3/06/04
Initial release. Change to new format. Add part-ordering information. Editorial changes on pin description,
RMII, and media converter operation. Update circuit design, reset timing, thermal resistance, electrical
characteristics, and strapping option circuit.
1.1
5/17/04
Added BLI product information.
May 2004
3
M9999-051704
KS8721BL/SL
Micrel
Table Of Contents
Pin Description ............................................................................................................................................................ 6
Strapping Option ......................................................................................................................................................... 9
Pin Configuration ...................................................................................................................................................... 10
Introduction ........................................................................................................................................................... 11
100BASE-TX Transmit ........................................................................................................................................ 11
100BASE-TX Receive ......................................................................................................................................... 11
PLL Clock Synthesizer ......................................................................................................................................... 11
Scrambler/De-scrambler (100BASE-TX only) ..................................................................................................... 11
10BASE-T Transmit ............................................................................................................................................. 11
10BASE-T Receive .............................................................................................................................................. 11
SQE and Jabber Function (10BASE-T only) ....................................................................................................... 11
Auto-Negotiation .................................................................................................................................................. 11
MII Management Interface ................................................................................................................................... 12
MII Data Interface ................................................................................................................................................ 12
Transmit Clock ............................................................................................................................................. 12
Receive Clock .............................................................................................................................................. 12
Transmit Enable ........................................................................................................................................... 12
Receive Data Valid ...................................................................................................................................... 12
Error Signals ................................................................................................................................................ 12
Carrier Sense ............................................................................................................................................... 12
Collision ........................................................................................................................................................ 13
RMII (Reduced MII) Data Interface ..................................................................................................................... 13
RMII Signal Definition .......................................................................................................................................... 13
Reference Clock .................................................................................................................................................. 13
Carrier Sense/Receive Data Valid ....................................................................................................................... 13
Receive Data ....................................................................................................................................................... 13
Transmit Enable ................................................................................................................................................... 13
Transmit Data ...................................................................................................................................................... 14
Collision Detection ............................................................................................................................................... 14
RX_ER
........................................................................................................................................................... 14
RMII AC Characteristics ...................................................................................................................................... 14
Unused RMII Pins ................................................................................................................................................ 14
Auto-Crossover (Auto-MDI/MDI-X) ...................................................................................................................... 15
Power Management ............................................................................................................................................. 16
100BT FX Mode .................................................................................................................................................. 16
Media Converter Operation ................................................................................................................................. 16
Circuit Design Reference for Power Supply ........................................................................................................ 17
Register Map ........................................................................................................................................................... 18
Register 0h: Basic Control .................................................................................................................................. 18
Register 1h: Basic Status ................................................................................................................................... 18
Register 2h: PHY Identifier 1 .............................................................................................................................. 19
Register 3h: PHY Identifier 2 .............................................................................................................................. 19
Register 4h: Auto-Negotiation Advertisement ..................................................................................................... 19
Register 5h: Auto-Negotiation Link Partner Ability .............................................................................................. 19
Register 6h: Auto-Negotiation Expansion ........................................................................................................... 20
Register 7h: Auto-Negotiation Next Page ........................................................................................................... 20
Register 8h: Link Partner Next Page Ability ........................................................................................................ 20
M9999-051704
4
May 2004
KS8721BL/SL
Micrel
Register Map (continued)
Register 15h: RXER Counter ......................................................................................................................................
Register 1bh: Interrupt Control/Status Register ..........................................................................................................
Register 1fh: 100BASE-TX PHY Controller ................................................................................................................
Absolute Maximum Ratings ........................................................................................................................................
Operating Ratings ........................................................................................................................................................
Electrical Characteristics ............................................................................................................................................
Timing Diagrams ..........................................................................................................................................................
Selection of Isolation Transformer ............................................................................................................................
Selection of Reference Crystal ...................................................................................................................................
Package Information ...................................................................................................................................................
21
21
21
23
23
23
25
31
31
32
May 2004
5
M9999-051704
KS8721BL/SL
Micrel
Pin Description
Pin Number
Pin Name
Type(1)
1
MDIO
I/O
2
MDC
I
3
RXD3/
PHYAD
Ipd/O
MII Receive Data Output. RXD [3..0], these 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.
During reset, the pull-up/pull-down value is latched as PHYADDR [1]. See
“Strapping Options” section for details.
4
RXD2/
PHYAD2
Ipd/O
MII Receive Data Output.
During reset, the pull-up/pull-down value is latched as PHYADDR[2]. See
“Strapping Options” section for details.
5
RXD1/
PHYAD3
Ipd/O
MII Receive Data Output.
During reset, the pull-up/pull-down value is latched as PHYADDR [3]. See
“Strapping Options” section for details.
6
RXD0/
PHYAD4
Ipd/O
MII Receive Data Output.
During reset, the pull-up/pull-down value is latched as PHYADDR [4]. See
“Strapping Options” section for details.
7
VDDIO
P
8
GND
GND
Ground.
9
RXDV/
CRSDV/
PCS_LPBK
Ipd/O
MII Receive Data Valid Output.
During reset, the pull-up/pull-down value is latched as PCS_LPBK. See
“Strapping Options” section for details.
10
RXC
O
11
RXER/ISO
Ipd/O
MII Receive Error Output.
During reset, the pull-up/pull-down value is latched as ISOLATE during reset. See
“Strapping Options” section for details.
12
GND
GND
Ground.
13
VDDC
P
14
TXER
Ipd
MII Transmit Error Input.
15
TXC/
REFCLK
I/O
MII Transmit Clock Output.
Input for crystal or an external 50MHz clock. When REFCLK pin is used for
REF clock interface, pull up XI to VDDPLL 2.5V via 10kΩ resistor and leave
XO pin unconnected.
16
TXEN
Ipd
MII Transmit Enable Input.
17
TXD0
Ipd
MII Transmit Data Input.
18
TXD1
Ipd
MII Transmit Data Input.
Pin Function
Management Independent Interface (MII) Data I/O. This pin requires an external
10K pull-up resistor.
MII Clock Input. This pin is synchronous to the MDIO.
Digital IO 2.5 /3.3V tolerant power supply. 3.3V power Input of voltage
regulator. See “Circuit Design Ref. for Power Supply" section for details.
MII Receive Clock Output. Operating at 25MHz = 100Mbps, 2.5MHz = 10Mbps.
Digital core 2.5V only power supply. See “Circuit Design Ref. for Power Supply"
section for details.
Notes:
1. P = Power supply.
GND = Ground.
I = Input.
I/O = Bidirectional.
Ipd = Input w/ internal pull-down.
Ipd/O = Input w/ internal pull-down during reset, output pin otherwise.
Ipu = Input w/ internal pull-up.
Ipu/O = Input w/ internal pull-up during reset, output pin otherwise.
O = Output.
M9999-051704
6
May 2004
KS8721BL/SL
Micrel
Pin Number
Pin Name
Type(1)
19
TXD2
Ipd
MII Transmit Data Input.
20
TXD3
Ipd
MII Transmit Data Input.
21
COL/RMII
Ipd/O
MII Collision Detect Output.
During reset, the pull-up/pull-down value is latched as RMII select. See “Strapping
Options” section for details.
22
CRS/
RMII_BTB
Ipd/O
MII Carrier Sense Output.
During reset, the pull-up/pull-down value is latched as RMII back-to-back mode
when RMII mode is selected. See “Strapping Options” section for details.
23
GND
GND
Ground.
24
VDDIO
P
Digital IO 2.5/3.3V tolerant power supply. 3.3V power input of voltage regulator.
See “Circuit Design Ref. for Power Supply” section for details.
25
INT#/
PHYAD0
Ipu/O
Management Interface (MII) Interrupt Out. Interrupt level set by
Register 1f, bit 9.
During reset, latched as PHYAD[0]. See “Strapping Options” section for details.
26
LED0/TEST
Ipu/O
Link/Activity LED Output. The external pull-down enable test mode and only used
for the factory test. Active low.
27
28
29
30
LED1/
SPD100/
nFEF
LED2/
LED3/
NWAYEN
PD#
Ipu/O
Ipu/O
Ipu/O
Ipu
Pin Function
Link/Act
Pin State
LED Definition
No Link
H
“Off”
Link
L
“On”
Act
—
“Toggle”
PHYAD0
Speed LED Output. Latched as SPEED (Register 0, bit 13) during power-up/
reset. See “Strapping Options” section for details. Active low.
Speed
Pin State
LED Definition
10BT
H
“Off”
100BT
L
“On”
Full-duplex LED Output. Latched as DUPLEX (register 0h, bit 8) during power-up/
reset. See “Strapping DUPLEX Options” section for details. Active low.
Duplex
Pin State
LED Definition
Half
H
“Off”
Full
L
“On”
Collision LED Output. Latched as ANEG_EN (register 0h, bit 12) during power-up/
reset. See “Strapping Options” section for details.
Collison
Pin State
LED Definition
No Collision
H
“Off”
Collision
L
“On”
Power Down. 1 = Normal operation, 0 = Power-down. Active low.
Notes:
1. P = Power supply.
GND = Ground.
I = Input.
I/O = Bidirectional.
Ipd = Input w/ internal pull-down.
Ipd/O = Input w/ internal pull-down during reset, output pin otherwise.
Ipu = Input w/ internal pull-up.
Ipu/O = Input w/ internal pull-up during reset, output pin otherwise.
O = Output.
May 2004
7
M9999-051704
KS8721BL/SL
Micrel
Pin Number
Pin Name
Type(1)
31
VDDRX
P
Analog 2.5V power supply. See “Circuit Design Ref. for Power Supply” section for
details.
32
RX-
I
Receive Input. Differential receive input pins for 100FX, 100BASE-TX, or 10BASE-T.
33
RX+
I
Receive Input: Differential receive input pin for 100FX, 100BASE-TX, or 10BASE-T.
34
FXSD/FXEN
Ipd/O
Fiber Mode Enable / Signal Detect in Fiber Mode. If FXEN = 0, FX mode is
disable. The default is “0”. See “100BT FX Mode” section for more details.
35
GND
GND
Ground.
36
GND
GND
Ground.
37
REXT
I
External resistor (6.49kW ) connects to REXT and GND.
38
VDDRCV
P
Analog 2.5V power supply. 2.5V power output of voltage regulator. See “Circuit
Design Ref. for Power Supply” section for details.
39
GND
GND
40
TX-
O
Transmit Outputs: Differential transmit output for 100FX, 100BASE-TX, or
10BASE-T.
41
TX+
O
Transmit Outputs: Differential transmit output for 100FX, 100BASE-TX, or 10BASE-T.
42
VDDTX
P
Transmitter 2.5V power supply. See “Circuit Design Ref. for Power Supply” section
for details.
43
GND
GND
Ground.
44
GND
GND
Ground.
45
XO
O
XTAL feedback: Used with XI for Xtal application.
46
XI
I
Crystal Oscillator Input: Input for a crystal or an external 25MHz clock.
If an oscillator is used, XI connects to a 3.3V tolerant oscillator, and X2 is a noconnect.
47
VDDPLL
P
Analog PLL 2.5V power supply. See “Circuit Design Ref. for Power Supply”
section for details.
48
RST#
Ipu
Pin Function
Ground.
Chip Reset. Active low, minimum of 50µs pulse is required.
Notes:
1. P = Power supply.
GND = Ground.
I = Input.
I/O = Bidirectional.
Ipd = Input w/ internal pull-down.
Ipd/O = Input w/ internal pull-down during reset, output pin otherwise.
Ipu = Input w/ internal pull-up.
Ipu/O = Input w/ internal pull-up during reset, output pin otherwise.
O = Output.
M9999-051704
8
May 2004
KS8721BL/SL
Micrel
Strapping Options(1)
Pin Number
Pin Name
Type(2)
6,5,
4,3
PHYAD[4:1]/
RXD[0:3]
Ipd/O
25
PHYAD0/
INT#
Ipu/O
9
PCS_LPBK/
RXDV
Ipd/O
Enables PCS_LPBK mode at power-up/reset. PD (default) = Disable, PU = Enable.
11
ISO/RXER
Ipd/O
Enables ISOLATE mode at power-up/reset. PD (default) = Disable, PU = Enable.
21
RMII/COL
Ipd/O
Enables RMII mode at power-up/reset. PD (default) = Disable, PU = Enable.
22
RMII_BTB
CRS
Ipd/O
Enable RMII back-to-back mode at power-up/reset. PD (default) = Disable,
PU = Enable.
27
SPD100/
No FEF/
LED1
Ipu/O
Latched into Register 0h bit 13 during power-up/reset. PD = 10Mbps, PU (default)
= 100Mbps. If SPD100 is asserted during power-up/reset, this pin is also latched as
the Speed Support in register 4h. (If FXEN is pulled up, the latched value 0
means no Far_End _Fault.)
28
DUPLEX/
LED2
Ipu/O
Latched into Register 0h bit 8 during power-up/reset. PD = Half-duplex, PU
(default) = Full-duplex. If Duplex is pulled up during reset, this pin is also latched as
the Duplex support in register 4h.
29
NWAYEN/
LED3
Ipu/O
Nway (auto-negotiation) Enable. Latched into Register 0h bit 12 during power-up/
reset. PD = Disable Auto-Negotiation, PU (default) = Enable Auto-Negotiation.
30
PD#
Ipu
Power-Down Enable. PU (default) = Normal operation, PD = Power-Down mode.
Description
PHY Address latched at power-up/reset. The default PHY address is 00001.
Notes:
1. Strap-in is latched during power-up or reset.
2. Ipu = Input w/ internal pull-up.
Ipd/O = Input w/ internal pull-down during reset, output pin otherwise.
Ipu/O = Input w/ internal pull-up during reset, output pin otherwise.
See “Reference Circuit” section for pull-up/pull-down and float information.
May 2004
9
M9999-051704
KS8721BL/SL
Micrel
Pin Configuration
MDIO 1
48 RST#
MDC 2
47 VDDPLL
R3D3/PHYAD1 3
46 XI
RXD2/PHYAD2 4
45 XO
RXD1/PHYAD3 5
44 GND
RXD0/PHYAD4 6
43 GND
42 VDDTX
GND 8
41 TX+
RXDV/PCS_LPBK 9
40 TX-
RXC 10
RXER/ISO 11
GND 12
39 GND
38 VDDRCV
48 47 46 45 44 43 42 41 40 39 38 37
37 REXT
VDDC 13
36 GND
TXER 14
35 GND
TXC/REF_CLK 15
RST#
VDDPLL
X1
X0
GND
GND
VDDTX
TX+
TX—
GND
VDDRCV
REXT
VDDIO 7
MDIO
MDC
RXD3/PHYAD1
RXD2/PHYAD2
RXD1/PHYAD3
RXD0/PHYAD4
VDDIO
GND
RXDV/PCS_LPBK
RXC
RXER/ISO
GND
34 FXSD/FXEN
TXEN 16
33 RX+
TXD0 17
32 RX-
TXD1 18
31 VDDRX
TXD2 19
30 PD#
TXD3 20
29 LED3/NWAYEN
COL/RMII 21
28 LED2/DUPLEX
36
35
34
33
32
31
30
29
28
27
26
25
1
2
3
4
5
6
7
8
9
10
11
12
GND
GND
FXSD/FXEN
RX+
RX—
VDDRX
PD#
LED3/NWAYEN
LED2/DUPLEX
LED1/SPD100
LED0/TEST
INT#/PHYAD0
CRS/RMII_BTB 22
GND 23
VDDIO 24
VDDC
TXER
TXC/REF_CLK
TXEN
TXD0
TXD1
TXD2
TXD3
COL/RMII
CRS/RMII_BTB
GND
VDDIO
13 14 15 16 17 18 19 20 21 22 23 24
27 LED1/SPD100
26 LED0/TEST
25 INT#/PHYAD0
48-Pin LQFP (LQ)
48-Pin SSOP (SM)
M9999-051704
10
May 2004
KS8721BL/SL
Micrel
Introduction
100BASE-TX Transmit
The 100BASE-TX transmit function performs parallel to serial conversion, NRZ-to-NRZI conversion, and MLT-3 encoding and
transmission. The circuitry starts with a parallel to serial conversion that converts the 25MHz, 4-bit nibbles into a 125MHz serial
bit stream. The incoming data is clocked in at the positive edge of the TXC signal. 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 1% 6.49kΩ resistor
for the 1:1 transformer ratio. Its typical rise/fall time of 4ns complies with the ANSI TP-PMD standard regarding amplitude
balance, overshoot, and timing jitter. The wave-shaped 10BASE-T output driver is also incorporated into the 100BASE-TX
driver.
100BASE-TX Receive
The 100BASE-TX receive function performs adaptive equalization, DC restoration, MLT-3 to NRZI conversion, data and clock
recovery, NRZI-to-NRZ conversion, and serial-to-parallel conversion. The receiving side starts with the equalization filter to
compensate inter-symbol interference (ISI) over the twisted pair cable. Since the amplitude loss and phase distortion are a
function of the length of the cable, the equalizer has to adjust its characteristic to optimize performance. In this design, the
variable equalizer will make an initial estimation based on comparisons of incoming signal strength against some known cable
characteristics, then tunes itself for optimization. This is an ongoing process and can self-adjust for environmental changes
such as temperature variations.
The equalized signal then goes through a DC restoration and data conversion block. The DC restoration circuit is used to
compensate for the effects of base line wander and improve dynamic range. The differential data conversion circuit converts
the MLT3 format back to NRZI. The slicing threshold 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. Finally, the NRZ serial data is converted to 4-bit parallel 4B nibbles. A
synchronized 25MHz RXC is generated so that the 4B nibbles are clocked out at the negative edge of RCK25 and is valid for
the receiver at the positive edge. When no valid data is present, the clock recovery circuit is locked to the 25MHz reference
clock and both TXC and RXC clocks continue to run.
PLL Clock Synthesizer
The KS8721BL/SL generates 125MHz, 25MHz, and 20MHz clocks for system timing. An internal crystal oscillator circuit
provides the reference clock for the synthesizer.
Scrambler/De-scrambler (100BASE-TX only)
The purpose of the scrambler is to spread the power spectrum of the signal in order to reduce electromagnetic interference
(EMI) and baseline wander.
10BASE-T Transmit
When TXEN (transmit enable) goes high, data encoding and transmission begins. The KS8721BL/SL continues to encode and
transmit data as long as TXEN remains high. The data transmission ends when TXEN goes low. The last transition occurs at
the boundary of the bit cell if the last bit is zero, or at the center of the bit cell if the last bit is one. The output driver is incorporated
into the 100BASE-T driver to allow transmission with the same magnetics. They are internally wave-shaped and preemphasized into outputs with a typical 2.5V amplitude. The harmonic contents are at least 27dB below the fundamental when
driven by an all-ones, Manchester-encoded signal.
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 300mV or with short pulse widths in order to prevent noise at the RX+ or
RX- input from falsely triggering the decoder. When the input exceeds the squelch limit, the PLL locks onto the incoming signal
and the KS8721BL/SL decodes a data frame. This activates the carrier sense (CRS) and RXDV signals and makes the receive
data (RXD) available. The receive clock is maintained 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 packet is transmitted. This is required as a test of
the 10BASE-T transmit/receive path and is called an SQE test. The 10BASE-T transmitter is disabled and COL goes high if
TXEN is high for more than 20ms (Jabbering). If TXEN then goes low for more than 250ms, the 10BASE-T transmitter is reenabled and COL goes low.
Auto-Negotiation
The KS8721BL/SL performs auto-negotiation by hardware strapping option (pin 29) or software (Register 0.12). It
automatically chooses its mode of operation by advertising its abilities and comparing them with those received from its link
May 2004
11
M9999-051704
KS8721BL/SL
Micrel
partner whenever auto-negotiation is enabled. It can also be configured to advertise 100BASE-TX or 10BASE-T in either fullor half-duplex mode (please refer to “Auto-Negotiation”). Auto-negotiation is disabled in the FX mode.
During auto-negotiation, the contents of Register 4, coded in fast link pulse (FLP), are sent to its link partner under the conditions
of power-on, link-loss, or restart. At the same time, the KS8721BL/SL monitors incoming data to determine its mode of
operation. The parallel detection circuit is enabled as soon as either 10BASE-T normal link pulse (NLP) or 100BASE-TX idle
is detected. The operation mode is configured based on the following priority:
Priority 1: 100BASE-TX, full-duplex
Priority 2: 100BASE-TX, half-duplex
Priority 3: 10BASE-T, full-duplex
Priority 4: 10BASE-T, half-duplex
When the KS8721BL/SL receives a burst of FLP from its link partner with three identical link code words (ignoring acknowledge
bit), it will store these code words in Register 5 and wait for the next three identical code words. Once the KS8721BL/SL detects
the second code words, it then configures itself according to the above-mentioned priority. In addition, the KS8721BL/SL also
checks for 100BASE-TX idle or 10BASE-T NLP symbols. If either is detected, the KS8721BL/SL automatically configures to
match the detected operating speed.
MII Management Interface
The KS8721BL/SL 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 KS8721BL/SL. The MDIO
interface consists of the following:
• A physical connection including a data line (MDIO), a clock line (MDC), and an optional interrupt line (INTRPT).
• A specific protocol that runs across the above-mentioned physical connection that allows one controller to
communicate with multiple KS8721BL/SL devices. Each KS8721BL/SL is assigned an MII address between 0 and
31 by the PHYAD inputs.
• An internal addressable set of fourteen 16-bit MDIO registers. Registers [0:6] are required and their functions are
specified by the IEEE 802.3 specifications. Additional registers are provided for expanded functionality.
The INTPRT pin functions as a management data interrupt in the MII. An active Low or High in this pin indicates a status change
on the KS8721BL/SL based on 1fh.9 level control. Register bits at 1bh[15:8] are the interrupt enable bits. Register bits at
1bh[7:0] are the interrupt condition bits. This interrupt is cleared by reading Register 1bh.
MII Data Interface
The data interface consists of separate channels for transmitting data from a 10/100 802.3 compliant Media Access Controller
(MAC) to the KS8721BL/SL, and for receiving data from the line. Normal data transmission is implemented in 4B nibble mode
(4-bit wide nibbles).
Transmit Clock (TXC): The transmit clock is normally generated by the KS8721BL/SL from an external 25MHz reference
source at the X1 input. The transmit data and control signals must always be synchronized to the TXC by the MAC. The
KS8721BL/SL normally samples these signals on the rising edge of the TXC.
Receive Clock (RXC): For 100BASE-TX links, the receive clock is continuously recovered from the line. If the link goes down,
and auto-negotiation is disabled, the receive clock operates off the master input clock (X1 or TXC). For 10BASE-T links, the
receive clock is recovered from the line while carrier is active, and operates from the master input clock when the line is idle.
The KS8721BL/SL synchronizes the receive data and control signals on the falling edge of RXC in order to stabilize the signals
at the rising edge of the clock with 10ns setup and hold times.
Transmit Enable: The MAC must assert TXEN at the same time as the first nibble of the preamble, and de-assert TXEN after
the last bit of the packet.
Receive Data Valid: The KS8721BL/SL asserts RXDV when it receives a valid packet. Line operating speed and MII mode
will determine timing changes in the following way:
• For 100BASE-TX links with the MII in 4B mode, RXDV is asserted from the first nibble of the preamble to the last
nibble of the data packet.
• For 10BASE-T links, the entire preamble is truncated. RXDV is asserted with the first nibble of the SFD “5D” and
remains asserted until the end of the packet.
Error Signals: Whenever the KS8721BL/SL receives an error symbol from the network, it asserts RXER and drives “1110”
(4B) on the RXD pins. When the MAC asserts TXER, the KS8721BL/SL will drive “H” symbols (a Transmit Error defined in
the IEEE 802.3 4B/5B code group) out on the line to force signaling errors.
Carrier Sense (CRS): For 100BASE-TX links, a start-of-stream delimiter, or /J/K symbol pair causes assertion of Carrier
Sense (CRS). An end-of-stream delimiter, or /T/R symbol pair, causes de-assertion of CRS. The PMA layer will also de-assert
CRS if IDLE symbols are received without /T/R, yet in this case RXER will be asserted for one clock cycle when CRS is deM9999-051704
12
May 2004
KS8721BL/SL
Micrel
asserted. For 10BASE-T links, CRS assertion is based on reception of valid preamble, and de-assertion on reception of an
end-of-frame (EOF) marker.
Collision: Whenever the line state is half-duplex and the transmitter and receiver are active at the same time, the KS8721BL/
SL asserts its collision signal, which is asynchronous to any clock.
RMII (Reduced MII) Data Interface
RMII interface specifies a low-pin count, Reduced Media Independent Interface (RMII) intended for use between Ethernet
PHYs and Switch or Repeater ASICs. It is fully compliant with IEEE 802.3u [2].
This interface has the following characteristics:
• It is capable of supporting 10Mbps and 100Mbps data rates.
• A single clock reference is sourced from the MAC to PHY (or from an external source).
• It provides independent 2-bit wide (di-bit) transmit and receive data paths.
• It uses TTL signal levels compatible with common digital CMOS ASIC processes.
RMII Signal Definition
Signal Name
Direction
(w/respect to the PHY)
Direction
(w/respect to the MAC)
REF_CLK
Input
Input or Output
Synchronous clock reference for receive, transmit and
control interface
CRS_DV
Output
Input
Carrier Sense/Receive Data Valid
RXD[1:0]
Output
Input
Receive Data
TX_EN
Input
Output
Transmit Enable
TXD[1:0]
Input
Output
Transmit Data
RX_ER
Output
Input (Not Required)
Receive Error
Use
Reference Clock (REF_CLK)
REF_CLK is a continuous 50MHz clock that provides the timing reference for CRS_DV, RXD[1:0], TX_EN, TXD[1:0], and
RX_E. REF_CLK is sourced by the MAC or an external source. Switch implementations may choose to provide REF_CLK as
an input or an output depending on whether they provide a REF_CLK output or rely on an external clock distribution device.
Each PHY device must have an input corresponding to this clock but may use a single clock input for multiple PHYs
implemented on a single IC.
Carrier Sense/Receive Data Valid (CRS_DV)
CRS_DV is asserted asynchronously on detection of carrier due to the criteria relevant to the operating mode. That is, in
10BASE-T mode, when squelch is passed or in 100BASE-X mode when 2 noncontiguous zeroes in 10 bits are detected, the
carrier is detected.
Loss-of-carrier results in the de-assertion of CRS_DV synchronous to REF_CLK. As carrier criteria are met, CRS_DV remains
continuously asserted from the first recovered di-bit of the frame through the final recovered di-bit and is negated prior to the
first REF_CLK that follows the final di-bit.
The data on RXD[1:0] is considered valid once CRS_DV is asserted. However, since the assertion of CRS_DV is asynchronous
relative to REF_CLK, the data on RXD[1:0] remains as “00” until proper receive signal decoding takes place (see “Definition
of RXD[1:0] Behavior”).
Receive Data [1:0] (RXD[1:0])
RXD[1:0] transitions synchronously to REF_CLK. For each clock period in which CRS_DV is asserted, RXD[1:0] transfers two
bits of recovered data from the PHY. In some cases (e.g., before data recovery or during error conditions), a predetermined
value for RXD[1:0] is transferred instead of recovered data. RXD[1:0] remains as “00” to indicate idle when CRS_DV is deasserted. Values of RXD[1:0] other than “00” when CRS_DV is de-asserted are reserved for out-of-band signalling (to be
defined). Values other than “00” on RXD[1:0] while CRS_DV is de-asserted are ignored by the MAC/repeater. Upon assertion
of CRS_DV, the PHY ensures that RXD[1:0]=00 until proper receive decoding takes place.
Transmit Enable (TX_EN)
Transmit Enable TX_EN indicates that the MAC is presenting di-bits on TXD[1:0] on the RMII for transmission. TX_EN is
asserted synchronously with the first nibble of the preamble and remains asserted while all transmitted di-bits are presented
May 2004
13
M9999-051704
KS8721BL/SL
Micrel
to the RMII. TX_EN is negated prior to the first REF_CLK following the final di-bit of a frame. TX_EN transitions synchronously
with respect to REF_CLK.
Transmit Data [1:0] (TXD[1:0])
Transmit Data TXD[1:0] transitions synchronously with respect to REF_CLK. When TX_EN is asserted, TXD[1:0] are accepted
for transmission by the PHY. TXD[1:0] remains as “00” to indicate idle when TX_EN is de-asserted. Values of TXD[1:0] other
than “00” when TX_EN is de-asserted are reserved for out-of-band signalling (to be defined). Values other than “00” on
TXD[1:0] while TX_EN is de-asserted are ignored by the PHY.
Collision Detection
Since the definition of CRS_DV and TX_EN both contain an accurate indication of the start of frame, the MAC reliably
regenerates the COL signal of the MII by ANDing TX_EN and CRS_DV.
During the IPG time following the successful transmission of a frame, the COL signal is asserted by some transceivers as a
self-test. The Signal Quality Error (SQE) function is not supported by the reduced MII due to the lack of the COL signal.
Historically, SQE was present to indicate that a transceiver located physically remote from the MAC was functioning. Since
the reduced MII only supports chip-to-chip connections on a PCB, SQE functionality is not required.
RX_ER
The PHY provides RX_ER as an output according to the rules specified in IEEE 802.3u [2] (see Clause 24, Figure 24-11–
Receive State Diagram). RX_ER is asserted for one or more REF_CLK periods to indicate that an error (e.g., a coding error
or any error that a PHY is capable of detecting, and that may otherwise be undetectable by the MAC sublayer) is detected
somewhere in the frame presently being transferred from the PHY. RX_ER transitions synchronously with respect to
REF_CLK. While CRS_DV is de-asserted, RX_ER has no effect on the MAC.
RMII AC Characteristics
Symbol
Parameter
Min
REF_CLK Frequency
Typ
Max
50
Unit
MHz
REF_CLK Duty Cycle
35
65
%
tSU
TXD[1:0], TX_EN, RXD[1:0], CRS_DV, RXER
4
ns
tH
TXD[1:0], TX_EN, RXD[1:0], CRS_DV, RXER
Data Hold from REF_CLK
Rising Edge
2
ns
Unused RMII Pins
Input Pins
Output Pins
M9999-051704
TXD[2:3] and TXER are pull-down to GND.
RXD[2:3] and RXC are no connect.
Note that the RMII pin needs to be pulled up to enable RMII mode.
14
May 2004
KS8721BL/SL
Micrel
Auto-Crossover (Auto-MDI/MDI-X)
Automatic MDI/MDI-X configuration is intended to eliminate the need for crossover cables between similar devices. The
assignment of pinouts for a 10/100 BASE-T crossover function cable is shown below.
This feature eliminates the confusion in applications by allowing the use of both straight and crossover cables. This feature
is controlled by register 1f:13. See “Register 1fh–100BASE-TX PHY Controller” section for details.
10/100 BASE-T
Media Dependent Interface
10/100 BASE-T
Media Dependent Interface
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
Transmit Pair
Receive Pair
Receive Pair
Transmit Pair
Modular Connector
(RJ45)
Modular Connector
(RJ45)
NIC
HUB
(Repeater or Switch)
Figure 1. Straight Through Cable
10/100 BASE-T
Media Dependent Interface
10/100 BASE-T
Media Dependent Interface
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
Receive Pair
Receive Pair
Transmit Pair
Transmit Pair
Modular Connector (RJ45)
Modular Connector (RJ45)
HUB
(Repeater or Switch)
HUB
(Repeater or Switch)
Figure 2. Crossover Cable
May 2004
15
M9999-051704
KS8721BL/SL
Micrel
Power Management
The KS8721BL/SL offers the following modes for power management:
• Power-Down Mode: This mode can be achieved by writing to Register 0.11 or pulling pin 30 PD# low.
• Power-Saving Mode: This mode can be disabled by writing to Register 1fh.10. The KS8721BL/SL turns off
everything except for the Energy Detect and PLL circuits when the cable is not installed. In other words, the
KS8721BL/SL shuts down most of the internal circuits to save power if there is no link. Power-saving mode is in the
most effective state when auto-negotiation mode is enabled.
100BT FX Mode
Please contact your local field application engineer (FAE) for a reference schematic on fiber connection.
100BT FX mode is activated when FXSD/FXEN is higher than 0.6V (this pin has a default pull down). Under this mode, the
auto-negotiation and auto-MDI-X features are disabled.
In fiber operation, the FXSD pin should connect to the signal detect (SD) output of the fiber module. The internal threshold of
FXSD is around 1/2 VDD ±50mV (1.25V ±0.05V). Above this level, the fiber signal is considered detected. The operation is
summarized in the following table:
FXSD/FXEN
Condition
Less than 0.6V
100TX mode
Less than 1.25V,
but greater than 0.6V
FX mode
No signal detected
FEF generated
Greater than 1.25
FX mode
Signal detected
Table 1. 100BT FX Mode
To ensure proper operation, the swing of fiber module SD should cover the threshold variation. A resistive voltage divider is
recommended to adjust the SD voltage range.
Far End Fault (FEF), repetition of a special pattern which consists of 84-one and 1-zero, is generated under “FX mode with
no signal detected.” The purpose of FEF is to notify the sender of a faulty link. When receiving an FEF, the LINK will go down
to indicate a fault, even with fiber signal detected. The transmitter is not affected by receiving an FEF and still sends out its
normal transmit pattern from MAC. FEF can be disabled by strapping pin 27 low. Refer to the “Strapping Options” section.
Media Converter Operation
The KS8721BL/SL is capable of performing media conversion with two parts in a back-to-back RMII loop-back mode as
indicated in the diagram. Both parts are in RMII mode and with RMII BTB asserted (pins 21 and 22 strapped high). One part
is operating in TX mode and the other is operating in FX mode. Both parts can share a common 50MHz oscillator.
Under this operation, auto-negotiation on the TX side prohibits 10BASE-T link-up. Additional options can be implemented
under this operation. Disable the transmitter and set it at tri-state by controlling the high TXD2 pin. In order to do this, RXD2
and TXD2 pins need to be connected via inverter. When TXD2 pin is high in both the copper and fiber operation, it is disabled
transmit. Meanwhile, the RXD2 pin on the copper side serves as the energy detect and can indicate if a line signal is detected.
TXD3 should be tied low and RXD3 let float. Please contact your Micrel FAE for a media converter reference design.
VCC
21 22
Pin
Rx +/-
KS8721BL/SL
RxD
TxD
Tx +/-
TxC/
Ref_CLK
OSC
FTx
KS8721BL/SL
FRx
50MHz
TxC/
Ref_CLK
(Fiber Mode)
Pin
34
TxD
RxD
Pin
21 22
To the SD pin of the
Fiber Module
VCC
Figure 3. Fiber Module
M9999-051704
16
May 2004
KS8721BL/SL
Micrel
Circuit Design Reference for Power Supply
Micrel’s integrated built-in, voltage regulator technology and thoughtful implementation allows the user to save BOM cost on
both existing and future designs with the use of the new KS8721BL/SL single supply, single port 10/100 Ethernet PHY.
Ferrite Bead
Ferrite Bead
10µF
13
10µF
10µF
10µF
47
VDDC
42
VDDPLL
31
10µF
38
VDDRCV
10µF
7
+2.5VA
+2.5VPLL
VDDRX
+2.5V
VDDTX
+3.3V
VDDI/O
IN
24
OUT
Voltage
Regulator
VDDI/O
GND
KS8721BL/SL
8
12
23
35
36
39
43
44
Figure 4. Circuit Design
The circuit design in Figure 4 shows the power connections for the power supply: the 3.3V to VDDI/O is the only input power
source and the 2.5V at VDDRCV, pin 38, is the output of the voltage regulator that needs to supply through the rest of the 2.5V
VDD pins via the 2.5V power plane.
The 2.5V VDD pins make the drop-in replacement with the existing KS8721B/BT part. Table 2 shows the drop-in replacement
from the existing KS8721B/BT to the KS8721SL/BL. Please contact your local Micrel FAE for Application Note AN-117, “Dropin Replacement with KS8721BT.”
2.5V/3.3V Supply
3.3V Supply with Built-in Regulator
Part Number
Package
Part Number
KS8721B
48-SSOP
KS8721SL
Package
48-SSOP
KS8721BT
48-TQFP
KS8721BL
48-LQFP
KS8721BI
48-SSOP
KS8721SLI
48-SSOP
Table 2. Drop-In Replacement
May 2004
17
M9999-051704
KS8721BL/SL
Micrel
Register Map
Register No.
Description
0h
Basic Control Register
1h
Basic Status Register
2h
PHY Identifier I
3h
PHY Identifier II
4h
Auto-Negotiation Advertisement Register
5h
Auto-Negotiation Link Partner Ability Register
6h
Auto-Negotiation Expansion Register
7h
Auto-Negotiation Next Page Register
8h
Link Partner Next Page Ability
15h
RXER Counter Register
1bh
Interrupt Control/Status Register
1fh
100BASE-TX PHY Control Register
Address
Name
Description
Mode(1)
Default
Register 0h - Basic Control
0.15
Reset
1 = software reset. Bit is self-clearing.
RW/SC
0
0.14
Loop-Back
1 = loop-back mode; 0 = normal operation.
RW
0
0.13
Speed Select (LSB)
1 = 100Mbps; 0 = 10Mbps.
Ignored if Auto-Negotiation is enabled (0.12 = 1).
RW
Set by
SPD100
0.12
Auto-Negotiation Enable
1 = enable auto-negotiation process (override 0.13 and 0.8).
0 = disable auto-negotiation process.
RW
Set by
NWAYEN
0.11
Power Down
1 = power-down mode; 0 = normal operation.
RW
0
0.10
Isolate
1 = electrical isolation of PHY from MII and TX+/TX-.
0 = normal operation.
RW
Set by ISO
0.9
Restart Auto-Negotiation
1 = restart auto-negotiation process.
0 = normal operation. Bit is self-clearing.
RW/SC
0
0.8
Duplex Mode
1 = full-duplex; 0 = half-duplex.
RW
Set by
DUPLEX
0.7
Collision Test
1 = enable COL test; 0 = disable COL test.
RW
0
0.6:1
Reserved
RO
0
0.0
Disable
Transmitter
0 = enable transmitter.
1 = disable transmitter.
R/W
0
Register 1h - Basic Status
1.15
100BASE-T4
1 = T4 capable; 0 = not T4 capable.
RO
0
1.14
100BASE-TX Full-Duplex
1 = capable of 100BASE-X full-duplex.
0 = not capable of 100BASE-X full-duplex.
RO
1
1.13
100BASE-TX Half-Duplex 1 = capable of 100BASE-X half-duplex.
0 = not capable of 100BASE-X half-duplex.
RO
1
1.12
10BASE-T Full-Duplex
1 = 10Mbps with full-duplex.
0 = no 10Mbps with full-duplex capability.
RO
1
1.11
10BASE-T Half-Duplex
1 = 10Mbps with half-duplex.
0 = no 10Mbps with half-duplex capability.
RO
1
Note:
1. RW: Read/Write, RO: Read Only, SC: Self Clear, LH: Latch High, LL: Latch Low. Some of the default values are set by strap-in. See “Strapping
Options.”
M9999-051704
18
May 2004
KS8721BL/SL
Micrel
Mode(1)
Default
RO
0
1 = preamble suppression; 0 = normal preamble.
RO
1
Auto-Negotiation Complete
1 = auto-negotiation process completed.
0 = auto-negotiation process not completed.
RO
0
1.4
Remote Fault
1 = remote fault; 0 = no remote fault.
RO/LH
0
1.3
Auto-Negotiation Ability
1 = capable to perform auto-negotiation.
0 = unable to perform auto-negotiation.
RO
1
1.2
Link Status
1 = link is up; 0 = link is down.
RO/LL
0
1.1
Jabber Detect
1 = jabber detected; 0 = jabber not detected. Default is low.
RO/LH
0
1.0
Extended Capability
1 = supports extended capabilities registers.
RO
1
Assigned to the 3rd through 18th bits of the organizationally.
unique identifier (OUI). Micrel’s OUI is 0010A1 (hex).
RO
0022h
Address
Name
1.10:7
Reserved
1.6
No Preamble
1.5
Description
Register 2h - PHY Identifier 1
2.15:0
PHY ID Number
Register 3h - PHY Identifier 2
3.15:10
PHY ID Number
Assigned to the 19th through 24th bits of the organizationally
unique identifier (OUI). Micrel’s OUI is 0010A1 (hex).
RO
000101
3.9:4
Model Number
Six bit manufacturer’s model number.
RO
100001
3.3:0
Revision Number
Four bit manufacturer’s model number.
RO
1001
RW
0
RO
0
RW
0
RO
0
Register 4h - Auto-Negotiation Advertisement
4.15
Next Page
1 = next page capable; 0 = no next page capability.
4.14
Reserved
4.13
Remote Fault
4.12 : 11
Reserved
4.10
Pause
1 = pause function supported; 0 = no pause function.
RW
0
4.9
100BASE-T4
1 = T4 capable; 0 = no T4 capability.
RO
0
4.8
100BASE-TX Full-Duplex
1 = TX with full-duplex; 0 = no TX full-duplex capability.
RW
Set by
SPD100 &
DUPLEX
4.7
100BASE-TX
1 = TX capable; 0 = no TX capability.
RW
Set by
SPD100
4.6
10BASE-T Full-Duplex
1 = 10Mbps with full-duplex.
0 = no 10Mbps full-duplex capability.
RW
Set by
DUPLEX
4.5
10BASE-T
1 = 10Mbps capable; 0 = no 10Mbps capability.
RW
1
4.4:0
Selector Field
[00001] = IEEE 802.3.
RW
00001
1 = remote fault supported; 0 = no remote fault.
Register 5h - Auto-Negotiation Link Partner Ability
5.15
Next Page
1 = next page capable; 0 = no next page capability.
RO
0
5.14
Acknowledge
1 = link code word received from partner.
0 = link code word not yet received.
RO
0
5.13
Remote Fault
1 = remote fault detected; 0 = no remote fault.
RO
0
5.12
Reserved
RO
0
Note:
1. RW: Read/Write, RO: Read Only, SC: Self Clear, LH: Latch High, LL: Latch Low. Some of the default values are set by strap-in. See “Strapping
Options.”
May 2004
19
M9999-051704
KS8721BL/SL
Micrel
Address
Name
Description
Mode(1)
Default
5.11:10
Pause
5.10 5 .11
0 0
RO
0
No PAUSE
0
1
Asymmetric PAUSE (link partner)
1
0
Symmetric PAUSE
1
1
Symmetric & Asymmetric PAUSE (local device)
5.9
100 BASE-T4
1 = T4 capable; 0 = no T4 capability.
RO
0
5.8
100BASE-TX Full-Duplex
1 = TX with full-duplex; 0 = no TX full-duplex capability.
RO
0
5.7
100BASE-TX
1 = TX capable; 0 = no TX capability.
RO
0
5.6
10BASE-T Full-Duplex
1 = 10Mbps with full-duplex.
0 = no 10Mbps full-duplex capability.
RO
0
5.5
10BASE-T
1 = 10Mbps capable; 0 = no 10Mbps capability.
RO
0
5.4:0
Selector Field
[00001] = IEEE 802.3.
RO
00001
RO
0
Register 6h - Auto-Negotiation Expansion
6.15:5
Reserved
6.4
Parallel Detection Fault
1 = fault detected by parallel detection.
0 = no fault detected by parallel detection.
RO/LH
0
6.3
Link Partner Next
Page Able
1 = link partner has next page capability.
0 = link partner does not have next page capability.
RO
0
6.2
Next Page Able
1 = local device has next page capability.
0 = local device does not have next page capability.
RO
1
6.1
Page Received
1 = new page received; 0 = new page not yet received.
RO/LH
0
6.0
Link Partner
Auto-Negotiation Able
1 = link partner has auto-negotiation capability.
0 = link partner does not have auto-negotiation capability.
RO
0
RW
0
RO
0
Register 7h - Auto-Negotiation Next Page
7.15
Next Page
1 = additional next page(s) will follow; 0 = last page.
7.14
Reserved
7.13
Message Page
1 = message page; 0 = unformatted page.
RW
1
7.12
Acknowledge 2
1 = will comply with message.
0 = cannot comply with message.
RW
0
7.11
Toggle
1 = previous value of the transmitted link code word.
equaled logic One; 0 = logic Zero.
RO
0
7.10:0
Message Field
11-bit wide field to encode 2048 messages.
RW
001
Register 8h - Link Partner Next Page Ability
8.15
Next Page
1 = additional next page(s) will follow; 0 = last page.
RO
0
8.14
Acknowledge
1 = successful receipt of link word.
0 = no successful receipt of link word.
RO
0
8.13
Message Page
1 = Message Page; 0 = unformatted page.
RO
0
8.12
Acknowledge 2
1 = able to act on the information.
0 = not able to act on the information.
RO
0
8.11
Toggle
1 = previous value of transmitted link code word equal
to logic zero; 0 = previous value of transmitted link code
word equal to logic one.
RO
0
8.10:0
Message Field
RO
0
Note:
1. RW: Read/Write, RO: Read Only, SC: Self Clear, LH: Latch High, LL: Latch Low. Some of the default values are set by strap-in. See “Strapping
Options.”
M9999-051704
20
May 2004
KS8721BL/SL
Address
Name
Micrel
Description
Mode(1)
Default
RX Error counter for the RX_ER in each package.
RO
0000
Register 15h - RXER Counter
15.15:0
RXER Counter
Register 1bh - Interrupt Control/Status Register
1b.15
Jabber Interrupt Enable
1 = Enable jabber interrupt; 0 = Disable jabber interrupt.
RW
0
1b.14
Receive Error
Interrupt Enable
1 = Enable receive error interrupt.
0 = Disable receive error interrupt.
RW
0
1b.13
Page Received
Interrupt Enable
1 = Enable page received interrupt.
0 = Disable page received interrupt.
RW
0
1b.12
Parallel Detect Fault
Interrupt Enable
1 = Enable parallel detect fault interrupt.
0 = Disable parallel detect fault interrupt.
RW
0
1b.11
Link Partner Acknowledge
Interrupt Enable
1 = Enable link partner acknowledge interrupt.
0 = Disable link partner acknowledge interrupt.
RW
0
1b.10
Link Down
Interrupt Enable
1 = Enable link down interrupt.
0 = Disable link down interrupt.
RW
0
1b.9
Remote Fault
Interrupt Enable
1 = Enable remote fault interrupt.
0 = Disable remote fault interrupt.
RW
0
1b.8
Link Up Interrupt Enable
1 = Enable link up interrupt.
0 = Disable link up interrupt.
RW
0
1b.7
Jabber Interrupt
1 = Jabber interrupt occurred.
0 = Jabber interrupt has not occurred.
RO
0
1b.6
Receive Error Interrupt
1 = Receive error occurred.
0 = Receive error has not occurred.
RO
0
1b.5
Page Receive Interrupt
1 = Page receive occurred.
0 = Page receive has not occurred.
RO
0
1b.4
Parallel Detect
Fault Interrupt
1 = Parallel detect fault occurred.
0 = Parallel detect fault has not occurred.
RO
0
1b.3
Link Partner
Acknowledge Interrupt
1 = Link partner acknowledge occurred.
0 = Link partner acknowledge has not occurred.
RO
0
1b.2
Link Down Interrupt
1 = Link down occurred.
0 = Link down has not occurred.
RO
0
1b.1
Remote Fault Interrupt
1 = Remote fault occurred.
0 = Remote fault has not occurred.
RO
0
1b.0
Link Up Interrupt
1 = Link up interrupt occurred.
0 = Link up interrupt has not occurred.
RO
0
Register 1fh - 100BASE-TX PHY Controller
1f.15:14
Reserved
1f:13
Pairswap Disable
1 = Disable MDI/MDI-X; 0 = Enable MDI/MDI-X.
R/W
0
1f.12
Energy Detect
1 = Presence of signal on RX+/RX- analog wire pair.
0 = No signal detected on RX+/RX-.
RO
0
1f.11
Force Link
1 = Force link pass; 0 = Normal link operation.
R/W
0
This bit bypasses the control logic and allow transmitter
to send pattern even if there is no link.
1f.10
Power-Saving
1 = Enable power-saving; 0 = Disable.
RW
1
1f.9
Interrupt Level
1 = Interrupt pin active high; 0 = Active low.
RW
0
1f.8
Enable Jabber
1 = Enable jabber counter; 0 = Disable.
RW
1
1f.7
Auto-Negotiation Complete
1 = Auto-negotiation complete; 0 = Not complete.
RW
0
Note:
1. RW: Read/Write, RO: Read Only, SC: Self Clear, LH: Latch High, LL: Latch Low. Some of the default values are set by strap-in. See “Strapping
Options.”
May 2004
21
M9999-051704
KS8721BL/SL
Micrel
Address
Name
Description
Mode(1)
Default
1f.6
Enable Pause
(Flow-Control Result)
1 = Flow control capable; 0 = No flow control.
RO
0
1f.5
PHY Isolate
1 = PHY in isolate mode; 0 = Not isolated.
RO
0
1f.4:2
Operation Mode Indication
[000] = Still in auto-negotiation.
[001] = 10BASE-T half-duplex.
[010] = 100BASE-TX half-duplex.
[011] = Default.
[101] = 10BASE-T full-duplex.
[110] = 100BASE-TX full-duplex.
[111] = PHY/MII isolate.
RO
0
1f.1
Enable SQE Test
1 = Enable SQE test; 0 = Disable.
RW
0
1f.0
Disable Data Scrambling
1 = Disable scrambler; 0 = Enable.
RW
0
Note:
1. RW: Read/Write, RO: Read Only, SC: Self Clear, LH: Latch High, LL: Latch Low. Some of the default values are set by strap-in. See “Strapping
Options.”
M9999-051704
22
May 2004
KS8721BL/SL
Micrel
Absolute Maximum Ratings(1)
Operating Ratings(2)
Storage Temperature (TS) ....................... –55°C to +150°C
Supply Referenced to GND ........................ –0.5V to +4.0V
All Pins ........................................................ –0.5V to +4.0V
Supply Voltage
(VDD_PLL, VDD_TX, VDD_RXC, VDD_RCV, VDDC) ........ +2.5V
(VDDIO) ................................................................... +3.3V
Ambient Temperature (TA)
Commercial ................................................ 0°C to +70°C
Industrial ................................................. –40°C to +85°C
Package Thermal Resistance(3)
LQFP (θJA)
No Airflow ................................................... 83.56°C/W
SSOP (θJA)
No Airflow ................................................... 75.19°C/W
Important: Please read the Notes at the bottom of the
page.
Electrical Characteristics(4)
VDD = 3.3V ±10%
Symbol
Parameter
Total Supply Current (including TX output driver
Test Condition
Min
Typ
Max
Units
current)(5)
IDD1
Normal 100BASE-TX
Including 40mA output current
103
mA
IDD2
Normal 10BASE-T (independent of
utilization)
Including 90mA output current
146
mA
IDD3
Power Saving Mode 1
Auto-negotiation is Enable
43
mA
IDD5
Power Down Mode
4
mA
TTL Inputs
VIH
Input High Voltage
V
1/2VDD(I/O)
+0.2
VIL
Input Low Voltage
IIN
Input Current
VIN = GND ~ VDD
Output High Voltage
IOH = –4mA
–10
0.8
V
10
µA
TTL Outputs
VOH
V
1/2VDD(I/O)
+0.6
VOL
Output Low Voltage
|IOZ|
Output Tri-State Leakage
IOL = 4mA
0.4
V
10
µA
100BASE-TX Receive
RIN
RX+/RX– Differential Input
Resistance
Propagation Delay
8
from magnetics to RDTX
50
kΩ
110
ns
1.05
V
2
%
5
0.5
ns
ns
100BASE-TX Transmit (measured differentially after 1:1 transformer)
VO
Peak Differential Output Voltage
50Ω from each output to VDD
VIMB
Output Voltage Imbalance
50Ω from each output to VDD
tr, tt
Rise/Fall Time
Rise/Fall Time Imbalance
0.95
3
0
Notes:
1. Exceeding the absolute maximum rating(s) may cause permanent damage to the device. Operating at maximum conditions for extended periods may
affect device reliability.
2. The device is not guaranteed to function outside its operating rating. Unused inputs must always be tied to an appropriate logic voltage level (Ground
to VDD).
3. No HS (heat spreader) in package.
4. Specification for packaged product only.
5. There is 100% data transmission in full-duplex mode and a minimum IPG with a 130-meter cable.
May 2004
23
M9999-051704
KS8721BL/SL
Symbol
Parameter
Micrel
Condition
Min
Typ
Max
Units
±0.5
ns
5
%
100BASE-TX Transmit (measured differentially after 1:1 transformer)
Duty Cycle Distortion
Overshoot
VSET
Reference Voltage of ISET
Propagation Delay
0.75
from TDTX to magentics
Jitters
V
45
60
ns
0.7
1.4
ns(pp)
10BASE-TX Receive
RIN
RX+/RX– Differential
Input Resistance
VSQ
Squelch Threshold
5MHz square wave
8
kW
400
mV
10BASE-TX Transmit (measured differentially after 1:1 transformer)
VP
tr, tt
Peak Differential Output Voltage
50W from each output to VDD
Jitters Added
50W from each output to VDD
Rise/Fall Time
2.2
2.8
V
±3.5
ns
25
ns
Clock Outputs
X1, X2
Crystal Oscillator
25
MHZ
RXC100
Receive Clock, 100TX
25
MHZ
RXC10
Receive Clock, 10T
2.5
MHZ
Receive Clock Jitters
3.0
ns(pp)
TXC100
Transmit Clock, 100TX
25
MHZ
TXC10
Transmit Clock, 10T
2.5
MHZ
Transmit Clock Jitters
1.8
ns(pp)
M9999-051704
24
May 2004
KS8721BL/SL
Micrel
Timing Diagrams
tHD2
TXC
tSU2
TXEN
TXD[3:0]
tHD1
tSU1
tCRS1
CRS
tCRS2
TXP/TXM
tLA T
Valid
Data
SQE Timing
TXC
TXEN
tSQE
COL
tSQEP
Figure 4. 10BASE-T MII Transmit Timing
Symbol
Parameter
Min
Typ
Max
Units
tSU1
TXD [3:0] Set-Up to TXC High
10
ns
tSU2
TXEN Set-Up to TXC High
10
ns
tHD1
TXD [3:0] Hold After TXC High
0
ns
tHD2
TXEN Hold After TXC High
0
ns
tCRS1
TXEN High to CRS Asserted Latency
4
BT(1)
tCRS2
TXEN Low to CRS De-Asserted Latency
8
BT
tLAT
TXEN High to TXP/TXM Output (TX Latency)
4
BT
tSQE
COL (SQE) Delay After TXEN De-Asserted
2.5
µs
tSQEP
COL (SQE) Pulse Duration
1.0
µs
Table 3. 10BASE-T MII Transmit Timing Parameters
Note:
1. BT = bit time.
1BT = 1ns @ 100BT.
May 2004
25
M9999-051704
KS8721BL/SL
Micrel
TXC
tSU2
tHD2
TXEN
tSU1
TXD[3:0],
TXER
tHD1
Data
In
tCRS2
tCRS1
CRS
tLAT
Symbol
Out
TX+/TX-
Figure 5. 100BASE-T MII Transmit Timing
Symbol
Parameter
Min
Typ
Max
Units
tSU1
TXD [3:0] Set-Up to TXC High
10
ns
tSU2
TXEN Set-Up to TXC High
10
ns
tHD1
TXD [3:0] Hold After TXC High
0
ns
tHD2
TXER Hold After TXC High
0
ns
tHD3
TXEN Hold After TXC High
0
ns
tCRS1
TXEN High to CRS Asserted Latency
4
BT
tCRS2
TXEN Low to CRS De-Asserted Latency
4
BT
tLAT
TXEN High to TX+/TX– Output (TX Latency)
7
BT
Table 4. 100BASE-T MII Transmit Timing Parameters
M9999-051704
26
May 2004
KS8721BL/SL
Micrel
RX+/RX-
CRS
Start of
Stream
End of
Stream
tCRS1
tCRS2
tRLAT
RXDV
RXD[3:0]
RXER
tSU
tHD
tWH
RXC
tWL
tP
Figure 6. 100BASE-T MII Receive Timing
Symbol
Parameter
Min
Typ
Max
40
Units
tP
RXC Period
tWL
RXC Pulse Width
20
ns
tWH
RXC Pulse Width
20
ns
tSU
RXD [3:0], RXER, RXDV Set-Up to Rising Edge of RXC
20
ns
tHD
RXD [3:0], RXER, RXDV Hold from Rising Edge of RXC
20
ns
tRLAT
CRS to RXD Latency, 4B or 5B Aligned
tCRS1
“Start of Stream” to CSR Asserted
140
ns
tCRS2
“End of Stream” to CSR De-Asserted
170
ns
1
2
ns
3
BT
Table 5. 100BASE-T MII Receive Timing Parameters
May 2004
27
M9999-051704
KS8721BL/SL
Micrel
FLP
Burst
FLP
Burst
TX+/TX-
tFLPW
tBTB
TX+/TX-
Clock
Pulse
Data
Pulse
tPW
tPW
Clock
Pulse
Data
Pulse
tCTD
tCTC
Figure 7. Auto-Negotiation/Fast Link Pulse Timing
Symbol
Parameter
tBTB
FLP Burst to FLP Burst
tFLPW
FLP Burst Width
tPW
Min
Typ
Max
Units
8
16
24
ms
2
ms
Clock/Data Pulse Width
100
ns
tCTD
Clock Pulse to Data Pulse
69
µs
tCTC
Clock Pulse to Clock Pulse
Number of Clock/Data Pulses per Burst
136
17
33
µs
µs
Table 6. Auto-Negotiation/Fast Link Pulse Timing
M9999-051704
28
May 2004
KS8721BL/SL
Micrel
tP
MDC
tMD1
MDI O
(Into Chip)
tMD2
Valid
Data
Valid
Data
tMD3
MDI O
(Out of Chip)
Valid
Data
Figure 8. Serial Management Interface Timing
Symbol
Parameter
Min
Typ
400
Max
Units
tP
MDC Period
tMD1
MDIO Set-Up to MDC (MDIO as Input)
10
ns
tMD2
MDIO Hold After MDC (MDIO as Input)
10
ns
tMD3
MDC to MDIO Valid (MDIO as Output)
222
ns
ns
Table 7. Serial Management Interface Timing
May 2004
29
M9999-051704
KS8721BL/SL
Micrel
Supply
Voltage
tsr
RST_N
Strap-In
Value
Figure 9. Reset Timing
Symbol
Parameter
Min
tsr
Stable Supply Voltages to Reset High
50
Typ
Max
Units
µs
Table 8. Reset Timing Parameters
Reference Circuit for Strapping Option Configuration
Figure 10 shows the reference circuit for strapping option pins.
2.5V
220Ω
Pull-Up
10kΩ
LED pin
KS8721BL/SL
2.5V
220Ω
Pull-down
LED pin
KS8721BL/SL
1kΩ
Reference circuits for unmanaged programming through LED ports.
Figure 10. Reference Circuit, Strapping Option Pins
M9999-051704
30
May 2004
KS8721BL/SL
Micrel
Selection of Isolation Transformer(1)
One simple 1:1 isolation transformer is needed at the line interface. An isolation transformer with integrated common-mode
choke is recommended for exceeding FCC requirements. The following table gives recommended transformer characteristics.
Characteristic
Value
Test Condition
Turns Ratio
1 CT : 1 CT
Open-Circuit Inductance (min.)
350µH
100mV, 100kHz, 8mA
Leakage Inductance (max.)
0.4µH
1MHz (min.)
Inter-Winding Capacitance (max.)
12pF
D.C. Resistance (max.)
0.9Ω
Insertion Loss (max.)
1.0dB
HIPOT (min.)
1500Vrms
0MHz to 65MHz
Note:
1. The IEEE 802.3u standard for 100BASE-TX assumes a transformer loss of 0.5dB. For the transmit line transformer, insertion loss of up to 1.3dB can
be compensated or by increasing the line drive current by means of reducing the ISET resistor value. Please select the transformer that supports
auto-MDI/MDI-X.
Selection of Reference Crystal
An oscillator or crystal with the following typical characteristics is recommended.
Characteristic
Value
Units
Frequency
25.00000
MHz
Frequency Tolerance (max.)
±100
ppm
Load Capacitance (max.)
20
pF
Series Resistance (max.)
25
Ω
Single Port
Magnetic Manufacturer
Part Number
Auto-MDI-X
Number
of Ports
Pulse
H1102
Yes
1
Bel Fuse
S558-5999-U7
Yes
1
YCL
PH163112
Yes
1
Transpower
HB726
Yes
1
Delta
LF8505
Yes
1
LanKom
LF-H41S
Yes
1
Table 9. Qualified Transformer List
May 2004
31
M9999-051704
KS8721BL/SL
Micrel
Package Information
48-Pin SSOP (SM)
M9999-051704
32
May 2004
KS8721BL/SL
Micrel
48-Pin LQFP (LQ)
MICREL, INC. 1849 FORTUNE DRIVE
TEL
+ 1 (408) 944-0800
FAX
SAN JOSE, CA 95131
+ 1 (408) 474-1000
WEB
USA
http://www.micrel.com
The information furnished by Micrel in this data sheet is believed to be accurate and reliable. However, no responsibility is assumed by Micrel for its use.
Micrel reserves the right to change circuitry and specifications at any time without notification to the customer.
Micrel Products are not designed or authorized for use as components in life support appliances, devices or systems where malfunction of a product can
reasonably be expected to result in personal injury. Life support devices or systems are devices or systems that (a) are intended for surgical implant into the
body or (b) support or sustain life, and whose failure to perform can be reasonably expected to result in a significant injury to the user. A Purchaser’s use or
sale of Micrel Products for use in life support appliances, devices or systems is at Purchaser’s own risk and Purchaser agrees to fully indemnify Micrel for
any damages resulting from such use or sale.
© 2004 Micrel, Incorporated.
May 2004
33
M9999-051704