The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

SINGLE-CHIP 9-PORT 10/100MBPS SWITCH CONTROLLER Rev. April 2003 T


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



RTL8309SB
SINGLE-CHIP 9-PORT 10/100MBPS SWITCH CONTROLLER
Rev. April 2003 Track JATR-1076-21
RTL8309SB Datasheet
COPYRIGHT
©2003 Realtek Semiconductor Corp. rights reserved. part this document reproduced, transmitted, transcribed, stored retrieval system, translated into language form means without written permission Realtek Semiconductor Corp.
DISCLAIMER
Realtek provides this document is", without warranty kind, neither expressed implied, including, limited particular purpose. Realtek make improvements and/or changes this document product described this document time. This document could include technical inaccuracies typographical errors.
TRADEMARKS
Realtek trademark Realtek Semiconductor Corporation. Other names mentioned this document trademarks/registered trademarks their respective owners.
USING THIS DOCUMENT
This document provides detailed user guidelines achieve best performance when implementing 2-layer board design with RTL8309SB Single-Chip 9-port 10/100Mbps Switch Controller. Though every effort been made assure that this document current accurate, more information have become available subsequent production this guide. that event, please contact your Realtek representative additional information that help development process.
REVISION HISTORY
Revision Release Date 2003/04/12 2003/05/15 Summary First release. Revised descriptions. Revised description bi-color LED. Bi-color Reference Schematic figure. 3.3V items electrical characteristics. thermal operating range temperatures.
Single-Chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Table Contents
GENERAL DESCRIPTION.1 FEATURES.3 BLOCK DIAGRAM.4 ASSIGNMENTS DESCRIPTION 5.1. 5.2. 5.3. 5.4. 5.5. 5.6. 5.7. MEDIA CONNECTION PINS PORT INTERFACE PINS MISCELLANEOUS PINS PORT PINS SERIAL EEPROM PINS.11 STRAPPING PINS.12 POWER PINS
EEPROM REGISTER DESCRIPTION 6.1. 6.1.1. 6.1.2. 6.1.3. 6.1.4. 6.1.5. 6.1.6. 6.1.7. 6.1.8. 6.2. 6.2.1. 6.2.2. 6.2.3. 6.2.4. 6.2.5. 6.2.6. 6.2.7. 6.2.8. GLOBAL CONTROL REGISTERS.16 Global Control Register0 Global Control Register1 Global Control Register2 Global Control Register3 Global Control Register4 Global Control Register5 Global Control Register6 Global Control Register7 PORT CONTROL PINS Port Control 0.19 Port Control 1.20 Port Control 2.20 Port Control 3.20 Port Control 4.21 Address.21 Port Control 0.22 Port Control 1.22 Track JATR-1076-21 Rev.
Single-Chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
6.2.9. 6.2.10. 6.2.11. 6.2.12. 6.2.13. 6.2.14. 6.2.15. 6.2.16. 6.2.17. 6.2.18. 6.2.19. 6.2.20. 6.2.21. 6.2.22. 6.2.23. 6.2.24. 6.2.25. 6.2.26. 6.2.27. 6.2.28. 6.2.29. 6.3. 6.3.1. 6.3.2. 6.3.3. 6.3.4. 6.4. 6.4.1. 6.4.2. 6.4.3. 6.4.4. 6.4.5. 6.4.6. 6.4.7. 6.4.8. 6.4.9. Port Control 2.23 Port Control 3.23 Port Control 4.24 Mask Port Control 0.25 Port Control 1.25 Port Control 2.26 Port Control 3.26 Port Control 4.27 Switch Address Port Control 0.28 Port Control 1.28 Port Control 2.29 Port Control 3.29 Port Control 4.29 Address Port Control 0.30 Port Control 1.31 Port Control 2.31 Port Control 3.32 Port Control 4.32 PORT CONTROL PINS Port Control 0.33 Port Control 1.33 Port Control 2.34 Port Port.34 PORT CONTROL PINS Port Control 0.35 Port Control 1.35 Port Control 2.36 Port Control 3.36 Port Control 4.36 Port Control 0.37 Port Control 1.37 Port Control 2.38 Port Control 3.38 Track JATR-1076-21 Rev.
Single-Chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
6.4.10. 6.4.11. 6.4.12. 6.4.13. 6.4.14. 6.4.15. Port Control 4.38 Port Control 0.39 Port Control 1.39 Port Control 2.40 Port Control 3.40 Port Control 4.40
REGISTERS DESCRIPTION 7.1. 7.1.1. 7.1.2. 7.1.3. 7.1.4. 7.1.5. 7.1.6. 7.1.7. 7.1.8. 7.1.9. 7.1.10. 7.1.11. 7.1.12. 7.1.13. 7.1.14. 7.1.15. 7.2. 7.2.1. 7.2.2. 7.2.3. 7.2.4. 7.2.5. 7.2.6. 7.2.7. 7.2.8. 7.2.9. 7.2.10. 7.2.11. REGISTERS.41 Register Control.41 Register Status Register Identifier 1.43 Register Identifier 2.43 Register Auto-Negotiation Advertisement.43 Register Auto-Negotiation Link Partner Ability.44 Register Auto-Negotiation Expansion.44 Register Global Control 0.45 Register Global Control 1.47 Register Global Control 2.48 Register Global Control 3.48 Register Port Control 0.49 Register Port Control 1.50 Register Port Control &VLAN Entry [A].50 Register VLAN Entry REGISTERS.51 Register Control.51 Register Status Register Identifier 1.51 Register Identifier 2.51 Register Auto-Negotiation Advertisement.51 Register Auto-Negotiation Link Partner Ability.51 Register Auto-Negotiation Expansion.51 Register 16~17: Priority Address [A].52 Register 18~19: Priority Address [B].52 Register Port Control 0.52 Register Port Control 1.52 Track JATR-1076-21 Rev.
Single-Chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
7.2.12. 7.2.13. 7.3. 7.3.1. 7.3.2. 7.3.3. 7.3.4. 7.3.5. 7.3.6. 7.3.7. 7.3.8. 7.3.9. 7.3.10. 7.3.11. 7.3.12. 7.3.13. 7.4. 7.4.1. 7.4.2. 7.4.3. 7.4.4. 7.4.5. 7.4.6. 7.4.7. 7.4.8. 7.4.9. 7.4.10. 7.4.11. 7.4.12. 7.5. 7.5.1. 7.5.2. 7.5.3. 7.5.4. 7.5.5. 7.5.6. Register Port Control VLAN Entry [B].53 Register VLAN Entry REGISTERS.53 Register Control.53 Register Status Register Identifier 1.53 Register Identifier 2.54 Register Auto-Negotiation Advertisement.54 Register Auto-Negotiation Link Partner Ability.54 Register Auto-Negotiation Expansion.54 Register 16~17: Priority Mask Register 18~19: Priority Mask Register Port Control 0.55 Register Port Control 1.55 Register Port Control VLAN Entry [C].55 Register VLAN Entry [C].55 REGISTERS.56 Register Control.56 Register Status Register Identifier 1.56 Register Identifier 2.56 Register Auto-Negotiation Advertisement.56 Register Auto-Negotiation Link Partner Ability.56 Register Auto-Negotiation Expansion.56 Register 16~18: Switch Address Register Port Control 0.57 Register Port Control 1.57 Register Port Control VLAN Entry Register VLAN Entry [D].58 REGISTERS.58 Register Control.58 Register Status Register Identifier 1.58 Register Identifier 2.58 Register Auto-Negotiation Advertisement.58 Register Auto-Negotiation Link Partner Ability.58 Track JATR-1076-21 Rev.
Single-Chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
7.5.7. 7.5.8. 7.5.9. 7.5.10. 7.5.11. 7.5.12. 7.6. 7.6.1. 7.6.2. 7.6.3. 7.6.4. 7.6.5. 7.6.6. 7.6.7. 7.6.8. 7.6.9. 7.6.10. 7.6.11. 7.6.12. 7.6.13. 7.6.14. 7.6.15. 7.7. 7.7.1. 7.7.2. 7.7.3. 7.7.4. 7.7.5. 7.7.6. 7.7.7. 7.7.8. 7.7.9. 7.7.10. 7.7.11. 7.8. 7.8.1. Register Auto-Negotiation Expansion.58 Register 16~18: Address Register Port Control 0.59 Register Port Control 1.59 Register Port Control VLAN Entry [E].59 Register VLAN Entry REGISTERS.60 Register Control.60 Register Status Register Identifier 1.60 Register Identifier 2.60 Register Auto-Negotiation Advertisement.60 Register Auto-Negotiation Link Partner Ability.60 Register Auto-Negotiation Expansion.60 Register Port Control 0.61 Register Port Control VLAN Entry [I].62 Register VLAN Entry Register Port Port.62 Register Port Control 0.63 Register Port Control 1.63 Register Port Control VLAN Entry [F].63 Register VLAN Entry REGISTERS.64 Register Control.64 Register Status Register Identifier 1.64 Register Identifier 2.64 Register Auto-Negotiation Advertisement.64 Register Auto-Negotiation Link Partner Ability.64 Register Auto-Negotiation Expansion.64 Register Port Control 0.64 Register Port Control 1.65 Register Port Control VLAN Entry Register VLAN Entry [G].65 REGISTERS.66 Register Control.66 Track JATR-1076-21 Rev.
Single-Chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
7.8.2. 7.8.3. 7.8.4. 7.8.5. 7.8.6. 7.8.7. 7.8.8. 7.8.9. 7.8.10. 7.8.11. 7.8.12. 7.8.13. 7.9. 7.9.1. 7.9.2. 7.9.3. 7.9.4. 7.9.5. Register Status Register Identifier 1.66 Register Identifier 2.66 Register Auto-Negotiation Advertisement.66 Register Auto-Negotiation Link Partner Ability.66 Register Auto-Negotiation Expansion.66 Register indirect Access Control.67 Register 17~20: Indirect Access Data.67 Register Port Control 0.67 Register Port Control 1.67 Register Port Control VLAN Entry Register VLAN Entry [H].68 REGISTERS.69 Register Control.69 Register Status Register Auto-Negotiation Advertisement.70 Port NWay Mode Port Force Mode
FUNCTIONAL DESCRIPTION.72 8.1. 8.1.1. 8.1.2. 8.1.3. 8.1.4. 8.1.5. 8.1.6. 8.1.7. 8.1.8. 8.1.9. 8.2. 8.2.1. 8.2.2. 8.2.3. 8.2.4. 8.2.5. PHYSICAL LAYER TRANSCEIVER FUNCTIONAL OVERVIEW Auto Negotiation 100Base-Tx Transmit Function 100Base-Tx Receive Function 10Base-T Transmit Function 10Base-T Receive Function Link Monitor.73 Power Saving Mode.73 Power-Down Mode.74 Auto Crossover Detection.74 SWITCH CORE FUNCTIONAL OVERVIEW.74 Address Search, Learning, Aging Flow Control Half Duplex Operation Back Pressure Port Status Configuration viii Track JATR-1076-21 Rev.
Single-Chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
8.2.6. 8.3. 8.3.1. 8.3.2. 8.3.3. 8.3.4. 8.3.5. 8.3.6. 8.3.7. 8.3.8. 8.3.9. 8.3.10. 8.3.11. 8.3.12. 8.3.13. 8.3.14. 8.3.15. 8.3.16. 8.3.17. Port (The Port) ADVANCED FUNCTIONALITY OVERVIEW Port-Based VLAN 802.1Q Tagged-VID based VLAN.81 Operation.83 Insert/Remove VLAN Priority Tag.84 Port (PVID) Port Trunking Address Translation Lookup Table Access.87 Serial Management Interface (SMI) Broadcast Storm Control Broadcast In/Out Drop EEPROM Configuration Interface 24LC02 Device Operation.89 Head-of-Line Blocking Port Diagnostic Loopback.91 Loop Detection LEDs
CHARACTERISTICS 9.1. 9.2. 9.3. 9.4. 9.5. 9.6. ABSOLUTE MAXIMUM RATINGS.96 OPERATING RANGE CHARACTERISTICS.96 CHARACTERISTICS.97 DIGITAL TIMING CHARACTERISTICS THERMAL CHARACTERISTICS .100 SYSTEM APPLICATIONS .101 DESIGN LAYOUT GUIDE.101 MECHANICAL DIMENSIONS .105
Single-Chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
List Tables
Table Assignments Table Media Connection Pins.7 Table Port Interface Pins Table Miscellaneous Pins Table Port Pins.9 Table Serial EEPROM Pins Table Strapping Pins.12 Table Power Pins Table Global Control Register0.16 Table Global Control Register1.16 Table Global Control Register2 Table Global Control Register3.17 Table Global Control Register4.18 Table Global Control Register5.18 Table Global Control Register6.18 Table Global Control Register7.19 Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Address.21 Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Mask.24 Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Switch Address Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Address.30 Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Port Table Port Control Single-Chip 9-port 10/100Mbps Switch Controller Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Port Control Table Register Control.41 Table Register Status Table Register Identifier Table Register Identifier Table Register Auto-Negotiation Advertisement Table Register Auto-Negotiation Link Partner Ability Table Register Auto-Negotiation Expansion Table Register Global Control Table Register Global Control Table Register Global Control Table Register Global Control Table Register Port Control Table Register Port Control Table Register Port Control &VLAN Entry [A].50 Table Register VLAN Entry [A].51 Table Register 16~17: Priority Address Table Register 18~19: Priority Address Table Register Port Control VLAN Entry Table Register VLAN Entry [B].53 Table Register 16~17: Priority Mask Table Register 18~19: Priority Mask Table Register Port Control VLAN Entry Table Register VLAN Entry [C].55 Table Register 16~18: Switch Address Table Register Port Control VLAN Entry [D].57 Table Register VLAN Entry [D].58 Table Register 16~18: Address Table Register Port Control VLAN Entry Table Register VLAN Entry Table Register Port Control Table Register Port Control VLAN Entry Table Register VLAN Entry Table Register Port Port.62 Table Register Port Control VLAN Entry [F].63 Table Register VLAN Entry Table 100. Register Port Control VLAN Entry [G].65 Table 101. Register VLAN Entry [G].65 Table 102. Register indirect Access Control.67 Table 103. Register 17~20: Indirect Access Data Single-Chip 9-port 10/100Mbps Switch Controller Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Table 104. Register Port Control VLAN Entry [H].68 Table 105. Register VLAN Entry [H].68 Table 106. Register Control.69 Table 107. Register Status Table 108. Register Auto-Negotiation Advertisement Table 109. Port NWay Mode.71 Table 110. Port Force Mode Table 111. 802.1Q VLAN Frame Format Table 112. IPv4 Frame Format Table 113. IPv6 Frame Format Table 114. Read/Write Cycles Table 115. Loop Frame Format Table 116. Speed Bi-color Link/Act Truth Table.94 Table 117. Absolute Maximum Ratings Table 118. Operating Range Table 119. Characteristics Table 120. Characteristics Table 121. Digital Timing Characteristics.99 Table 122. Thermal Operating Range.100 Table 123. Thermal Resistance.101
Single-Chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
List Figures
Figure Block Diagram Figure Assignments.5 Figure Port Application Figure Port Operating Mode Overview.79 Figure VLAN Grouping Example Figure Tagged Untagged Packet Forwarding When 802.1Q Aware VLAN Disabled.82 Figure Outbound Process.86 Figure Inbound Process Figure Input Drop Output Drop Figure Start Stop Definition.89 Figure Output Acknowledge.90 Figure Random Read.90 Figure Sequential Read Figure Port Loopback.91 Figure Loop Example.92 Figure Floating Pull-down Pins Figure Bi-color Floating Pull-high Figure Bi-color Pull-down.94 Figure Bi-color Reference Schematic.95 Figure Reception Data Timing MII/SNI/SMI Interface Figure Transmission Data Timing MII/SNI/SMI Interface Figure Cross-section PQFP .100 Figure Application Transformer with Connected Central .103 Figure Smith Termination .104
Single-Chip 9-port 10/100Mbps Switch Controller
xiii
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
General Description
RTL8309SB 128-pin, ultra power, high-performance 8-port Fast Ethernet single-chip switch with extra port specific applications. integrates functions high speed switch system-including SRAM packet buffering, non-blocking switch fabric, address management, general interface, eight 10/100Base-TX transceivers, nine Media Access Controllers-into single 0.18um CMOS device. provides compatibility with industry standard Ethernet Fast Ethernet devices. Only 25MHz crystal required; EEPROM optional save costs. embedded packet storage SRAM RTL8309SB features superior memory management technology efficiently utilize memory space. RTL8309SB also integrates 1024 entry look-up table store address associated information 10-bit direct mapping scheme. table provides read/write access from interface, each entries configured static entry. static entry indicates that this entry controlled external management processor automatic aging learning entry will take place. prevent address mapping collisions, embedded 16-entry affords another memory space recording address when mapped entry lookup table occupied others. each incoming packet, RTL8309SB searches entries lookup table 16entry simultaneously, then obtains correct destination port information determine which output port packet should forwarded aging time RTL8309SB around seconds (this sped 800µs EEPROM configuration). ninth port RTL8309SB implements module without transceiver provide interface connection with external specific applications. This interface mode, mode, mode work with external module routing engine application, module HomePNA application, other physical layer transceivers. order operate correctly, both sides connection must configured same speed, duplex, flow control settings. Four pins used ninth port force link status. This interface should 2.5V 3.3V compatible depending voltage supplied power VDDIO this interface. RTL8309SB capable preventing broadcast storms setting strapping pins upon system reset. When this function enabled, will drop broadcast packets after receiving continuous broadcast packets. This counter will reset every 800ms when RTL8309SB receives non-broadcast packet. RTL8309SB displays port status supports four indicators (with optional blinking time setting). These LEDs blink diagnostic purposes system reset time. RTL8309SB provides various type combinations different applications. Eight combinations link, activity, speed, duplex, collision, available. Bi-color mode also supported Link/Act LED. RTL8309SB supports standard 802.3x flow control frames full duplex, optional backpressure half duplex. determines when invoke flow control mechanism checking availability system resources, including packet buffers transmitting queues. forwarding ports blocked, system resources unavailable, broadcast frames will dropped according system configuration. RTL8309SB support types dropping methods.
Single-Chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
input dropping method will forward broadcast packets output ports will drop these packets directly. output dropping method will forward broadcast packets non-blocked ports only. improve real-time multimedia networking applications, RTL8309SB supports four types (Quality Service). These based Port-based priority, 802.1p/Q VLAN priority tag, field IPv4 header, Specific address. Each output ports supports weighted ratio high-priority low-priority queues bandwidth requirements different applications. RTL8309SB provides 802.1Q port-based VLAN operation separate logical connectivity from physical connectivity. Each port topology EEPROM upon reset after reset. RTL8309SB also provides options meet special application requirements. first option VLAN function, which used select broadcast frames VLANs only forward frames originating VLAN. second option Leaky VLAN function, which used select send unicast frames other VLANs only forward unicast frames originating VLAN. VLAN tags inserted removed port basis. router applications, router want know which input port this packet came from. RTL8309SB supports Port (PVID) each port insert PVID VLAN egress. this function, information carried VLAN will changed PVID. RTL8309SB also provide option admit VLAN tagged packet with specific PVID only. this function enabled, will drop non-tagged packets packets with incorrect PVID. Each physical layer channel consists 4B5B encoder/decoder, Manchester encoder/decoder, transmit output driver, scrambler/descrambler, output wave shaping, filters, digital adaptive equalizer, circuit, restoration circuit clock/data recovery. This integrated chip benefits from power consumption, advanced functions with flexible configuration small workgroup switch, multimedia real-time traffic mixed with other data type traffic, other applications.
Single-Chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Features
Integrated eight 10/100 transceivers nine units 10Base-T 100Base-TX. Embedded SRAM packet storage. On-chip 1024 entry look-up table direct mapping mode. Embedded 16-entry hash collision mapping. Provides read/write access look-up table entries interface. Provides non-blocking wire speed reception transmission. Flow control fully supported: Half-duplex: back pressure flow control. Full-duplex: IEEE 802.3x flow control. Per-port support LEDs with various combinations comprehensive applications. Optional loop detection function with indicate existence loop. Supports loopback. Flexible system configuration strapping pins, EEPROM, interface. Optional Forwarding /Filtering reserved control frames (DID= 0180C2000003~0180C200000F). Optional Broadcast Input/Output Drop flow control. Optional maximum packet length 1536/1552 Bytes. Supports function based Port-based priority 802.1p VLAN DiffServ/TOS field TCP/IP header address. Supports level priority queues various weighting ratios Queue service rate based weighted round robin algorithm Optional auto turn Flow Control avoid head line blocking. Supports interface connection external modes. mode router applications. mode router applications. mode HomePNA other applications. Flexible 802.1Q port based VLAN. Optional 802.1Q tag-VID aware function. Optional VLAN Ingress Admit Control. Optional VLAN Ingress Member filtering. Optional VLAN broadcast packet. Optional Leaky VLAN unicast packet. Optional 802.1P/Q insertion removal per-port basis (egress). Supports Power Reduction methods: Power saving mode (automatic cable detection). Power down mode register 0.11). Optional MDI/MDIX auto crossover plug-andplay. Fully compliant with IEEE 802.3/802.3u. LEDs blink upon reset diagnostics. 25MHz crystal input. 0.18um, CMOS technology. 128-pin PQFP package. 1.8V core voltage. Independent power options 2.5V 3.3V interface.
Single-Chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Block Diagram
IBREF Waveform Shaping
RX+-[0] TX+-[0]
10Base-T 100Base-TX PHYceiver
10/100
Flow Control TX/RX FIFO
RTL8309SB
RX+-[1] TX+-[1]
10Base-T 100Base-TX PHYceiver
10/100
Flow Control TX/RX FIFO
RX+-[2] TX+-[2]
10Base-T 100Base-TX PHYceiver
10/100
Flow Control TX/RX FIFO
Look-up Table (1024-entries)
Switch Fabric, VLAN, QoS, Trunking
RX+-[3] TX+-[3]
10Base-T 100Base-TX PHYceiver
10/100
Flow Control TX/RX FIFO
Queue Management
RX+-[4] TX+-[4]
10Base-T 100Base-TX PHYceiver
10/100
Flow Control TX/RX FIFO Flow Control TX/RX FIFO
RX+-[5] TX+-[5]
10Base-T 100Base-TX PHYceiver
10/100
Buffer Management
RX+-[6] TX+-[6]
10Base-T 100Base-TX PHYceiver
10/100
Flow Control TX/RX FIFO
Packet Buffer
RX+-[7] TX+-[7]
10Base-T 100Base-TX PHYceiver
10/100
Flow Control TX/RX FIFO EEPROM Interface
Signal
Inter face
Mode Mode Mode Select
10/100
Flow Control TX/RX FIFO
Control Registers
P8MODE[1:0]
Figure Block Diagram Single-chip 9-port 10/100Mbps Switch Controller Track JATR-1076-21 Rev.
En_AutoXover/P1_LED[3] En_ANEG/P1_LED[2] En_FCTRL/P1_LED[1] En_BKPRS/P1_LED[0] VDDD VSSD Force_Duplex/P0_LED[3] Force_Speed/P0_LED[2] En_BRD_CTRL/P0_LED[1] En_RST_BLNK/P0_LED[0] EnEEPROM/LoopLED# VDDD VSSD Test VSSPLL VDDPLL Test IBREF VDDA TXON[0] TXOP[0] VSSA RXIP[0] RXIN[0]
Assignments
Single-chip 9-port 10/100Mbps Switch Controller Figure Assignments
RTL8309SB
VDDA VSSA TXON[1] TXOP[1] VSSA RXIP[1] RXIN[1] VDDA RXIN[2] RXIP[2] VSSA TXOP[2] TXON[2] VDDA TXON[3] TXOP[3] VSSA RXIP[3] RXIN[3] VDDA RXIN[4] RXIP[4] VSSA TXOP[4] TXON[4] VDDA TXON[5] TXOP[5] VSSA RXIP[5] RXIN[5] VDDA RXIN[6] RXIP[6] VSSA TXOP[6] TXON[6] VDDA MCOL/PCOL VSSIO VDDIO MTXD[3]/PRXD[3] MTXD[2]/PRXD[2] MTXD[1]/PRXD[1] MTXD[0]/PRXD[0] MTXEN/PRXDV MTXC/PRXC SDA_MDIO SCL_MDC VSSD VDDD MII_LNK_STA# MII_DUP_STA MII_SPD_STA MII_FCTRL_STA RESET# Test VDDA TXON[7] TXOP[7] VSSA RXIP[7] RXIN[7]
P2_LED[0]/MII_MODE[0] P2_LED[1]/MII_MODE[1] P2_LED[2]/LED_MODE[0] P2_LED[3]/LED_MODE[1] P3_LED[0]/LED_MODE[2] P3_LED[1]/Dis_Trunk VSSD VDDD P3_LED[2]/En_Forward P3_LED[3]/En_Defer P4_LED[0]/En_48pass1 P4_LED[1]/En_Agrs_Back P4_LED[2]/Max_Pkt_Len P4_LED[3]/Max_Pause_Count VSSD VDDD P5_LED[0]/Sel_PortPri[0] P5_LED[1]/Sel_PortPri[1] P5_LED[2]/Dis_VLAN_Pri P5_LED[3]/Dis_DS_Pri P6_LED[0]/QWeight[0] P6_LED[1]/QWeight[1] VSSD VDDD P6_LED[2]/Dis_VLAN P6_LED[3]/Dis_LeakyVLAN P7_LED[0]/Dis_ARPVLAN P7_LED[1]/LED_BLNK_TIME P7_LED[2]/Port_LED_LOC P7_LED[3]/Dis_FC_AutoOff VSSD VDDD MRXD[3]/PTXD[3] MRXD[2]/PTXD[2] MRXD[1]/PTXD[1] MRXD[0]/PTXD[0] MRXDV/PTXEN MRXC/PTXC
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
RTL8309SB Datasheet
Codes used following tables: stands analog; stands digital, stands input; stands output. Table Assignments Name
VDDA, VSSA, TXON[1], TXOP[1], VSSA, RXIP[1], RXIN[1], VDDA, RXIN[2], RXIP[2], VSSA, TXOP[2], TXON[2], VDDA, TXON[3], TXOP[3], VSSA, RXIP[3], RXIN[3], VDDA, RXIN[4], RXIP[4], VSSA, TXOP[4], TXON[4], VDDA, TXON[5], TXOP[5], VSSA, RXIP[5], RXIN[5], VDDA, RXIN[6], RXIP[6], VSSA, TXOP[6], TXON[6], VDDA, RXIN[7], RXIP[7], VSSA, TXOP[7], TXON[7], VDDA, RESET# MII_FCTRL_STA, MII_SPD_STA, MII_DUP_STA, MII_LNK_STA#, VDDD, VSSD, SCL_MDC, SDA_MDIO, MTXC/PRXC, MTXEN/PRXDV, MTXD[0]/PRXD[0], MTXD[1]/PRXD[1], MTXD[2]/PRXD[2], MTXD[3]/PRXD[3], VDDIO, VSSIO, MCOL/PCOL
Type
AVDD AGND AGND AVDD AGND AVDD AGND AVDD AGND AVDD AGND AVDD AGND AVDD AGND AVDD DVDD DGND DVDD DGND
Name
MRXC PTXC MRXDV PTXDV, MRXD[0] PTXD[0], MRXD[1] PTXD[1], MRXD[2] PTXD[2], MRXD[3] PTXD[3], VDDD, VSSD, P7_LED[3] Dis_FC_AutoOff, P7_LED[2] Port_LED_LOC, P7_LED[1] LED_BLNK_TIME, P7_LED[0] Dis_ARPVLAN, P6_LED[3] Dis_LeakyVLAN, P6_LED[2] Dis_VLAN, VDDD, VSSD, P6_LED[1] QWeight[1], P6_LED[0] QWeight[0], P5_LED[3] Dis_DS_Pri, P5_LED[2] Dis_VLAN_Pri, P5_LED[1] Sel_PortPri[1], P5_LED[0] Sel_PortPri[0], VDDD, VSSD, P4_LED[3] Max_Pause_Count, P4_LED[2] Max_Pkt_Len, P4_LED[1] En_Agrs_Back, P4_LED[0] En_48pass1, P3_LED[3] En_Defer, P3_LED[2] En_Forward, VDDD, VSSD P3_LED[1] Dis_Trunk, P3_LED[0] LED_MODE[2], P2_LED[3] LED_MODE[1], P2_LED[2] LED_MODE[0], P2_LED[1] MII_MODE[1], P2_LED[0] MII_MODE[0], P1_LED[3] En_AutoXover, P1_LED[2] En_ANEG, P1_LED[1] En_FCTRL P1_LED[0] En_BKPRS, VDDD, VSSD P0_LED[3] Force_Duplex, P0_LED[2] Force_Speed, P0_LED[1] En_BRD_CTRL, P0_LED[0] En_RST_BLNK, LoopLED#,/EnEEPROM VDDD, VSSD, VSSPLL, VDDPLL, IBREF, VDDA, TXON[0], TXOP[0], VSSA, RXIP[0], RXIN[0],
100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
Type
DVDD DGND DVDD DGND DVDD DGND DVDD DGND DVDD DGND DVDD DGND AGND AVDD AVDD AGND
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Description
"Type" codes used following tables: stands analog; stands digital, stands input; stands output, `Ipu' stands input with internal pull-up. Upon reset: defined short time after hardware reset. After reset: defined time after specified "Upon Reset" time.
5.1. Media Connection Pins
Table Media Connection Pins Name RXIP[7:0] RXIN[7:0] 127, 124, Type Description Differential Receive Data Input shared 100Base-TX, 10Base-T connection transformer. Default
TXOP[7:0] TXON[7:0]
Differential Transmit Data Output shared 100Base-TX, 10BaseT connection transformer.
5.2. Port Interface Pins
external device either 2.5V 3.3V compatible depending power supplied VDDIO. input input/output pins listed below implement internal pull-high resistor. external pull-high resistor required these floating input pins reduce power consumption. Table Port Interface Pins Name MRXD[3:0] /PTXD[3:0] Type Description mode, these pins MRXD[3:0], receive data nibble. mode, these pins PTXD[3:0], transmit data nibble. mode, PTXD[0] serial transmit data. mode, this represents MRXDV, receive data valid. mode, this represents PTXEN, transmit enable. mode, this represents PTXEN, transmit enable. Default
MRXDV/PTXEN
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name MRXC/PTXC Type Description Default mode, this represents MRXC, receive clock (acts input). MII/SNI mode, this represent PTXC, transmit clock (acts output). mode, this represents MCOL, collision detect (acts input). MII/SNI mode, this represents PCOL, collision detect (acts output). Output after reset mode, these pins MTXD[3:0], transmit data MAC. mode, these pins PRXD[3:0], receive data MAC. mode, PRXD[0] serial receive data. PRXD[3:1] unused. mode, this represents MTXEN, transmit enable. mode, this represents PRXDV, receive data valid. mode, this represents PRXDV, receive data valid. mode, this represents MTXC, transmit clock (acts input). MII/SNI mode, this represents MRXC, MII/SNI receive clock (acts output). Input upon reset Select port (9th port) operating mode: 11=Tristate output 10=MII mode 01=MII mode 00=SNI mode Provide port (9th port) Link Status module MAC/MII PHY/SNI operation mode real time: This sets link status port module real-time. Provide port (9th port) duplex status module MAC/MII PHY/SNI operation mode real time: 1=MII port operates full duplex mode. 0=MII port operates half duplex mode. Provide port (9th port) speed status module MAC/MII PHY/SNI operation mode real time: 1=MII port operates 100Mbps speed. 0=MII port operates 10Mbps speed. applications below, this should left floating: HomePNA (MII mode), speed determined from HomePNA running 1Mbps. mode, speed fixed 10MHz clock rate. MII_FCTRL_STA Provide port (9th port) flow control status module MAC/MII PHY/SNI operation mode real time: 1=MII port flow control ability. 0=MII port does have flow control ability.
MCOL/PCOL
MTXD[3:0] /PRXD[3:0]]
MTXEN/PRXDV MTXC/PRXC
MII_MODE[1:0] /P2_LED[1:0]
101,
MII_LNK_STA# MII_DUP_STA
MII_SPD_STA
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
5.3. Miscellaneous Pins
Table Miscellaneous Pins Name RESET# Type Description 25MHz crystal input. clock tolerance +-50ppm. 25MHz crystal output. Active reset signal. complete reset function, this must asserted least 10ms. After reset, about 30ms needed RTL8309SB complete internal test function initialization. Note: This Schmitt input pin. Control transmit output waveform Vpp. This should grounded through 2.0K resistor. Connected Floating normal operation. Default
IBREF
116,
5.4. Port Pins
Each port supports four pins status indication. indicated status these four pins changed setting different values strapping LED_MODE[2:0]. Note statuses represented active-low high depending input strapping, except Bi-color Link/Act Bicolor mode, whose polarity depends Bi-color Speed status. Note Those pins dual function pins: output input strapping. Table Port Pins Name P0_LED[0] P1_LED[0] P2_LED[0] P3_LED[0] P4_LED[0] P5_LED[0] P6_LED[0] P7_LED[0] Type Description 112, 106, Ipu/O Output after reset used LED: Mode Speed =100 Mbps, =10Mbps) 102, Mode Activity (Flash=Tx activity) Mode Speed =100 Mbps, =10Mbps) Mode Collision (Flash=Collision) Mode Reserved internal use. Mode RxAct+10/100 (Flash every 120ms=10Mbps activity, Flash every 43ms 100Mbps activity) Mode Duplex+Collision (On=Full, Off=Half with collision, Flash Collision) Mode Bi-color Speed (Polarity depends Bi-color Link+Activity status, please refer section detail information) Default
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name P0_LED[1] P1_LED[1] P2_LED[1] P3_LED[1] P4_LED[1] P5_LED[1] P6_LED[1] P7_LED[1] 111, 105, 101,
Ipu/O Output after reset used LED:
Type Description
Default
P0_LED[2] P1_LED[2] P2_LED[2] P3_LED[2] P4_LED[2] P5_LED[2] P6_LED[2] P7_LED[2]
110, 104, Ipu/O 100,
P0_LED[3] P1_LED[3] P2_LED[3] P3_LED[3] P4_LED[3] P5_LED[3] P6_LED[3] P7_LED[3] LED_MODE[2] /P3_LED[0] LED_MODE[1] /P2_LED[3] LED_MODE[0] /P2_LED[2]
109, 103, Ipu/O
Mode Duplex+Collision (On=Full, Off=Half with collision, Flash Collision) Mode Speed =100 Mbps, =10Mbps) Mode Duplex (On=Full, Off=Half) Mode Duplex (On=Full, Off=Half) Mode Duplex+Collision (On=Full, Off=Half with collision, Flash Collision) Mode TxAct+10/100 (Flash every 120ms 10Mbps activity, Flash every 43ms 100Mbps activity) Mode 10Link+Act (On=Link 10Mbps, Off=No link 10Mbps, Flash=10Mbps activity) Mode Duplex+Collision (On=Full, Off=Half with collision, Flash Collision) Output after reset used LED: Mode Link+Act (On=Link, Off=No link, Flash=Tx activity) Mode Link (On=Link, Off=No link) Mode Link+Act (On=Link, Off=No link, Flash=Tx activity) Mode Link+Act+Speed (On=Link, Off=No link, Flash every 120ms=10Mbps activity, flash every 43ms=100Mbps) Mode Link+Act+Speed (On=Link, Off=No link, Flash every 120ms=10Mbps activity, flash every 43ms=100Mbps) Mode Link (On=Link, Off=No link) Mode 100Link+Act (On=Link 100Mbps, Off=No link 100Mbps, Flash=100Mbps activity) Mode Bi-color Link+Activity (Polarity depends Bi-color Speed status). LEDs, page detailed information. Output after reset used LED: Mode Reserved internal use. Mode Reserved internal use. Mode Reserved internal use. Mode Reserved internal use. Mode 10/100 =100 Mbps, =10Mbps) Mode Reserved internal use. Mode Reserved internal use. Mode Reserved internal use. Input upon reset Select display mode upon reset LED_MODE[2:0]=111 Mode Speed, Duplex+Collision, Link+Act, Reserved. LED_MODE[2:0]=110 Mode Activity, Speed, Link, Reserved. LED_MODE[2:0]=101 Mode Speed, Duplex, Link+Act, Reserved. LED_MODE[2:0]=100 Mode Collision, Duplex, Link+Act+Speed, Reserved. LED_MODE[2:0]=011 Mode Reserved, Duplex+Collision, Link+Act+Speed, 10/100 LED_MODE[2:0]=010 Mode RxAct+10/100, TxAct+10/100, Link, Reserved. LED_MODE[2:0]=001 Mode Duplex+Collision, 10Link+Act, 100Link+Act, Reserved. LEDM_ODE[2:0]=000 Mode Bi-color Speed, Duplex+Collision, Bi-color Link+Act, Reserved.
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Port_LED_LOC /P7_LED[2] Type Description Default
Ipu/O Input upon reset port location reversed:
1=For designs where LEDs placed opposite side phone jack. Port LEDs assigned pins 109~112. Port LEDs assigned pins 103~106. Port LEDs assigned pins 99~102. Port LEDs assigned pins Port LEDs assigned pins 89~92. Port LEDs assigned pins 83~86. Port LEDs assigned pins Port LEDs assigned pins 73~76. 0=Suitable designs where LEDs placed same side phone jack. Port LEDs assigned pins 73~76. Port LEDs assigned pins Port LEDs assigned pins 83~86. Port LEDs assigned pins 89~92. Port LEDs assigned pins Port LEDs assigned pins 99~102. Port LEDs assigned pins 103~106. Port LEDs assigned pins 109~112. Output after reset LoopLED# used LED: Loop detection enabled, this indicates whether Network loop detected not. Otherwise, this function. Note: statuses represented active-low high depending input strapping. Input=1: Output Network loop detected. 1=No loop. Input=0: Output Network loop detected. loop.
LoopLED# /EnEEPROM
Ipu/O
5.5. Serial EEPROM Pins
Table Serial EEPROM Pins Name EnEEPROM /LoopLED# SCL_MDC Type Description Ipu/O Input upon reset Enable loading serial EEPROM upon reset: 1=Enable load Serial EEPROM upon reset. 0=Disable load Serial EEPROM upon reset. EEPROM Serial Clock MDC: This three state when RESET#=0. When RTL8309SB detects EEPROM connected this becomes (output) load serial EEPROM upon reset. Then this changes (input) after reset. this case, this should pulled high (VDDIO 2.5V/3.3V) external register. When RTL8309SB doesn't detect EEPROM connected this (input). this case, needs external pull-high resistor, unless floated. Default
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name SDA_MDIO Type Description EEPROM Serial Data Input/Output MDIO: This three state when RESET#=0. When RTL8309SB detects EEPROM connected this becomes (input/output) load serial EEPROM upon reset. Then this changes MDIO (input/output) after reset. When RTL8309SB doesn't detect EEPROM connected this MDIO (input/output). should pulled high external resistor. Default
5.6. Strapping Pins
Note: strapping pins dual function pins: output input strapping. table below covers strapping only. Port Pins, page settings. Table Strapping Pins Name En_ANEG /P1_LED[2] Type Description Default Input upon reset Enable Auto-negotiation function: Enable auto-negotiation function (NWay mode) register 0.12. Disable auto-negotiation function (force mode) deselect register 0.12. Input upon reset Enable flow control ability full duplex mode: NWay mode, this sets register 4.10, flow control function finally enabled based auto negotiation result. force mode, this will always enable flow control function. Disable flow control function.
En_FCTRL /P1_LED[1]
En_BKPRS /P1_LED[0]
Output after reset used Input upon reset Enable back pressure ability half duplex mode: Enable back pressure. Disable back pressure. Output after reset used Force duplex mode: This sets Reg.0.8 influences contents Reg.4. Force full duplex auto-negotiation disabled. Force half duplex auto-negotiation disabled. Output after reset used Force operating speed: This sets Reg.0.13 influences contents Reg.4. 1=Force 100Mbps speed auto-negotiation disabled. 0=Force 10Mbps speed auto-negotiation disabled. Output after reset used Input upon reset Disable Broadcast Storm Control: Disable Broadcast Storm Control.
Enable Broadcast Storm Control.
Force_Duplex /P0_LED[3]
Force_Speed /P0_LED[2]
En_BRD_CTRL /P0_LED[1]
Output after reset used Single-chip 9-port 10/100Mbps Switch Controller Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name En_RST_BLNK /P0_LED[0] Type Description Input upon reset Enable blinking LEDs upon reset: Enable power-on blinking diagnosis. Disable power-on blinking. Default
En_AutoXover /P1_LED[3]
Output after reset used Input upon reset Enable Auto crossover detection: Enable auto crossover detection. Disable auto crossover detection. only. Output after reset used Disable auto turn flow control ability: Disable Enable auto turn flow control ability priority queue seconds whenever port receives high priority frame. flow control ability will re-enabled this port does receive another high priority frame during this duration. Output after reset used Input upon reset Enable forwarding 802.1D specified reserved group address frames: Forward reserved control packets with DID=01-80-C2-00-00-03 01-80-C2-00-00-0F. Filter reserved control packets with DID=01-80-C2-00-00-03 0180-C2-00-00-0F. Output after reset used Input upon reset Enable carrier sense defering function: Enable carrier sense deferring function half duplex back pressure. Disable carrier sense deferring function half duplex back pressure. Output after reset used Enable pass mechanism: pass continuously collides input packets then passes packet retain system resources avoid repeater partition when buffer full. Continuously collides input packets avoid packet loss when buffer full. Output after reset used Input upon reset Enable aggressive back-off mechanism: Enable more aggressive back-off mechanism half duplex mode performance enhancement. back-off limitation will become this duration (default 10). Disable aggressive back-off mechanism half duplex mode. Output after reset used Input upon reset Select maximum frame length: 1536 bytes. 1552 bytes. Output after reset used
Dis_FC_AtuoOff /P7_LED[3]
En_Forward /P3_LED[2]
En_Defer /P3_LED[3]
En_48pass1 /P4_LED[0]
En_Agrs_Back /P4_LED[1]
Max_Pkt_Len /P4_LED[2]
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Max_Pause_Count /P4_LED[3] Type Description Input upon reset Select Pause frame count during congested event: Generates maximum pause frames, even congestion still exists Continuously generates pause frames until congestion resolved Default
Dis_Trunk /P3_LED[1]
Output after reset used Disable Port Trunking function: 1=Disable port trunking function. 0=Port port combined trunk. Output after reset used Input upon reset Select high priority port port-based priority Disable port-based priority function. Select port high priority port. Select port high priority port. Select port high priority port. Output after reset used Input upon reset Disable 802.1p VLAN priority based QoS: Disable 802.1p priority classification ingress packets each port. Enable 802.1p priority classification ingress packets each port. User priority field VLAN greater equal will considered high priority packet. Output after reset used Input upon reset Disable Diffserv priority based QoS: Disable diffserv priority classification ingress packets each port. Enable diffserv priority classification ingress packets each port. Output after reset used Input upon reset Weighted round robin ratio priority queue: frame service ratio between high priority queue priority queue 11=16:1 10=always high priority queue first 01=8:1 00=4:1 Output after reset used Input upon reset Disable VLAN. Disable VLAN. Enable VLAN. default VLAN membership configuration port overlapped with other ports, including port, form individual VLANs. default membership configuration modified setting internal registers interface EEPROM. Output after reset used
Sel_PortPri[1:0] /P5_LED[1:0]
Dis_VLAN_Pri /P5_LED[2]
Dis_DS_Pri /P5_LED[3]
QWeight[1:0] /P6_LED[1:0]
Dis_VLAN /P6_LED[2]
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Dis_LeakyVLAN /P6_LED[3] Type Description Input upon reset Disable Leaky VLAN: Disable forwarding unicast frames other VLANs. Enable forwarding unicast frames other VLANs. Note: Broadcast multicast frames adhere VLAN configuration. Default
Dis_ARPVLAN /P7_LED[0]
Output after reset used Input upon reset Disable broadcast VLANs: Disable broadcast broadcast packets VLANs Enable broadcast broadcast packets VLANs. Output after reset used Input upon reset Select blinking speed activity collision LED: 43ms then 43ms. 120ms then 120ms. Note: this only affects LEDs that configured mode Output after reset used
LED_BLNK_TIME /P7_LED[1]
5.7. Power Pins
Table Power Pins Name VDDD 95,107, 108, Type Description 1.8V digital power. Default
VSSD
Digital ground.
VDDIO VSSIO VDDPLL VSSPLL VDDA
2.5/3.3V digital interface. Digital ground interface. 1.8V analog power PLL. 1.8V analog power PLL. 1.8V analog power (Used transmitters equalizers).
VSSA
Analog ground.
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
EEPROM Register Description
6.1. Global Control Registers
6.1.1. Global Control Register0
Table Global Control Register0 Name EEPROM existence Accept Error disable IEEE 802.3x transmit flow control enable IEEE 802.3x receive flow control enable Broadcast input output drop Aging enable Fast aging enable Enable Address Translation Byte.bit Description 1=EEPROM does exist. 0=EEPROM exists. 1=Filter packets normal operation. 0=Switch packets including ones. 1=Invoke transmit flow control based auto-negotiation result. 0=Switch will enable transmit flow control. 1=When switch receives pause control frame, ability stop next transmission normal frame until timer expired based auto negotiation result. 0=Receive flow control enabled. 1=Broadcast input drop selected. 0=Broadcast output drop selected. 1=Enable aging function switch. 0=Disable aging function switch. 1=An entry learned lookup table will aged updated within 800µs period. 0=Disable fast aging function. normal aging time RTL8309SB around 200~300 seconds. 1=Enable Address Translation. 0=Disable Address Translation. Default
6.1.2.
Global Control Register1
Table Global Control Register1 Byte.bit Description 1.7~1.5 Mode Speed, Duplex+Collision, Link+Act, Mode Activity, Speed, Link, Mode Speed, Duplex, Link+Act, Mode Collision, Duplex, Link+Act+Speed, Mode SQI, Duplex+Collision, Link+Act+Speed,10/100 Mode RxAct+10/100, TxAct+10/100, Link, Mode Duplex+Collision, 10Link+Act, 100Link+Act, Mode Duplex+Collision, Bi-color Speed, Bi-color Link+Act, Disable VLAN. Enable VLAN. Default
Name Mode
Reserved Disable VLAN
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Disable 802.1Q aware VLAN Disable VLAN member ingress filtering Disable VLAN admit control Byte.bit Description 1=Disable 802.1Q tagged-VID Aware function. 0=Use tagged-VID VLAN mapping tagged frames still PortBased VLAN mapping priority-tagged untagged frame. 1=The switch will drop received frame ingress port this packet included matched VLAN member set. 0=The switch will drop received frame ingress port this packet included matched VLAN member set. 1=The switch accepts frames received. 0=The switch will only accept tagged frames will drop untagged frames. Default
6.1.3.
Global Control Register2
Table Global Control Register2 Byte.bit Description 1=The default DiffServ code point listed below will considered high priority code point DiffServ priority function enabled. "101110" "001010" "010010" "011010" "100010" Network Control "111000" "110000" 0=The default DiffServ code point will considered priority. 2.6~2.0 Default
Name Enable default high priority DiffServ code point Reserved
1111
6.1.4.
Global Control Register3
Table Global Control Register3 Byte.bit Description 3.7~3.5 Used classify priority incoming 802.1Q packets when 802.1p priority classification enabled. "User priority" compared against this value. Classify high priority Classify priority 1=Combine port trunking port, trunking enabled strapping pin, Dis_Trunk. 0=Combine port trunking port, trunking enabled strapping pin, Dis_Trunk. 3.3~3.2 frame service ratio between high priority queue priority queue 11=16:1 10=always high priority queue first 01=8:1 00=4:1 1=The switch will compare both source destination addresses incoming packet against value, address mask [A], classify priority packet. 0=The switch will compare source destination addresses incoming packet against value, address mask [A]. Default
Name 802.1p base priority Trunking port assignment Queue weight
Disable priority address
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Disable priority address Byte.bit Description 1=The switch will compare both source destination addresses incoming packet against value, address mask [B], classify priority packet. 0=The switch will compare source destination addresses incoming packet against value, address mask [B]. Default
6.1.5.
Global Control Register4
Table Global Control Register4 Byte.bit Description 1=If Differential Service Priority enabled, this specifies differential service code point high priority. 0=If Differential Service Priority enabled, this specifies differential service code point priority. 4.5~4.0 Used specify high priority differential service code point example, these bits "000000", incoming packets with field equal "000000" will considered high priority packets. Default
Name Enable Differential Service Code Point Reserved Differential Service Code Point
000000
6.1.6.
Global Control Register5
Table Global Control Register5 Byte.bit Description 1=If Differential Service Priority enabled, this specifies differential service code point high priority. 0=If Differential Service Priority enabled, this specifies differential service code point priority. 5.5~5.0 Used specify high priority differential service code point example, these bits "111111", incoming packets with field equal "000000" will considered high priority packets. Default
Name Enable Differential Service Code Point Reserved Differential Service Code Point
111111
6.1.7.
Global Control Register6
Table Global Control Register6 Byte.bit Description 6.7~6.0 Default 0000 0001
Name Reserved
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.1.8.
Global Control Register7
Table Global Control Register7 Byte.bit Description 1=Enable drop packet when SRAM full pass 0=Disable drop packet when SRAM full pass This will result SRAM out. 1=Disable bypass CRC. This will cause recalculation. 0=Enable bypass CRC. This will cause switch recalculate CRC. Only used debug. 1=90ppm compensation. 0=65ppm compensation. 1=Disable loop detection function. 0=Enable loop detection function. 1=Lookup table accessible indirect access registers. 0=Lookup table accessible. 7.1~7.0 Default
Name Enable drop pass Bypass compensation Disable loop detection Reserved Lookup table accessible enable Reserved
6.2. Port Control Pins
6.2.1. Port Control
Table Port Control Name Reserved Speed Duplex ability Byte.bit Description 8.7~8.6 8.5~ auto negotiation mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Reserved Backpressure enable VLAN insertion removal 8.1~8.0 1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 11=Do insert remove VLAN tags to/from packet. 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. 00=Replace with PVID tagged packets insert PVID non-tagged packets. Default
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.2.
Port Control
Table Port Control Byte.bit Description 9.7~9.6 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification port 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification Port 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. Default
Name Reserved Local loopback Null replacement Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority
6.2.3.
Port Control
Table Port Control Byte.bit Description 10.7~ 10.4 10.3~ link quality threshold value port Link quality higher than this 10.0 value will considered link that operating reliably with good signal-to-noise ratio. Default 1111 1000
Name Reserved Good link quality threshold
6.2.4.
Port Control
Table Port Control Default 1111 0000 0000
Name Reserved
Byte.bit Description 11.7~ 11.4 Transmission 11.3 1=Enable packet transmission port enable 0=Disable packet transmission port Reception 11.2 1=Enable packet reception port enable 0=Disable packet reception port Learning enable 11.1 1=Enable switch address learning capability. 0=Disable switch address learning capability. Reserved 11.0 VLAN Entry VLAN 12.7~ This register along with byte 13.0 forms 9-bit field that specifies which membership 12.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN.
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.5.
Port Control
Table Port Control Default 0000
Name Port VLAN index [3:0]
Byte.bit Description 13.7~ port-based VLAN configuration, this register indexes port `Port 13.4 VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. Reserved 13.3~ 13.1 VLAN 13.0 This register along with byte 12.7~12.0 forms 9-bit field that specifies membership which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN 14.7~ This register along with byte 15.3~15.0 defines IEEE 802.1Q 12-bit [7:0] 14.0 VLAN identifier VLAN VLAN Entry Reserved 15.7~ 15.4 VLAN 15.3~ This register along with byte 14.7~14.0 defines IEEE 802.1Q 12-bit [11:8] 15.0 VLAN identifier VLAN
0000 0000 1111 0000
6.2.6.
Name
Address
Table Address Byte.bit Description 16.7~ 16.0 Address switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Address switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Address switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Address switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Address switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. Default 0xff
Address [16:23]
Address [31:24]
17.7~ 17.0
0xff
Address [7:0]
18.7~ 18.0
0xff
Address [15:8]
19.7~ 19.0
0xff
Address [16:23]
20.7~ 20.0
0xff
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Address [31:24] Byte.bit Description 21.7~ 21.0 Address switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. Address switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. Address switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. Default 0xff
Address [7:0]
22.7~ 22.0
0xff
Address [15:8]
23.7~ 23.0
0xff
6.2.7.
Port Control
Table Port Control Byte.bit Description 24.7~ 24.6 24.5~ auto negotiation mode: 24.4 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Default
Name Reserved Speed Duplex ability
Reserved Backpressure enable VLAN insertion removal
24.3 24.2 24.1~ 24.0
1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 11=Do insert remove VLAN tags to/from packets. 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. 00=Replace with PVID tagged packets insert PVID non-tagged packets.
6.2.8.
Port Control
Table Port Control Byte.bit Description 25.7 ~25.6 25.5 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 25.4 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. Default
Name Reserved Local loopback Null replacement
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority Byte.bit Description 25.3 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 25.2 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 25.1 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 25.0 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. Default
6.2.9.
Port Control
Table Port Control Byte.bit Description 26.7~ 26.4 26.3~ link quality threshold value port Link quality higher than this 26.0 value will considered link that operating reliably with good signal-to-noise ratio. Default 1111 1000
Name Reserved Good link quality threshold
6.2.10. Port Control
Table Port Control Name Reserved Byte.bit Description 27.7~ 27.4 Transmission 27.3 1=Enable packet transmission port enable 0=Disable packet transmission port Reception 27.2 1=Enable packet reception port enable 0=Disable packet reception port Learning enable 27.1 1=Enable switch address learning capability. 0=Disable switch address learning capability Reserved 27.0 VLAN Entry VLAN 28.7~ This register along with byte 29.0 forms 9-bit field that specifies which membership 28.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. Default 1111 0000 0010
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.11. Port Control
Table Port Control Name Port VLAN index [3:0] Byte.bit Description 29.7~ port-based VLAN configuration, this register indexes port `Port 29.4 VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. Reserved 29.3~ 29.1 VLAN 29.0 This register along with byte 28.7~28.0 forms 9-bit field that specifies membership which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN 30.7~ This register along with byte 31.3~31.0 defines IEEE 802.1Q 12-bit [7:0] 30.0 VLAN identifier VLAN VLAN Entry Reserved 31.7~ 31.4 VLAN 31.3~ This register along with byte 30.7~30.0 defines IEEE 802.1Q 12-bit [11:8] 31.0 VLAN identifier VLAN Default 0001
0000 0001 1111 0000
6.2.12. Mask
Table Mask Mask [16:23] Mask [31:24] Mask [7:0] Mask [15:8] Mask [16:23] 32.7~ 32.0 33.7~ 32.0 34.7~ 32.0 35.7~ 32.0 36.7~ 32.0 Mask switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Mask switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Mask switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Mask switch will compare source address incoming packet against value, address mask [A], classify priority packet, priority address enabled. Mask switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. 0xff
0xff
0xff
0xff
0xff
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Mask [31:24] Mask [7:0] Mask [15:8] 37.7~ 32.0 38.7~ 32.0 39.7~ 32.0 Mask switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. Mask switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. Mask switch will compare source address incoming packet against value, address mask [B], classify priority packet, priority address enabled. 0xff
0xff
0xff
6.2.13. Port Control
Table Port Control Name Reserved Speed Duplex ability Byte.bit Description 40.7 ~40.6 40.5~ auto negotiation mode: 40.4 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Reserved Backpressure enable VLAN insertion removal 40.3 40.2 40.1~ 40.0 1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 11=Do insert remove VLAN tags to/from packets. 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. 00=Replace with PVID tagged packets insert PVID nontagged packets. Default
6.2.14. Port Control
Table Port Control Name Reserved Local loopback Null replacement Byte.bit Description 41.7~ 41.6 41.5 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 41.4 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. Default
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Name Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority Byte.bit Description 41.3 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 41.2 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 41.1 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 41.0 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. Default
6.2.15. Port Control
Table Port Control Name Reserved Good link quality threshold Byte.bit Description 42.7~ 42.4 42.3~ link quality threshold value port Link quality higher than this 42.0 value will considered link that operating reliably with good signal-to-noise ratio. Default 1111 1000
6.2.16. Port Control
Table Port Control Name Reserved Byte.bit Description 43.7~ 43.4 Transmission 43.3 1=Enable packet transmission port enable 0=Disable packet transmission port Reception 43.2 1=Enable packet reception port enable 0=Disable packet reception port Learning enable 43.1 1=Enable switch address learning capability. 0=Disable switch address learning capability Reserved 43.0 VLAN Entry VLAN 44.7~ This register along with byte 45.0 forms 9-bit field that specifies which membership 44.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. Default 1111 0000 0100
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.17. Port Control
Table Port Control Name Port VLAN index [3:0] Byte.bit Description 45.7~ port-based VLAN configuration, this register indexes port `Port 45.4 VLAN Membership', which defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. Reserved 45.3~ 45.1 VLAN 45.0 This register along with byte 44.7~44.0 forms 9-bit field that specifies membership which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN 46.7~ This register along with byte 47.3~47.0 defines IEEE 802.1Q 12-bit [7:0] 46.0 VLAN identifier VLAN VLAN Entry Reserved 47.7~ 47.4 VLAN 47.3~ This register along with byte 46.7~46.0 defines IEEE 802.1Q 12-bit [11:8] 47.0 VLAN identifier VLAN Default 0010
0000 0010 1111 0000
6.2.18. Switch Address
Switch address used source address pause control frames.
Table Switch Address Switch Address [47:40] Switch Address [39:32] Switch Address [31:24] Switch Address [23:16] Switch Address [15:8] Switch Address [7:0] 48.7~ 48.0 49.7~ 49.0 50.7~ 50.0 51.7~ 51.0 52.7~ 52.0 53.7~ 53.0 Switch Address Switch Address Byte Switch Address Byte Switch Address Byte Switch Address Byte Switch Address Byte Switch Address Byte 0x52 0x54 0x4C 0x83 0x09 0xB0
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.19. Port Control
Table Port Control Name Reserved Speed Duplex ability Byte.bit Description 54.7~ 54.6 54.5~ auto negotiation mode: 54.4 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Reserved Backpressure enable VLAN insertion removal 54.3 54.2 54.1~ 54.0 1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 11=Do insert remove VLAN tags to/from packets. 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. 00=Replace with PVID tagged packets insert PVID non-tagged packets. Default
6.2.20. Port Control
Table Port Control Name Reserved Local loopback Null replacement Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority Byte.bit Description 55.7~ 55.6 55.5 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 55.4 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 55.3 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 55.2 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 55.1 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 55.0 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. Default
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.21. Port Control
Table Port Control Name Reserved Good link quality threshold Byte.bit Description 56.7~ 56.4 56.3~ link quality threshold value port Link quality higher than this 56.0 value will considered link that operating reliably with good signal-to-noise ratio. Default 1111 1000
6.2.22. Port Control
Table Port Control Name Reserved Byte.bit Description 57.7~ 57.4 Transmission 57.3 1=Enable packet transmission port enable 0=Disable packet transmission port Reception 57.2 1=Enable packet reception port enable 0=Disable packet reception port Learning enable 57.1 1=Enable switch address learning capability. 0=Disable switch address learning capability Reserved 57.0 VLAN Entry VLAN 58.7~ This register along with byte 59.0 forms 9-bit field that specifies which membership 58.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. Default 1111 0000 1000
6.2.23. Port Control
Table Port Control Name Port VLAN index [3:0] Byte.bit Description 59.7~ port-based VLAN configuration, this register indexes port `Port 59.4 VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. Reserved 59.3~ 59.1 VLAN 59.0 This register along with byte 58.7~58.0 forms 9-bit field that specifies membership which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN 60.7~ This register along with byte 61.3~61.0 defines IEEE 802.1Q 12-bit [7:0] 60.0 VLAN identifier VLAN Default 0011
0000 0011
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
VLAN Entry Reserved VLAN [11:8] 61.7~ 61.4 61.3~ 61.0 1111 This register along with byte 60.7~60.0 defines IEEE 802.1Q 12-bit VLAN identifier VLAN 0000
6.2.24. Address
address used source address address translation.
Table Address Name Address [47:40] Address [39:32] Address [31:24] Address [23:16] Address [15:8] Address [7:0] Byte.bit 62.7~62.0 63.7~63.0 64.7~64.0 65.7~65.0 66.7~66.0 67.7~67.0 Description address byte address byte address byte address byte address byte address byte Default 0xff 0xff 0xff 0xff 0xff 0xff
6.2.25. Port Control
Table Port Control Name Reserved Speed Duplex ability Byte.bit Description 68.7~ 68.6 68.5~ auto negotiation mode: 68.4 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Reserved Backpressure enable VLAN insertion removal 68.3 68.2 68.1~ 68.0 1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 11=Do insert remove VLAN tags to/from packet. 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. 00=Replace with PVID tagged packets insert PVID non-tagged packets. Default
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.26. Port Control
Table Port Control Name Reserved Local loopback Null replacement Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority Byte.bit Description 69.7~ 68,6 69.5 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 69.4 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 69.3 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 69.2 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 69.1 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 69.0 1=Disable port priority function. 0=Enable port priority function. Ingress packets port will classified high priority. Default
6.2.27. Port Control
Table Port Control Name Reserved Good link quality threshold Byte.bit Description 70.7~ 70.4 70.3~ link quality threshold value port Link quality higher than this 70.0 value will considered link that operating reliably with good signal-to-noise ratio. Default 1111 1000
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.2.28. Port Control
Table Port Control Name Reserved Byte.bit Description 71.7~ 71.4 Transmission 71.3 1=Enable packet transmission port enable 0=Disable packet transmission port Reception 71.2 1=Enable packet reception port enable 0=Disable packet reception port Learning enable 71.1 1=Enable switch address learning capability. 0=Disable switch address learning capability Reserved 71.0 VLAN Entry VLAN 72.7~ This register along with byte 73.0 forms 9-bit field that specifies which membership 72.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. Default 1111 0001 0000
6.2.29. Port Control
Table Port Control Name Port VLAN index [3:0] Byte.bit Description 73.7~ port-based VLAN configuration, this register indexes port `Port 73.4 VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. Reserved 73.3~ 73.1 VLAN 73.0 This register along with byte 72.7~72.0 forms 9-bit field that specifies membership which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN 74.7~ This register along with byte 75.3~75.0 defines IEEE 802.1Q 12-bit [7:0] 74.0 VLAN identifier VLAN VLAN Entry Reserved 75.7~ 75.4 VLAN 75.3~ This register along with byte 74.7~74.0 defines IEEE 802.1Q 12-bit [11:8] 75.0 VLAN identifier VLAN Default 0100
0000 0100 1111 0000
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.3. Port Control Pins
6.3.1. Port Control
Table Port Control Name Reserved VLAN insertion removal Byte.bit Description 76.7~ 76.2 76.1~ 11=Do insert remove VLAN tags to/from packets. 76.0 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. 00=Replace with PVID tagged packets insert PVID non-tagged packets. Default 1111
6.3.2.
Port Control
Table Port Control Default
Name Byte.bit Description Transmission 77.7 1=Enable packet transmission interface. enable 0=Disable packet transmission interface. Reception 77.6 1=Enable packet reception interface. enable 0=Disable packet reception interface. Learning enable 77.5 1=Enable switch address learning capability. 0=Disable switch address learning capability Enable 77.4 1=Enable local loop back function. switch will only forward local loopback broadcast packets from input output drop unicast packets from input other ports still forward packets port. 0=Disable local loop back function. Disable 802.1p 77.3 1=Disable 802.1p priority classification ingress packets port. priority 0=Enable 802.1p priority classification. Disable 77.2 1=Disable Diffserv priority classification ingress packets port. Diffserv 0=Enable Diffserv priority classification. priority Disable port77.1 1=Disable port priority function. based priority 0=Enable port priority function. Ingress packets from port will classified high priority. Reserved 77.0 VLAN Entry VLAN 78.7~ This register along with byte 79.0 forms 9-bit field that specifies which membership 78.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN.
1111 1111
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.3.3.
Port Control
Table Port Control Default
Name Null replacement Discard PVID packets
Byte.bit Description 79.7 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 79.6 1=If received packets tagged, switch will discard packets whose does match ingress port default VID, which indexed port "Port based VLAN index". 0=No packets will dropped. Reserved 79.5 Port VLAN 79.4~ port-based VLAN configuration, this register indexes port `Port index [3:0] 79.1 VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. VLAN 79.0 This register along with byte 78.7~78.0 forms 9-bit field that specifies membership which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN 80.7~ This register along with byte 81.3~81.0 defines IEEE 802.1Q 12-bit [7:0] 80.0 VLAN identifier VLAN VLAN Entry Reserved 81.7~ 81.4 VLAN 81.3~ This register along with byte 80.7~80.0 defines IEEE 802.1Q 12-bit [11:8] 81.0 VLAN identifier VLAN
0000
0000 1000 1111 0000
6.3.4.
Port Port
Table Port Port Byte.bit Description 82.7~ Specifies port RTL8309SB 82.4 1111~1000=MII port port 0111=Port Port 0110=Port port 0101=Port Port 0100=Port port 0011=Port Port 0010=Port port 0001=Port Port 0000=Port port 82.3~ Specifies port RTL8309SB 82.0 1111~1000=MII port port 0111=Port Port 0110=Port port 0101=Port Port 0100=Port port 0011=Port Port 0010=Port port 0001=Port Port 0000=Port port Default 0111
Name Port
Port
0000
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.4. Port Control Pins
6.4.1. Port Control
Table Port Control Name Reserved Speed Duplex ability Byte.bit Description 83.7~ 83.6 83.5~ auto negotiation mode: 83.4 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 83.3 83.2 1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 83.1~ 11=Do insert remove VLAN tags to/from packet. 83.0 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. Replace with PVID tagged packets insert PVID non-tagged packets. Default
Reserved Backpressure enable VLAN insertion removal
6.4.2.
Port Control
Table Port Control Byte.bit Description 84.7~ 84.6 84.5 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 84.4 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 84.3 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 84.2 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 84.1 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 84.0 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. Default
Name Reserved Local loopback Null replacement Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.4.3.
Port Control
Table Port Control Byte.bit Description 85.7~ 85.4 85.3~ link quality threshold value port Link quality higher than this 85.0 value will considered link that operating reliably with good signal-to-noise ratio. Default 1111 1000
Name Reserved Good link quality threshold
6.4.4.
Port Control
Table Port Control Default 1111 0010 0000
Name Reserved
Byte.bit Description 86.7~ 86.4 Transmission 86.3 1=Enable packet transmission port enable 0=Disable packet transmission port Reception 86.2 1=Enable packet reception port enable 0=Disable packet reception port Learning enable 86.1 1=Enable switch address learning capability. 0=Disable switch address learning capability Reserved 86.0 VLAN Entry VLAN 87.7~ This register along with byte 88.0 forms 9-bit field that specifies which membership 87.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN.
6.4.5.
Port Control
Table Port Control
Name Port VLAN index [3:0]
Byte.bit Description Default 88.7~88.4 port-based VLAN configuration, this register indexes port 0101 `Port VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. Reserved 88.3~88.1 VLAN 88.0 This register along with byte 87.7~87.0 forms 9-bit field that membership specifies which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN [7:0] 89.7~89.0 This register along with byte 90.3~90.0 defines IEEE 802.1Q 120000 VLAN identifier VLAN 0101 Track JATR-1076-21 Rev.
Single-chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
Name Reserved VLAN [11:8] Byte.bit 90.7~90.4 90.3~90.0 Description VLAN Entry This register along with byte 89.7~89.0 defines IEEE 802.1Q 12bit VLAN identifier VLAN 1111 0000 Default
6.4.6.
Port Control
Table Port Control Byte.bit Description 91.7~91.6 91.5~91.4 auto negotiation mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Default
Name Reserved Speed Duplex ability
Reserved Backpressure enable VLAN insertion removal
91.3 91.2 91.1~91.0
1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 11=Do insert remove VLAN tags to/from packet. 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. Replace with PVID tagged packets insert PVID non-tagged packets.
6.4.7.
Port Control
Table Port Control Byte.bit Description 92.7~92.6 92.5 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 92.4 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 92.3 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 92.2 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 92.1 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 92.0 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. Default
Name Reserved Local loopback Null replacement Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.4.8.
Port Control
Table Port Control Byte.bit Description Default 93.7~93.4 1111 93.3~93.0 link quality threshold value port Link quality higher than this 1000 value will considered link that operating reliably with good signal-to-noise ratio.
Name Reserved Good link quality threshold
6.4.9.
Port Control
Table Port Control Byte.bit Description 94.7~94.4 94.3 1=Enable packet transmission port 0=Disable packet transmission port 94.2 1=Enable packet reception port 0=Disable packet reception port 94.1 1=Enable switch address learning capability. 0=Disable switch address learning capability 94.0 VLAN Entry 95.7~95.0 This register along with byte 96.0 forms 9-bit field that specifies which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. Default 1111 0100 0000
Name Reserved Transmission enable Reception enable Learning enable Reserved VLAN membership [7:0]
6.4.10. Port Control
Table Port Control Name Port VLAN index [3:0] Byte.bit 96.7~96.4 Description Default port-based VLAN configuration, this register indexes port 0110 `Port VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. This register along with byte 95.7~95.0 forms 9-bit field that specifies which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry This register along with byte 98.3~98.0 defines IEEE 802.1Q 0000 VLAN identifier VLAN 0110 VLAN Entry 1111 This register along with byte 97.7~97.0 defines IEEE 802.1Q 0000 VLAN identifier VLAN Track JATR-1076-21 Rev.
Reserved VLAN membership
96.3~96.1 96.0
VLAN [7:0] Reserved VLAN [11:8]
97.7~97.0
98.7~98.4 98.3~98.0
Single-chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
6.4.11. Port Control
Table Port Control Name Reserved Speed Duplex ability Byte.bit Description 99.7~99.6 99.5~99.4 auto negotiation mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=1, 4.6=1, 4.5=1 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=1, 4.5=1 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=1 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Force mode: 11=MII Reg0.13=1, 0.8=1, 4.8=1, 4.7=0, 4.6=0, 4.5=0 10=MII Reg0.13=1, 0.8=0, 4.8=0, 4.7=1, 4.6=0, 4.5=0 01=MII Reg0.13=0, 0.8=1, 4.8=0, 4.7=0, 4.6=1, 4.5=0 00=MII Reg0.13=0, 0.8=0, 4.8=0, 4.7=0, 4.6=0, 4.5=1 Reserved Backpressure enable VLAN insertion removal 99.3 99.2 99.1~99.0 1=Enable port half duplex backpressure. 0=Disable port half duplex backpressure. 11=Do insert remove VLAN tags to/from packet. 10=Insert PVID non-tagged packets. 01=Remove from tagged packets. Replace with PVID tagged packets insert PVID non-tagged packets. Default
6.4.12. Port Control
Table Port Control Name Reserved Local loopback Null replacement Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable port-based priority Byte.bit Description 100.7~100.6 100.5 1=Perform "local loopback", i.e. loop back MAC's back 0=Normal operation. 100.4 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 100.3 1=If received packets tagged, switch will discard packets whose does match ingress port's PVID. 0=No packets will dropped. 100.2 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 100.1 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 100.0 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. Default
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
6.4.13. Port Control
Table Port Control Name Reserved Good link quality threshold Byte.bit Description 101.7~ 101.4 101.3~ link quality threshold value port Link quality higher than this 101.0 value will considered link that operating reliably with good signal-to-noise ratio. Default 1111 1000
6.4.14. Port Control
Table Port Control Name Reserved Byte.bit Description 102.7~ 102.4 Transmission 102.3 1=Enable packet transmission port enable 0=Disable packet transmission port Reception 102.2 1=Enable packet reception port enable 0=Disable packet reception port Learning enable 102.1 1=Enable switch address learning capability. 0=Disable switch address learning capability Reserved 102.0 VLAN Entry VLAN 103.7~ This register along with byte 104.0 forms 9-bit field that specifies which membership 103.0 ports members VLAN. destination address look fails, [7:0] packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. Default 1111 1000 0000
6.4.15. Port Control
Table Port Control Name Port VLAN index [3:0] Byte.bit Description 104.7~ port-based VLAN configuration, this register indexes port `Port 104.4 VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. Reserved 104.3~ 104.1 VLAN 104.0 This register along with byte 103.7~103.0 forms 9-bit field that specifies membership which ports members VLAN. destination address look fails, packets associated with this VLAN will forwarded ports specified this field. E.g. 0000 0001 means port this VLAN. VLAN Entry VLAN 105.7~ This register along with byte 106.3~106.0 defines IEEE 802.1Q 12-bit [7:0] 105.0 VLAN identifier VLAN VLAN Entry Reserved 106.7~ 106.4 VLAN 106.3~ This register along with byte 105.7~105.0 defines IEEE 802.1Q 12-bit [11:8] 106.0 VLAN identifier VLAN Default 0111
0000 0111 1111 0000
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Registers Description
"Type" codes used following tables: `RO' stands Read Only; `RW' stands Read/Write, `LL' stands Latch until clear; `LH' stands Latch High until clear, `SC' stands Self Clearing.
7.1. Registers
7.1.1. Register Control
Table Register Control Reg.bit Name 0.15 Reset 0.14 Loopback (digital loopback) 0.13 Speed Select Mode RW/SC Description 1=PHY reset. This self-clearing. 1=Enable loopback. This will loopback ignore activity cable media. 0=Normal operation. 1=100Mbps 0=10Mbps When NWay enabled, this reflects result autonegotiation (Read only). When NWay disabled, this strap option `Force_Speed' configured through SMI. (Read/Write) 1=Enable auto-negotiation process. 0=Disable auto-negotiation process. This through (Read/Write). 1=Power down. functions will disabled except function. 0=Normal operation. 1=Electrically isolates from RMII/SMII. still able respond MDC/MDIO. 0=Normal operation. 1=Restart Auto-Negotiation process. 0=Normal operation. 1=Full duplex operation. 0=Half duplex operation. When NWay enabled, this reflects result autonegotiation (Read only). When NWay disabled, this strap option `Force_Duplex' configured through SMI. (Read/Write). Default
0.12 0.11 0.10
Auto Negotiation Enable Power Down Isolate Restart Auto Negotiation Duplex Mode
RW/SC
En_ANEG strap option
0.[7:0]
Reserved
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.2.
Register Status
Table Register Status Mode RTL8309SB will accept management frames with preamble suppressed. (The RTL8309SB accepts management frames without preamble. minimum preamble bits required first read/write transaction after reset. idle required between management transactions defined IEEE 802.3u specifications). 1=Auto-negotiation process completed. Reg.4, valid this set. 0=Auto-negotiation process completed. 1=Remote fault condition detected. 0=No remote fault. 1=NWay auto-negotiation capable (permanently 1=Link established. link fails, this will until after reading this again. 0=Link failed. 1=Jabber detect enabled. 0=Jabber detect disabled. jabber function disabled 100Base-TX operation. Jabber occurs when predefined excessively long packet detected 10Base-T. When duration TXEN exceeds jabber timer (21ms), transmission loopback function disabled starts blinking. After TXEN goes more than transmitter will re-enabled will stop blinking. Jabber detect supported only 10Base-T operation. 1=Extended register capable. (permanently Description 0=No 100Base-T4 capability. 1=100Base-TX full duplex capable. 0=Not 100Base-TX full duplex capable. 1=100Base-TX half duplex capable. 0=Not 100Base-TX half duplex capable. 1=10Base-TX full duplex capable. 0=Not 10Base-TX full duplex capable. 1=10Base-TX half duplex capable. 0=Not 10Base-TX half duplex capable. Default
Reg.bit Name 1.15 100Base_T4 1.14 100Base_TX_FD 1.13 1.12 1.11 1.[10: 100Base_TX_HD 10Base_T_FD 10Base_T_HD Reserved Preamble Suppression
Auto-negotiate Complete Remote Fault Auto-Negotiation Ability Link Status Jabber Detect
RO/LH RO/LL RO/LH
Extended Capability
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.3.
Register Identifier
Table Register Identifier Mode Description Composed 18th bits Organizationally Unique Identifier (OUI), respectively. Default 0x001C
Reg.bit Name 2.[15:
7.1.4.
Register Identifier
Table Register Identifier Mode Description Assigned 19th through 24th bits OUI. Manufacturer's model number Manufacturer's revision number Default 110010 001000 0001
Reg.bit Name 3.[15:10] 3.[9:4] Model Number 3.[3:0] Revision Number
7.1.5.
Register Auto-Negotiation Advertisement
Note: time when link ability RTL8309SB reconfigured, auto-negotiation process should executed again allow configuration take effect. Table Register Auto-Negotiation Advertisement Reg.bit 4.15 4.14 4.13 4.[12:11] 4.10 4.[4:0] Name Next Page Acknowledge Remote Fault Reserved Pause 100Base-T4 100Base-TX-FD 100Base-TX 10Base-T-FD 10Base-T Selector Field Mode Description 0=Next Page disabled (Permanently =0). Permanently 1=Advertises that RTL8309SB detected remote fault. 0=No remote fault detected. 1=Advertises that RTL8309SB possesses 802.3x flow control capability. 0=No flow control capability. Technology supported. (Permanently 1=100Base-TX full duplex capable. 0=Not 100Base-TX full duplex capable. 1=100Base-TX half duplex capable. 0=Not 100Base-TX half duplex capable. 1=10Base-TX full duplex capable. 0=Not 10Base-TX full duplex capable. 1=10Base-TX half duplex capable. 0=Not 10Base-TX half duplex capable. [00001]=IEEE 802.3 Default En_FCTRL strap option 00001
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.6.
Reg.bit 5.15 5.14 5.13
Register Auto-Negotiation Link Partner Ability
Table Register Auto-Negotiation Link Partner Ability Name Next Page Acknowledge Remote Fault Reserved Pause 100Base-T4 100Base-TX-FD Mode Description 1=Link partner desires Next Page transfer. 0=Link partner does desire Next Page transfer. 1=Link Partner acknowledges reception Fast Link Pulse (FLP) words. 0=Not acknowledged Link Partner. 1=Remote Fault indicated Link Partner. 0=No remote fault indicated Link Partner. 1=Flow control supported Link Partner. Flow control supported Link Partner. 1=100Base-T4 supported Link Partner. 0=100Base-T4 supported Link Partner. 1=100Base-TX full duplex supported Link Partner. 0=100Base-TX full duplex supported Link Partner. Note: auto negotiation disabled this set, Reg0.13 Reg0.8 will after link established. 1=100Base-TX half duplex supported Link Partner. 0=100Base-TX half duplex supported Link Partner. Note: auto negotiation disabled this set, Reg0.13 will Reg0.8 will after link established. 1=10Base-TX full duplex supported Link Partner. 0=10Base-TX full duplex supported Link Partner. Note: auto negotiation disabled this set, Reg0.13 will Reg0.8 will after link established. 1=10Base-TX half duplex supported Link Partner. 0=10Base-TX half duplex supported Link Partner. Note: auto negotiation disabled this set, Reg0.13 Reg0.8 will after link established. [00001]=IEEE802.3 Default
5.[12:11] 5.10
100Base-TX
10Base-T-FD
10Base-T
5.[4:0]
Selector Field
00001
7.1.7.
Register Auto-Negotiation Expansion
Table Register Auto-Negotiation Expansion Name Reserved Parallel Detection Fault Link Partner Next Page Able Local Next Page Able Page Received Mode Description fault been detected Parallel Detection function. fault been detected Parallel Detection function. Link Partner Next Page able (permanently=0). RTL8309SB Next Page able. RTL8309SB Next Page able. Page been received. Page been received. Default
Reg.bit 6.[15:5]
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Reg.bit Name Link Partner AutoNegotiation Able Mode Description NWay enabled, this means: Link Partner Auto-Negotiation able. Link Partner Auto-Negotiation able. Default (NWay) (Force)
7.1.8.
Register Global Control
Table Register Global Control Mode Description Mode Speed, Duplex+Collision, Link+Act, Mode Activity, Speed, Link, Mode Speed, Duplex, Link+Act, Mode Collision, Duplex, Link+Act+Speed, Mode SQI, Duplex+Collision, Link+Act+Speed,10/100 Mode RxAct+10/100, TxAct+10/100, Link, Mode Duplex+Collision, 10Link+Act, 100Link+Act, Mode Duplex+Collision, Bi-color Speed, Bi-color Link+Act, Soft reset. This self-clearing. this RTL8309SB will reset registers except registers will load configurations from EEPROM strapping pins. Software reset designed provide convenient users change configuration SMI. After changing register values RTL8309SB (except registers) SMI, external device must execute soft reset order update configuration setting this 1=Disable VLAN. 0=Enable VLAN. default VLAN membership configuration internal register port overlapped with other ports, including port, form individual VLANs. This default membership configuration modified setting internal registers interface EEPROM. 1=Disable 802.1Q tagged-VID Aware function. RTL8309SB will check tagged received frames perform tagged-VID VLAN mapping. Under this configuration, RTL8309SB only uses port VLAN index register perform Port-Based VLAN mapping. 0=Enable Member Filtering function VLAN Ingress Rule. RTL8309SB checks tagged received frames with VIDA[11:0]~VIDH[11:0] index member set, then performs VLAN mapping. RTL8309SB uses tagged-VID VLAN mapping tagged frames still uses Port-Based VLAN mapping priority-tagged untagged frames. Default
Reg.bit Name 16.[15:13] Mode
16.12
Software Reset
16.11
Disable VLAN
16.10
Disable 802.1Q aware VLAN
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
Reg.bit Name 16.9 Disable VLAN member ingress filtering Mode Description 1=The switch will drop received frame ingress port this packet included matched VLAN member set. will still forward packet VLAN members specified matched member set. This setting both works port-based tag-based VLAN configurations. 0=The switch will drop received frame ingress port this packet included matched VLAN member set. 1=The switch accepts frames receives whether tagged untagged. 0=The switch will only accept tagged frames will drop untagged frames. 1=EEPROM does exist. (pin EnEEPROM=0 EnEEPROM=1 EEPROM does exist) 0=EEPROM exists (pin EnEEPROM=1 EEPROM exists) 1=Filter packets normal operation. 0=Switch packets including ones. This intended debugging purposes only. 1=Determines when invoke flow control based autonegotiation results. 0=Will enable transmit flow control matter what auto-negotiation result 1=When RTL8309SB receives pause control frame, ability stop next transmission normal frame until timer expired based auto negotiation result. 0=Will receive flow control matter what autonegotiation result 1=Broadcast input drop selected. 0=Broadcast output drop selected. 1=Enable aging function. 0=Disable aging function. addresses learned lookup table will aged out. table full, last entry table will deleted make room entry. 1=Enable fast aging function. entry learned lookup table will aged updated within 800µs period. 0=Disable fast aging function. 1=Enable Address Translation function. 0=Disable Address Translation function Default
16.8
Disable VLAN admit control EEPROM existence Accept Error disable IEEE 802.3x transmit flow control enable IEEE 802.3x receive flow control enable Broadcast input output drop Aging enable
16.7 16.6 16.5
16.4
16.3 16.2
16.1
Fast aging enable
16.0
Enable Address Translation
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.9.
Register Global Control
Table Register Global Control Mode Description Classifies priority incoming 802.1Q packets, 802.1p priority classification enabled. "User priority" compared against this value. Classify high priority Classify priority 1=Combine port trunking port, trunking enabled strapping `Dis_Trunk'. 0=Combine port trunking port, trunking enabled strapping `Dis_Trunk'. frame service ratio between high priority queue priority queue 11=16:1 10=always high priority queue first 01=8:1 00=4:1 1=Compare both source destination address incoming packets against value, address mask [A], classify packet priority. 0=Do compare source destination address incoming packets against value address mask [A]'. Compare both source destination address incoming packet against value, address mask [B], classify packet priority. 0=Do compare source destination address incoming packets against value address mask [B]' 1=The default DiffServ code point listed below will considered high priority code point DiffServ priority function enabled. "101110" "001010" "010010" "011010" "100010" Network Control "111000" "110000" 0=The default DiffServ code point will considered priority. Default
Reg.bit Name 17.[15:13] 802.1p base priority
17.12
Trunking port assignment
17.[11:10] Queue weight
17.9
Disable priority address
17.8
Disable priority address
17.7
Enable default high priority DiffServ code point
17.[6:0]
Reserved
1111111
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.10. Register Global Control
Table Register Global Control Reg.bit Name 18.15 Enable differential service code point 18.14 Reserved 18.[13:8] Differential service code point 18.7 Enable differential service code point Reserved Differential service code point Mode Description 1=If differential service priority enabled, this specifies differential service code point high priority. 0=If differential service priority enabled, this specifies difference service code point priority. Used specify high priority differential service code point example, these bits "111111", incoming packets with field equal "111111" will considered high priority packets. 1=If differential service priority enabled, this specifies difference service code point high priority. 0=If differential service priority enabled, this specifies difference service code point priority. Used specify high priority differential service code point example, these bits "000000", incoming packets with field equal "000000" will considered high priority packets. Default
111111
18.6 18.[5:0]
000000
7.1.11. Register Global Control
Table Register Global Control Reg.bit Name 19.15 Enable drop pass 19.14 19.13 19.12 19.11 19.10 19.[9:0] Reserved compensation Disable loop detection Reserved Lookup table accessible enable Reserved Mode Description 1=Enable drop packet after SRAM full pass 0=Disable drop packet after SRAM full pass This will result SRAM out. 1=90ppm (InterPacketGap) compensation. 0=65ppm (InterPacketGap) compensation. 1=Disable loop detection function. 0=Enable loop detection function. 1=Lookup table accessible indirect access registers. 0=Lookup table accessible. Default 1111 1111
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.12. Register Port Control
Table Register Port Control Reg.bit Name 22.[15:14] Reserved 22.13 Local loopback 22.12 22.11 Null replacement Discard PVID packets Disable 802.1p priority Disable Diffserv priority Disable portbased priority Reserved VLAN insertion removal Mode Description 1=Perform "local loopback", i.e. loop MAC's back 0=Normal operation. 1=The switch will replace NULL with port bits). 0=No replacement NULL VID. 1=If received packets tagged, switch will discard packets whose does match ingress port default VID, which indexed port "Port based VLAN index". 0=No packets will dropped. 1=Disable 802.1p priority classification ingress packets port 0=Enable 802.1p priority classification. 1=Disable Diffserv priority classification ingress packets port 0=Enable Diffserv priority classification. 1=Disable port priority function. 0=Enable port priority function. Ingress packets from port will classified high priority. 11=Do insert remove VLAN tags to/from packets sent from this port. 10=The switch will VLAN tags packets, they tagged when these packets send from this port. switch will tags packets already tagged. inserted ingress port's "Default tag", which indexed port "Port based VLAN index". 01=The switch will remove VLAN tags from packets, they tagged when these packets send from port switch will modify packets received without tags. 00=The switch will remove VLAN tags from packets then tags them. inserted ingress port's "Default tag", which indexed port "Port based VLAN index". This replacement processing tagged packets insertion untagged packets. Default
22.10
Dis_VLAN_Pri
22.9
22.8
22.[7:2] 22[1:0]
strap option Default Dis_DS_Pri strap option Default Sel_Port_Pri strap option Default 1111111
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.13. Register Port Control
Table Register Port Control Reg.bit Name 23.[15:12] Reserved 23.11 Transmission enable 23.10 Reception enable 23.9 23.8 23[7:4] Learning enable Loop status Link quality Mode Description 1=Enable packet transmission port 0=Disable packet transmission port 1=Enable packet reception port 0=Disable packet reception port 1=Enable switch address learning capability. 0=Disable switch address learning capability loop been detected port 0=No loop exists port 4-bit field indicating link quality receive twisted-pair fiber link. 0000: Highest link quality. 1111: Lowest link quality. link quality threshold value port Link quality higher than this value will considered link that operating reliably with good signal-to-noise ratio. Default 1111
23[3:0]
Good link quality threshold
1000
7.1.14. Register Port Control &VLAN Entry
Table Register Port Control &VLAN Entry Reg.bit Name 24[15:12] Port VLAN index [3:0] Mode Description port-based VLAN configuration, this register indexes port `Port VLAN Membership', which could defined registers `VLAN Membership' "VLAN Membership". Port only communicate within membership. This register also indexes default Port (PVID) each port. PVID used insertion filtering tagged same PVID. This 9-bit field specifies which ports members VLAN destination address look fails, packet associated with this VLAN will broadcast ports specified this field. stands port stands port E.g. 0000 0001 means port this VLAN. Default 0000
24.[11~9] Reserved 24.[8:0] VLAN Membership [8:0]
0000 0001
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.1.15. Register VLAN Entry
Table Register VLAN Entry Reg.bit Name 25.[15:12] Reserved 25[11:0] VLAN Mode Description Defines IEEE 802.1Q 12-bit VLAN identifier VLAN Default 1111 0000 0000 0000
7.2. Registers
7.2.1. Register Control
This register same definition Register Control, page
7.2.2.
Register Status
This register same definition Register Status, page
7.2.3.
Register Identifier
This register same definition Register Identifier page
7.2.4.
Register Identifier
This register same definition Register Identifier page
7.2.5.
Register Auto-Negotiation Advertisement
This register same definition Register Auto-Negotiation Advertisement, page
7.2.6.
Register Auto-Negotiation Link Partner Ability
This register same definition Register Auto-Negotiation Link Partner Ability, page
7.2.7.
Register Auto-Negotiation Expansion
Track JATR-1076-21 Rev.
This register same definition Register Auto-Negotiation Expansion, page Single-chip 9-port 10/100Mbps Switch Controller
RTL8309SB Datasheet
7.2.8.
Register 16~17: Priority Address
Table Register 16~17: Priority Address Mode Description switch will compare both source destination addresses incoming packet against value, address mask [A], classify priority packet, priority address enabled. switch will both compare source destination addresses incoming packet against value, address mask [A], classify priority packet, priority address enabled. Default 0xFFFF
Reg.bit Name Address [31:16] Address [15:0]
0xFFFF
7.2.9.
Register 18~19: Priority Address
Table Register 18~19: Priority Address Mode Description switch will compare both source destination addresses incoming packet against value, address mask [B], classify priority packet, priority address enabled. switch will compare both source destination addresses incoming packet against value, address mask [B], classify priority packet, priority address enabled. Default 0xFFFF
Reg.bit Name Address [31:16] Address [15:0]
0xFFFF
7.2.10. Register Port Control
This register same definition Register Port Control page Note: 22.8 Sel_PortPri strap option port Default value 22.8
7.2.11. Register Port Control
This register same definition Register Port Control page
Single-chip 9-port 10/100Mbps Switch Controller
Track JATR-1076-21 Rev.
RTL8309SB Datasheet
7.2.12. Register Port Control VLAN Entry
Table Register Port Control VLAN Entry Reg.bit Name 24[15~12] Port VLAN index [3:0] Mode Description port-based VLAN configuration, t

Other recent searches


vvvvv350 - vvvvv350   vvvvv350 Datasheet
PRH110-A - PRH110-A   PRH110-A Datasheet
MRF8S9100H - MRF8S9100H   MRF8S9100H Datasheet
FSH04A04 - FSH04A04   FSH04A04 Datasheet
AND8002 - AND8002   AND8002 Datasheet
AND8003 - AND8003   AND8003 Datasheet
AK68512D - AK68512D   AK68512D Datasheet
1607090000 - 1607090000   1607090000 Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive