KS8721CL Micrel, Inc.
M9999-041405 10 April 2005
Pin Configuration
TXD0
TXEN
TXC/REF_CLK
TXER
VDDC
TXD1
TXD2
TXD3
MDIO
MDC
RXD3/PHYAD1
RXD2/PHYAD2
RXD1/PHYAD3
RXD0/PHYAD4
VDDIO
GND
13 14 15 16 17 18 19 20
1
2
3
4
5
6
7
8
RXDV/PCS_LPBK
RXC
RXER/ISO
GND
9
10
11
12
COL/RMII
CRS/RMII_BTB
GND
VDDIO
21 22 23 24
GND
GND
FXSD/FXEN
RX+
RX–
VDDRX
PD#
LED3/NWAYEN
36
35
34
33
32
31
30
29
LED2/DUPLEX
LED1/SPD100
LED0/TEST
INT#/PHYAD0
28
27
26
25
GND
X0
X1
VDDPLL
RST#
GND
VDDTX
TX+
48 47 46 45 44 43 42 41
TX–
GND
VDDRCV
REXT
40 39 38 37
48-Pin LQFP (LQ)
April 2005 11 M9999-041405
KS8721CL Micrel, Inc.
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 for 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 makes an initial estimation based on comparisons of incoming signal strength against some known cable
characteristics. It 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 KS8721CL 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 KS8721CL 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 pre-
emphasized 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 KS8721CL 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 re-
enabled and COL goes low.
Auto-Negotiation
The KS8721CL 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 partner whenever
KS8721CL Micrel, Inc.
M9999-041405 12 April 2005
auto-negotiation is enabled. It can also be configured to advertise 100BASE-TX or 10BASE-T in either full- or 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 KS8721CL 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 KS8721CL 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 KS8721CL detects
the second code words, it then configures itself according to the above-mentioned priority. In addition, the KS8721CL also
checks for 100BASE-TX idle or 10BASE-T NLP symbols. If either is detected, the KS8721CL automatically configures to match
the detected operating speed.
MII Management Interface
The KS8721CL 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 KS8721CL. 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 KS8721CL devices. Each KS8721CL 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 KS8721CL 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 KS8721CL, 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 KS8721CL 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 KS8721CL
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 KS8721CL 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 KS8721CL 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 KS8721CL receives an error symbol from the network, it asserts RXER and drives “1110” (4B)
on the RXD pins. When the MAC asserts TXER, the KS8721CL 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 de-

KSZ8721CL

Mfr. #:
Manufacturer:
Microchip Technology / Micrel
Description:
Ethernet ICs 10/100 BASE-TX/FX Physical Layer Transceiver
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union