KSZ8795CLXIntegrated 5-Port 10/100-Managed EthernetSwitch with Gigabit GMII/RGMII and MII/RMII Interfaces - Target Applications - 802.1az EEE Supported • Industrial Ethernet Applications that Employ IEEE - On-Chip Termination Resistors and Internal 802.3-Compliant MACs. (Ethernet/IP, Profinet, Biasing for Differential Pairs to Reduce MODBUS TCP, etc.) Power • VoIP Phone - HP Auto MDI/MDI-X Crossover Support Elim- • Set-Top/Game Box inates the Need to Differentiate Between • Automotive Straight or Crossover Cables in Applications • Industrial Control • MAC and GMAC Ports • IPTV POF - Four Internal Media Access Control (MAC1 to • SOHO Residential Gateway with Full-Wire Speed MAC4) Units and One Internal Gigabit Media of Four LAN Ports Access Control (GMAC5) Unit • Broadband Gateway/Firewall/VPN - GMII, RGMII, MII or RMII Interfaces Support for the Port 5 GMAC5 with Uplink • Integrated DSL/Cable Modem - 2 KByte Jumbo Packet Support • Wireless LAN Access Point + Gateway - Tail Tagging Mode (One Byte Added Before • Standalone 10/100 Switch FCS) Support on Port 5 to Inform the Proces- • Networked Measurement and Control Systems sor in which the Ingress Port Receives the Packet and its Priority Features - Supports Reduced Media Independent Inter- face (RMII) with 50 MHz Reference Clock • Management Capabilities Output - The KSZ8795CLX Includes All the Functions - Supports Media Independent Interface (MII) of a 10/100BASE-T/TX Switch System Which Combines a Switch Engine, Frame Buffer in Either PHY Mode or MAC Mode on Port 5 Management, Address Look-Up Table, - LinkMD® Cable Diagnostic Capabilities for Queue Management, MIB Counters, Media Determining Cable Opens, Shorts, and Access Controllers (MAC), and PHY Trans- Length ceivers • Advanced Switch Capabilities - Non-Blocking Store-and-Forward Switch - Non-Blocking Store-and-Forward Switch Fabric Assures Fast Packet Delivery by Uti- Fabric Assures Fast Packet Delivery by Uti- lizing a 1024-Entries Forwarding Table lizing 1024 Entry Forwarding Table - Port Mirroring/Monitoring/Sniffing: Ingress - 64 KB Frame Buffer RAM and/or Egress Traffic to Any Port - IEEE 802.1q VLAN Support for up to 128 - MIB Counters for Fully-Compliant Statistics Active VLAN Groups (Full-Range 4096 of Gathering (36 Counters per Port) VLAN IDs) - Support Hardware for Port-Based Flush and - IEEE 802.1p/Q Tag Insertion or Removal on Freeze Command in MIB Counter. a Per Port Basis (Egress) - Multiple Loopback of Remote, PHY, and MAC - VLAN ID Tag/Untag Options on Per Port Modes Support for the Diagnostics Basis - Rapid Spanning Tree Support (RSTP) for - Fully Compliant with IEEE 802.3/802.3u Topology Management and Ring/Linear Standards Recovery - IEEE 802.3x Full-Duplex with Force-Mode • Robust PHY Ports Option and Half-Duplex Back-Pressure Colli- - Four Integrated IEEE 802.3/802.3u-Compli- sion Flow Control ant Ethernet Transceivers Supporting - IEEE 802.1w Rapid Spanning Tree Protocol 10BASE-T and 100BASE-TX Support 2016-2017 Microchip Technology Inc.
DS00002112B-page 1 Document Outline Integrated 5-Port 10/100-Managed Ethernet Switch with Gigabit GMII/RGMII and MII/ RMII Interfaces 1.0 Introduction 1.1 General Description FIGURE 1-1: Functional Block Diagram 2.0 Pin Description and Configuration FIGURE 2-1: 80-LQFP Pin Assignment (TOP View) TABLE 2-1: Signals - KSZ8795CLX (Continued) TABLE 2-2: Strap-in Options - KSZ8795CLX (Continued) 3.0 Functional Description 3.1 Physical Layer (PHY) 3.1.1 100BASE-TX Transmit 3.1.2 100BASE-TX Receive 3.1.3 PLL Clock Synthesizer 3.1.4 Scrambler/De-Scrambler (100BASE-TX Only) 3.1.5 10BASE-T Transmit 3.1.6 10BASE-T Receive 3.1.7 MDI/MDI-X Auto Crossover TABLE 3-1: MDI/MDI-X Pin Definitions FIGURE 3-1: Typical Straight Cable Connection FIGURE 3-2: Typical Crossover Cable Connection 3.1.8 Auto-Negotiation FIGURE 3-3: Auto-Negotiation and PArallel Operation 3.1.9 LinkMD® Cable Diagnostics 3.1.10 On-Chip Termination and Internal Biasing 3.2 Media Access Controller (MAC) Operation 3.2.1 Inter-Packet Gap (IPG) 3.2.2 Backoff Algorithm 3.2.3 Late Collision 3.2.4 Illegal Frames 3.2.5 Flow Control 3.2.6 Half-Duplex Back Pressure 3.2.7 Broadcast Storm Protection 3.3 Switch Core 3.3.1 Address Look-Up 3.3.2 learning 3.3.3 Migration 3.3.4 Aging 3.3.5 Forwarding FIGURE 3-4: Destination Address Lookup and Resolution Flow Chart 3.3.6 Switching Engine 3.4 Power and Power Management TABLE 3-2: KSZ8795CLX Voltage Options and Requirements (Continued) TABLE 3-3: Internal Function Block Status 3.4.1 Normal Operation Mode 3.4.2 Energy Detect Mode 3.4.3 Soft Power-Down Mode 3.4.4 Port-Based Power-Down Mode 3.4.5 Energy Efficient Ethernet (EEE) FIGURE 3-5: IEEE Transmit and Receive Signaling Paths FIGURE 3-6: Traffic Activity and EEE LPI Operations 3.4.6 Wake-on-LAN (WoL) 3.4.7 Interrupt (INT_N/PME_N) 3.5 Interfaces TABLE 3-4: Available Interfaces 3.5.1 Configuration Interface TABLE 3-5: SPI Connections FIGURE 3-7: SPI Access Timing FIGURE 3-8: SPI Multiple Access Timing TABLE 3-6: MII Management Interface Frame Format (Note 3-1) 3.5.2 Switch Port 5 GMAC Interface TABLE 3-7: Signals of GMII/RGMII/MII/RMII TABLE 3-8: Port 5 SW5-MII Connection TABLE 3-9: Port 5 SW5-GMII Connection (Continued) TABLE 3-10: Port 5 SW5-RGMII Connection TABLE 3-11: Port 5 Sw5-RGMII Clock Delay Configuration with Connection Partner (Continued) TABLE 3-12: Port 5 SW5-RMII Connection 3.6 Advanced Functionality 3.6.1 QoS Priority Support FIGURE 3-9: 802.1p Priority field Format 3.6.2 Spanning Tree Support TABLE 3-13: Port Setting and Software Actions for Spanning Tree 3.6.3 Rapid Spanning Tree Support TABLE 3-14: Port Setting and Software Actions for Rapid Spanning Tree 3.6.4 Tail Tagging Mode FIGURE 3-10: Tail Tag Frame Format TABLE 3-15: Tail Tag Rules 3.6.5 IGMP Support 3.6.6 IPv6 MLD Snooping 3.6.7 Port Mirroring Support 3.6.8 VLAN Support TABLE 3-16: FID+DA Look-Up in VLAN Mode (Continued) TABLE 3-17: FID+SA Look-Up in VLAN Mode 3.6.9 Rate Limiting Support TABLE 3-18: 10/100/1000 Mbps Rate Selection for the Rate Limit (Continued) 3.6.10 VLAN and Address Filtering 3.6.11 802.1X Port-Based Security 3.6.12 ACL Filtering FIGURE 3-11: ACL Format 4.0 Device Registers FIGURE 4-1: Interface and Register Mapping TABLE 4-1: Mapping of Functional Areas within the Address Space (Continued) 4.1 Register Map TABLE 4-2: Direct Registers (Continued) TABLE 4-3: Global Registers (Continued) 4.2 Port Registers TABLE 4-4: Port Registers (Continued) 4.3 Advanced Control Registers TABLE 4-5: Advanced Control REgisters 104 - 109 TABLE 4-6: Advanced control Registers 110 - 111 (Continued) TABLE 4-7: ADvanced Control Registers 112 - 120 (Continued) TABLE 4-8: Advanced Control Registers 160, 124 - 127 (Continued) TABLE 4-9: Advanced Control Registers 128 - 129 (Continued) TABLE 4-10: Advanced Control Registers 130 - 135 (Continued) TABLE 4-11: Advanced Control Registers 144 - 159 (Continued) TABLE 4-12: Advanced Control REgisters 163 - 164 TABLE 4-13: Additional Advanced Control REgisters (Note 4-1) (Continued) TABLE 4-14: Advanced Control Registers 191 - 255 TABLE 4-15: Indirect Register Descriptions (Continued) 4.4 Static MAC Address Table TABLE 4-16: Static MAC Address Table (Continued) 4.5 VLAN Table TABLE 4-17: VLAN Table TABLE 4-18: VLAN ID and Indirect Registers (Continued) 4.6 Dynamic MAC Address Table TABLE 4-19: Dynamic MAC Address Table 4.7 PME Indirect Registers TABLE 4-20: PME Indirect Registers (Continued) 4.8 ACL Rule Table and ACL Indirect Registers 4.8.1 ACL Register and Programming Model FIGURE 4-2: ACL Table Access 4.8.2 ACL Indirect Registers TABLE 4-21: ACL Indirect Registers for 14 Byte ACL Rules (Continued) TABLE 4-22: Temporal Storage for 14 Bytes ACL RULES (Continued) TABLE 4-23: ACL Read/Write Control (Continued) 4.9 EEE Indirect Registers TABLE 4-24: EEE Global Registers (Continued) TABLE 4-25: EEE Port Registers (Continued) 4.10 Management Information Base (MIB) Counters TABLE 4-26: Port MIB Counter Indirect Memory Offsets (Continued) TABLE 4-27: Format of Per-Port MIB Counter TABLE 4-28: All Port Dropped Packet MIB Counters TABLE 4-29: Format of Per-Port Rx/Tx Total Bytes MIB Counter (in Table 4-28) TABLE 4-30: Format of All Dropped Packet MIB Counter (in Table 4-28) 4.11 MIIM Registers TABLE 4-31: MIIM Registers (Continued) 5.0 Operational Characteristics 5.1 Absolute Maximum Ratings* 5.2 Operating Ratings** 6.0 Electrical Characteristics TABLE 6-1: Electrical Characteristics (Continued) 7.0 Timing Diagrams FIGURE 7-1: GMII Signals Timing Diagram TABLE 7-1: GMII Timing Parameters FIGURE 7-2: RGMII v2.0 Specification TABLE 7-2: RGMII Timing Parameters FIGURE 7-3: MAC Mode MII Timing - Data Received from MII FIGURE 7-4: MAC Mode MII Timing - Data Transmitted from MII TABLE 7-3: MAC Mode MII Timing Parameters FIGURE 7-5: PHY Mode MII Timing - Data Received from MII FIGURE 7-6: PHY Mode MII Timing - Data Transmitted from MII TABLE 7-4: PHY Mode MII Timing Parameters FIGURE 7-7: RMII TIming - Data Received from RMII FIGURE 7-8: RMII Timing - Data Transmitted from RMII TABLE 7-5: RMII Timing Parameters FIGURE 7-9: SPI Input Timing TABLE 7-6: SPI Input Timing Parameters FIGURE 7-10: SPI Output Timing TABLE 7-7: SPI Output Timing Parameters FIGURE 7-11: Auto-Negotiation Timing TABLE 7-8: Auto-Negotiation Timing Parameters FIGURE 7-12: MDC/MDIO Timing TABLE 7-9: MDC/MDIO Typical Timing Parameters FIGURE 7-13: Power-Down/Power-Up and Reset Timing TABLE 7-10: Reset Timing Parameters 8.0 Reset Circuit FIGURE 8-1: Recommended Reset Circuit FIGURE 8-2: Recommended Circuit for Interfacing with CPU/FPGA Reset 9.0 Selection of Isolation Transformer TABLE 9-1: 25 MHz Crystal/Reference Clock Selection Criteria TABLE 9-2: Qualified Magnetic Vendors 10.0 Selection of Reference Crystal TABLE 10-1: Typical Reference Crystal Characteristics 11.0 Package Outlines FIGURE 11-1: 80-Lead 10 mm x 10 mm LQFP Appendix A: Data Sheet Revision History The Microchip Web Site Customer Change Notification Service Customer Support Product Identification System Worldwide Sales and Service