without notice. No liability is assumed as a result of the use of this procuts. No rights under any patent accompany the sales o
MTD502EMYSON
GENERAL DESCRIPTION
IEEE802.3 and IEEE802.3u compliant.
A flexible MII interface design can directly con-
warding rate at full_wire speed.
supply voltage, 50 MHZ operation.
Provide 128 pin PQFP package (MTD502EF),
and 80 pin LQFP package (MTD502EG).
under half or full duplex mode.
(Am79c901, HomePNA PHY).
implemented in half duplex mode.
The MTD502E supports an effective
updating (aging time is 300 secs default).
Embedded Memory
TECHNOLOGY
2 Port 10M/100M Switch With Build_in Memory
FEATURES
•
• Single chip, low cost, two port switch controller.
• Build_in embedded memory on chip for packet
buffering.
• Provide 2 MII/RMII (Reduced Media Independent Interface) ports.
•
nect with standard MII or pseudo MII.
• Support half/full duplex operation per port.
• Optional back_pressure control for half_duplex
mode.
• Provide “store and forward” switching, and for-
• Support up to 2048 MAC addresses filtering
database, and automatical address aging_out
function (300 secs).
• Low power CMOS design, with single 3.3V
•
BL OCK DIAGRAM
The MTD502E is a highly integrated, 10M/
100M two port switch controller with build_in
embedded memory. It supports 2 MII/RMII ports
for 10M/100M operation, and both can operate
The MTD502E is an ideal solution for two
port bridge or dual speed hub application, and no
need any external memory buffers in application
design. The flexible MII interface design can
directly connect with pseudo MII interface
The MTD502E provides packet forwarding, address filtering, learning, and aging function, and have an optional back_presure control
address filtering database, which can recognize
up to 2048 MAC addresses. It also support an
automatical aging function for address table
Port0 DMA
Two
Port
Switch
Engine
Port1 DMA
This datasheet contains new product information. Myson Technology reserves the rights to modify the product specification
the product.
1/20MTD502E Revision 1.3 12/07/2000
MAC0
MAC1
MII0
MII1
f
Page 2
without notice. No liability is assumed as a result of the use of this procuts. No rights under any patent accompany the sales o
TECHNOLOGY
SYSTEM DIAGRAM
2). Dual Speed Hub Appl i c ati on
Transform er
(With out 2P_sw)
1). Two Port Swit c h App l i c atio n (HomePNA to LA N)
MTD502E
MTD502EMYSON
MII1
HomePNA
Transform er
RJ11
MTD502E
MII0
10M/100M
PHYsceiverPHYsceiver
RJ45
10M/100M
Repeater
(With out 2P_sw)
10M/100M
Repeater
.......
Expansion Bus
This datasheet contains new product information. Myson Technology reserves the rights to modify the product specification
note: input signal LINK,SPEED,FULL from PHY device are low_active definnition.
13/20
Page 14
MTD502E Revision 1.3 12/07/2000
TECHNOLOGY
MTD502EG(80LQFP) Jumper Sett i ng Table Af ter Power On Reset
Jumper setting function after power on reset.
-external pull_high = 1, means enter 2 port switch mode.
pull_hgih” for well operation.
Jumper setting function after power on reset.
half_duplex) is disabled for two ports both.
P0_Rmii Enable
Jumper setting function after power on reset.
P0_Phy_Mode Enable
Jumper setting function after power on reset.
-external pull_high = 1, means Port 0 interrface enter PHY mode.
Jumper setting function after power on reset.
limit_4 modified method.
Jumper setting function after power on reset.
limit_4 modified method.
Jumper setting function after power on reset.
-external pull_low = 0.
Pin No.IOSetting FunctionDescriptions
1IO2P_Sw Enable
-external pull_low = 0, means an internal test mode.
-external floating : default is 0.
For MTD502E application, this pin must always use “external
10IOBack Pressure Disable
-external pull_high = 1, means back_pressure function ( under
-external pull_low = 0, means back_pressure function enable.
-external floating : default is 0.
57IO
-external pull_high = 1, means Port 0 RMII interface enable..
-external pull_low = 0, means Port 0 is MII interface.
-external floating : default is 0.
58IO
MTD502EMYSON
59IOP1_Bkoff_4 Enable
60IOP0_Bkoff_4 Enable
61IODeviceID[4]
-external pull_low = 0, means Port 0 interface is using MAC mode.
-external floating : default is 0.
-external pull_high = 1, means Port 1 MAC backoff engine is using
-external pull_low = 0, means Port 1 MAC backoff engine is using
specification defined method.
-external floating : default is 0.
-external pull_high = 1, means Port 0 MAC backoff engine is using
-external pull_low = 0, means Port 0 MAC backoff engine is using
specification defined method.
-external floating : default is 0.
-external pull_high = 1.
-external floating : default is 0.
14/20
Page 15
MTD502E Revision 1.3 12/07/2000
TECHNOLOGY
Jumper setting function after power on reset.
-external pull_low = 0.
Jumper setting function after power on reset.
-external pull_low = 0.
Jumper setting function after power on reset.
-external pull_low = 0.
Jumper setting function after power on reset.
-external pull_low = 0.
Jumper setting function after power on reset.
Jumper setting function after power on reset.
Jumper setting function after power on reset.
MTD502EG(80LQFP) Jumper Sett i ng Table Af ter Power On Reset
Pin No.IOSetting FunctionDescriptions
63IODeviceID[3]
-external pull_high = 1.
-external floating : default is 0.
65IODeviceID[2]
-external pull_high = 1.
-external floating : default is 0.
66IODeviceID[1]
-external pull_high = 1.
-external floating : default is 0.
67IODeviceID[0]
-external pull_high = 1.
MTD502EMYSON
68IOP1_CRCchk Disable
69IOP0_CRCchk Disable
71IOVLAN tag Enable
-external floating : default is 0.
-external pull_high = 1, means Port1 CRC check and drop function
is disabled.
-external pull_low = 0, means Port1 CRC check and drop function
is enabled.
-external floating : default is 0.
-external pull_high = 1, means Port0 CRC check and drop function
is disabled.
-external pull_low = 0, means Port0 CRC check and drop function
is enabled.
-external floating : default is 0.
-external pull_high = 1, means MAC receiving accept 1522 Bytes
packet (VLAN tag enable).
-external pull_low = 0, means MAC receiving reject 1522 Bytes
packet (VLAN tag disable).
-external floating : default is 0.
15/20
Page 16
MTD502E Revision 1.3 12/07/2000
MTD502EMYSON
4.0 FUNCTIONAL DESCRIPTIONS
The MTD502E implements a 10/100M two port switch for 10M/100M packet switching. Total 2K
packet to port1.
The address entries are scheduled in the aging machine. If one station does not transmit any packet for
time value is 300 seconds.
used to show the corresponding memory address for each incoming packet. In addition, the buffer
achieve the predefined threshold value, the buffer queue manager will raise the alarm signal which is
used to enable the flow control mechanism for avoiding transmission ID queue overflow happening.
ping packets. If the “back pressure control disable” bit is set, and there is no free buffer queue available
4.5 MAC and DMA eng i ne
frame stripping, CRC checking, bad packet dropping, defering to line traffic, and collision handling. The
The MAC Tx_engine will constantly monitor the line traffic using derfering precedure. Only if it has been
TECHNOLOGY
address entrys are provided for packets’ SA learning and DA routing; and also provide automatic aging
function ( aging time = 300secs). When using in two port bridge application, the input packets from
port0 will be stored in an embedded memory buffers of MTD502E first, while packets is good for forwarding ( CRC chech ok, 64Bytes < length > 1518Bytes, and not local packets ) , than forward this
4.1 L earni ng and Routi ng
The MTD502E supports 2K MAC entries for filtering. Dynamic address learning is performed by each
good unicast packet is completely received. The routing process is performed whenever the packet’s
DA is captured. If the DA get a hit result in self port’s address table, this packet will be treated as a “
local packet”, and then drop the packet forwarding to the other port. On the other hand, if this packet is
not a “local packet”, then will be forwarded to the other port.
4.2 Agin g
a period of time, the belonging MAC address will be kicked out from the address table. The aging out
4.3 Buff er Queue Management
The buffer queue manager is implemented to manage the embedded memory packet buffering. The
main function of the buffer queue manager is to maintain the linked list consists of buffer IDs, which is
queue manager monitors the rested free spaces status of the memory buffers, If the packet storage
MTD502E provide back pressure control scheme in half duplex mode.
4.4 Half Dupl ex Back Pressu r e Contro l
In half duplex mode, MTD502E provide a back pressure control mechanism to avoid dropping packets
during network conjection situation. When the “back pressure control enable” bit is set during power on
reset (pin_18 is external pull_low), it enables MTD502E supporting back pressure function in
half_duplex mode; When output port buffer queue’s on_using value reach the initialization setting
threshold value, MTD502E will send a JAM pattern in the input port when it senses an incoming packet
, thus force a collision to inform the remote node transmission back off and will effectively avoid drop-
for the incoming packets, the incoming packets will be dropped.
The MTD502E’s MAC performs all the functions in IEEE802.3 protocol, such as frame formatting,
MAC Rx_engine checks incoming packets and drops the bad packet which include CRC erro r, align-
ment error, short packet (less than 64 bytes), and long packet(more than 1518 bytes or 1522 bytes
when the “VLAN tag 1522 bytes receive enable” bit is set during power on reset). Before transmission,
idle for a 96 bits time (a minimum interpacket gap time, IPG time), actual transmmission can be started.
For the half duplex mode, MAc engine will detect collision; if a collision is detected, the MAC Tx_engine
will transmit a JAM pattern and then delay the re_transmission for a random time period determined by
the back_off algorithm (MTD502E implements the truncated exponential back_off algorithm defined in
IEEE 802.3 standard). For the full duplex mode, collision signal is ignored.
16/20
Page 17
MTD502E Revision 1.3 12/07/2000
MTD502EMYSON
5.1 Abso lu te Maximum Rating s
Power Supply Voltage
Storage Temperature
Industrial Junction Operating Temperature
Tri-state Leakage Current
Bi-direction buffer Capacitance
Input High Voltage
Output High Voltage
Output Low Voltage
TECHNOLOGY
5.0 Electri c al Characteri st i c s
SymbolParameterRATINGUnit
V
CC
V
T
V
OUT
STG
Input Voltage-0.3 to Vcc+0.3V
IN
Output Voltage-0.3 to Vcc+0.3V
5.2 Recom mend ed Operatin g Condi ti on s
SymbolParameterMin.Typ.Max.Unit
V
V
Power Supply3.03.33.6V
CC
Input Voltage0-VccV
IN
Commercial Junction Operating Temperature025115
T
j
-0.3 to 3.6V
-55 to 150
ο
-4025125
C
ο
ο
C
C
5.3 DC Electr i c al Characteris t ic s
SymbolParameterConditionsMin.Typ.Max.Unit
I
I
C
C
OUT
C
BID3
V
V
V
V
R
(Under recommended operating conditions and Vcc = 3.0 ~ 3.6V, Tj = 0 to +115 oC)
Input Leakage Currentno pull-up or down-11uA
IL
OZ
Input Capacitance2.8pF
IN
-11uA
Output Capacitance2.74.9pF
2.74.9pF
Input Low VoltageCMOS0.3*VccV
IL
IH
OH
OL
Input Pull-up/down resistance
I
IOL=2,4,8,12,16,24mA
IOH=2,4,8,12,16,24mA
CMOS0.7*VccV
2.4V
VIL=0V or VIH=V
CC
75KOhm
0.4V
17/20
Page 18
MTD502E Revision 1.3 12/07/2000
TECHNOLOGY
FIG URE 1. MII timing
FIG URE 2. RMII timing
5.4 Electr ic al Characteristi c s
MTD502EMYSON
RXCLK0
CRS0/RXDV0
RXD0[3:0]
TXCLK0
TXEN0
TXD0[3:0]
SymbolParameterMin.Typ.Max.UnitNote
T5MII input setup time10nS
T6MII input hold time10nS
T7MII output setup time3nS
T8MII output hold time5nS
T5
T7
T6
Valid
T8
Valid
REFCLK
CRSDV
RXD[1:0]
TXEN
TXD[1:0]
SymbolParameterMin.Typ.Max.UnitNote
T1RMII input setup time1nS
T2RMII input hold time1nS
T3RMII output setup time3nS
T4RMII output hold time5nS
T1
T3
T2
Valid
T4
Valid
18/20
Page 19
MTD502E Revision 1.3 12/07/2000
TECHNOLOGY
1.Dimension D1 & E1 do not include mold protrusion.
Note:
But mold mismatch is included. Allowable protrusion is .25mm/.010” per side.
2.Dimension B does not include dambar protrusion. Allowable dambar protrusion .08mm/.003”. Total in excess of the B dimemsion at maximum material
condition. Dambar cannot be located on the lower radius or the foot.