Datasheet AX88872P Datasheet (ASIX)

Page 1
100Mbps horizontal cascade
10Mbps horizontal cascade
2 Quad RMII PHY
2 Quad RMII PHY
2 Quad RMII PHY
PHY for Up-link
PHY for Down-link or Server
AX88872P
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 CORPORATION First 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-9500 FAX: 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.
Page 2
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
CONTENTS
1.0 AX88872 OVERVIEW....................................................................................................................................... 4
1.1 GENERAL DESCRIPTION...................................................................................................................................... 4
1.2 AX88872 BLOCK DIAGRAM:.............................................................................................................................. 5
1.3 PIN CONNECTION DIAGRAM ............................................................................................................................... 6
2.0 PIN DESCRIPTION........................................................................................................................................... 7
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
2.7 MISCELLANEOUS.............................................................................................................................................. 14
2.8 POWER ON CONFIGURATION SETUP SIGNALS CROSS REFERENCE TABLE ................................................................ 15
3.0 FUNCTIONAL DESCRIPTION...................................................................................................................... 18
3.1 REPEATER STATE MACHINE.............................................................................................................................. 18
3.2 RXE /TXE CONTROL...................................................................................................................................... 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
4.0 INTERNAL REGISTERS................................................................................................................................ 22
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.1 LCLK....................................................................................................................................................... 24
5.4.2 Reset Timing............................................................................................................................................ 24
5.4.3 RMII Interface Timing TX & RX............................................................................................................... 25
5.4.4 MII Interface Timing TX & RX................................................................................................................. 26
5.4.5 SRAM read cycle...................................................................................................................................... 27
5.4.6 SRAM write cycle ..................................................................................................................................... 28
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
6.0 PACKAGE INFORMATION........................................................................................................................... 31
APPENDIX A: SYSTEM APPLICATIONS.......................................................................................................... 32
A.1 16-PORT (24-PORT) REPEATER WITH 2-PORT SWITCH......................................................................................... 32
A.2 16-PORT REPEATER WITH UP TO 4 STACKS......................................................................................................... 32
A.3 8-PORT STANDALONE REPEATER WITH 2-PORT SWITCH...................................................................................... 33
A.4 16-PORT REPEATER WITH UP TO 4 STACKS OF AX88871A COMPATIBLE MODE.................................................... 33
A.5 16-PORT REPEATER WITH UP TO 4 STACKS AND MORE SWITCH PORTS.................................................................. 34
APPENDIX B: DESIGN NOTE............................................................................................................................. 35
B.1 USING STATION MANAGEMENT (STA) CONNECTION ........................................................................................ 35
B.2 USING MII I/F CONNECTS TO MAC.................................................................................................................. 36
FIGURES
FIG - 1 AX88872 BLOCK DIAGRAM ............................................................................................................................. 5
FIG - 2 PIN CONNECTION DIAGRAM.............................................................................................................................. 6
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 cut­through) 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.
4
ASIX ELECTRONICS CORPORATION
Page 5
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
1.2 AX88872 Block Diagram:
RMII I/F
10/100 Q-PHY
RMII /MII translation for Repeater Port 0 -7
10/100 Q-PHY
Per Port Jabber Detection
Per Port Partition Detection
Repeater State Machine of 100Mbps
Repeater State Machine of 10Mbps
Led Interface
Cascade Arbitration Logic of 100Mbps
Cascade Arbitration Logic of 10Mbps
For up link
For down link or server
RMII /MII translation for Switch Port 0 and 1
P0
Built in 4 Port Switch
P1
Fig - 1 AX88872 Block Diagram
P2
P3
Ext SSRAM Interface
5
ASIX ELECTRONICS CORPORATION
Page 6
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
1.3 Pin Connection Diagram
VSS
VDD
RXD3[0]
CRS_DV3
RXD3[1]
TXEN3
TXD3[0]
TXD3[1]
CRS_DV4
RXD4[0]
TXD4[1]
TXD4[0]
TXEN4
RXD4[1]
TXD5[1]
RXD5[1]
TXD5[0]
TXEN5
CRS_DV5
RXD5[0]
CRS_DV6
RXD6[1]
RXD6[0]
TXD6[0]
TXD6[1]
TXEN6
CRS_DV7
RXD7[1]
RXD7[0]
BMA5
BMA1
BMA4
BMA0
BMA11
BMA3
BMA10
BMA2
BMD24
BMD28
BMD27
BMD31
BMD26
BMD25
BMD29
BMD30
DAISY_OUT
VDD
SPEED3
SPEED4
SPEED5
SPEED6
SPEED7
VSS
HIRD[1]
HIRD[3]
HIRD[2]
/HIRD_V
HIRD[0]
HIRD_ODIR
NC
/BMWE /BMOE SPEED0 CRS_DV0 RXD0[0]
RXD0[1]
VDD
TXEN0
BMA8 TXD0[0]
TXD0[1]
SPEED1
BMA9
BMD15
BMD14
BMD13 VSS
BMD12
BMD11
BMD10
BMD9
BMD8
BMD7
CRS_DV1
RXD1[0]
RXD1[1]
TXEN1
VSS
TXD1[0]
TXD1[1]
BMD6
BMD5
BMD4
BMD3
BMD2
BMD1
BMD0
VDD SPEED2
BMA16
BMA15 BMA14
BMA13
BMA12
CRS_DV2
RXD2[0]
RXD2[1]
TXEN2
TXD2[0]
TXD2[1]
VSS
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
156
1
155
154
3
153
152
56472
HIRD_CK
VSS
/HIR_ACTO[3]
150
148
149
151
8
9
BMA7
/HIR_ACTO[2]
/HIR_ACTO[1]
/HIR_ACTO[0]
VDD
145
146
147
101112131415161718
144
143
142
BMA6
BMD16
141
BMD20
BMD21
BMD22
134
135
136
/HIR_ACTI[3]
BMD23
/HIR_ACTI[2]
133
132
131
BMD17
BMD18
VSS
138
139
140
BMD19
137
AX88872
19
2324222021
25
26
/LHIR_ACT[2]
/HIR_ACTI[1]
/HIR_ACTI[0]
/LHIR_ACT[1]
/LHIR_ACT[0]
VSS
125
126
127
128
129
130
293028
31
27
3233343536373839404142
/TIR_ACTO[3]
/TIR_ACTO[2]
/TIR_ACTO[1]
VDD
/TIR_ACTO[0]
/TIR_ACTI[3]
121
122
120
123
119
124
SRXD0[2]
SRXD0[3]
/TIR_ACTI[0]
VSS
/TIR_ACTI[2]
/TIR_ACTI[1]
114
113
117
115
116
118
4347464445
SRXD0[0]
SRXD0[1]
VSS
110
111
112
/LTIR_ACT[2]
/LTIR_ACT[1]
/LTIR_ACT[0]
TIRD[3]
TIRD[2]
105
106
107
108
109
104 103 102 101 100
99 98 97
95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53
4849505152
96
SDUPLEX0
DAISY_IN BMCLK
LCLK VDD REF_CLK VSS
SRXCLK0 TIRD[1] TIRD[0] VSS /TIRD_V TIRD_CK SRXDV0 SCOL_SP0 SCRS0 TIRD_ODIR
STXCLK0 VDD STXD0[3] STXD0[2] STXD0[1] STXD0[0] STXEN0 LED_CK LED<1> LED<0> VSS SRXD1[3] SRXD1[2] SRXD1[1] SRXD1[0] SRXCLK1 SRXDV1 SCOL_SP1 SCRS1
VSS
SDUPLEX1 STXCLK1 STXD1[3] STXD1[2] STXD1[1] STXD1[0] STXEN1 /RST /TEST MDIO MDC TXD7[1] TXD7[0] TXEN7
Fig - 2 Pin Connection Diagram
6
ASIX ELECTRONICS CORPORATION
Page 7
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.0 Pin Description
The following terms describe the AX88872 pin out:
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 Name Type Pin No. Description
SPEED0 I 160
CRS_DV0 I 161
RXD0[1:0] I 163, 162
TXEN0 O 165
TXD0[1:0] O 168, 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
2.1.2 Repeater Port 1
Signal Name Type Pin No. Description
SPEED1 I 169
CRS_DV1 I 181
RXD1[1:0] I 183, 182
TXEN1 O 184
TXD1[1:0] O 187, 186
Speed Select : Please references section 2.1.1 PORT0 description.
Carrier Sense/Receive Data Valid : Please references section 2.1.1
PORT0 description.
Receive Data : Please references section 2.1.1 PORT0 description.
Transmit Enable : Please references section 2.1.1 PORT0 description.
Transmit Data : Please references section 2.1.1 PORT0 description.
7
ASIX ELECTRONICS CORPORATION
Page 8
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.1.3 Repeater Port 2
Signal Name Type Pin No. Description
SPEED2 I 196
Speed Select : Please references section 2.1.1 PORT0 description.
CRS_DV2 I 202
RXD2[1:0] I 204, 203 Receive Data : Please references section 2.1.1 PORT0 description.
TXEN2 O 205
TXD2[1:0] O 207,206
Carrier Sense/Receive Data Valid : Please references section 2.1.1 PORT0 description.
Transmit Enable : Please references section 2.1.1 PORT0 description.
Transmit Data : Please references section 2.1.1 PORT0 description.
2.1.4 Repeater Port 3
Signal Name Type Pin No. Description
SPEED3 I 1
CRS_DV3 I 2
RXD3[1:0] I 4, 3
TXEN3 O 5
TXD3[1:0] O 7, 6
Speed Select : Please references section 2.1.1 PORT0 description.
Carrier Sense/Receive Data Valid : Please references section 2.1.1
PORT0 description.
Receive Data : Please references section 2.1.1 PORT0 description.
Transmit Enable : Please references section 2.1.1 PORT0 description.
Transmit Data : Please references section 2.1.1 PORT0 description.
2.1.5 Repeater Port 4
Signal Name Type Pin No. Description
SPEED4 I 9
Speed Select : Please references section 2.1.1 PORT0 description.
CRS_DV4 I 10
RXD4[1:0] I 12, 11
TXEN4 O 13
TXD4[1:0] O 15, 14
Carrier Sense/Receive Data Valid : Please references section 2.1.1 PORT0 description.
Receive Data : Please references section 2.1.1 PORT0 description.
Transmit Enable : Please references section 2.1.1PORT0 description.
Transmit Data : Please references section 2.1.1 PORT0 description.
2.1.6 Repeater Port 5
Signal Name Type Pin No. Description
SPEED5 I 33
CRS_DV5 I 34
RXD5[1:0] I 37,36
TXEN5 O 38
TXD5[1:0] O 40,39
Speed Select : Please references section 2.1.1 PORT0 description.
Carrier Sense/Receive Data Valid : Please references section 2.1.1
PORT0 description.
Receive Data : Please references section 2.1.1 PORT0 description.
Transmit Enable : Please references section 2.1.1 PORT0 description.
Transmit Data : Please references section 2.1.1 PORT0 description.
8
ASIX ELECTRONICS CORPORATION
Page 9
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.1.7 Repeater Port 6
Signal Name Type Pin No. Description
SPEED6 I 41
Speed Select : Please references section 2.1.1 PORT0 description.
CRS_DV6 I 42
RXD6[1:0] I 44,43
TXEN6 O 45
TXD6[1:0] O 47,46
Carrier Sense/Receive Data Valid : Please references section 2.1.1 PORT0 description.
Receive Data : Please references section 2.1.1 PORT0 description.
Transmit Enable : Please references section 2.1.1 PORT0 description.
Transmit Data : Please references section 2.1.1 PORT0 description.
2.1.8 Repeater Port 7
Signal Name Type Pin No. Description
SPEED7 I 49
CRS_DV7 I 50
RXD7[1:0] I 52,51
TXEN7 O 53
TXD7[1:0] O 55,54
Speed Select : Please references section 2.1.1 PORT0 description.
Carrier Sense/Receive Data Valid : Please references section 2.1.1
PORT0 description.
Receive Data : Please references section 2.1.1 PORT0 description.
Transmit Enable : Please references section 2.1.1 PORT0 description.
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 Name Type Pin No. Description
STXEN0 O 87
STXD0[3:0] O 91,90,89,88
STXCLK0 I 93
SDUPLEX0 I 94
SCOL_SP0 I 97
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
SRXDV0 I 98
SRXCLK0 I 104
SRXD0[3:0] I 114,113,
I 96
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
2.2.2 Switch Port 1
Signal Name Type Pin No. Description
STXEN1 O 60
STXD1[3:0] O 64,63,62,61
STXCLK1 I 65
SDUPLEX1 I 66
SCOL_SP1 I 76
SCRS1 Or SCRS_DV1 SRXDV1 I 77
SRXCLK1 I 78
SRXD1[3:0] I 82,81,80,79
I 75
Transmit Enable : Please references section 2.2.1 SWITCH PORT0 description. Transmit Data : Please references section 2.2.1 SWITCH PORT0 description. Transmit Clock : Please references section 2.2.1 SWITCH PORT0 description. Duplex Select : Please references section 2.2.1 SWITCH PORT0 description. Collision : Please references section 2.2.1 SWITCH PORT0 description. Carrier Sense : Please references section 2.2.1 SWITCH PORT0 description.
Receive Data Valid : Please references section 2.2.1 SWITCH PORT0 description. Receive Clock : Please references section 2.2.1 SWITCH PORT0 description. Receive Data : Please references section 2.2.1 SWITCH PORT0 description.
10
ASIX ELECTRONICS CORPORATION
Page 11
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
2.3 Expansion Bus Interface for 100 Mbps
Signal Name Type Pin No. Description
HIRD[3:0] I/O/Z
/HIRD_V I/O/Z
HIRD_CK I/O/Z
HIRD_ODIR O 150
/LHIR_ACT[2:0] I/O/OC 128, 126
/HIR_ACTI[3:0] I/PU 132, 131
/HIR_ACTO[3:0] I/O/OC 148, 147
/PU
/PU
/PU
156, 155 154, 153
152
151
125
130, 129
146, 145
INTER REPEATER DATA : Nibble data input/output. Transfer data from the “active” AX88872/3 to all other “inactive” AX88872/3 chips. The bus­master 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 Name Type Pin No. Description
TIRD[3:0] I/O/Z
/TIRD_V I/O/Z
TIRD_CK I/O/Z
TIRD_ODIR O 95
/LTIR_ACT[2:0] I/O/OC 109, 108
/TIR_ACTI[3:0] I/PU 119, 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 bus­master 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 Name Type Pin No. Description
LED[1:0] O 85, 84 Those 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 % UTI0 UTI1 UTI2 UTI3 UTI4 UTI5
0 1 1 1 1 1 1 1 0 1 1 1 1 1
5 0 0 1 1 1 1 10 0 0 0 1 1 1 15 0 0 0 0 1 1 30 0 0 0 0 0 1 60 0 0 0 0 0 0
The buffer utilization of internal switch uses the following definition: 1: Led off 0: Led on
Utilization % UTI0 UTI1 UTI2 UTI3 UTI4 UTI5
0 1 1 1 1 1 1 10 0 1 1 1 1 1 20 0 0 1 1 1 1 40 0 0 0 1 1 1 60 0 0 0 0 1 1 80 0 0 0 0 0 1 95 0 0 0 0 0 0
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_CK O 86
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 Name Type Pin No. Description
BMA[16:0] O 197-201
16,17 170,166 143,142
23-18 BMD[31:24] BMD[23:16]
BMD[15:8]
BMD[7:0]
/BMWE O 158 /BMOE O 159 BMCLK O 72
I/O 24, 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 Name Type Pin No. Description
LCLK I 70 /RST I 59
REF_CLK I 68
DAISY_IN I/PU 73
DAISY_OUT O/ML 74
MDIO I/O 57
MDC O 56 /TEST I/PU 58
NC O 157 VDD I 25, 48
69, 92
122, 144 107, 120
VSS I 8, 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 Name Share with Description
/Hash_En BMA[16]
Aging_S[2:0] BMA[15:13]
RxFC_En BMA[12]
MII_S1 BMA[11]
MII_S0 BMA[10]
/Part_En BMA[9]
RAM_S BMA[5]
NetQlty_S BMA[4]
FwTyp_S1 FwTyp_S0
HiBndy_S1 HiBndy_S0
/ FlowCtl _En3 STXD0[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 1 1 no aging (disable) 1 1 0 5 1 0 1 10 1 0 0 20 0 1 1 40 0 1 0 160 0 0 1 640 0 0 0 1
PAUSE Identification Enable :
0 : Disable 802.3x receives flow control function in full duplex. 1 : Enable 802.3x receives flow control function in full duplex.
MII/RMII Interface Selection for Switch Port 1:
0 : Switch port 1 “RMII” mode is selected 1 : Switch port 1 “MII” mode is selected
MII/RMII Interface Selection for Switch Port 0:
0 : Switch port 0 “RMII” mode is selected 1 : Switch port 0 “MII” mode is selected
TX Partition Enable :
0 : Enable partition function of transmission. 1 : Disable partition function of transmission.
RAM Size Selection : External packet buffer RAM size select RAM_S RAM SIZE
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 _En2 STXD0[2]
/ FlowCtl _En1 STXD0[1]
/FlowCtl_En0 STXD0[0]
Speed_S2 TXD7[1]
Speed_S1 STXD1[2]
Speed_S0 STXD1[1]
FdpxHi_S1 STXD1[0]
FdpxHi_S0 STXEN1
LRID_S1 LRID_S0
/871_En TXEN6
/RdPhy_En TXD6[0]
WrPhyNo_S TXD4[1]
WrPhyRegNo_S TXD4[0]
WrPhyStrAddr TXD3[1]
PktLenOpt TXD3[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.
1 1 0 1 0 1 0 1 2 0 0 reserved
AX88871A Compatible Enable :
0 : Enable AX88871A compatible mode 1 : Disable AX88871A compatible mode
MDIO read PHY Register 05h Information
0 : Enable 1 : Disable
MDIO Write PHY Number Selection
1 : MDIO Write 8 PHY address 0 : MDIO Write 6 PHY address ( for 6R+2S application )
MDIO Write PHY Register Number Selection
0 : MDIO Write 2 Registers ( 04h, 00h ) 1 : MDIO Write 3 Registers ( 10h, 04h, 00h )
MDIO Write PHY Starting Address
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.
ASIX’s Utilization% 1 5 10 15 30 60 SmartBit’s Utilization% 2 7 12 17 34 68
17
ASIX ELECTRONICS CORPORATION
Page 18
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
3.0 Functional Description
3.1 Repeater State Machine
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.
RXE(N) = 1, RXE(ALLXN) = 0. TXE(N) = 0, TXE(ALLXN) = 1.
Collision state
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-form as follows :
LED_CK
D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D11 D12 D13 D14D10 D15
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
D16 D19 D20 D21 D22D18 D23D17 ( 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
Description SYM Min Max Units
Operating Temperature Ta 0 +70 Storage Temperature Ts -55 +150 Supply Voltage Vcc -0.3 +4 V Input Voltage Vin -0.3 Vdd+0.5 V Output Voltage Vout -0.3 Vdd+0.5 V 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
5.2 General Operation Conditions
Description SYM Min Max Units
Operating Temperature Ta 0 +70 Supply Voltage Vdd +3.0 +3.6 V
5.3 DC Characteristics
(Vdd=3.0V to 3.6V, Vss=0V, Ta=0°C to 70°C)
Description SYM Min Max Units
Low Input Voltage Vil Vss-0.3 0.8 V High Input Voltage Vih 2 Vdd+0.5 V Low Output Voltage Vol 0.4 V High Output Voltage Voh 2.4 V Input Leakage Current 1 (Note 1) Iil1 10 uA Input Leakage Current 2 (Note 2) Iil1 500 uA Output Leakage Current Iol 10 uA
°C °C
°C
°C
Description SYM Min Typ Max Units
Power Consumption Pc TBD mA
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
Tr Tf Tlow
Tcyc
BMCLK Tod
Symbol Description Min Typ. Max Units
Tcyc CYCLE TIME Thigh CLK HIGH TIME Tlow CLK LOW TIME Tr/Tf CLK SLEW RATE Tod LCLK TO BMCLK OUT DELAY
5.4.2 Reset Timing
8 10 12 ns 8 10 12 ns 1 - 4 ns
20 ns
2 ns
REF_CLK
/RST
Symbol Description Min Typ. Max Units
Trst Reset 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
Symbol Description Min Typ. Max Units
T0 REF_CLK Clock Cycle Time 19.998 20 20.002 ns T1 REF_CLK Clock High Time 7 10 13 ns T2 CRS_DV, RXD, TXEN and TXD data setup to
REF_CLK rising edge
T3 CRS_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
Symbol Description Min Typ. Max Units
T0 TXCLK Cycle Time 39.996 40 40.004 ns T1 TXCLK High Time 14 20 26 ns T2 TX_EN Delay from TXCLK High 7.440 21.760 ns T3 TXD Delay from TXCLK High 3.410 13.320 ns
T4 T5
RX_CLK
CRS
T6
RXDV
T7
RXD RXER
Symbol Description Min Typ. Max Units
T4 RX_CLK Clock Cycle Time 39.996 40 40.004 ns T5 RX_CLK Clock High Time 14 20 26 ns T6 CRS to RXDV Delay Requirement 40 160 ns T7 RXD or RXDV setup to RX_CLK rise time 10 - 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]
Symbol Description Min Max Units
T1 Clock Cycle Time 15 - ns T2 Address Bus Setup Time 2.5 - ns T3 Address Bus Hold Time 0.5 - ns T4 Clock to Output Invalid 2 - ns T5 Clock to Output Valid - 6 ns
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
Symbol Description Min Max Units
T1 Clock Cycle Time 15 - ns T2 Address Bus Setup Time 2.5 - ns T3 Address Bus Hold Time 0.5 - ns T4 Write Data Setup Time 2.5 - ns T7 Write Data Hold Time 0.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
Symbol Description Min Typ. Max Units
T1 LED setup to LED_CK High 190 200 ns T2 LED hold from LED_CK High 200 210 ns T3 LED_CK Period Width 400 ns T4 LED_CK Cycle burst out period 52.4 ms
5.4.8 LED Display after Reset
/Reset
T1 T2 T2 T2 T3
LED[2:0]
Symbol Description Min Typ. Max Units
T1 Repeater reset time 1000 ns T2 LED Blink Time After Reset 838.4 ms T3 LED Dark Time Before Normal Display 419.2 ms
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
Symbol Description Min Typ. Max Units
T1 Daisy Chain One Burst period 204.8 us T2 Start Bit Period or Data Width 12.8 us T3 Time-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
A2 A1
L1
L
θ
MILIMETERSYMBOL
MIN. NOM MAX
A1 0.05 0.25 0.5 A2 3.17 3.32 3.47
b 0.10 0.20 0.30 D 27.90 28.00 28.10 E 27.90 28.00 28.10
e 0.50
Hd 30.35 30.60 30.85 He 30.35 30.60 30.85
L 0.45 0.60 0.75
L1 1.30
θ
0 10
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:
Application 1: 8 hub ports + 2 switch ports application
RP : repeater port SP : switch port
RP0 RP1 RP2 RP3 RP4 RP5 RP6 RP7 SP0 SP1
04h 05h 06h 07h 08h 09h 0ah 0bh 0fh 10h
The corresponding option setting /RdPhy_En = 0, WrPhyNo_S = 1, WrPhyStrAddr = 1
Application 2: 6 hub ports + 2 switch ports application
RP : repeater port SP : switch port
RP0 RP1 RP2 RP3 RP4 RP5 SP0 SP1
18h 19h 1ah 1bh 1ch 1dh 1eh 1fh
The corresponding option setting /RdPhy_En = 0, WrPhyNo_S = 0, WrPhyStrAddr = 0
35
ASIX ELECTRONICS CORPORATION
Page 36
CONFIDENTIAL
AX88872P Swipeater Controller PRELIMINARY
B.2 Using MII I/F connects to MAC
Clock
BMA[10]
STXEN1
There are two ports of AX88872 can connect to MAC type MII interface. For example, Switch Port 0 is illustrated bellow.
3.3V
10K * 2
SDUPLEX0
SCOL0
STXEN0
STXCLK0 STXD0[3:0]
SCRS0 SRXDV0 SRXCLK0 SRXD0[3:0]
10K
Gnd
25MHz
COL
CRS RX_DV RX_CLK RXD[3:0] RX_ER
TX_EN
TX_CLK TXD[3:0] TX_ER
AX88872 / Swipeater AX88195 / MAC
Note : 1. The MAC needs to run at fullduplex mode.
2. Care must be taken that the receive side has enough setup and/or hold time
3. Some kind of CPU with embbeded MAC can also refer to this example
36
ASIX ELECTRONICS CORPORATION
Loading...