ASIX AX88875AP 10/100BASE Dual Speed Bripeater Controller ASIX AX88875AP 10/100BASE 5-Port Dual Speed “Bripeater” Controller Data Sheets (10/16/’00) Always contact ASIX for possible updates before starting a design. DOCUMENT NO. : AX875A-06.DOC This data sheets contain new products information. ASIX ELECTRONICS reserves the rights to modify the products 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 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 AX88875AP Bripeater CONTENTS 1.0 AX88875A OVERVIEW..................................................................................................................................... 3 1.1 GENERAL DESCRIPTION ...................................................................................................................................... 3 1.2 FEATURES.......................................................................................................................................................... 4 1.3 BLOCK DIAGRAM ............................................................................................................................................... 5 1.4 PIN CONNECTION DIAGRAM (MODE 0)................................................................................................................ 6 1.5 PIN CONNECTION DIAGRAM (MODE 1)................................................................................................................ 7 2.0 PIN DESCRIPTION ........................................................................................................................................... 8 2.1 MII INTERFACES ................................................................................................................................................ 8 2.2 LED DISPLAY.................................................................................................................................................... 9 2.3 BUFFER MEMORY PINS GROUP ........................................................................................................................... 10 2.4 MISCELLANEOUS.............................................................................................................................................. 11 2.5 POWER ON CONFIGURATION SETUP SIGNALS CROSS REFERENCE TABLE ................................................................ 12 3.0 FUNCTIONAL DESCRIPTION ..................................................................................................................... 13 3.1 REPEATER STATE MACHINE.............................................................................................................................. 13 3.2 RXE /TXE CONTROL ................................................................................................................................... 13 3.3 JABBER STATE MACHINE .................................................................................................................................. 14 3.4 PARTITION STATE MACHINE ............................................................................................................................. 14 3.5 LED DISPLAY INTERFACE ................................................................................................................................ 14 4.0 INTERNAL REGISTERS ................................................................................................................................ 16 4.1 CONFIGURATION REGISTER (CONFIG)............................................................................................................. 16 5.0 ELECTRICAL SPECIFICATION AND TIMING.......................................................................................... 17 5.1 ABSOLUTE MAXIMUM RATINGS ........................................................................................................................ 17 5.2 GENERAL OPERATION CONDITIONS................................................................................................................... 17 5.3 DC CHARACTERISTICS ..................................................................................................................................... 17 5.4 AC SPECIFICATIONS ......................................................................................................................................... 18 5.4.1 MII Interface Timing Tx & Rx .................................................................................................................. 18 5.4.2 SRAM read cycle and write cycle ............................................................................................................. 19 5.4.3 LED DISPLAY ......................................................................................................................................... 20 5.4.4 LED Display After Reset .......................................................................................................................... 20 6.0 PACKAGE INFORMATION........................................................................................................................... 21 APPENDIX A: APPLICATIONS.......................................................................................................................... 22 A.1 STAND-ALONG 5-PORTS 10/100MBPS HUB APPLICATION ................................................................................. 22 A.2 STAND-ALONG 4-PORTS 10/100MBPS HUB WITH ONE MAC APPLICATION ........................................................ 22 APPENDIX B: USING MII I/F CONNECTS TO MAC ...................................................................................... 23 FIGURES FIG - 1 CHIP BLOCK DIAGRAM ..................................................................................................................................... 5 FIG - 2 PIN CONNECTION DIAGRAM (MODE 0) .............................................................................................................. 6 FIG - 3 PIN CONNECTION DIAGRAM (MODE 1) .............................................................................................................. 7 FIG - 4 APPLICATION FOR LED DISPLAY ..................................................................................................................... 15 FIG - 5 STAND-ALONG 5-PORTS 10/100MBPS HUB APPLICATION ................................................................................ 22 FIG - 6 STAND-ALONG 4-PORTS 10/100MBPS HUB WITH ONE MAC APPLICATION ....................................................... 22 2 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 1.0 AX88875A Overview The AX88875A 10/100Mbps Dual Speed “Bripeater” Controller is “a dual speed repeater with build in bridge function” It is design for low cost dumb HUB application. The AX88875A directly supports up-to five 10/100Mbps automatic links MII interfaces specially for SOHO market. The AX88875A 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. 1.1 General Description The AX88875A Repeater Controller is a subset of a repeater set containing all the repeater-specific components and functions, exclusive of PHY components and functions. The AX88875A has five Media Independent Interfaces (MII) to connect to PHY or MAC devices. The AX88875A supports 5 MII interfaces ports, a bridge packet buffer SRAM interface and LED display interface. AX88875A without support expansion port to cascade to other AX88850 and AX88860 pure 100Mbps repeater chips.. The AX88875A supports stand along 10/100Mbps dual speed repeater applications with two LED display mode. The AX88871A has two LED display mode. Mode 0 Direct LED display mode. Mode 1 Rich LED display mode. 3 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 1.2 Features • • • IEEE 802.3u repeater compatible Supports per port 10/100Mbps alternative with auto detected Build in 10/100Mbps bridge engine with following features 1.Minimum 32K bytes, maximum 128K bytes SRAM to buffer packets 2.Seamless buffer management without waste any space of buffer memory 3.Simple asynchronous 8-bit SRAM interface to reduce system cost 4.256 or 1024 entries is supported 5.Auto learning and filtering 6.Two forwarding modes are supported : Store-n-Forward and fragment-free 7.Flow-control is supported optionally. 8.Buffer RAM auto testing 9.Routing and Learning at wire speed (148810 packets/sec at 100Mbps) • Supports 5 10/100Mbps network connections • 5 dedicated MII interfaces can support 100BASE-TX/T4/FX PHY interfaces • 5th Port can connect to bridge, switch or MAC type device optionally. • Low latency design supports Class II repeater implementation • 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. Global partition, RAM test fail and collision, 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 • 160-pin PQFP 4 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 1.3 Block Diagram Per port Jabber ctl, auto-partition SM & MII 10/100 Q-PHY I/F Per port Collision , Partition counters. MII interface Re-conciliation 10/100 PHY or MII I/F ........ Sub-layer MIB I/F Registers Repeater State Machine of 100Mbps MUX Repeater State Machine of 10Mbps (Port 0 Port 4 ) (Reserved) Cascade Arbitration Logic of 100Mbps (Reserved) (Reserved) MAC Collision Handling Logic for 100Mbps and10Mbps Elasticity Buffer for 100Mbps and 10Mbps 100Mbps to 10Mbps Bridge MEM I/F Speed Detection circuit Fig - 1 Chip Block Diagram 5 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 AX88875AP ( Mode 0 ) 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 52 51 50 49 48 47 46 45 44 43 42 41 BMA[9] BMA[8] /BMWR /LUTI[3] /LUTI[2] /LUTI[1] /LUTI[0] /BMA[15] MCLK MDO MDC /LCOL100 VSS COL_O[4] TXER[4] COL[4] TXD[4][3] TXD[4][2] TXD[4][1] TXD[4][0] TXEN[4] RXD[4][3] RXD[4][2] RXD[4][1] RXD[4][0] RXCLK[4] VDD1 VSS1 CRS[4] RXDV[4] RXER[4] VDD SET2 SET1 SET0 PULL_DN VSS TXER[3] COL[3] TXD[3][3] TXD[3][2] TXD[3][1] VDD RXD[1][2] RXD[1][3] TXEN[1] TXD[1][0] TXD[1][1] TXD[1][2] TXD[1][3] COL[1] TXER[1] VSS PULL_DN PULL_DN VDD1 VSS1 RXER[2] RXDV[2] CRS[2] RXCLK[2] RXD[2][0] RXD[2][1] RXD[2][2] RXD[2][3] TXEN[2] TXD[2][0] TXD[2][1] TXD[2][2] TXD[2][3] COL[2] TXER[2] VSS RXER[3] RXDV[3] CRS[3] RXCLK[3] RXD[3][0] RXD[3][1] RXD[3][2] RXD[3][3] VDD TXEN[3] TXD[3][0] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 /LACT[4] NC /LACT[2] /LACT[3] VDD NC /LACT[0] /LACT[1] NC TEST1 /RST VSS LCLK /HALF10 VDD PULL_DN PULL_DN VDD1 VSS1 RXER[0] RXDV[0] CRS[0] RXCLK[0] RXD[0][0] RXD[0][1] RXD[0][2] RXD[0][3] VSS TXEN[0] TXD[0][0] TXD[0][1] TXD[0][2] TXD[0][3] COL[0] TXER[0] RXER[1] RXDV[1] CRS[1] RXCLK[1] RXD[1][0] RXD[1][1] 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 VSS /LPART[4] /LPART[3] /LPART[2] /LPART[1] /LPART[0] /TEST2 /LUTI[4] /LUTI[5] /LCOL10 /LSEL10 VDD1 VSS1 BMA[7] BMA[6] BMA[5] BMA[4] VDD BMA[3] BMA[2] BMA[1] BMA[0] VSS BMD[7] BMD[6] BMD[5] BMD[4] BMD[3] BMD[2] BMD[1] BMD[0] VSS BMA[16] BMA[15] BMA[14] BMA[13] BMA[12] BMA[11] BMA[10] VDD 1.4 Pin Connection Diagram (Mode 0) Fig - 2 Pin Connection Diagram (Mode 0) Note : Power on configuration setup signals refer section 2.5 cross referance table 6 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 AX88875AP ( Mode 1 ) 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 52 51 50 49 48 47 46 45 44 43 42 41 BMA[9] BMA[8] /BMWR LED_CK LED[2] LED[1] LED[0] /BMA[15] MCLK MDO MDC /LCOL100 VSS COL_O[4] TXER[4] COL[4] TXD[4][3] TXD[4][2] TXD[4][1] TXD[4][0] TXEN[4] RXD[4][3] RXD[4][2] RXD[4][1] RXD[4][0] RXCLK[4] VDD1 VSS1 CRS[4] RXDV[4] RXER[4] VDD SET2 SET1 SET0 PULL_DN VSS TXER[3] COL[3] TXD[3][3] TXD[3][2] TXD[3][1] VDD RXD[1][2] RXD[1][3] TXEN[1] TXD[1][0] TXD[1][1] TXD[1][2] TXD[1][3] COL[1] TXER[1] VSS PULL_DN PULL_DN VDD1 VSS1 RXER[2] RXDV[2] CRS[2] RXCLK[2] RXD[2][0] RXD[2][1] RXD[2][2] RXD[2][3] TXEN[2] TXD[2][0] TXD[2][1] TXD[2][2] TXD[2][3] COL[2] TXER[2] VSS RXER[3] RXDV[3] CRS[3] RXCLK[3] RXD[3][0] RXD[3][1] RXD[3][2] RXD[3][3] VDD TXEN[3] TXD[3][0] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 NC NC NC NC VDD NC NC NC NC TEST1 /RST VSS LCLK /HALF10 VDD PULL_DN PULL_DN VDD1 VSS1 RXER[0] RXDV[0] CRS[0] RXCLK[0] RXD[0][0] RXD[0][1] RXD[0][2] RXD[0][3] VSS TXEN[0] TXD[0][0] TXD[0][1] TXD[0][2] TXD[0][3] COL[0] TXER[0] RXER[1] RXDV[1] CRS[1] RXCLK[1] RXD[1][0] RXD[1][1] 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 VSS NC NC NC NC NC /TEST2 /LCOL10 NC NC NC VDD1 VSS1 BMA[7] BMA[6] BMA[5] BMA[4] VDD BMA[3] BMA[2] BMA[1] BMA[0] VSS BMD[7] BMD[6] BMD[5] BMD[4] BMD[3] BMD[2] BMD[1] BMD[0] VSS BMA[16] BMA[15] BMA[14] BMA[13] BMA[12] BMA[11] BMA[10] VDD 1.5 Pin Connection Diagram (Mode 1) Fig - 3 Pin Connection Diagram (Mode 1) Note : Power on configuration setup signals refer section 2.5 cross referance table 7 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 2.0 Pin Description The following terms describe the AX88875A pinout: All pin names with the “/” suffix are asserted low. I = Input O = Output I/O = Input /Output 2.1 MII interfaces Signal Name TXER[4:0] Or COL[4:0] Type Pin No. O or 66, 44, 28 9, 154 I TXD[4:0][3:0] O TXEN[4:0] O RXD[4:0][3:0] I RXER[4:0] I RXCLK[4:0] I RXDV[4:0] I CRS[4:0] I COL_O[4] O Description Transmit Error : When /HALF10 pin set to “high”. TXER is transition synchronously with respect to the rising edge of TXCLK . Asserted high when a code violation is request to be send Collision : When /HALF10 pin set to “low”. COL is input from PHY, when 10Mbps PHY is in half-duplex mode. 65 – 62, 43 – 40 Transmit Data : TXD[3:0] is transition synchronously with respect to 27 – 24, 8 – 5 the rising edge of TXCLK. For each TXCLK period in which TXEN is 153 - 150 asserted, TXD[3:0] are accepted for transmission by the PHY. 61, 39, 23 Transmit Enable : TXEN is transition synchronously with respect to the 4, 149 rising edge of TXCLK. TXEN indicates that the port is presenting nibbles on TXD [3:0] for transmission. 60 – 57, 37 – 34 Receive Data : RXD [3:0] is driven by the PHY synchronously with 22 – 19, 3, 2 respect to RXCLK. 160, 159, 147 - 144 51, 30, 15, Receive Error : RXER ,is driven by PHY and synchronous to RXCLK, 155, 140 is asserted for one or more RXCLK periods to indicate to the port that an error has detected. 56, 33, Receive Clock : RX_CLK is a continuous clock that provides the 18, 158, 143 timing reference for the transfer of the RXDV,RXD [3:0] and RXER signals from the PHY to the MII port of the repeater. 52, 31, Receive Data Valid : RX_DV is driven by the PHY synchronously with 16, 156, 141 respect to RXCLK. Asserted high when valid data is present on RXD [3:0]. 53, 32, Carrier Sense : Asynchronous signal CRS is asserted by the PHY when 17, 157, 142 receive medium is non-idle at full duplex mode. 67 Collision : Collision detection signal for port 4 8 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 2.2 LED Display Signal Name LED[2:0] Type Pin No. O or /LUTI[2:0] Description 76 - 74 LED Display Information : When MODE=”1” , Those signals indicate each port‘s Partition, Jabber, Activity, Collision (global), Repeater ID, Utilization % (global), Collision % (global) in sequence. For detail , see the LED timing specification /LUTI[2:0] : When MODE=”0” , Those pins drive utilization[2:0] LEDs directly. The Utilization % display define as following : (See Note 1 also) Utilization % LED0 LED1 LED2 LED3 LED4 LED5 LED6 LED7 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 5 0 0 1 1 1 1 1 1 10 0 0 0 1 1 1 1 1 15 0 0 0 0 1 1 1 1 30 0 0 0 0 0 1 1 1 40 0 0 0 0 0 0 1 1 60 0 0 0 0 0 0 0 1 80+ 0 0 0 0 0 0 0 0 The Collision % display define as following : Collision % 0 1 2 5 10 15 20 30 60+ LED_CK or /LUTI[3] /LCOL10 or /LUTI[4] NC or /LUTI[5] /LCOL100 NC or /LACT[4:0] NC or /LPART[4:0] O 77 O/Z 113 O 112 LED0 LED1 LED2 LED3 LED4 LED5 LED6 LED7 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 LED clock signal : When MODE=”1” , The signal is a discontinue clock for LED signals serial shift out. The clock period width is 40nS and last 16 cycle with every 125ms repeated. /LUTI[3] : When MODE=”0” , This pin drive utilization[3] LED directly. Collision LED for 10Mbps : When MODE=”1” , This pin indicates 10Mbps repeater collision occurred. /LUTI[4] : When MODE=”0” , This pin drive utilization[4] LED directly. NC : When MODE=”1” , The pin function is reserved. /LUTI[5] : When MODE=”0” , This pin drive utilization[5] LED directly. Collision LED for 100Mbps : This pin indicates 100Mbps repeater collision occurred. O 121, 124 NC : When MODE=”1” , The pin function is reserved. 123, 128 127 /LACT[4:0] : When MODE=”0”,Those pins drive activity[4:0] LEDs directly. O/OC 119-115 NC : When MODE=”1” , The pin function is reserved. or /LPART[4:0] : When MODE=”0”, Those pins drive partition[4:0] LEDs directly. O/Z 69 9 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater Note : The Utilization % display define as following for Mode 0 LED direct driving. Utilization % /LUTI0 /LUTI1 /LUTI2 /LUTI3 /LUTI4 /LUTI5 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 Note 1 : The calculation formulas 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. 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 AX88875 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% SmartBit’s Utilization% 1 2 5 7 10 12 15 17 30 34 60 68 2.3 Buffer memory pins group Signal Name Type Pin No. BMA[16:0] O BMD[7:0] /BMWR /BMA[15] I/O I/O I/O 88-82, 80, 79, 107-104, 102-99 97-90 78 73 Description Buffer address bus. Buffer data bus. Memory control pin for write. Invert Buffer address 15. 10 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 2.4 Miscellaneous Signal Name Type Pin No. LCLK /RST NC or /LSEL10 I I I/PU NC or /LCOL10 MCLK MDO O/ML O O MDC TEST1 O I/PD /TEST2 I/PU /HALF10 I/PU PULL_DN I SET2, SET1, SET0 O VDD I VSS I Description 133 131 110 Local Clock : Must be run at 25Mhz . Used for transmit data to PHY devices, Reset : The chip is reset when this signal is asserted Low. NC : No Connection When MODE=”1”. 111 /LSEL10 : When MODE=”0” , This pin select 10Mbps global LED status (utilization (%) and collision (%) ) when ‘low’ ; Otherwise , 100Mbps LED status is selected. NC : No Connection When MODE=”1”. /LCOL : When MODE=”0” , This pin drives 10Mbps collision LED directly. MII Clock Out : 2.5MHz 10Mbps MII reference clock Station Management Data 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). 70 Station Management Data Clock Out : For MDO reference clock. 130 Test Pin : The pin is just for test mode setting purpose only. Must be pull low when normal operation. 114 Test Pin : The pin is just for test mode setting purpose only. Must be pull high when normal operation. 134 Half-duplex mode in 10Mbps : Pull low with 10K ohm resister for 10Mbps PHY in half-duplex mode. 11, 12, 46 Pull Down : Those pins are not use for application. Designer must pull them 136, 137 down or tie to ground. 49, 48, Setup Pins : Those pins are power on configuration use. Default internal pull 47 high. If necessary, pull low with 10K ohm resister. Tie to ground is prohibited. 1, 13, 38 POWER : +5V +/-5% 50, 55, 81 103, 109 125, 135 138 10, 14, 29 POWER: 0V 45, 54, 68 89, 98, 108, 120, 132, 139 148, 72 71 11 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 2.5 Power on configuration setup signals cross reference table Signal Name Share with OPT[4] COL_O[4] TXM_MODE SET2 MODE SET1 EN_FLOW_CTL SET0 ST_FW TXD[4][3] ENTRIES TXD[4][2] MEM_SIZE[1] MEM_SIZE[0] TXD[4][1] TXD[4][0] /IR_ACT_EN /BMWR Description OPT[4] : Option for external device type to connect to port 4. Default ‘high’ is for PHY type device. Otherwise, ‘low’ for bridge, switch or MAC type device. TXM_MODE : Option for internal used. Default ‘high’ user may pull the pin ‘low’ with 10K ohm resister for reserve transmition mode alternaty. MODE = 0 : Direct LED display mode. MODE = 1 : Rich LED display mode. EN_FLOW_CTL = 0 : Disable flow control function. EN_FLOW_CTL = 1 : Enable flow control function. ST_FW = 0 : Fragment free forwording mode. ST_FW = 1 : Store & forword forwording mode. ENTRIES = 0 : 1024 entries supported ENTRIES = 1 : 256 entries supported MEM_SIZE[1] MEM_SIZE[0] SIZE (K) 1 1 32K 1 0 64K 0 1 128K 0 0 N/A Inter Repeater Active Input Pin Enable : Designer must keep the pin pull high to disable the function. All of the above signals are pull-up for default values. 12 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 3.0 Functional Description 3.1 Repeater State Machine The repeater state machine is used to control repeater behavior, generates right signal in corresponding states. 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. idle State The idle state happens when these conditions exists: a. /RST is low. b. All CRS[4:0] are not asserted high in single chip application. Data Forwarding State The state happens when the condition exists: a. Only one signal asserted among CRS[4:0] in single chip application. The repeater state machine stores receiving packet and transmits to all other ports except for 1. The port is jabbered. 2. The port is isolated. Collision State The Collision State happens when these conditions exists: a. There are two or more signals asserted high among CRS[4:0] in single chip system. b. Only one carrier exists but RXDV still low exceeds 4 clock cycles in 100BASE-T. The repeater sends collision pattern to all ports. One Port Left State The state happens only when there is no collision but still one port which experienced collision has receive activity. The repeater remains send collision pattern to all ports except the port. 3.2 RXE /TXE CONTROL Idle state The repeater sends no data to any port. RXE(ALL) = 0. TXE(ALL) = 0. Data Forwarding state If ACTIVE(X) = 1, X is the local connected port, RXE(X) = 1, RXE(ALL-X) = 0. TXE(X) = 0, TXE(ALL-X) = 1. Collision state The repeater sends jam pattern to all ports. RXE(ALL) = 0. TXE(ALL) = 1. One Port Left state The repeater sends jam pattern to all other port except for the still activity port. RXE(ALL) = 0. TXE(ALL-X) = 1. Suppose X is the one left port. 13 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 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 AX88875A), 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 function will be clear and re-enable reception and transmission. 3.4 Partition State Machine The partition state machine is used to protect network from being upset when a port suffer continuous collision, each port uses a partition state machine to detect and prevent this condition. When a port suffer 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 AX88875A) or reset the repeater. 3.5 LED Display Interface AX88875A provides per-port LED status indication for partition, jabber, activity and support rate based LED for global partition and collision, utilization (%) for 10/100Mbps. .Detail function is described on the previous pin description(LED interface). LED[2:0] are all active low. There are two display ways : complicated and simple way. It depends on the setting of MODE. Rich LED display application (MODE = 1) LED[2:0] Status Driver Wave-form as follows : LED_CK D0 D1 D2 LED[0] JAB4 LED[1] '0' G PART RAM FAIL 10M UTI7 10M UTI6 10M UTI5 LED[2] JAB3 D3 D4 JAB2 10M UTI4 D5 JAB1 10M UTI3 10M UTI2 D6 D7 D8 D9 D10 D11 D12 D13 D14 PART 4 PART PART 3 2 PART PART 1 0 100M 10M ACT 4 GCOL GCOL ACT 3 ACT 2 ACT 1 ACT 0 JAB0 10M UTI1 D15 10M 100M 100M 100M 100M 100M 100M 100M 100M UTI0 UTI7 UTI6 UTI5 UTI4 UTI3 UTI2 UTI1 UTI0 14 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater Notes: a. PART4~0indicates partition status for each port b. JAB4~0 indicates jabber status for each port c. ACT4~0 indicates activity status for each port d. RID2~0 is the ID of repeater chip e. 10M UTI4~0 indicate global utilization rate of f. 100M UTI4~0 indicate global utilization rate of 10Mbps for each 104.8ms sampling period. 100Mbps for each 104.8ms sampling period. g. 10M GCOL indicate global collision h. 100M GCOL indicate global collision i. GPART : indicate global partition. J. RAM FAIL : Bridge RAM test fail. Q 0 LED[0] Q 1 Q 2 D Q 3 Q 4 Q 5 Q 6 Q 7 Q 0 Q 1 Q 2 D 74LS164(#1) Q 3 Q 4 Q 5 JAB4 JAB3 JAB2 JAB1 JAB0 PART4 PART3 PART2 PART1 PART0 It must use external shift register to decode data on LED[2:0]. The application shows as follows: Q 6 Q 7 74LS164(#2) LED_CK Fig - 4 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[2:1]. Simple LED display application (MODE=0) LED display for mode 1 vs. mode 0 referance table. Mode 1 Mode 0 Mode 1 Mode 0 Mode 1 Mode 0 NC NC NC NC NC /PART[0] /PART[1] /PART[2] /PART[3] /PART[4] NC NC NC NC NC /ACT[0] /ACT[1] /ACT[2] /ACT[3] /ACT[4] LED[0] LED[1] LED[2] LED_CK NC NC NC /LCOL100 /UTI[0] /UTI[1] /UTI[2] /UTI[3] /UTI[4] /UTI[5] /LCOL10 /LCOL100 15 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 4.0 INTERNAL REGISTERS 4.1 Configuration Register (CONFIG) Bit D9 Bit Name /HALF10 D8 OPT[4] D7 TXM_MODE D6 MODE D5 D4 EN_FLOW_ CTL ST_FW D3 ENTRIES D2-1 MEM_SIZE[1] MEM_SIZE[0] D0 /IR_ACT_EN Access Bit Description R/W Half-duplex mode in 10Mbps : “low” resister to 10Mbps PHY in halfduplex mode. “high” resister to 10Mbps PHY in full-duplex mode. R/W OPT[4] : Option for external device type to connect to port 4. Default ‘high’ is for PHY type device. Otherwise, ‘low’ for bridge, switch or MAC type device. R/W TXM_MODE : Option for internal used. Default ‘high’ user may pull the pin ‘low’ with 10K ohm resister for reserve transmition mode alternaty. R/W MODE = 0 : Single chip repeater application. MODE = 1 : Multiple chips cascaded repeater application. R/W EN_FLOW_CTL = 0 : Disable flow control function. EN_FLOW_CTL = 1 : Enable flow control function. R/W ST_FW = 0 : fragment-free mode ST_FW =1 : Store-n-Forward mode R/W ENTRIES = 0 : 1024 entries supported ENTRIES = 1 : 256 entries supported R/W MEM_SIZE[1] MEM_SIZE[1] SIZE (K) 1 1 32K 1 0 64K 0 1 128K 0 0 N/A R/W Inter Repeater Active Input Pin Enable : Designer must keep the pin pull high to disable the function. 16 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 5.0 ELECTRICAL SPECIFICATION AND TIMING 5.1 Absolute Maximum Ratings Description SYM Min Max Units Operating Temperature Ta 0 +70 °C Storage Temperature Ts -55 +150 °C Supply Voltage Vcc -0.5 +7 V Input Voltage Vin Vss-0.5 Vdd+0.5 V Output Voltage Vout Vss-0.5 Vdd+0.5 V Lead Temperature (soldering 10 seconds maximum) Tl -55 +235 °C 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 Operating Temperature Supply Voltage SYM Ta Vdd Min 0 +4.75 Max +70 +5.25 SYM Vil Vih Vol Voh Iil1 Iil1 Iol Min Vss-0.5 2 Max 0.8 Vdd+0.5 0.4 Units °C V 5.3 DC Characteristics (Vdd=4.75V to 5.25V, Vss=0V, Ta=0°C to 70°C) Description Low Input Voltage High Input Voltage Low Output Voltage High Output Voltage Input Leakage Current 1 (Note 1) Input Leakage Current 2 (Note 2) Output Leakage Current Description Power Consumption SYM 2.4 10 500 10 Min Pc Tpy 120 Units V V V V uA uA uA Max 160 Units mA Note : 1. All the input pins without pull low or pull high. 2. Those pins had been pull low or pull high. 17 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 5.4 AC specifications 5.4.1 MII Interface Timing Tx & Rx T0 T1 LCLK T2 T2 T3 T3 TX_EN TX_ER TXD Symbol T0 T1 T2 T3 Description Local Clock Cycle Time Local Clock High Time TX_EN Delay from LCLK High TX_ER or TXD Delay from LCLK High T4 Min 39.996 14 7.440 3.410 Typ. 40 20 Max 40.004 26 21.760 13.320 Units ns ns ns ns T5 RX_CLK CRS T6 T7 RXE T8 RXDV T9 RXD RXER 18 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater Symbol T4 T5 T6 T7 T8 T9 Description RX_CLK Clock Cycle Time RX_CLK Clock High Time CRS to RXE Assertion Delay CRS to RXE De-assertion Delay CRS to RXDV Delay Requirement RXD or RXDV or RX_ER setup to RX_CLK rise time Min 39.996 14 Typ. 40 20 160 40 10 Max 40.004 26 20 200 160 - Units ns ns ns ns ns ns 5.4.2 SRAM read cycle and write cycle T1 BMA[16:0] /BMWR BMD[7:0] T2 Symbol T1 T2 T3 Description Read Cycle Time BMD[7:0] Setup Time BMD[7:0] Hold Time T3 Min 40 3 3 Max - Units ns ns ns T4 BMA[16:0] T5 /BMWR BMD[7:0] T6 Symbol T4 T5 T6 T7 Description Write Cycle Time Write Pulse Wtdth BMD[7:0] Data Valid to End of Write BMD[7:0] Data Hold from End of Write Min 38 20 14 1 19 T7 Max - Units ns ns ns ns ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 5.4.3 LED DISPLAY T3 LED_CK ------- ~ ~ -------- D0 D1 D2 .............. D14 D15 D0 D1 D2 T4 T3 LED_CK T1 T2 LED[2:0] Symbol T1 T2 T3 T4 D0 D1 D2 D3 ------- Description LED setup to LED_CK High LED hold from LED_CK High LED_CK Period Width continuous 16 LED_CK Cycle Time Min 190 200 D15 Typ. D0 Max 200 210 Units ns ns ns ms Max Units ns ms ms 400 52.4 5.4.4 LED Display After Reset /Reset T1 T2 T2 T2 T3 LED[2:0] Symbol Description T1 Repeater reset time T2 LED Blink Time After Reset T3 LED Dark Time Before Normal Display Min 1000 Typ. 838.4 419.2 20 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater 6.0 PACKAGE INFORMATION He A2 A1 L L1 D Hd E pin 1 e b θ SYMBOL MILIMETER MIN. NOM MAX A1 0.25 A2 3.15 3.40 3.65 b 0.22 0.30 0.38 D 27.90 28.00 28.10 E 27.90 28.00 28.10 e 0.65 Hd 30.95 31.20 31.45 He 30.95 31.20 31.45 L 0.73 1.03 L1 θ 1.60 0 7° 21 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater Appendix A: Applications Two type of applications for AX88875A are illustrated bellow. A.1 Stand-along 5-ports 10/100Mbps HUB Application 8 bits SRAM LED Array AX88875A Bripeater Controller MII interface MII interface Quad MII Transceiver Single MII Transceiver Fig - 5 Stand-along 5-ports 10/100Mbps HUB Application A.2 Stand-along 4-ports 10/100Mbps HUB with one MAC Application 8 bits SRAM LED Array AX88875A Bripeater Controller MII interface MII interface Quad MII Transceiver AX88195 MAC CPU Fig - 6 Stand-along 4-ports 10/100Mbps HUB with one MAC Application 22 ASIX ELECTRONICS CORPORATION AX88875AP Bripeater Appendix B: Using MII I/F connects to MAC Using MII interface to connect to MAC type device application for AX88875A is illustrated bellow. 25MHz Clock COL_O4 COL 10K TXEN4 Gnd CRS RX_DV RX_CLK RXD[3:0] RX_ER (LCLK) TXD4[3:0] TXER4 CRS4 RXDV4 RXCLK4 RXD4[3:0] RXER4 TX_EN TX_CLK TXD[3:0] TX_ER AX88875 / Repeater AX88195 / MAC Note : 1. The MAC needs to run at halfduplex 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 Using MII interface to connect to 10Mbps MAC device application for AX88875A is illustrated bellow. COL_O4 COL 10K TXEN4 Gnd CRS RX_DV RX_CLK RXD[3:0] RX_ER MCLK TXD4[3:0] TXER4 CRS4 RXDV4 RXCLK4 RXD4[3:0] RXER4 TX_EN TX_CLK TXD[3:0] TX_ER AX88875 / Repeater 10Mbps MAC 23 ASIX ELECTRONICS CORPORATION