The KS8995XA is a highly integrated Layer-2 quality of
service (QoS) switch with optimized bill of materials (BOM)
cost for low port count, cost-sensitive 10/100Mbps switch
systems. It also provides an extensive feature set including
three different QoS priority schemes, a dual MII interface for
BOM cost reduction, rate limiting to offload CPU tasks,
software and hardware power-down, a MDC/MDIO control
interface and port mirroring/monitoring to effectively address
both current and emerging Fast Ethernet applications.
The KS8995XA contains five 10/100 transceivers with patented mixed-signal low-power technology, five media access
control (MAC) units, a high-speed non-blocking switch fabric,
a dedicated address lookup engine, and an on-chip frame
buffer memory.
All PHY units support 10BASE-T and 100BASE-TX. In addition, two of the PHY units support 100BaseFX (Ports 4 and 5).
Functional Diagram
Features
•Integrated switch with five MACs and five Fast Ethernet
transceivers fully compliant to IEEE 802.3u standard
• Shared memory based switch fabric with fully nonblocking configuration
• 10BASE-T, 100BASE-TX and 100BASE-FX modes
(FX in Ports 4 and 5)
• Dual MII configuration: MII-Switch (MAC or PHY
mode MII) and MII-P5 (PHY mode MII)
• VLAN ID tag/untag options, per-port basis
• Enable/disable option for huge frame size up to
1916 bytes per frame
•Broadcast storm protection with percent control –
global and per-port basis
• Optimization for fiber-to-copper media conversion
• Full-chip hardware power-down support (register
configuration not saved)
• Per-port-based software power-save on PHY
(idle link detection, register configuration preserved)
• QoS/CoS packets prioritization supports: per port,
802.1p and DiffServ-based
Auto
MDI/MDI-X
Auto
MDI/MDI-X
Auto
MDI/MDI-X
Auto
MDI/MDI-X
Auto
MDI/MDI-X
MII-P5
MDC, MDI/O
MII-SW or SNI
LED0[5:1]
LED1[5:1]
LED2[5:1]
10/100
T/Tx 1
10/100
T/Tx 2
10/100
T/Tx 3
10/100
T/Tx/Fx 4
10/100
T/Tx/Fx 5
LED I/F
10/100
MAC 1
10/100
MAC 2
10/100
MAC 3
10/100
MAC 4
10/100
MAC 5
SNI
Control
Registers
FIFO
, Flo
w Control, VLAN
T
agging, P
r
iority
1K Look-Up
Engine
Queue
Mgmnt
Buffer
Mgmnt
Frame
Buffers
EEPROM
I/F
KS8995XA
Micrel, Inc. • 2180 Fortune Drive • San Jose, CA 95131 • USA • tel + 1 (408) 944-0800 • fax + 1 (408) 474-1000 • http://www.micrel.com
May 20051M9999-051305
KS8995XAMicrel, Inc.
Features (continued)
• 802.1p/q tag insertion or removal on a per-port basis
(egress)
• Port-based VLAN support
• MDC and MDI/O interface support to access the MII
PHY control registers (not all control registers)
•MII local loopback support
• On-chip 64Kbyte memory for frame buffering (not
shared with 1K unicast address table)
•1.4Gbps high performance memory bandwidth
•Wire-speed reception and transmission
•Integrated look-up engine with dedicated 1K unicast
MAC addresses
• Automatic address learning, address aging and address
migration
• Full-duplex IEEE 802.3x and half-duplex back pressure
flow control
• Comprehensive LED support
•7-wire SNI support for legacy MAC interface
• Automatic MDI/MDI-X crossover for plug-and-play
•Disable automatic MDI/MDI-X option
• Low power
Core: 1.8V
I/O: 2.5 or 3.3V
•0.18µm CMOS technology
• Commercial temperature range: 0°C to +70°C
• Available in 128-pin PQFP package
Applications
•Broadband gateway/firewall/VPN
•Integrated DSL or cable modem multi-port router
•Wireless LAN access point plus gateway
• Home networking expansion
•Standalone 10/100 switch
• Hotel/campus/MxU gateway
• Enterprise VoIP gateway/phone
• FTTx customer premise equipment
• Media converter
Ordering Information
Part NumberTemp. RangePackageLead Finish
KS8995XA0°C to +70°C128-Pin PQFPStandard
KSZ8995XA0°C to +70°C128-Pin PQFPPb-Free
M9999-0513052May 2005
KS8995XAMicrel, Inc.
Revision History
Revision DateSummary of Changes
2.010/15/03Created.
2.14/1/04Editorial changes on TTL input and output electrical characteristics.
2.21/19/05Insert recommeneded reset circuit.
2.34/13/05Switched pins names for pins 7 & 8 on page 16.
Changed VDDIO to 3.3V.
Changed Jitter to 16 ns Max.
May 20053M9999-051305
KS8995XAMicrel, Inc.
Table of Contents
System Level Applications .............................................................................................................................................................. 6
100BaseFX Signal Detection ................................................................................................................................................... 20
100BaseFX Far End Fault ....................................................................................................................................................... 20
Power Management ................................................................................................................................................................ 20
MDI/MDI-X Auto Crossover ..................................................................................................................................................... 20
Address Look Up ..................................................................................................................................................................... 21
MAC (Media Access Controller) Operation ............................................................................................................................. 22
Inter-Packet Gap ............................................................................................................................................................. 22
Late Collision .................................................................................................................................................................. 22
Flow Control .................................................................................................................................................................... 22
Half-Duplex Back Pressure ............................................................................................................................................. 22
MII Interface Operation .................................................................................................................................................................. 23
QoS Support ............................................................................................................................................................................ 25
Rate Limit Support ................................................................................................................................................................... 27
C Master Serial Bus Configuration ............................................................................................................................... 28
MII Management Interface (MIIM) .................................................................................................................................................. 28
Global Registers ...................................................................................................................................................................... 29
Register 2 (0x02): Global Control 0................................................................................................................................ 29
Register 3 (0x03): Global Control 1................................................................................................................................ 30
Register 4 (0x04): Global Control 2................................................................................................................................ 31
Register 5 (0x05): Global Control 3................................................................................................................................ 31
Register 6 (0x06): Global Control 4................................................................................................................................ 32
Register 7 (0x07): Global Control 5................................................................................................................................ 32
M9999-0513054May 2005
KS8995XAMicrel, Inc.
Register 8 (0x08): Global Control 6................................................................................................................................ 32
Register 9 (0x09): Global Control 7................................................................................................................................ 32
Register 10 (0x0A): Global Control 8 ............................................................................................................................. 32
Register 11 (0x0B): Global Control 9 ............................................................................................................................. 33
Port Registers .......................................................................................................................................................................... 33
Register 16 (0x10): Port 1 Control 0 .............................................................................................................................. 33
Register 17 (0x11): Port 1 Control 1 .............................................................................................................................. 34
Register 18 (0x12): Port 1 Control 2 .............................................................................................................................. 34
Register 19 (0x13): Port 1 Control 3 .............................................................................................................................. 35
Register 20 (0x14): Port 1 Control 4 .............................................................................................................................. 35
Register 21 (0x15): Port 1 Control 5 .............................................................................................................................. 35
Register 22 (0x16): Port 1 Control 6 .............................................................................................................................. 35
Register 23 (0x17): Port 1 Control 7 .............................................................................................................................. 36
Register 24 (0x18): Port 1 Control 8 .............................................................................................................................. 36
Register 25 (0x19): Port 1 Control 9 .............................................................................................................................. 36
Register 26 (0x1A): Port 1 Control 10 ............................................................................................................................ 36
Register 27 (0x1B): Port 1 Control 11 ............................................................................................................................ 37
Register 28 (0x1C): Port 1 Control 12 ............................................................................................................................ 37
Register 29 (0x1D): Port 1 Control 13 ............................................................................................................................ 38
Register 30 (0x1E): Port 1 Status 0 ............................................................................................................................... 39
Register 31 (0x1F): Port 1 Control 14 ............................................................................................................................ 39
Advanced Control Registers .................................................................................................................................................... 39
Register 96 (0x60): TOS Priority Control Register 0 ...................................................................................................... 39
Register 97 (0x61): TOS Priority Control Register 1 ...................................................................................................... 40
Register 98 (0x62): TOS Priority Control Register 2 ...................................................................................................... 40
Register 99 (0x63): TOS Priority Control Register 3 ...................................................................................................... 40
Register 100 (0x64): TOS Priority Control Register 4 .................................................................................................... 40
Register 101 (0x65): TOS Priority Control Register 5 .................................................................................................... 40
Register 102 (0x66): TOS Priority Control Register 6 .................................................................................................... 40
Register 103 (0x67): TOS Priority Control Register 7 .................................................................................................... 40
Register 104 (0x68): MAC Address Register 0 .............................................................................................................. 40
Register 105 (0x69): MAC Address Register 1 .............................................................................................................. 40
Register 106 (0x6A): MAC Address Register 2.............................................................................................................. 40
Register 107 (0x6B): MAC Address Register 3.............................................................................................................. 40
Register 108 (0x6C): MAC Address Register 4 ............................................................................................................. 40
Register 109 (0X6D): MAC Address Register 5 ............................................................................................................. 40
Register 0: MII Control ................................................................................................................................................... 40
Register 1: MII Status .................................................................................................................................................... 41
Register 2: PHYID HIGH ................................................................................................................................................ 41
Register 5: Link Partner Ability ....................................................................................................................................... 42
Absolute Maximum Ratings .......................................................................................................................................................... 43
Selection of Isolation Transformers ............................................................................................................................................. 50
Package Information ...................................................................................................................................................................... 51
May 20055M9999-051305
KS8995XAMicrel, Inc.
System Level Applications
CPU
WAN PHY & AFE
(XDSL, CM...)
10/100
MAC 1
10/100
MAC 2
10/100
MAC 3
10/100
Switch Controller
MAC 4
On-Chip Frame Buffers
10/100
MAC 5
Ethernet
MAC
MII-SW
KS8995XA
Ethernet
MAC
Figure 1. Broadband Gateway
CPU
Ethernet
MAC
10/100
PHY 1
10/100
PHY 2
10/100
PHY 3
10/100
PHY 4
10/100
PHY 5
EEPROM
I/F
MII-P5
rnal W
ExteAN port PHY not required.
10/100
MAC 1
10/100
MAC 2
10/100
MAC 3
Switch Controller
10/100
On-Chip Frame Buffers
MAC 4
10/100
MAC 5
MII-SW
EEPROM
10/100
PHY 1
10/100
PHY 2
10/100
PHY 3
10/100
PHY 4
10/100
PHY 5
EEPROM
MII-P5
KS8995XA
I/F
4-port
LAN
1-port
WAN I/F
4-port
LAN
EEPROM
Figure 2. Integrated Broadband Router
M9999-0513056May 2005
KS8995XAMicrel, Inc.
Switch Controller
On-Chip Frame Buffers
KS8995XA
Figure 3. Standalone Switch
10/100
MAC 1
10/100
MAC 2
10/100
MAC 3
10/100
MAC 4
10/100
MAC 5
10/100
PHY 1
10/100
PHY 2
10/100
PHY 3
10/100
PHY 4
10/100
PHY 5
EEPROM
I/F
5-port
LAN
EEPROM
May 20057M9999-051305
KS8995XAMicrel, Inc.
Pin Description (by Number)
Pin NumberPin NameType
(1)
PortPin Function
1MDI-XDISI1-5Disable auto MDI/MDI-X.
PD (default) = normal operation.
PU = disable auto MDI/MDI-X on all ports.
2GNDAGndAnalog ground.
3VDDARP1.8V analog VDD.
4RXP1I1Physical receive signal + (differential).
5RXM1I1Physical receive signal – (differential).
6GNDAGndAnalog ground.
7TXP1O1Physical transmit signal + (differential).
8TXM1O1Physical transmit signal – (differential).
9VDDATP2.5V or 3.3V analog VDD.
10RXP2I2Physical receive signal + (differential).
11RXM2I2Physical receive signal – (differential).
12GNDAGndAnalog ground.
13TXP2O2Physical transmit signal + (differential).
14TXM2O2Physical transmit signal – (differential).
15VDDARP1.8V analog VDD.
16GNDAGndAnalog ground.
17ISETSet physical transmit output current. Pull-down with a 3.01kΩ 1%
resistor.
18VDDATP2.5V or 3.3V analog VDD.
19RXP3I3Physical receive signal + (differential).
20RXM3I3Physical receive signal - (differential).
21GNDAGndAnalog ground.
22TXP3O3Physical transmit signal + (differential).
23TXM3O3Physical transmit signal – (differential).
24VDDATP2.5V or 3.3V analog VDD.
25RXP4I4Physical receive signal + (differential).
26RXM4I4Physical receive signal - (differential).
27GNDAGndAnalog ground.
28TXP4O4Physical transmit signal + (differential).
29TXM4O4Physical transmit signal – (differential).
30GNDAGndAnalog ground.
(2)
Notes:
1. P = Power supply.
I = Input.
O = Output.
I/O = Bidirectional.
Gnd = Ground.
Ipu = Input w/internal pull-up.
Ipd = Input w/internal pull-down.
Ipd/O = Input w/internal pull-down during reset, output pin otherwise.
Ipu/O = Input w/internal pull-up during reset, output pin otherwise.
2. PU = Strap pin pull-up.
PD = Strap pull-down.
Otri = Output tristated.
M9999-0513058May 2005
KS8995XAMicrel, Inc.
Pin NumberPin NameType
(1)
PortPin Function
(2)
31VDDARP1.8V analog VDD.
32RXP5I5Physical receive signal + (differential).
33RXM5I5Physical receive signal – (differential).
34GNDAGndAnalog ground.
35TXP5O5Physical transmit signal + (differential).
36TXM5O5Physical transmit signal – (differential).
37VDDATP2.5V or 3.3V analog V
DD.
38FXSD5I5Fiber signal detect/factory test pin.
39FXSD4I4Fiber signal detect/factory test pin.
40GNDAGndAnalog ground.
41VDDARP1.8V analog VDD.
42GNDAGndAnalog ground.
43VDDARP1.8V analog VDD.
44GNDAGndAnalog ground.
45NC / MUX1INo connect. Factory test pin.
46NC / MUX2INo connect. Factory test pin.
47PWRDN_NIpuFull-chip power down. Active low.
48RESERVE/NCReserved pin. No connect.
49GNDDGndDigital ground.
50VDDCP1.8V digital core VDD.
51PMTXENIpd5PHY[5] MII transmit enable.
52PMTXD3Ipd5PHY[5] MII transmit bit 3.
53PMTXD2Ipd5PHY[5] MII transmit bit 2.
54PMTXD1Ipd5PHY[5] MII transmit bit 1.
55PMTXD0Ipd5PHY[5] MII transmit bit 0.
56PMTXERIpd5PHY[5] MII transmit error.
57PMTXCO5PHY[5] MII transmit clock. PHY mode MII.
58GNDDGndDigital ground.
59VDDIOP3.3V digital VDD for digital I/O circuitry.
60PMRXCO5PHY[5] MII receive clock. PHY mode MII.
61PMRXDVIpd/O5PHY[5] MII receive data valid.
62PMRXD3Ipd/O5PHY[5] MII receive bit 3. Strap option: PD (default) = enable flow
control; PU = disable flow control.
Notes:
1. P = Power supply.
I = Input.
O = Output.
I/O = Bidirectional.
Gnd = Ground.
Ipu = Input w/internal pull-up.
Ipd = Input w/internal pull-down.
Ipd/O = Input w/internal pull-down during reset, output pin otherwise.
Ipu/O = Input w/internal pull-up during reset, output pin otherwise.
2. PU = Strap pin pull-up.
PD = Strap pull-down.
Otri = Output tristated.
May 20059M9999-051305
KS8995XAMicrel, Inc.
Pin NumberPin NameType
(1)
PortPin Function
(2)
63PMRXD2Ipd/O5PHY[5] MII receive bit 2. Strap option: PD (default) = disable back
pressure; PU = enable back pressure.
64PMRXD1Ipd/O5PHY[5] MII receive bit 1. Strap option: PD (default) = drop excessive
collision packets; PU = does not drop excessive collision packets.
65PMRXD0Ipd/O5PHY[5] MII receive bit 0. Strap option: PD (default) = disable
aggressive back-off algorithm in half-duplex mode; PU = enable for
performance enhancement.