KS8995XA B3 Micrel Inc, KS8995XA B3 Datasheet
KS8995XA B3
Specifications of KS8995XA B3
Related parts for KS8995XA B3
KS8995XA B3 Summary of contents
Page 1
... MII-SW or SNI LED0[5:1] LED1[5:1] LED2[5:1] Micrel Inc. • 2180 Fortune Drive • San Jose, CA 95131 • USA • tel +1 (408) 944-0800 • fax + 1 (408) 474-1000 • http://www.micrel.com September 2008 Integrated 5-Port 10/100 QoS Switch The KS8995XA contains five 10/100 transceivers with ...
Page 2
Features • Integrated switch with five MACs and five Fast Ethernet transceivers fully compliant to IEEE 802.3u standard • Shared memory based switch fabric with fully nonblocking configuration • 10BASE-T, 100BASE-TX and 100BASE-FX modes (FX in Ports 4 and 5) ...
Page 3
Revision History Revision Date Summary of Changes 2.0 10/15/03 Created. 2.1 4/1/04 Editorial changes on TTL input and output electrical characteristics. 2.2 1/19/05 Insert recommended reset circuit. 2.3 4/13/05 Switched pins names for pins 7 & page 16. ...
Page 4
Contents System Level Applications........................................................................................................................................... 6 Pin Configuration .......................................................................................................................................................... 8 Pin Description (by Number)........................................................................................................................................ 9 Pin Description (by Name) ......................................................................................................................................... 14 Introduction ................................................................................................................................................................. 19 Functional Overview: Physical Layer Transceiver .................................................................................................. 19 100BASE-TX Transmit.............................................................................................................................................. 19 100BASE-TX Receive............................................................................................................................................... 19 PLL Clock Synthesizer.............................................................................................................................................. 19 ...
Page 5
Register 11 (0x0B): Global Control 9 ........................................................................................................................ 34 Port Registers ........................................................................................................................................................... 35 Register 16 (0x10): Port 1 Control 0 ......................................................................................................................... 35 Register 17 (0x11): Port 1 Control 1 ......................................................................................................................... 35 Register 18 (0x12): Port 1 Control 2 ......................................................................................................................... 36 Register ...
Page 6
System Level Applications September 2008 Figure 1. Broadband Gateway MII-SW CPU KS8995XA Ethernet MAC Figure 2. Integrated Broadband Router 6 10/100 10/100 MAC 1 PHY 1 10/100 10/100 4-port PHY 2 MAC 2 LAN 10/100 10/100 PHY 3 MAC 3 ...
Page 7
September 2008 Figure 3. Standalone Switch 7 M9999-091508 ...
Page 8
Pin Configuration 103 LED2-0 LED1-2 LED1-1 LED1-0 MDC MDIO SPIQ SPIC/SCL SPID/SDA SPIS_N PS1 PS0 RST_N GNDD VDDC TESTEN SCANEN VDDAP GNDA VDDAR GNDA GNDA TEST2 1 September 2008 128-Pin PQFP (PQ PMRXD1 PMRXD2 PMRXD3 ...
Page 9
Pin Description (by Number) Pin Number Pin Name 1 MDI-XDIS 2 GNDA 3 VDDAR 4 RXP1 5 RXM1 6 GNDA 7 TXP1 8 TXM1 9 VDDAT 10 RXP2 11 RXM2 12 GNDA 13 TXP2 14 TXM2 15 VDDAR 16 GNDA ...
Page 10
Pin Number Pin Name 31 VDDAR 32 RXP5 33 RXM5 34 GNDA 35 TXP5 36 TXM5 37 VDDAT 38 FXSD5 39 FXSD4 40 GNDA 41 VDDAR 42 GNDA 43 VDDAR 44 GNDA MUX1 MUX2 ...
Page 11
Pin Number Pin Name 61 PMRXDV 62 PMRXD3 63 PMRXD2 64 PMRXD1 65 PMRXD0 66 PMRXER 67 PCRS 68 PCOL 69 SMTXEN 70 SMTXD3 71 SMTXD2 72 SMTXD1 73 SMTXD0 74 SMTXER 75 SMTXC 76 GNDD 77 VDDIO 78 SMRXC ...
Page 12
Pin Number Pin Name 86 SCONF1 87 SCONF0 88 GNDD 89 VDDC 90 LED5-2 91 LED5-1 92 LED5-0 93 LED4-2 94 LED4-1 95 LED4-0 96 LED3-2 97 LED3-1 98 LED3-0 99 GNDD 100 VDDIO 101 LED2-2 102 LED2-1 103 LED2-0 ...
Page 13
Pin Number Pin Name 106 LED1-0 107 MDC 108 MDIO 109 Reserved 110 SCL 111 SDA 112 Reserved 113 PS1 114 PS0 115 RST_N 116 GNDD 117 VDDC 118 TESTEN 119 SCANEN 120 NC 121 X1 122 X2 123 VDDAP ...
Page 14
Pin Description (by Name) Pin Number Pin Name 39 FXSD4 38 FXSD5 2 GNDA 6 GNDA 12 GNDA 16 GNDA 21 GNDA 27 GNDA 30 GNDA 34 GNDA 40 GNDA 42 GNDA 44 GNDA 120 NC 124 GNDA 126 GNDA ...
Page 15
Pin Number Pin Name 96 LED3-2 95 LED4-0 94 LED4-1 93 LED4-2 92 LED5-0 91 LED5-1 90 LED5-2 107 MDC 108 MDIO MUX1 MUX2 68 PCOL 67 PCRS 60 PMRXC 65 PMRXD0 64 PMRXD1 ...
Page 16
Pin Number Pin Name 47 PWRDN_N 48 RESERVE/NC 109 Reserved 112 Reserved 115 RST_N 5 RXM1 11 RXM2 20 RXM3 26 RXM4 33 RXM5 4 RXP1 10 RXP2 19 RXP3 25 RXP4 32 RXP5 119 SCANEN 110 SCL 84 SCOL ...
Page 17
Pin Number Pin Name 82 SMRXD1 81 SMRXD2 80 SMRXD3 79 SMRXDV 75 SMTXC 73 SMTXD0 72 SMTXD1 71 SMTXD2 70 SMTXD3 69 SMTXEN 74 SMTXER 1 MDIXDIS 128 TEST2 118 TESTEN 7 TXP1 13 TXP2 22 TXP3 28 TXP4 ...
Page 18
Pin Number Pin Name 9 VDDAT 18 VDDAT 24 VDDAT 37 VDDAT 50 VDDC 89 VDDC 117 VDDC 59 VDDIO 77 VDDIO 100 VDDIO 121 X1 122 X2 Notes Power supply Input Output. ...
Page 19
Introduction The KS8995XA contains five 10/100 physical layer transceivers and five media access control (MAC) units with an integrated Layer 2 switch. The device runs in three modes. The first mode five-port integrated switch. The second is ...
Page 20
The data is scrambled through the use of an 11-bit wide linear feedback shift register (LFSR). This can generate a 2047-bit nonrepetitive sequence. The receiver will then de-scramble the incoming data stream with the same sequence at the transmitter. ...
Page 21
Force Link Setting Auto-Negotiation and Set Link Mode Functional Overview: Switch Core Address Look-Up The internal look-up table stores MAC addresses and their associated information. It contains a 1K unicast address table plus switching information. The KS8995XA is guaranteed to ...
Page 22
Switching Engine The KS8995XA features a high performance switching engine to move data to and from the MAC’s packet buffers. It operates in store and forward mode, while the efficient switching mechanism reduces overall latency. The KS8995XA has a 64kB ...
Page 23
If a collision occurs, the binary exponential back-off algorithm is skipped and carrier sense is generated immediately, reducing the chance of further colliding and ...
Page 24
MII Interface Operation The media independent interface (MII) is specified by the IEEE 802.3 committee and provides a common interface between physical layer and MAC layer devices. The KS8995XA provides two such interfaces. The MII-P5 interface is used to connect ...
Page 25
PHY Mode Connection External MAC MTXEN MTXER MTXD3 MTXD2 MTXD1 MTXD0 MTXC MCOL MCRS MRXDV MRXER MRXD3 MRXD2 MRXD1 MRXD0 MRXC September 2008 KS8995XA Signal Description SMTXEN Transmit enable SMTXER Transmit error SMTXD[3] Transmit data bit 3 SMTXD[2] Transmit data ...
Page 26
SNI Interface Operation The serial network interface (SNI) is compatible with some controllers used for network layer protocol processing. This interface can be directly connected to these types of devices. The signals are divided into two groups, one for transmission ...
Page 27
The KS8995XA can classify tagged packets using the 802.1p tag-based priority. In this prioritization scheme, the user can enable the 802.1p classification on a per port basis in bit 5 of registers 0x10, 0x20, 0x30, 0x40 and 0x50 for ports ...
Page 28
DiffServ Field (Binary) 000000 000001 000010 000011 000100 • • • 111011 111100 111101 111110 111111 Once classification of the packets has been determined either by port-based priority, 802.1p tag-based priority or DiffServ priority, they are placed in either the ...
Page 29
For receive, if the number of bytes exceeds the programmed limit, the switch will stop receiving packets on the port until the “one second” interval expires. There is an option provided for flow control to prevent packet loss. If the ...
Page 30
Register Map Offset Decimal Hex Description 0-1 0x00-0x01 Chip ID Registers 2-11 0x02-0x0B Global Control Registers 12-15 0x0C-0x0F Reserved 16-29 0x10-0x1D Port 1 Control Registers 30-31 0x1E-0x2F Port 1 Status Registers 32-45 0x20-0x2D Port 2 Control Registers 46-47 0x2E-0x2F Port ...
Page 31
Address Name 3 Enable PHY MII 2 Buffer share mode 1 UNH mode 0 Link change age Register 3 (0x03): Global Control 1 7 Pass all frames 6 Reserved 5 IEEE 802.3x transmit flow control disable 4 IEEE 802.3x receive ...
Page 32
Address Name 0 Aggressive back off enable Register 4 (0x04): Global Control 2 7 Reserved 6 Multicast storm protection disable 5 Reserved 4 Flow control and back pressure fair mode 3 No excessive collision drop 2 Huge packet support 1 ...
Page 33
Address Name 0 Priority buffer reserve Register 5 (0x05): Global Control 3 7 Reserved 6 Reserved 5 Reserved 4 Reserved 3-2 Priority scheme select 1 Reserved 0 Sniff mode select Register 6 (0x06): Global Control 4 7 Switch MII back ...
Page 34
Address Name Register 7 (0x07): Global Control 5 7-0 Broadcast storm protection rate bit [7:0] Register 8 (0x08): Global Control 6 7-0 Factory testing Register 9 (0x09): Global Control 7 7-0 Factory testing Register 10 (0x0A): Global Control 8 7-0 ...
Page 35
Port Registers The following registers are used to enable features that are assigned on a per port basis. The register bit assignments are the same for all ports, but the address for each port is different, as indicated. Register 16 ...
Page 36
Address Name 7 Sniffer port 6 Receive sniff 5 Transmit sniff 4-0 Port VLAN membership Register 18 (0x12): Port 1 Control 2 Register 34 (0x22): Port 2 Control 2 Register 50 (0x32): Port 3 Control 2 Register 66 (0x42): Port ...
Page 37
Address Name 0 Learning disable Register 19 (0x13): Port 1 Control 3 Register 35 (0x23): Port 2 Control 3 Register 51 (0x33): Port 3 Control 3 Register 67 (0x43): Port 4 Control 3 Register 83 (0x53): Port 5 Control 3 ...
Page 38
Address Name 7-0 Transmit low priority rate control [7:0] Register 23 (0x17): Port 1 Control 7 Register 39 (0x27): Port 2 Control 7 Register 55 (0x37): Port 3 Control 7 Register 71 (0x47): Port 4 Control 7 Register 87 (0x57): ...
Page 39
Register 26 (0x1A): Port 1 Control 10 Register 42 (0x2A): Port 2 Control 10 Register 58 (0x3A): Port 3 Control 10 Register 74 (0x4A): Port 4 Control 10 Register 90 (0x5A): Port 5 Control 10 Address Name 7-4 Receive low ...
Page 40
Address Name 0 High priority transmit rate control enable Register 28 (0x1C): Port 1 Control 12 Register 44 (0x2C): Port 2 Control 12 Register 60 (0x3C): Port 3 Control 12 Register 76 (0x4C): Port 4 Control 12 Register 92 (0x5C): ...
Page 41
Address Name 7 LED off 6 Txids 5 Restart AN 4 Disable far end fault 3 Power down 2 Disable auto MDI/MDI-X 1 Forced MDI 0 MAC loopback Register 30 (0x1E): Port 1 Status 0 Register 46 (0x2E): Port 2 ...
Page 42
Address Name 7 PHY loopback 6 Remote loopback 5 PHY isolate 4 Soft reset 3 Force link 2-1 Reserved 0 Far end fault September 2008 Description 1, perform PHY loopback, i.e. loopback MAC’s Tx back to Rx. 0, normal operation. ...
Page 43
Advanced Control Registers The IPv4 TOS priority control registers implement a fully decoded 64 bit differentiated services code point (DSCP) register used to determine priority from the 6 bit TOS field in the IP header. The most significant 6 bits ...
Page 44
MIIM Registers The “PHYAD” defined by IEEE is assigned as “0x1” for port 1, “0x2” for port 2, “0x3” for port 3, “0x4” for port 4, “0x5” for port 5. The “REGAD” supported are 0,1,2,3,4,5. Address Name Register 0: MII ...
Page 45
Address Name 2 Link status 1 Jabber test 0 Extended capable Register 2: PHYID HIGH 15-0 Phyid high Register 3: PHYID LOW 15-0 Phyid low Register 4: Advertisement Ability 15 Next page 14 Reserved 13 Remote fault 12-11 Reserved 10 ...
Page 46
Absolute Maximum Ratings Supply Voltage ( .......................–0.5V to +2.4V DDAR DDAP DDC ( .................................–0.5V to +4.0V DDAT DDIO Input Voltage (All Inputs) ......................–0.5V to +4.0V Output Voltage (All Outputs) ................–0.5V to +4.0V ...
Page 47
Symbol Parameter 10BASE-T Receive V Squelch Threshold SQ 10BASE-T Transmit (measured differentially after 1:1 transformer Peak Differential Output Voltage P Jitters Added Rise/Fall Times Notes: 1. Exceeding the absolute maximum rating may damage the device. 2. The device ...
Page 48
Timing Diagrams Receive Timing SCL SDA Figure 9. EEPROM Interface Input Receive Timing Diagram Transmit Timing SCL SDA Figure 10. EEPROM Interface Output Transmit Timing Diagram Symbol Parameter t Clock Cycle CYC1 t Set-Up Time S1 t Hold Time H1 ...
Page 49
Receive Timing MTXC MTXEN MTXD[0] Transmit Timing MRXC MRXDV MCOL MRXD[0] Symbol Parameter t Clock Cycle CYC2 t Set-Up Time S2 t Hold Time H2 t Output Valid O2 September 2008 ts2 tcyc2 th2 Figure 11. SNI Input Timing tcyc2 ...
Page 50
Symbol Parameter t RXC Period P t RXC Pulse Width WL t RXC Pulse Width WH t RXD [3:0], RXDV Set-up to Rising Edge of RXC SU t RXD [3:0], RXDV Hold from Rising Edge of RXC HD t CRS ...
Page 51
Symbol Parameter t TXD [3:0] Set-up to TXC High SU1 t TXEN Set-up to TXC High SU2 t TXD [3:0] Hold after TXC High HD1 t TXER Hold after TXC High HD2 t TXEN High to CRS Asserted Latency CRS1 ...
Page 52
Supply Voltage RST_N Strap-In Value Strap-In / Output Pin Symbol Parameter t Stable Supply Voltages to Reset High SR t Configuration Set-Up Time CS t Configuration Hold Time CH t Reset to Strap-In Pin Output RC September 2008 tsr tcs ...
Page 53
Reset Circuit Diagram Micrel recommends the following discrete reset circuit as shown in Figure 16 when powering up the KS8895XA device. For the application where the reset circuit signal comes from another device (e.g., CPU, FPGA, etc), we recommend the ...
Page 54
Selection of Isolation Transformer One simple 1:1 isolation transformer is needed at the line interface. An isolation transformer with integrated common- mode choke is recommended for exceeding FCC requirements. The following table gives recommended transformer characteristics. Characteristics Name Turns Ratio ...
Page 55
Package Information MICREL, INC. 2180 FORTUNE DRIVE SAN JOSE, CA 95131 USA TEL +1 (408) 944-0800 FAX +1 (408) 474-1000 WEB http:/www.micrel.com The information furnished by Micrel in this data sheet is believed to be accurate and reliable. However, no ...