No Preview Available !
KS8993
Micrel
KS8993
3-Port 10/100 Integrated Switch with PHY and Frame Buffer
Rev. 2.06
General Description
The KS8993 contains three 10/100 physical layer transceiv-
ers, three MAC (Media Access Control) units with an inte-
grated layer 2 switch. The device runs in two modes. The first
mode is a three port integrated switch and the second is as
a three port switch with the third port decoupled from the
physical port. In this mode access to the third MAC is provided
using a reverse or forward MII (Media Independent Interface)
such that an external MAC can be directly connected to the
KS8993. This interface also supports the 7-wire (serial net-
work interface) as used by some routing devices.
Useful configurations include a stand alone three port switch
as well as a two port switch with a routing element connected
to the extra MII port. The additional port is also useful for
public network interfacing.
The KS8993 has rich features such as VLAN and priority
queuing and is designed to reside in an unmanaged design
not requiring processor intervention. This is achieved through
I/O strapping at system reset time.
On the media side, the KS8993 supports 10BaseT,
100BaseTX and 100BaseFX as specified by the IEEE 802.3
committee.
Physical signal transmission and reception are enhanced
through use of analog circuitry that makes the design more
efficient and allows for lower power consumption and smaller
chip die size.
Data sheets and support documentation can be found on
Micrel’s web site at www.micrel.com.
Functional Diagram
Look-Up
Engine
(1K Entries)
Queue
Management
Buffer
Management
SRAM
Buffers
(16Kx32)
MAC
1
Physical
Transceiver
1
FIFO and Flow Control
MAC
2
Physical
Transceiver
2
MAC
3
Physical
Transceiver
3
M
I
I
MII / SNI
(exclusive)
External
Interface
S
N
I
MRXD[3:0]
MRXDV
MCOL
MCRS
MRXCLK
MTXD[3:0]
MTXEN
MTXER
MTXCLK
MCOLIN
MRXD[0]
MRXDV
MCOL
MRXCLK
MTXD[0]
MTXEN
MTXCLK
LED
and
Programming
Interface
LED[1][3:0]
LED[2][3:0]
LED[3][3:0]
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 2009
1
KS8993
KS8993
System Level Applications
The KS8993 can be configured to fit either in a three port 10/
100 application or as a two port 10/100 network interface with
an extra MII or SNI port. This MII/SNI port can be connected
to an external processor and used for routing purposes or
Micrel
public network access. The major benefits of using the
KS8993 are the lower power consumption, unmanaged op-
eration, flexible configuration and built in frame buffering.
Two such applications are depicted below.
Public
Network
Access
KS8993
3-Port
Switch
with
PHY
Routing
Engine
KS8993
3-Port
Switch
with
PHY
3X
Transformer
or Fiber
Interface
2X
Transformer
or Fiber
Interface
3-Port Stand Alone
Or
2-Port with Public
Network Interface
Figure 1. KS8993 Applications
April 2009
5
KS8993
KS8993
Micrel
Group
UP
I/O Names Active Status Description
LED[1:3][3]
L Output (after reset).
Mode 0: Link + Activity (toggle = receiving or transmitting, constant low = link,
constant high = no link).
Mode 1: Receive Activity (toggle during receiving / high = no receiving activity).
Mode 2: 100/link/act (constant low = link, toggle = act, constant high = no link).
Mode 3: Mode 3: Link + Activity (toggle = receiving or transmitting, constant low =
link, constant high = no link).
Note: Mode is set by MODESEL[3:0] ; please see description in UP “Unmanaged
Programming” section.
MODESEL[3:0]
H
Mode select at reset time. LED mode is selected by using the table below. MODESEL
also controls the maximum frame length accepted.
FFLOW1#
FFLOW2#
LED[1][3]
LED[1][2]
LED[1][1]
MODESEL
321
0 LED mode
Max Length (no tag/tag)
000
0
LED mode 0
1518/1522
000
1
LED mode 1
1518/1522
001
0
LED mode 2
1518/1522
001
1
LED mode 3
1518/1522
010
0 Factory testing Not applicable
010
1 Factory testing Not applicable
011
0 Factory testing Not applicable
011
1 Factory testing Not applicable
100
0 Factory testing Not applicable
100
1 Factory testing Not applicable
101
0 Factory testing Not applicable
101
1
LED mode 3
1536/1536
110
0
LED mode 0
1536/1536
110
1 Factory testing Not applicable
111
0
LED mode 2
1536 / 1536
111
1 Factory testing Not applicable
L Enable force flow control feature on port 1.
Pulled up = no force flow control feature on port 1 (default).
Flow control feature is enabled and disabled by auto-negotiation.
Pulled down = enable force flow control feature on port 1 regardless of auto-negotia-
tion result.
L Program force flow control feature on port 2.
Pulled up = no force flow control feature on port 2 (default).
Flow control feature is enabled and disabled by auto-negotiation.
Pulled down = enable force flow control feature on port 2 regardless of auto-negotia-
tion result.
Program advertise flow control feature for 10/100BaseTX ports during auto-negotia-
tion at reset time.
Pulled low = no advertise flow control during auto-negotiation.
Pulled high = advertise flow control during auto-negotiation (default).
Programs force flow control feature on port 3, incuding MII port at reset time.
Pulled low = no force flow control feature on port 3, including MII port (default).
Flow control feature is enabled/disabled by auto-negotiation result.
Pulled high = enable force flow control feature on port 3, including MII port regardless
of auto-negotiation result.
Reserved - use float configuration.
April 2009
11
KS8993