10/100BASE Dual Speed 8-Port Repeater with 4-Port Switch
Document No.: AX872-13 / V1.3 / Aug. 11 ’99
• Support 8 10/100Mbps RMII I/F repeater ports and
2 10/100Mbps RMII/MII switch ports
• IEEE 802.3u repeater compatible
• Support virtual switch mode and Master/Slave
mode for the cascade application
• Build in 4-ports 10/100Mbps Switch engine with
following features
ü Low cost SSRAM interface to reduce system cost
ü One or two 64K*32bit SSRAM to buffer packets
ü 4/8 K MAC Address Entry Table is supported
ü Auto learning and filtering
ü Aging the MAC Address table is supported
optionally
ü Three forwarding modes are supported : Store-
and-Forward, Fragment-Free and Auto-Forward
ü Flow-control is supported optionally.
ü 802.3x flow control is supported in full duplex
mode
ü Back-pressure base flow control is supported in
half duplex mode
ü Ext. Buffer Memory auto testing
ü Routing and Learning at wire speed (148800
packets/sec at 100Mbps)
• Up-to 4 repeaters can be cascaded for vertical
expansion
• Up-to 3 chips can be cascaded locally for horizontal
expansion
• All ports can be separately isolated or partitioned in
response to fault condition
• Separate jabber and partition state machines for
each port
• Per-port LED display for Jabber, Partition,
Activity. RAM test fail and collision, buffer
utilization (%) and global traffic utilization (%) for
10/100Mbps presentation
• Power on LED diagnosis. All the LED display will
follow the “ON-OFF-ON-OFF-Normal” operation
procedure during/after power on reset
• 50MHz Operation, 3.3volt and 208-pin PQFP
Product description
The AX88872 10/100Mbps Dual Speed “Swipeater” Controller is “a dual speed repeater with build in 4-ports
switch function” It is design for low cost dumb HUB application. The AX88872 directly supports up-to eight
10/100Mbps automatic links RMII interfaces. Maximum up-to 96 repeater ports can be constructed by stacking 1
AX88872 and 2 AX88873 chips horizontally and then cascading 4 horizontal boards vertically. About the build in
4-port switch: The switch port3 is fixed to 10Mbps speed and connects to 10Mbps repeater segment, The switch port2
is fixed to 100Mbps and connects to 100M repeater segment. The switch ports 0 and 1 are connected to external MII
or RMII interfaces for various applications. For example, one port is used for down link and the other is used for up
link to extend the network topology. The other case is one port for up link and the other port for server. The AX88872
is designed base on IEEE 802.3u clause 27 “ Repeater for 100Mb/s base-band networks” It is fully compatible with
IEEE 802.3u standard. Please refer Ax873-12.doc to get more information about AX88873.
System Block Diagram
Buffer
AX88873 #1
Repeater Controller
This data sheet contains new products information. ASIX ELECTRONICS reserves the rights to modify the product specification without notice. No
liability is assumed as a result of the use of this product. No rights under any patent accompany the sale of the product.
ASIX ELECTRONICS CORPORATIONFirst Released Date : APR/09/1999
2F, NO.13, Industry East Rd. II, Science-based Industrial Park, Hsin-Chu City, Taiwan, R.O.C.
TEL: 886-3-579-9500FAX: 886-3-579-9558 http://www.asix.com.tw
10Mbps and 100Mbps Vertical cascade up to 4 stacks
AX88873 #0
Repeater Controller
AX88872 #0
Swipeater Controller
Always contact ASIX for possible updates before starting a design.
1.1 GENERAL DESCRIPTION...................................................................................................................................... 4
2.1 RMII INTERFACE FOR REPEATER PORTS............................................................................................................... 7
2.1.1 Repeater Port 0 .......................................................................................................................................... 7
2.1.2 Repeater Port 1 .......................................................................................................................................... 7
2.1.3 Repeater Port 2 .......................................................................................................................................... 8
2.1.4 Repeater Port 3 .......................................................................................................................................... 8
2.1.5 Repeater Port 4 .......................................................................................................................................... 8
2.1.6 Repeater Port 5 .......................................................................................................................................... 8
2.1.7 Repeater Port 6 .......................................................................................................................................... 9
2.1.8 Repeater Port 7 .......................................................................................................................................... 9
2.2 MII/RMII INTERFACE FOR SWITCH PORTS ........................................................................................................... 9
2.2.1 Switch Port 0.............................................................................................................................................. 9
2.2.2 Switch Port 1............................................................................................................................................ 10
2.3 EXPANSION BUS INTERFACE FOR 100 MBPS....................................................................................................... 11
2.4 EXPANSION BUS INTERFACE FOR 10 MBPS......................................................................................................... 11
2.5 LED DISPLAY.................................................................................................................................................. 12
2.6 BUFFER MEMORY PINS GROUP ........................................................................................................................... 13
3.1 REPEATER STATE MACHINE.............................................................................................................................. 18
3.3 JABBER STATE MACHINE.................................................................................................................................. 18
3.4 PARTITION STATE MACHINE............................................................................................................................. 18
3.5 OPERATION OF THE BUILT-IN SWITCH............................................................................................................... 19
3.5.1 Packet Filtering and Forwarding Process ................................................................................................ 19
3.5.2 MAC Address Learning and Aging Process.............................................................................................. 19
3.5.3 Flow Control Process ............................................................................................................................... 19
3.6 LED DISPLAY INTERFACE................................................................................................................................ 20
5.0 ELECTRICAL SPECIFICATION AND TIMING.......................................................................................... 23
5.1 ABSOLUTE MAXIMUM RATINGS........................................................................................................................ 23
5.2 GENERAL OPERATION CONDITIONS................................................................................................................... 23
5.3 DC CHARACTERISTICS..................................................................................................................................... 23
5.4 AC SPECIFICATIONS......................................................................................................................................... 24
5.4.7 LED DISPLAY ......................................................................................................................................... 29
5.4.8 LED Display after Reset........................................................................................................................... 29
2
ASIX ELECTRONICS CORPORATION
Page 3
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4.9 Repeater ID Daisy Chain......................................................................................................................... 30
FIG - 3 APPLICATION FOR LED DISPLAY..................................................................................................................... 21
3
ASIX ELECTRONICS CORPORATION
Page 4
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
1.0 AX88872 Overview
1.1 General Description
The AX88872 that built in a switch is not only a simple repeater but also it provide 2 repeater expansion buses for
10M and 100M respectively. So the cascade function of the AX88872 can be backward compatible with the AX88871A
“Bripeater” in virtual switch mode. Also the AX88872 can support Master/Slave mode in stack application. That all the
repeater stack system forms one 100Mbps segment and one 10Mbps segment in Master/Slave mode. The two segments
are communication via the switch of the master chip.
In general, using RMII interface for 8 repeater ports can simplify the design and also provide a low cost solution with
RMII Quad/Octet PHY and low cost 64Kx32 SSRAM as buffer memory. In additional, the AX88872 provides two
10/100M MII/RMII switch ports alternative for up-link and down-link function. AX88872 has counterpart AX88873
that is a simple dual-speed repeater controller without built-in switch.
The switch port3 is fixed to 10Mbps speed and connect to 10Mbps repeater segment, The switch port2 is fixed to
100Mbps and connect to 100M repeater segment. The other switch ports 0 and 1 are connected to external MII or RMII
interfaces for various applications.
The built-in switch provides 4/8K look-up table that can learn, route and age with MAC address of each packet
automatically for packet forwarding and filtering. That is, the AX88872 forwards and filters packets with DA
(Destination Address) and the table. The performances of routing and learning fit wire speed (148800 packets/sec at
100Mbps). The switch provides three packet forwarding mode: Store-and-Forward, Fragment-Free (i.e., safe cutthrough) and auto mode. Dynamically the switch selects optimum mode for packet forwarding based on network quality.
During transmission, the data is obtained from the buffer memory and routed to the destination port. For half-duplex
operation, when collision occurs, the MAC controller will back off and retransmit in accordance to the IEEE802.3
specification. The switch also support flow-control mechanism. For full duplex operation mode, 802.3x flow control is
supported. For half-duplex operation, an optional jamming based flow control is available to avoid loss of data. This is
also well known as back-pressure. The flow control function is optional.
All pin names with the “/” suffix are asserted low.
I=Input
O=Output
I/O=Input /Output
2.1 RMII interface for repeater ports
2.1.1 Repeater Port 0
Signal NameTypePin No.Description
SPEED0I160
CRS_DV0I161
RXD0[1:0]I163, 162
TXEN0O165
TXD0[1:0]O168, 167
Speed Select : SPEED0 is not standard RMII signal. This signal is
source from PHY to inform repeater whether 10M or 100M speed is
auto-negotiated. Active for 10Mbps speed is selected depending on
power on configuration.
Carrier Sense/Receive Data Valid : CRS_DV is asserted
asynchronously on detection of carrier. CRS_DV is asserted by the PHY
when receive medium is non-idle. Loss of carrier shall result in the
desertion of CRS_DV synchronous to the cycle of REF_CLK that
presents the first DI-bits of a nibble on to RXD0[1:0].
Receive Data : RXD0[1:0] is synchronous to REF_CLK
RXD0[1:0] shall be “00” to indicate idle when CRS_DV is disserted.
Value other than “00” are reserved for out-of-band signaling shall be
ignored by MAC Upon assertion of CRS_DV, PHY shall ensure that
RXD[1:0] = “00” until proper receive decoding takes place
Transmit Enable : TXEN0 is synchronous to REF_CLK.
TXEN0 indicates that MAC is presenting DI-bits on TXD[1:0] for
transmission. TXEN0 shall be negated prior to the 1st REF_CLK rising
edge following the final DI-bit of a frame
Transmit Data : TXD0[1:0] shall transition synchronously to
REF_CLK. TXD0[1:0] shall be “00” to indicate idle when TX_EN is
disserted. Value other than “00” are reserved for out-of-band signaling
shall be ignored by PHY. When TX_EN is asserted, TXD[1:0] are
accepted for transmission by PHY
Transmit Data : Please references section 2.1.1 PORT0 description.
2.2 MII/RMII interface for switch ports
2.2.1 Switch Port 0
Signal NameTypePin No.Description
STXEN0O87
STXD0[3:0]O91,90,89,88
STXCLK0I93
SDUPLEX0I94
SCOL_SP0I97
Transmit Enable : STXEN0 is transition synchronously with respect
to the rising edge of STXCLK0. STXEN0 indicates that the port is
presenting nibbles on STXD0[3:0] for transmission.
When RMII mode, TXEN is transition synchronously with respect to
the rising edge of REF_CLK. STXEN0 indicates that the port is
presenting nibbles on STXD0[1:0] for transmission.
Transmit Data : STXD0[3:0] is transition synchronously with respect
to the rising edge of STXCLK0. For each STXCLK period in which
STXEN is asserted, TXD[3:0] are accepted for transmission by the
PHY.
When RMII mode, STXD0[1:0] shall transition synchronously to
REF_CLK. TXD0[1:0] shall be “00” to indicate idle when TX_EN is
disserted. Value other than “00” are reserved for out-of-band signaling
shall be ignored by PHY. When TX_EN is asserted, TXD[1:0] are
accepted for transmission by PHY
Transmit Clock : STXCLK0 is a continuous clock that provides the
timing reference for the transfer of the STXEN0 and STXD0[3:0]
signals from the MII port the switch to the PHY.
Duplex Select : DUPLEX0 is not standard MII/RMII signal. This
signal is source from PHY to inform switch whether 10M or 100M
speed is auto-negotiated.
Collision : SCOL_SP0 is input from PHY, when collision is detected.
9
ASIX ELECTRONICS CORPORATION
Page 10
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
SCRS0
or
SCRS_DV
SRXDV0I98
SRXCLK0I104
SRXD0[3:0]I114,113,
I96
111,110
When RMII mode, the signal is stand for speed indicator. Active for
10Mbps speed is selected depending on power on configuration.
Carrier Sense : Asynchronous signal SCRS0 is asserted by the PHY
when receive medium is non-idle.
When RMII mode, the signal is stand for CRS_DV (Carrier
Sense/Receive Data Valid ). CRS_DV is asserted asynchronously on
detection of carrier. CRS_DV is asserted by the PHY when receive
medium is non-idle. Loss of carrier shall result in the desertion of
CRS_DV synchronous to the cycle of REF_CLK, which presents the
first DI-bit of a nibble on to RXD0[1:0].
Receive Data Valid : SRXDV0 is driven by the PHY synchronously
with respect to SRXCLK0. Asserted high when valid data is present on
SRXD0[3:0].
Receive Clock : SRXCLK0 is a continuous clock that provides the
timing reference for the transfer of the SRXDV0 and SRXD0[3:0]
signals from the PHY to the MII port of the repeater.
Receive Data : SRXD0[3:0] is driven by the PHY synchronously with
respect to RXCLK.
When RMII mode, SRXD0[1:0] shall transition synchronously to
REF_CLK SRXD0[1:0] shall be “00” to indicate idle when CRS_DV is
disserted. Value other than “00” are reserved for out-of-band signaling
shall be ignored by MAC Upon assertion of CRS_DV, PHY shall ensure
that RXD[1:0] = “00” until proper receive decoding takes place
INTER REPEATER DATA : Nibble data input/output. Transfer data from
the “active” AX88872/3 to all other “inactive” AX88872/3 chips. The busmaster of the IRD bus is determined by IR_ACT bus arbitration.
INTER REPEATER DATA VALID : This signal reflects the RX_DV
status of the active port. Used to frame good packets.
INTER REPEATER CLOCK VALID : All inter repeater signals are
synchronized to the rising edge of this clock.
INTER REPEATER DATA IN/OUT DIRECTION :
This pin indicates the direction of IRD data .
“High” = HIRD[3:0], /HIRD_V , HIRD_CK are Output.
“Low” = HIRD[3:0], /HIRD_V , HIRD_CK are Input.
LOCAL REPEATER ACTIVITY IN/OUT : the function is the same as
/HIR_ACTO[3:0] but for local repeater activity only.
INTER REPEATER ACTIVITY IN: These pins perform the same
function as /HIR_ACTO[3:0] when they serve as input function. Then the
/HIR_ACTO[3:0] insert external buffers the input function must be replaced
with /HIR_ACTI [3:0].
INTER REPEATER ACTIVITY IN/OUT: The local repeater activity
appearance, the signal of the related RID (Repeater ID) will be asserted and
as an output pin. All other pins serve as input pins but except the collision
conditions. When collision occurs , the signal of related (RID-1) pins will
also serve as outputs and will active during local collision period. The
exception case is when RID = 0, then (RID-1) is replaced with (RID+1).
2.4 Expansion Bus Interface for 10 Mbps
Signal NameType Pin No.Description
TIRD[3:0]I/O/Z
/TIRD_VI/O/Z
TIRD_CKI/O/Z
TIRD_ODIRO95
/LTIR_ACT[2:0]I/O/OC 109, 108
/TIR_ACTI[3:0]I/PU119, 118
/TIR_ACTO[3:0]I/O/OC 124, 123
/PU
/PU
/PU
106, 105
103, 102
100
99
107
117, 116
121,120
INTER REPEATER DATA : Nibble data input/output. Transfer data from
the “active” AX88872/3 to all other “inactive” AX88872/3 chips. The busmaster of the IRD bus is determined by IR_ACT bus arbitration.
INTER REPEATER DATA VALID : This signal reflects the RX_DV
status of the active port. Used to frame good packets.
INTER REPEATER CLOCK VALID : All inter repeater signals are
synchronized to the rising edge of this clock.
INTER REPEATER DATA IN/OUT DIRECTION :
This pin indicates the direction of data for external transceiver.
“High” = TIRD[3:0], /TIRD_V , TIRD_CK are Output.
“Low” = TIRD[3:0], /TIRD_V , TIRD_CK are Input.
LOCAL REPEATER ACTIVITY IN/OUT : the function is the same as
/TIR_ACTO[3:0] but for local repeater activity only.
INTER REPEATER ACTIVITY IN: These pins perform the same
function as /HIR_ACTO[3:0] when they serve as input function. Then the
/HIR_ACTO[3:0] insert external buffers the input function must be replaced
with /HIR_ACTI [3:0].
INTER REPEATER ACTIVITY IN/OUT: The local repeater activity
appearance, the signal of the related RID (Repeater ID) will be asserted and
as an output pin. All other pins serve as input pins but except the collision
conditions. When collision occurs , the signal of related (RID-1) pins will
also serve as outputs and will active during local collision period. The
exception case is when RID = 0, then (RID-1) is replaced with (RID+1).
11
ASIX ELECTRONICS CORPORATION
Page 12
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.5 LED Display
Signal NameType Pin No.Description
LED[1:0]O85, 84Those signals indicate each port‘s statuses (such as activity, jabber and
partition) and global information(such as Collision , Repeater ID,
Utilization ) in sequence. For detail , see the LED timing specification
The utilization of 100M segment and 10M segment are using the same scale.
The Utilization % display define as following : (See also Note 1)
1: Led off
0: Led on
Utilization %UTI0UTI1UTI2UTI3UTI4UTI5
0111111
1011111
5001111
10000111
15000011
30000001
60000000
The buffer utilization of internal switch uses the following definition:
1: Led off
0: Led on
LED[0] : This signal also indicates SRAM chip 0 fail ( continue active low )
and 100M repeater collision ( Blinking ) during the interval of sequence shift
data.
LED[1] : This signal also indicates SRAM chip 1 fail ( continue active low )
and 10 M repeater collision ( Blinking ) during the interval of sequence shift
data.
LED_CKO86
LED Clock : The signal is a discontinue clock for LED signals serial shift
out. The clock period width is 400nS and last 32 cycle with every 52.4ms
repeated.
12
ASIX ELECTRONICS CORPORATION
Page 13
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.6 Buffer memory pins group
Signal NameType Pin No.Description
BMA[16:0]O197-201
16,17
170,166
143,142
23-18
BMD[31:24]
BMD[23:16]
BMD[15:8]
BMD[7:0]
/BMWEO158
/BMOEO159
BMCLKO72
I/O24, 26-32
133-138
140, 141
171-173
175-179
180,
188-194
SSRAM Address Bus
SSRAM Data Bus
SSRAM Write Strobe
SSRAM Read Strobe
SSRAM CLOCK
13
ASIX ELECTRONICS CORPORATION
Page 14
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.7 Miscellaneous
Signal NameType Pin No.Description
LCLKI70
/RSTI59
REF_CLKI68
DAISY_INI/PU73
DAISY_OUTO/ML74
MDIOI/O57
MDCO56
/TESTI/PU58
NCO157
VDDI25, 48
69, 92
122, 144
107, 120
VSSI8, 35
67, 71
83, 101
112,115
127, 139
149, 174
185, 208
Local Clock : 50-66Mhz. Used for system operation synchronous.
Reset : Active Low
The chip is reset when this signal is asserted Low
Reference clock : The input is a continuous clock at 50Mhz for timing
reference with RMII interface.
Repeater Identification Number Daisy-Chain In : When MODE=”1” ,
This pin is a daisy chain serial input for Repeater ID. The State machines
always monitors the input if a correct data (RID) present at the pin, the
(RID+1) will be written to RID register and override the power on setup RID
for the chip.
Repeater Identification Number Daisy-Chain Out : When MODE=”1” ,
This pin is periodically shift out the RID of itself to the next chained chip to
inform that this ID has already been occupied. The RID is shift out
periodically every about 200us.
Station Management Data In/Out : For setup PHY auto-negotiation
registers. A burst write commands are issue to setup PHY register after reset.
The PHY address 4h, 5h, 6h, 7h, 8h, 9h,Ah and Bh will be written as register
4h to value 00A1h ( Advertise register set to 10/100 half-duplex mode)and
register 0h to value 1000h(Enable auto-negotiation). See also Appendix for
more information.
Station Management Data Clock Out : For MDIO reference clock.
Test Pin : Active LOW
The pin is just for test mode setting purpose only. Must be pull high when
normal operation.
NC : Keep no connection
POWER : +3.3V +/-5%
POWER: 0V
14
ASIX ELECTRONICS CORPORATION
Page 15
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.8 Power on configuration setup signals cross reference table
Signal NameShare withDescription
/Hash_EnBMA[16]
Aging_S[2:0]BMA[15:13]
RxFC_EnBMA[12]
MII_S1BMA[11]
MII_S0BMA[10]
/Part_EnBMA[9]
RAM_SBMA[5]
NetQlty_SBMA[4]
FwTyp_S1
FwTyp_S0
HiBndy_S1
HiBndy_S0
/ FlowCtl _En3STXD0[3]
BMA[3]
BMA[2]
BMA[1]
BMA[0]
Hash Algorithm Enable :
0 : Enable look-up table addressing use hashing algorithm.
1 : Disable look-up table addressing use linear addressing
Aging Timer Selection :
Aging_S2 Aging_S1 Aging_S0 Aging Time (Min)
1 64K * 32 SSRAM
0 128K * 32 SSRAM
Network Quality Selection: Auto forwarding mode is based on packet error
percentage to select Store-and-Forward or Fragment Free mode.
NetQlty_S Error Packet Ratio
1 20%
0 40%
Forward Type Selection :
FwTyp _S1 FwTyp _S0 Forward Mode
1 1 Store & Forward
1 0 Store & Forward
0 1 Fragment Free
0 0 Auto
Threshold Selection for Flow Control :
Flow control will be active when buffer memory is below the threshold:
HiBndy_S1 HiBndy_S0 Buffers Left
1 1 64 packets
1 0 32 packets
0 1 16 packets
0 0 96 packets
P3 Flow Control Enable : Enable flow control function of switch port 3
(Link to 10Mbps repeater port), back pressure for half duplex.
0 : Enable flow control function.
15
ASIX ELECTRONICS CORPORATION
Page 16
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
/ FlowCtl _En2STXD0[2]
/ FlowCtl _En1STXD0[1]
/FlowCtl_En0STXD0[0]
Speed_S2TXD7[1]
Speed_S1STXD1[2]
Speed_S0STXD1[1]
FdpxHi_S1STXD1[0]
FdpxHi_S0STXEN1
LRID_S1
LRID_S0
/871_EnTXEN6
/RdPhy_EnTXD6[0]
WrPhyNo_STXD4[1]
WrPhyRegNo_STXD4[0]
WrPhyStrAddrTXD3[1]
PktLenOptTXD3[0]
TXD5[1]
TXD5[0]
1 : Disable flow control function.
P2 Flow Control Enable : Enable flow control function of switch port 2
(Link to 100Mbps repeater port), back pressure for half duplex.
0 : Enable flow control function.
1 : Disable flow control function.
P1 Flow Control Enable : Enable flow control functions of switch port 1,
802.3x for full duplex, back pressure for half duplex.
0 : Enable flow control function.
1 : Disable flow control function.
P0 Flow Control Enable : Enable flow control function of switch port 0,
802.3x for full duplex, back pressure for half duplex.
0 : Enable flow control function.
1 : Disable flow control function.
Speed Setting for Repeater Port 0 to Port 7 :
0 : SPEED0~7 pin is Low for 10M,high for 100M
1 : SPEED0~7 pin is Low for 100M,high for 10M
Speed Setting for Switch Port 1 : It is useful for switch port 1 in RMII mode
Don’t care the setting when switch port 1 is in MII mode.
0 : SCOL_SP1 pin is Low for 10M,high for 100M
1 : SCOL_SP1 pin is Low for 100M,high for 10M
Speed Setting for Switch Port 0 : It is useful for switch port 0 in RMII mode
Don’t care the setting when switch port 0 is in MII mode.
0 : SCOL_SP0 pin is Low for 10M,high for 100M
1 : SCOL_SP0 pin is Low for 100M,high for 10M
Duplex Setting for Switch Port 1 : Switch Port 1 “SDUPLEX1” pin
function select
0 : SDUPLEX1 pin is low for half duplex,high for full duplex
1 : SDUPLEX1 pin is low for full duplex,high for half duplex
Duplex Setting for Switch Port 0 : Switch Port 0 “SDUPLEX0” pin function
selection
0 : SDUPLEX0 pin is low for half duplex,high for full duplex
1 : SDUPLEX0 pin is low for full duplex,high for half duplex
Local Repeater ID Selection :
LRID_S1 LRID_S0 LRID No.
0 : MDIO Write PHY from address 18h ( 18h to 1Fh )
1 : MDIO Write PHY from address 04h ( 04h to 0Bh )
Maximun Packet Length Selection
0 : 1522 Byte
16
ASIX ELECTRONICS CORPORATION
Page 17
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
1 : 1518 Byte
All of the above signals are pull-up for default values.
Note 1 :
The calculation formulae of Traffic Utilization between ASIX and NetCom is difference, so you will get
different results when using SmartBit (SB) testing this item.
We found the SmartBit calculate the Utilization without include 96 Bit time inter frame gap (IFG). So the utilization
value can be 100%. As well as we found SB used min packet size (64 byte) and min IFG (96 bit-time) as 100% utilization.
In theory, when max packet size (1518 byte) and min IFG the utilization will be more than 100%, but SB also treat it as
100%.
In our AX88872 design, we use real cable bandwidth as calculation base. We calculate the bit counts of carrier within a
unit time. Because of the existence of inter frame gap, In our calculation 100% utilization is impossible. So the above two
cases (64 byte packet size and 1518 byte packet size with min. IFG), we will count as 85.7% and 99.2%.
If using SB test result to indicate utilization LED the value must be modified. See the following reference table.
The repeater state machine is in idle state when there is no carrier presented on any ports . When there is only
one port has receive activity, the repeater state machine will enter data -forwarding state to ensure correct
data forwarding to other connected ports. If collision happens anytime, The repeater state machine detects
collision then send jam pattern to all ports until collision ceases.
3.2 RXE /TXE Control
Idle state
CRS_DV(ALL) = 0, the repeater sends no data to any port.
RXE(ALL) = 0.
TXE(ALL) = 0.
Data Forwarding state
If CRS_DV(ALL) = 1, N is the only one port that has incoming packet.
If CRS_DV(ALL) > 1, the repeater sends jam pattern to all ports.
RXE(ALL) = 0.
TXE(ALL) = 1.
One Port Left state
When all packets are back off except only one port still has activity, that is CRS_DV(ALL) = 1 again . N is the
only one left port that has incoming packet. The repeater sends jam pattern to all other port except for the still
activity ports.
RXE(ALL) = 0.
TXE(ALLXN) = 1.
3.3 Jabber State Machine
To prevent an illegally long reception of data from reaching the repeater unit, each port has its own jabber
timer. If a reception exceeds this duration (64K bit times for AX88872), the jabber condition will be detected.
In this condition, repeater unit will disable receive and transmit packets for the jabbered port and the other ports
remain the normal operation.
When the carrier is no longer detected for the jabbered port or reset the repeater, the jabber state will be existed
and the port will receive and transmit packets normally.
3.4 Partition State Machine
The partition state machine is used to protect network from being upset when a port suffer continuous
18
ASIX ELECTRONICS CORPORATION
Page 19
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
collision, each port uses a partition state machine to detect and prevent this condition. When a port suffers from
continuous 64 times of collision events, then it goes to Partition State. The partitioned port will be not released
until a packet without collision be transmitted( more than 512 bit times for AX88872) or reset the repeater.
3.5 Operation of the Built-In Switch
In general, the basic operation of the switch is very simple. The switch receives incoming packets from one of its ports,
searches in the Look-Up Table for the Destination MAC Address and then forwards the packet to the destination ports,
if appropriate. If the destination MAC address is not found in the Look-Up Table, the switch treats the incoming packet
as a broadcast packet and forwards it to all ports except itself. Basically the switch automatically learns the port number
of attached network devices by examining the Source MAC Address of all incoming packets. The device is updated the
table with the Source MAC Address if the Source MAC Address does not exist the table.
3.5.1 Packet Filtering and Forwarding Process
During the receiving process, the switch will monitor the length of the received packet. Legal Ethernet packets should
have a length of no less 64 bytes and nor more than 1528 bytes. The switch discards any packet with illegal length.
After a packet is received, its Source MAC Address and Destination MAC Address are received. The Source MAC
Address is used to update the Look-Up Table and the Destination MAC Address is used to determine the destination port
of the packet. Once a MAC Address has been learned, and the packet is buffered, it must be forwarded, That is, the packet
forwarding mechanism for the switch is handled automatically based on the destination MAC Address.
Under the following conditions, received packets are filtered:
¨ The switch will check all received packets for errors, e.g., FCS error, runt packet, long packet, etc.
¨ Any packet handing to its own source port will be filtered. That is, its destination port is its source port.
¨ The incoming packet will be discarded if the switch’s buffer memory is full.
The switch supports three forwarding modes: Store-and-Forward, Fragment-Free and Auto.
¨ Store-and-Forward Mode: An entry packet is received, checked and stored in the buffer memory before it
is forwarded. That is, each forwarded packet is correct.
¨ Fragment-Free Mode: It is a simple improvement on Cut-Through method. The switch will forward a
packet whose packet length is more than 64 bytes. All runt packets will be filtered in Fragment-Free
mode.
¨ Auto Mode: In Auto mode, the switch select dynamically its optimized forwarding mode based on the
current network quality of each port.
3.5.2 MAC Address Learning and Aging Process
The switch can learn up to 8K unique MAC addresses with a hashing algorithm. Addresses are stored in the Look-Up
Table located in external SSRAM, then each packet updates the table.
The table lookup engine provides the switching information required routing the data packets. The address table is set up
through auto address learning dynamically. After the switch receives a packet, the Source MAC Address and Destination
MAC Address are received. The Source Address retrieved from the received packet is automatically stored in a SA
buffer. The switch will check for error and perform a SA search. The switch will update the Look-Up Table with the
Source MAC Address if there is no error.
The Look-Up Table is cleared on power-on, or hardware reset. When the aging option is enabled, the dynamically
Learned SA will be cleared if it is not refreshed in less than configured time (2 or 5 min).
3.5.3 Flow Control Process
The switch can operate at two different modes: half-duplex and full-duplex. Each port can be configured to have flow
control enabled or not. The switch supports 802.3X for full-duplex operation and uses back pressure for half-duplex.
In full-duplex mode, the switch will receive and transmit the packet in accordance to 802.3X. The transmission channel
and the receiving channel operate independently. If the occupancy of the buffer memory is above the FlowControlActive
19
ASIX ELECTRONICS CORPORATION
Page 20
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
threshold, the MAC of port will send out a PAUSE frame with maximum delay. The switch will send out a PAUSE
frame with zero delay after below FlowControlActive threshold.
For the receiving channel, the switch will not transmit the next packet whenever received a PAUSE frame with non-zero
delay. The switch will resume packet transmission either after the pause timer expired or a PAUSE frames with zero
delay received.
In half-duplex mode, the switch will receive and transmit the packet in accordance to 802.3 CSMA/CD. If the occupancy
of the buffer memory is above the FlowControlActive threshold, the MAC of port will send out JAM pattern .
3.6 LED Display Interface
AX88872 provides per-port LED status indication for partition, jabber, activity and support rate - based LED
for 10 and 100Mbps segments utilization (%) and switch buffer utilization (%) . All LED[1:0] perform active
low.
LED[1:0] Status Driver Wave-formas follows :
LED_CK
D0D1D2D3D4D5D6D7D8D9D11 D12 D13 D14D10D15
10M
10M
10M
10M
10M
LED[0]
LED[0]
Continue
10M
UTI5
UTI4
UTI3
UTI2
UTI1
UTI0
RID0RID1RID2RID3
UTI5
UTI4
100M
100M
100M
UTI3
100M
UTI2
D16D19 D20 D21 D22D18D23D17( This portation no clock presented )
ACT0ACT1ACT2ACT3ACT4ACT5ACT6ACT7
Chip 0 Memory Test Fail and/or 100M Collision
100M
UTI1
100M
UTI0
LED[1]
LED[1]
Continue
JAB7 JAB6 JAB5 JAB4 JAB3 JAB2 JAB1 JAB0
PART7PART
6
PART
5
PART
4
PART
3
PART
2
PART
1
PART
SW
ACT0
ACT1
0
Chip 1 Memory Test Fail and/or 10M Collision
UTI5
UTI4
UTI3
UTI2
UTI1
UTI0
SW
SW
SW
SW
SW
SW
SW
20
ASIX ELECTRONICS CORPORATION
Page 21
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
Notes:
a. PART7~0indicates partition status for each port
b. JAB7~0 indicates jabber status for each port
c. ACT7~0 indicates activity status for each port
d. RID3~0 is the ID of repeater chip
e. 10M UTI5~0 indicate global utilization rate of 10Mbps for each 104.8ms sampling period.
f. 100M UTI5~0 indicate global utilization rate of 100Mbps for each 104.8ms sampling period.
g. SW UTI5~0 indicate global utilization rate of Switch packet buffers for each 104.8ms sampling period.
h. RAM FAIL : Switch RAM test fail.
It has to use external shift register to decode data on LED[1:0]. The application shows as follows:
RID0
10M UTI0
RID1
100M UTI5
100M UTI4
100M UTI3
100M UTI2
100M UTI0
100M UTI1
ACT7
ACT6
ACT5
ACT4
RID3
RID2
10M UTI5
10M UTI4
10M UTI3
10M UTI2
10M UTI1
ACT3
ACT2
ACT1
ACT0
LED[0]
LED_CK
Q1Q2Q3Q
Q
0
D
4
74LS164(#1)
Q
Q
Q
7
5
6
Q1Q2Q3Q
Q
0
D
4
74LS164(#2)
Q
Q
Q
7
5
6
Q1Q2Q3Q
Q
0
D
4
74LS164(#3)
Q
Q
5
6
Fig - 3 Application for LED display
If the user don‘t want to show jabber status, take away the latter 74LS164(#2). The application is the same for
LED[1].
Q
7
21
ASIX ELECTRONICS CORPORATION
Page 22
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
4.0 INTERNAL REGISTERS
(This page keep blank)
22
ASIX ELECTRONICS CORPORATION
Page 23
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.0 ELECTRICAL SPECIFICATION AND TIMING
5.1 Absolute Maximum Ratings
DescriptionSYMMinMaxUnits
Operating TemperatureTa0+70
Storage TemperatureTs-55+150
Supply VoltageVcc-0.3+4V
Input VoltageVin-0.3Vdd+0.5V
Output VoltageVout-0.3Vdd+0.5V
Lead Temperature (soldering 10 seconds maximum)Tl-55+220
Note : Stress above those listed under Absolute Maximum Ratings may cause permanent damage to the device. Exposure
to Absolute Maximum Ratings conditions for extended period, adversely affect device life and reliability
Low Input VoltageVilVss-0.30.8V
High Input VoltageVih2Vdd+0.5V
Low Output VoltageVol0.4V
High Output VoltageVoh2.4V
Input Leakage Current 1 (Note 1)Iil110uA
Input Leakage Current 2 (Note 2)Iil1500uA
Output Leakage CurrentIol10uA
°C
°C
°C
°C
DescriptionSYMMinTypMaxUnits
Power ConsumptionPcTBDmA
Note :
a. All the input pins without pull low or pull high.
b. Those pins had been pull low or pull high.
23
ASIX ELECTRONICS CORPORATION
Page 24
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4 AC specifications
5.4.1 LCLK
Thigh
LCLK
TrTfTlow
Tcyc
BMCLKTod
SymbolDescriptionMinTyp.MaxUnits
TcycCYCLE TIME
ThighCLK HIGH TIME
TlowCLK LOW TIME
Tr/TfCLK SLEW RATE
TodLCLK TO BMCLK OUT DELAY
5.4.2 Reset Timing
81012ns
81012ns
1-4ns
20ns
2ns
REF_CLK
/RST
SymbolDescriptionMinTyp.MaxUnits
TrstReset pulse width
10--REF_Clk
24
ASIX ELECTRONICS CORPORATION
Page 25
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4.3 RMII Interface Timing TX & RX
T0 T1
REF_CLK
T2 T3
TX_EN
TXD
CRS_DV
T2 T3
RXD
SymbolDescriptionMinTyp.MaxUnits
T0REF_CLK Clock Cycle Time19.9982020.002 ns
T1REF_CLK Clock High Time71013 ns
T2CRS_DV, RXD, TXEN and TXD data setup to
REF_CLK rising edge
T3CRS_DV, RXD, TXEN and TXD data hold from
REF_CLK rising edge
4 ns
2 ns
25
ASIX ELECTRONICS CORPORATION
Page 26
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4.4 MII Interface Timing TX & RX
T0 T1
TXCLK
T2 T2
TX_EN
T3 T3
TXD
SymbolDescriptionMinTyp.MaxUnits
T0TXCLK Cycle Time 39.99640 40.004 ns
T1TXCLK High Time 1420 26 ns
T2TX_EN Delay from TXCLK High7.44021.760 ns
T3TXD Delay from TXCLK High3.41013.320 ns
T4 T5
RX_CLK
CRS
T6
RXDV
T7
RXD
RXER
SymbolDescriptionMinTyp.MaxUnits
T4RX_CLK Clock Cycle Time39.9964040.004 ns
T5RX_CLK Clock High Time142026 ns
T6CRS to RXDV Delay Requirement40160 ns
T7RXD or RXDV setup to RX_CLK rise time10- ns
26
ASIX ELECTRONICS CORPORATION
Page 27
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4.5 SRAM read cycle
T5
T4D1T3A1T2
T1
Read cycle
BMCLK
BMA[16:0]
/BMWR
/BMOE
BMD[7:0]
SymbolDescriptionMinMaxUnits
T1Clock Cycle Time15- ns
T2Address Bus Setup Time2.5-ns
T3Address Bus Hold Time0.5-ns
T4Clock to Output Invalid2-ns
T5Clock to Output Valid-6ns
27
ASIX ELECTRONICS CORPORATION
Page 28
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4.6 SRAM write cycle
T5T4A1T3T2
D1
BMCLK
BMA[16:0]
/BMWR
/BMOE
BMD[7:0]
T1
T1
SymbolDescriptionMinMaxUnits
T1Clock Cycle Time15- ns
T2Address Bus Setup Time2.5-ns
T3Address Bus Hold Time0.5-ns
T4Write Data Setup Time2.5-ns
T7Write Data Hold Time0.5-ns
28
ASIX ELECTRONICS CORPORATION
Page 29
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4.7 LED DISPLAY
T3
LED_CK
--------
~
~
-------
-
D0 D1 D2 .............. D22 D23
D0 D1 D2
T4
T3
LED_CK
T1
T2
LED[1:0] D0 D1 D2 D3 ------- D15 D0
SymbolDescriptionMinTyp.MaxUnits
T1LED setup to LED_CK High190200ns
T2LED hold from LED_CK High200210ns
T3LED_CK Period Width400ns
T4LED_CK Cycle burst out period52.4ms
5.4.8 LED Display after Reset
/Reset
T1 T2 T2 T2 T3
LED[2:0]
SymbolDescriptionMinTyp.MaxUnits
T1Repeater reset time1000ns
T2LED Blink Time After Reset838.4ms
T3LED Dark Time Before Normal Display419.2ms
29
ASIX ELECTRONICS CORPORATION
Page 30
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
5.4.9 Repeater ID Daisy Chain
T1
T2 T2
Daisy-Out ID0 ID1 ID2 ID0 ID1 ID2
T3
Daisy-In ID0 ID1 ID2 ID0 ID1 ID2
SymbolDescriptionMinTyp.MaxUnits
T1Daisy Chain One Burst period204.8 us
T2Start Bit Period or Data Width12.8 us
T3Time-out occur when no data present on Daisy_in *3.8 s
Note : Daisy-Chain Data-In Time-out stands for no input data (always high level) for the specific time.
30
ASIX ELECTRONICS CORPORATION
Page 31
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
6.0 PACKAGE INFORMATION
Hd
D
pin 1
He
E
b
e
A2A1
L1
L
θ
MILIMETERSYMBOL
MIN.NOMMAX
A10.050.250.5
A23.173.323.47
b0.100.200.30
D27.9028.0028.10
E27.9028.0028.10
e0.50
Hd30.3530.6030.85
He30.3530.6030.85
L0.450.600.75
L11.30
θ
010
31
ASIX ELECTRONICS CORPORATION
Page 32
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
Appendix A: System Applications
100Mbps horizontal cascade
10Mbps and 100Mbps Vertical cascade up to 4 stacks
10Mbps horizontal cascade
2 Quad RMII PHY
2 Quad RMII PHY
PHY for Up-link
PHY for Down-link or Server
100Mbps horizontal cascade
10Mbps and 100Mbps Vertical cascade up to 4 stacks
10Mbps horizontal cascade
2 Quad RMII PHY
2 Quad RMII PHY
PHY for Up-link
PHY for Down-link or Server
100Mbps horizontal cascade
10Mbps horizontal cascade
2 Quad RMII PHY
2 Quad RMII PHY
PHY for Up-link
PHY for Down-link or Server
Some typical applications for AX88872 are illustrated bellow.
A.1 16-port (24-port) repeater with 2-port switch
Buffer
AX88873 #1
Repeater Controller
Note : Add additional AX88873 to build a 24-port repeater
A.2 16-port repeater with up to 4 stacks
Buffer
AX88873 #1
Repeater Controller
AX88872 #0
Swipeater Controller
Repeater #3
Slave
AX88872 #0
Swipeater Controller
Buffer
AX88873 #1
Repeater Controller
32
AX88872 #0
Swipeater Controller
Repeater #1,#2
Slave (omitted)
Repeater #0
Master
ASIX ELECTRONICS CORPORATION
Page 33
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
A.3 8-port standalone repeater with 2-port switch
2 Quad RMII PHY
PHY for Up-link
PHY for Down-link or Server
100Mbps horizontal cascade
100Mbps Vertical cascade up to 4 stacks
RMII PHY
RMII PHY
link or Down-link
for Servers
100Mbps horizontal cascade
RMII PHY
RMII PHY
link or Down-link
for Servers
AX88872 #0
Swipeater Controller
A.4 16-port repeater with up to 4 stacks of AX88871A compatible mode
Buffer
Repeater #3
AX88872 #1
Swipeater Controller
2 Quad
AX88872 #1
Swipeater Controller
2 Quad
Twin-PHY
Buffer
Twin-PHY
AX88872 #0
Swipeater Controller
2 Quad
AX88872 #0
Swipeater Controller
2 Quad
Twin-PHY for Up-
Repeater #1,#2
(omitted)
Repeater #3
Twin-PHY for Up-
33
ASIX ELECTRONICS CORPORATION
Page 34
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
A.5 16-port repeater with up to 4 stacks and more switch ports
10Mbps and 100Mbps horizontal cascade
10Mbps and 100Mbps Vertical cascade up to 4 stacks
RMII PHY
RMII PHY
link or Down-link
for Servers
10Mbps and 100Mbps horizontal
RMII PHY
RMII PHY
link or Down-link
for Servers
Buffer
Repeater #3
slave
AX88872 #1
Swipeater Controller
2 Quad
AX88872 #1
Swipeater Controller
2 Quad
Twin-PHY
Buffer
Twin-PHY
AX88872 #0
Swipeater Controller
2 Quad
AX88872 #0
Swipeater Controller
2 Quad
Twin-PHY for Up-
Repeater #1,#2
Slave (omitted)
Repeater #0
Master
Twin-PHY for Up-
Note : Only the switch ports between 10M and 100M segment of Repeater #0/AX88872 #0 are enable
34
ASIX ELECTRONICS CORPORATION
Page 35
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
Appendix B: Design Note
B.1 Using Station Management (STA) Connection
There are two methods to get two switch port speed and duplex information in AX88872 . One way is by hardware pins
such as SPEED0, SDUPLEX0, SPEED1, SDUPLEX1. AX88872 also provides 2 pins (MDC and MDIO, STA – Station
Management connection) to read PHY Auto Negotiation Remote Capability register to get current speed and duplex
status. For the PHY connected to repeater ports must be configured by STA write function. In a word, AX88872 use STA
read function to get PHY register status for switch port and use STA write function to program PHY register for hub port.
The address setting of PHY must be fixed as follows: