CPU control/data interfaces to effectively address both
current and emerging fast Ethernet applications.
Functional Diagram
Micrel Inc. • 2180 Fortune Drive • San Jose, CA 95131 • USA • tel +1 (
408
) 944-0800 • fax + 1 (408) 474-1000 •
http://www.micrel.com
April 2012
M9999-043012-1.5
Micrel, Inc.
KSZ8864RMN
Integrated 4-Port 10/100 Ethernet Switch
•
•
New generation switch with five MACs and five PHYs
that are fully compliant with the IEEE 802.3u standard.
Non-blocking switch fabric assures fast packet delivery
by utilizing an 1K MAC address lookup table and a
store-and-forward architecture.
On-chip 64Kbyte memory for frame buffering (not
shared with 1K unicast address table).
Full-duplex IEEE 802.3x flow control (PAUSE) with
force mode option.
Half-duplex back pressure flow control.
HP Auto MDI/MDI-X and IEEE Auto crossover support.
MII interface of MAC supports both MAC mode and
PHY mode.
Per port LED Indicators for link, activity, and 10/100
speed.
Register port status support for link, activity, full/half
duplex and 10/100 speed.
On-chip terminations and internal biasing technology
for cost down and lowest power consumption.
Port mirroring/monitoring/sniffing: ingress and/or egress
traffic to any port or MII/RMII.
MIB counters for fully-compliant statistics gathering 34
MIB counters per port.
Loop-back support
diagnostic of failure.
for
MAC,
PHY
and
remote
Features
Advanced Switch Features
•
•
•
•
•
•
•
•
•
IEEE 802.1q VLAN support for up to 128 VLAN groups
(full-range 4096 of VLAN IDs).
Static MAC table supports up to 32 entries.
VLAN ID tag/untag options, per port basis.
IEEE 802.1p/q tag insertion or removal on a per port
basis based on ingress port (egress).
Programmable rate limiting at the ingress and egress
on a per port basis.
Jitter-free per packet based rate limiting support.
Broadcast storm protection with percentage control
(global and per port basis).
IEEE 802.1d rapid spanning tree protocol RSTP
support.
Tail tag mode (1 byte added before FCS) support at
Port 4 to inform the processor which ingress port
receives the packet.
1.4Gbps high-performance memory bandwidth and
shared memory based switch fabric with fully non-
blocking configuration.
Dual MII/RMII with MAC 3 SW3-MII/RMII and MAC 4
SW4-MII/RMII interfaces.
Enable/Disable option for huge frame size up to 2000
Bytes per frame.
IGMP v1/v2 snooping (Ipv4) support for multicast
packet filtering.
IPv4/IPv6 QoS support.
Support unknown unicast/multicast address and
unknown VID packet filtering.
•
•
•
•
•
•
•
•
•
Switch Monitoring Features
•
•
•
•
•
•
•
•
•
Interrupt for the link change on any ports.
Low-Power Dissipation:
•
•
•
•
•
•
Full-chip hardware power-down.
Full-chip software power-down and per port software
power down.
Energy-detect mode support <0.1W full-chip power
consumption when all ports have no activity.
Very-low full-chip power consumption (<0.3W), without
extra power consumption on transformers.
Dynamic clock tree shutdown feature.
Voltages:
−
−
−
−
•
•
Analog VDDAT 3.3V only.
VDDIO support 3.3V, 2.5V and 1.8V.
Low 1.2V core power.
0.13um CMOS technology.
•
Self-address filtering.
Comprehensive Configuration Register Access
•
Serial management interface (MDC/MDIO) to all PHYs
registers and SMI interface (MDC/MDIO) to all
registers.
High-speed SPI (up to 25MHz) and I
2
C master
Interface to all internal registers.
I/0 pins strapping and EEPROM to program selective
registers in unmanaged switch mode.
Control registers configurable on the fly (port-priority,
802.1p/d/q, AN…).
Per port, 802.1p and DiffServ-based.
1/2/4-queue QoS prioritization selection.
Programmable weighted fair queuing for ratio control.
Re-mapping of 802.1p priority field per port basis.
•
•
•
QoS/CoS Packet Prioritization Support
•
•
•
Commercial temperature range: 0°C to +70°C.
Industrial Temperature Range: –40°C to +85°C.
•
•
Available in 64-pin QFN, lead-free small package
April 2012
2
M9999-043012-1.5
Micrel, Inc.
KSZ8864RMN
Applications
•
•
•
•
•
VoIP Phone
Set-top/Game Box
Automotive Ethernet
Industrial Control
IPTV POF
•
•
•
•
•
•
SOHO Residential Gateway
Broadband Gateway / Firewall / VPN
Integrated DSL/Cable Modem
Wireless LAN access point + gateway
Standalone 10/100 switch
Embedded System
Ordering Information
Part Number
KSZ8864RMN
KSZ8864RMNI
KSZ8864RMNU
(Automotive AEC-Q100 Qualified)
Temperature Range
0°C to 70°C
−40°C
to
+85°C
−40°C
to
+85°C
Package
64-Pin QFN
64-Pin QFN
64-Pin QFN
Lead Finish/Grade
Pb-Free/Commercial
Pb-Free/Industrial
Pb-Free/Automotive
Revision History
Revision
1.0
1.1
1.2
1.3
1.4
Date
10/29/10
12/16/10
01/20/11
03/18/11
09/19/11
Description
Initial document created.
Correct typo issue and others.
Update ordering information and junction thermal data.
Update the registers numbers, descriptions and typo error.
Update some descriptions of MDC/MDIO SMI mode and IGMP, update the port register status 2 default
value from 0x00 to 0x01 and a test register 191 default value from 0x00 to 0x80. Remove the note for
ordering information table. Correct typo for MDI/MDIX status and lead temperature, update ESD to 2KV for
chip revision A3.
Update descriptions for VLAN table and I2C master. Update the equation in broadcast storm protection
section. Add KSZ8864RMNU automotive part in the ordering information table. Update the status register
name and register bits description.
1.5
02/21/12
April 2012
3
M9999-043012-1.5
Micrel, Inc.
KSZ8864RMN
Contents
Features .................................................................................................................................................................................. 2
Pin for Strap-In Options......................................................................................................................................................... 16
MDI/MDI-X Auto Crossover .............................................................................................................................................. 20
Functional Overview: Power Management ........................................................................................................................... 24
Normal Operation Mode ................................................................................................................................................... 24
Energy Detect Mode ......................................................................................................................................................... 24
Power Saving Mode.......................................................................................................................................................... 25
Media Access Controller (MAC) Operation ...................................................................................................................... 26
Inter-Packet Gap (IPG) ..................................................................................................................................................... 26
Late Collision .................................................................................................................................................................... 26
Half-Duplex Back Pressure............................................................................................................................................... 29
MII Interface Operation ..................................................................................................................................................... 29
Spanning Tree Support..................................................................................................................................................... 34
Rapid Spanning Tree Support .......................................................................................................................................... 35
IGMP Support ................................................................................................................................................................... 37
Port Mirroring Support ...................................................................................................................................................... 37
VLAN Support ................................................................................................................................................................... 37
Rate Limiting Support ....................................................................................................................................................... 38
SPI Slave Serial Bus Configuration .................................................................................................................................. 40
MII Management Interface (MIIM) .................................................................................................................................... 43
Serial Management Interface (SMI).................................................................................................................................. 43
Global Registers ............................................................................................................................................................... 46
Port Registers ................................................................................................................................................................... 56
Advanced Control Registers ............................................................................................................................................. 65
Data Rate Selection Table in 100BT ................................................................................................................................ 80
Data Rate Selection Table in 10BT .................................................................................................................................. 81
Static MAC Address Table .................................................................................................................................................... 83
Dynamic MAC Address Table ............................................................................................................................................... 89
MIB (Management Information Base) Counters ................................................................................................................... 91
For Port 1 .......................................................................................................................................................................... 91
All Ports Dropped Packet MIB Counters .......................................................................................................................... 92
Format of “All Dropped Packet” MMIB Counter................................................................................................................ 92
Absolute Maximum Ratings .................................................................................................................................................. 98
Hello everyone, when we design Ethernet products, we often see that the bottom of the Ethernet transformer is hollowed out. I would like to discuss the purpose of this hollowing out and what harm it w...
There is a baseboard with 4 boards on it, all of which use 5V. Do the 5V of these 4 circuit boards need to be separated and only connected at the power output? I found that there is crosstalk between ...
China's new energy vehicles are in a transition period from research and development to real industrial development. In 2012, with the intensive launch of new energy vehicle policy planning, the de...[Details]
As LEDs continue to improve in almost every aspect of performance and cost, LED lighting is being used in an increasingly wide range of applications, among which LED street lights are a focus of in...[Details]
0 Introduction
With the development of society, people pay more and more attention to security work. Monitoring products have been used in various fields instead of being used only in importan...[Details]
1 Introduction
Building Automation System (BAS) is a distributed monitoring system (DCS) designed according to distributed information and control theory. It is the result of the mutual de...[Details]
Since the No. 4 blast furnace of Handan Iron and Steel was put into operation in 1993, its external equipment has been seriously aged, and the original PLC control system TDC3000 of the hot blast furn...[Details]
1 Introduction
With the development of control, computer, communication, network technology, etc., a new control technology, namely fieldbus, has emerged in the field of industrial control...[Details]
LED lighting: Basic circuit design can be completed in as little as one day
Semiconductor manufacturers are also getting involved in the LED lighting business. The power circuit of LED req...[Details]
D5026A is a driver IC designed by Shanghai Debei Electronics for energy-saving LED display screens. Its design concept is energy-saving and compatible with existing solutions, that is, it can be ...[Details]
System Overview
The system consists of a signal preprocessing circuit, a single-chip computer AT89C2051, a systematic LED display module, a serial port data storage circuit and system software...[Details]
The ARINC429 bus is one of the most commonly used communication buses between various subsystems of avionics. As the "skeleton" of modern avionics systems, once the bus system or the attached airbo...[Details]
One in five car failures are caused by batteries, a problem that will become more serious in the coming years as electric-by-wire, start/stop engine management and hybrid (electric/gas) vehicles be...[Details]
DCDC means DC to DC (conversion of different DC power values). Anything that meets this definition can be called a DCDC converter. Specifically, it means converting the input DC into AC through a s...[Details]
This paper describes the design method of electronic multifunctional watt-hour meter, the key technology of hardware design and the software design process. Taking NEC's μPD78F0338 microcontroller ...[Details]
The principles to be followed are as follows:
(1) In terms of component layout, related components should be placed as close as possible. For example, clock generators, crystal oscillat...[Details]
Preface
DS18B2 is generally used in conjunction with a single-chip microcomputer, and there are few reports on
the interface between
DSP
and DS18B20. Therefore, this article introdu...[Details]