Professional Documents
Culture Documents
Realtek Semicon RTL8370N VB CG - C2803243
Realtek Semicon RTL8370N VB CG - C2803243
DRAFT DATASHEET
(CONFIDENTIAL: Development Partners Only)
Rev. 0.3
4 August 2015
Track ID: JATR-xxxx-xx
DISCLAIMER
Realtek provides this document “as is”, without warranty of any kind. Realtek may make improvements
and/or changes in this document or in the product described in this document at any time. This document
could include technical inaccuracies or typographical errors.
TRADEMARKS
Realtek is a trademark of Realtek Semiconductor Corporation. Other names mentioned in this document
are trademarks/registered trademarks of their respective owners.
REVISION HISTORY
Revision Release Date Summary
0.1 2013/8/20 First release.
0.2 2014/9/15 Revise some description and error.
0.3 2015/8/4 Revise some description and error.
Delete chapter Register Description.
Add chapter 7.4 Serial Mode LED Pins, 10.4 SPI FLASH Interface, 11.5.4 Serial Shift
Mode LED Interface Timing Characteristics, and 11.5.5 SPI FLASH Interface Timing
Characteristics.
Layer 2 Managed 8-port 10/100/1000 Switch Controllers i Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Table of Contents
1. GENERAL DESCRIPTION .............................................................................................................................................. 1
2. FEATURES ......................................................................................................................................................................... 3
3. SYSTEM APPLICATIONS ............................................................................................................................................... 4
4. APPLICATION EXAMPLES ........................................................................................................................................... 4
4.1. 8-PORT 1000BASE-T SWITCH ...................................................................................................................................... 4
5. BLOCK DIAGRAM ........................................................................................................................................................... 5
6. PIN ASSIGNMENTS ......................................................................................................................................................... 6
6.1. PIN ASSIGNMENTS ....................................................................................................................................................... 6
6.2. PACKAGE IDENTIFICATION ........................................................................................................................................... 7
6.3. PIN ASSIGNMENT TABLE .............................................................................................................................................. 7
7. PIN DESCRIPTIONS ...................................................................................................................................................... 10
7.1. MEDIA DEPENDENT INTERFACE PINS ......................................................................................................................... 10
7.2. PARALLEL LED PINS ................................................................................................................................................. 11
7.3. SCAN MODE LED PINS .............................................................................................................................................. 13
7.4. SERIAL MODE LED PINS............................................................................................................................................ 14
7.5. SPI FLASH PINS ......................................................................................................................................................... 14
7.6. CONFIGURATION STRAPPING PINS ............................................................................................................................. 14
7.7. CONFIGURATION STRAPPING PINS (STRP_DISAUTOLOAD, STRP_DIS_8051, STRP_EN_FLASH) ................... 16
7.8. MISCELLANEOUS PINS ............................................................................................................................................... 17
7.9. TEST PINS .................................................................................................................................................................. 17
7.10. POWER AND GND PINS .............................................................................................................................................. 17
8. PHYSICAL LAYER FUNCTIONAL OVERVIEW...................................................................................................... 19
8.1. MDI INTERFACE ........................................................................................................................................................ 19
8.2. 1000BASE-T TRANSMIT FUNCTION ........................................................................................................................... 19
8.3. 1000BASE-T RECEIVE FUNCTION .............................................................................................................................. 19
8.4. 100BASE-TX TRANSMIT FUNCTION........................................................................................................................... 19
8.5. 100BASE-TX RECEIVE FUNCTION ............................................................................................................................. 20
8.6. 10BASE-T TRANSMIT FUNCTION ............................................................................................................................... 20
8.7. 10BASE-T RECEIVE FUNCTION .................................................................................................................................. 20
8.8. AUTO-NEGOTIATION FOR UTP .................................................................................................................................. 20
8.9. CROSSOVER DETECTION AND AUTO CORRECTION ..................................................................................................... 20
8.10. POLARITY CORRECTION ............................................................................................................................................. 21
9. GENERAL FUNCTION DESCRIPTION ...................................................................................................................... 22
9.1. RESET ........................................................................................................................................................................ 22
9.1.1. Hardware Reset .................................................................................................................................................... 22
9.1.2. Software Reset ...................................................................................................................................................... 22
9.2. IEEE 802.3X FULL DUPLEX FLOW CONTROL ............................................................................................................ 22
9.3. HALF DUPLEX FLOW CONTROL ................................................................................................................................. 22
9.3.1. Back-Pressure Mode ............................................................................................................................................ 23
9.4. SEARCH AND LEARNING ............................................................................................................................................ 23
9.5. SVL AND IVL/SVL ................................................................................................................................................... 24
9.6. ILLEGAL FRAME FILTERING ....................................................................................................................................... 24
9.7. IEEE 802.3 RESERVED GROUP ADDRESSES FILTERING CONTROL ............................................................................. 24
9.8. BROADCAST/MULTICAST/UNKNOWN DA STORM CONTROL ..................................................................................... 25
9.9. PORT SECURITY FUNCTION ........................................................................................................................................ 25
Layer 2 Managed 8-port 10/100/1000 Switch Controllers ii Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers iii Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers iv Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
List of Tables
TABLE 1. PIN ASSIGNMENT TABLE ................................................................................................................................................ 7
TABLE 2. MEDIA DEPENDENT INTERFACE PINS ........................................................................................................................... 10
TABLE 3. PARALLEL LED PINS ................................................................................................................................................... 11
TABLE 4. SCAN MODE LED PINS ................................................................................................................................................ 13
TABLE 5. SERIAL MODE LED PINS .............................................................................................................................................. 14
TABLE 6. TEST PINS..................................................................................................................................................................... 14
TABLE 7. CONFIGURATION STRAPPING PINS ............................................................................................................................... 14
TABLE 8. CONFIGURATION STRAPPING PINS (STRP_DISAUTOLOAD, STRP_DIS_8051, STRP_EN_FLASH) ..................... 16
TABLE 9. TEST PINS..................................................................................................................................................................... 17
TABLE 10. TEST PINS................................................................................................................................................................... 17
TABLE 11. POWER AND GND PINS .............................................................................................................................................. 17
TABLE 12. MEDIA DEPENDENT INTERFACE PIN MAPPING ............................................................................................................ 20
TABLE 13. RESERVED MULTICAST ADDRESS CONFIGURATION TABLE ......................................................................................... 24
TABLE 14. LED DEFINITIONS........................................................................................................................................................ 32
TABLE 15. RTL8231 SHIFT REGISTER MODE STRAPPING PINS CONFIGURATION ......................................................................... 37
TABLE 16. SLAVE MII MANAGEMENT SMI ACCESS FORMAT....................................................................................................... 42
TABLE 18. RECOMMENDED OPERATING RANGE ........................................................................................................................... 43
TABLE 19. ASSEMBLY DESCRIPTION ............................................................................................................................................. 43
TABLE 20. MATERIAL PROPERTIES ............................................................................................................................................... 44
TABLE 21. SIMULATION CONDITIONS ........................................................................................................................................... 44
TABLE 22. THERMAL PERFORMANCE OF E-PAD LQFP-128 ON PCB UNDER STILL AIR CONVECTION .......................................... 44
TABLE 23. THERMAL PERFORMANCE OF E-PAD LQFP-128 ON PCB UNDER FORCED CONVECTION ............................................. 45
TABLE 24. DC CHARACTERISTICS................................................................................................................................................. 45
TABLE 25. MASTER I2C FOR EEPROM AUTO-LOAD TIMING CHARACTERISTICS ......................................................................... 47
TABLE 26. SLAVE I2C-LIKE FOR EXTERNAL CPU ACCESS INTERFACE TIMING CHARACTERISTICS.............................................. 48
TABLE 27. SLAVE SMI (MDC/MDIO) TIMING CHARACTERISTICS AND REQUIREMENTS ............................................................. 49
TABLE 28. SERIAL SHIFT MODE LED AC TIMING ........................................................................................................................ 49
TABLE 29. SPI FLASH AC TIMING .............................................................................................................................................. 50
TABLE 30. POWER AND RESET CHARACTERISTICS ........................................................................................................................ 50
TABLE 31. ORDERING INFORMATION ............................................................................................................................................ 53
Layer 2 Managed 8-port 10/100/1000 Switch Controllers v Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
List of Figures
FIGURE 1. 8-PORT 1000BASE-T SWITCH ....................................................................................................................................... 4
FIGURE 2. RTL8370N-VB BLOCK DIAGRAM ................................................................................................................................ 5
FIGURE 3. RTL8370N-VB PIN ASSIGNMENTS .............................................................................................................................. 6
FIGURE 4. CONCEPTUAL EXAMPLE OF POLARITY CORRECTION .................................................................................................. 21
FIGURE 5. PROTOCOL-BASED VLAN FRAME FORMAT AND FLOW CHART.................................................................................. 27
FIGURE 6. RTL8370N-VB MAX-MIN SCHEDULING DIAGRAM ................................................................................................. 29
FIGURE 7. PULL-UP AND PULL-DOWN OF LED PINS FOR SINGLE-COLOR LED........................................................................... 33
FIGURE 8. PULL-UP AND PULL-DOWN OF LED PINS FOR BI-COLOR LED................................................................................... 33
FIGURE 9. SCAN MODE LED CONNECTION DIAGRAM (GROUP A: SINGLE-COLOR LED (LED0))............................................... 34
FIGURE 10. SCAN MODE LED CONNECTION DIAGRAM (GROUP B: BI-COLOR LED (LED1 & LED2)) ........................................ 35
FIGURE 11. RTL8370N-VB SERIAL LED MODE SHIFT SEQUENCE (PER-PORT THREE SINGLE-COLOR LED) .................................... 36
FIGURE 12. RTL8370N-VB+74HC164 SERIAL LED CONNECTION DIAGRAM (PER-PORT THREE SINGLE-COLOR LED) ............... 36
FIGURE 13. RTL8370N-VB+74HC164 SERIAL LED CONNECTION DIAGRAM (PER-PORT THREE SINGLE-COLOR LED) ............... 37
FIGURE 14. RTL8370N-VB SERIAL LED MODE SHIFT SEQUENCE (PER-PORT TWO SINGLE-COLOR LED) ....................................... 37
FIGURE 15. RTL8370N-VB SERIAL LED MODE SHIFT SEQUENCE (PER-PORT ONE SINGLE-COLOR LED) ....................................... 38
FIGURE 16. I2C START AND STOP COMMAND ............................................................................................................................... 40
FIGURE 17. I2C MASTER FOR EEPROM AUTO-LOAD INTERFACE CONNECTION EXAMPLE .......................................................... 40
FIGURE 18. 8-BIT EEPROM SEQUENTIAL READ .......................................................................................................................... 40
FIGURE 19. 16-BIT EEPROM SEQUENTIAL READ ........................................................................................................................ 40
FIGURE 20. I2C-LIKE SLAVE FOR EXTERNAL CPU ACCESS INTERFACE CONNECTION EXAMPLE ................................................. 41
FIGURE 21. I2C-LIKE SLAVE INTERFACE WRITE COMMAND ........................................................................................................ 41
FIGURE 22. I2C-LIKE SLAVE INTERFACE READ COMMAND .......................................................................................................... 41
FIGURE 23. SLAVE MII MANAGEMENT SMI INTERFACE CONNECTION EXAMPLE......................................................................... 42
FIGURE 24. SPI FLASH INTERFACE CONNECTION EXAMPLE ....................................................................................................... 42
FIGURE 25. MASTER I2C FOR EEPROM AUTO-LOAD TIMING CHARACTERISTICS ........................................................................ 46
FIGURE 26. MASTER I2C FOR EEPROM AUTO-LOAD POWER ON TIMING .................................................................................... 46
FIGURE 27. MASTER I2C FOR EEPROM AUTO-LOAD TIMING ...................................................................................................... 47
FIGURE 28. RTK SLAVE I2C-LIKE FOR EXTERNAL CPU ACCESS INTERFACE TIMING CHARACTERISTICS .................................... 47
FIGURE 29. MDIO SOURCED BY MASTER (EXTERNAL CPU) ........................................................................................................ 48
FIGURE 30. MDIO SOURCED BY SLAVE (RTL8370N-VB) ........................................................................................................... 49
FIGURE 31. SERIAL SHIFT MODE LED TIMING CHARACTERISTICS ............................................................................................... 49
FIGURE 32. SPI FLASH TIMING CHARACTERISTICS ..................................................................................................................... 50
FIGURE 33. POWER AND RESET CHARACTERISTICS ....................................................................................................................... 50
Layer 2 Managed 8-port 10/100/1000 Switch Controllers vi Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
1. General Description
The RTL8370N-VB is an LQFP128 E-PAD, high-performance 8-port Gigabit Ethernet switch. The
RTL8370N-VB features low-power integrated 8-port Giga-PHYs that support 1000Base-T, 100Base-T,
and 10Base-T.
The embedded packet storage SRAM in the RTL8370N-VB features superior memory management
technology to efficiently utilize memory space. The RTL8370N-VB integrates a 4096-entry look-up table
with a 4-way XOR Hashing algorithm for address searching and learning. The table provides read/write
access from the Slave I2C-like interface or Slave MII Management interface, and each of the entries can
be configured as a static entry. The entry aging time is between 200 and 400 seconds. Eight Filtering
Databases are used to provide Independent VLAN Learning and Shared VLAN Learning (IVL/SVL)
functions.
The RTL8370N-VB supports standard 802.3x flow control frames for full duplex, and optional
backpressure for half duplex. It determines when to invoke the flow control mechanism by checking the
availability of system resources, including the packet buffers and transmitting queues. The RTL8370N-
VB supports broadcast/multicast output dropping, and will forward broadcast/multicast packets to non-
blocked ports only. For IP multicast applications, the RTL8370N-VB can forward IPv4 IGMPv1/v2/v3
and IPv6 MLDv1/v2 snooping protocol packets.
In order to support flexible traffic classification, the RTL8370N-VB supports 96-entry ACL rule check
and multiple actions options. Each port can optionally enable or disable the ACL rule check function. The
ACL rule key can be based on packet physical port, Layer2, Layer3, and Layer4 information. When an
ACL rule matches, the action taken is configurable to Drop/Permit/Redirect/Mirror, change priority value
in 802.1q/Q tag, and rate policing. The rate policing mechanism supports from 8Kbps to 1Gbps (in 8Kbps
steps).
In Bridge operation the RTL8370N-VB supports 16 sets and four statuses: disable, block, learning, and
forwarding for Spanning Tree Protocol and Multiple Spanning Tree Protocol.
To meet security and management application requirements, the RTL8370N-VB supports IEEE 802.1x
Port-based/MAC-based Access Control. For those ports that do not pass IEEE 802.1x authentication, the
RTL8370N-VB provides a Port-based/MAC-based Guest VLAN function for them to access limited
network resources. A 1-set Port Mirroring function is configured to mirror traffic (RX, TX, or both)
appearing on one of the switch‟s ports. Support is provided on each port for multiple RFC MIB Counters,
for easy debug and diagnostics.
To improve real-time or multimedia networking applications, the RTL8370N-VB supports eight priority
assignments for each received packet. These are based on (1) Port-based priority; (2) 802.1p/Q VLAN tag
priority; (3) DSCP field in IPv4/IPv6 header; and (4) ACL-assigned priority; (5) CVLAN-based priority;
(6) SVLAN-based priority; and (7) SMAC-based/LUTFWD-based priority. Each output port supports a
weighted ratio of eight priority queues to fit bandwidth requirements in different applications. The input
bandwidth control function helps limit per-port traffic utilization. There is one leaky bucket for average
packet rate control for each queue of all ports. Queue scheduling algorithm can use Strict Priority (SP) or
Weighted Fair Queue (WFQ) or mixed.
The RTL8370N-VB provides a 4096-entry VLAN table for 802.1Q port-based, tag-based, and protocol-
based VLAN operation to separate logical connectivity from physical connectivity. The RTL8370N-VB
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 1 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
supports four Protocol-based VLAN configurations that can optionally select EtherType, LLC, and
RFC1042 as the search key. Each port may be set to any topology.
In embedded system applications, CPU may want to know the input port of the incoming packet. The
RTL8370N-VB supports an option to insert a VLAN tag with VID=Port VID (PVID) on each egress port.
The RTL8370N-VB also provides an option to admit VLAN tagged packet with a specific PVID only. If
this function is enabled, the RTL8370N-VB will drop all non-tagged packets and packets with an
incorrect PVID.
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 2 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
2. Features
Supports Port-based, Tag-based, and
RTL8370N-VB: Single-chip 8-port gigabit
Protocol-based VLAN
non-blocking switch architecture
Up to 4 Protocol-based VLAN entries
Embedded 8-port 10/100/1000Base-T PHY
Supports per-port and per-VLAN egress
Each port supports full duplex VLAN tagging and un-tagging
10/100/1000M connectivity (half duplex
Supports IVL, SVL, and IVL/SVL
only supported in 10/100M mode)
Supports 4096-entry MAC address table
Full-duplex and half-duplex operation with with 4-way hash algorithm
IEEE 802.3x flow control and backpressure
Up to 4096 L2/L3 Filtering Database
Supports 9216-byte jumbo packet length
Supports Spanning Tree port behavior
forwarding at wire speed
configuration
Supports Realtek Cable Test (RTCT) IEEE 802.1w Rapid Spanning Tree
function
IEEE 802.1s Multiple Spanning Tree
Supports 96-entry ACL Rules with up to 16 Spanning Tree instances
Search keys support physical port, Supports IEEE 802.1x Access Control
Layer2, Layer3, and Layer4 information Protocol
Actions support mirror, redirect, Port-Based Access Control
dropping, priority adjustment, traffic
MAC-Based Access Control
policing, CVLAN decision, and SVLAN
assignment Guest VLAN
Supports 5 types of user defined ACL Supports Quality of Service (QoS)
rule format for 64 ACL rules
Supports per port Input Bandwidth
Optional per-port enable/disable of ACL Control
function
Traffic classification based on IEEE
Optional setting of per-port action to 802.1p/Q priority definition, physical
take when ACL mismatch Port, IP DSCP field, ACL definition,
VLAN based priority, MAC based
Supports IEEE 802.1Q VLAN
priority, and SVLAN based priority
Supports 4K VLANs and 32 Extra
Eight Priority Queues per port
Enhanced VLANs
Per queue flow control
Supports Un-tag definition in each
VLAN Min-Max Scheduling
Supports VLAN policing and VLAN Strict Priority and Weighted Fair Queue
forwarding decision (WFQ) to provide minimum bandwidth
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 3 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
One leaky bucket to constrain the Disable learning for each port
average packet rate of each queue Disable learning-table aging for each
port
Supports rate limiting (64 shared meters,
with 8kpbs granulation) Drop unknown DA for each port
Security Filtering
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 4 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
3. System Applications
8-Port 1000Base-T Switch
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 4 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
4. Application Examples
4.1. 8-Port 1000Base-T Switch
Packet Buffer
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 4 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
5. Block Diagram
UTP P1
Giga-PHY PCS SRAM
GMAC
Controller Packet Buffer
UTP SRAM
P2
Giga-PHY PCS GMAC
UTP P3
Giga-PHY PCS GMAC
UTP P4
Queue
Giga-PHY PCS Managment
GMAC Linking Lists
UTP P5
Giga-PHY PCS GMAC
UTP P6
Giga-PHY PCS GMAC 4096 MAC
Address Table
UTP P7
Lookup
Giga-PHY PCS GMAC Engine
4096 VLAN
Table
LED
LED
GNIC
MAC
Control
GNIC 8051
Registers
PLL I2C
+
I2C Host MIB Counter
Flash Interface Slave
25MHz
SPI SCK/SDA
Crystal FLASH
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 5 Track ID: JATR-xxxx-xx Rev. 0.3
6.
6.1.
P2MDIBN
P2MDIBP
P2MDIAN
P2MDIAP
ATESTCK0
P1MDIDN
P1MDICN
P1MDIBP
P1MDIAN
P1MDIAP
AVDDH
P0MDICN
P0MDICP
AVDDL
P0MDIBN
AVDDL
PLLVDDL0
P1MDIDP
P1MDICP
P1MDIBN
AVDDL
P0MDIDN
P0MDIDP
P0MDIAN
P0MDIBP
P0MDIAP
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
P2MDICP 1 102 AVDDH
P2MDICN 2 101 SDA / MMD_MDIO
P2MDIDP 3 100 SCK / MMD_MDC
P2MDIDN 4 99 nRESET
AVDDH 5 98 XTALI
P3MDIAP 6 97 XTALO
P3MDIAN 7 96 AVDDH
P3MDIBP 8 95 DVDDL
P3MDIBN 9 94 LED_CK / P0LED0 / SLED_P4B / STRP_SMI_SEL_0
AVDDL 10 LED_DA / P0LED1 / SLED_G2A
E-PAD: GND
93
Pin Assignments
P3MDICP 11 DVDDL
Pin Assignments
92
P3MDICN 12 91 P0LED2 / SLED_P0_4A / GPIO2 / STRP_EN_PHY
P3MDIDP 13 90 P1LED1 / SLED_P1_5A / STRP_EN_EEE
P3MDIDN 14 89 P1LED0 / SLED_P2_6A / STRP_MID29
AVDDH 15 88 P1LED2 / SLED_P3_7A / STRP_SMI_SEL_1
AGND 16 87 P2LED1 / SLED_G1B / GPIO4
6
DVDDL 20 83 P3LED2 / SLED_P3B / STRP_EN_PWRLIGHT
DVDDL 21 82 P3LED1 / SLED_G1A / GPIO5
XXXXXXX
76
P4MDIBN 28 75 P5LED1
AVDDL 29 74 P5LED0
P4MDICP 30 73 P5LED2 / GPIO0
RTL8370N
P4MDIDP 32 71 P6LED0 / GPIO1
P4MDIDN 33 70 P6LED2 / nSPI_F_CS
AVDDH 34 69 P7LED1 / SPI_F_D1
GXXXB TAIWAN
P5MDIAP 35 68 P7LED0 / SPI_F_D0
P5MDIAN 36 67 P7LED2 / SPI_F_CLK
P5MDIBP 37 66 GPIO9
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
AVDDL
AVDDL
AVDDL
AVDDH
AVDDH
P6MDIAP
P6MDIBP
P7MDIAP
P7MDIBP
P5MDICP
P5MDIDP
P6MDIAN
P6MDIBN
P6MDICP
P6MDIDP
P7MDIAN
P7MDIBN
P7MDICP
P7MDIDP
P5MDICN
P5MDIDN
P6MDICN
P6MDIDN
P7MDICN
P7MDIDN
PLLVDDL1
IPU: Input Pin With Pull-Up Resistor; OPU: Output Pin With Pull-Up Resistor;
(Typical Value = 75K Ohm) (Typical Value = 75K Ohm)
IPD: Input Pin With Pull-Down Resistor; OPD: Output Pin With Pull-Down Resistor;
(Typical Value = 75K Ohm) (Typical Value = 75K Ohm)
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 7 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 8 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 9 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
7. Pin Descriptions
7.1. Media Dependent Interface Pins
Table 2. Media Dependent Interface Pins
Pin Name Pin No. Type Drive Description
(mA)
P0MDIAP/N 103 AI/O 10 Port 0 Media Dependent Interface A~D.
104 For 1000Base-T operation, differential data from the media is
P0MDIBP/N 105 transmitted and received on all four pairs. For 100Base-Tx and
106 10Base-T operation, only MDIAP/N and MDIBP/N are used. Auto
P0MDICP/N 108 MDIX can reverse the pairs MDIAP/N and MDIBP/N.
109
P0MDIDP/N 110 Each of the differential pairs has an internal 100-ohm termination
111 resistor.
P1MDIAP/N 113 AI/O 10 Port 1 Media Dependent Interface A~D.
114 For 1000Base-T operation, differential data from the media is
P1MDIBP/N 115 transmitted and received on all four pairs. For 100Base-Tx and
116 10Base-T operation, only MDIAP/N and MDIBP/N are used. Auto
P1MDICP/N 118 MDIX can reverse the pairs MDIAP/N and MDIBP/N.
119
P1MDIDP/N 120 Each of the differential pairs has an internal 100-ohm termination
121 resistor.
P2MDIAP/N 124 AI/O 10 Port 2 Media Dependent Interface A~D.
125 For 1000Base-T operation, differential data from the media is
P2MDIBP/N 126 transmitted and received on all four pairs. For 100Base-Tx and
127 10Base-T operation, only MDIAP/N and MDIBP/N are used. Auto
P2MDICP/N 1 MDIX can reverse the pairs MDIAP/N and MDIBP/N.
2
P2MDIDP/N 3 Each of the differential pairs has an internal 100-ohm termination
4 resistor.
P3MDIAP/N 6 AI/O 10 Port 3 Media Dependent Interface A~D.
7 For 1000Base-T operation, differential data from the media is
P3MDIBP/N 8 transmitted and received on all four pairs. For 100Base-Tx and
9 10Base-T operation, only MDIAP/N and MDIBP/N are used. Auto
P3MDICP/N 11 MDIX can reverse the pairs MDIAP/N and MDIBP/N.
12
P3MDIDP/N 13 Each of the differential pairs has an internal 100-ohm termination
14 resistor.
P4MDIAP/N 25 AI/O 10 Port 4 Media Dependent Interface A~D.
26 For 1000Base-T operation, differential data from the media is
P4MDIBP/N 27 transmitted and received on all four pairs. For 100Base-Tx and
28 10Base-T operation, only MDIAP/N and MDIBP/N are used. Auto
P4MDICP/N 30 MDIX can reverse the pairs MDIAP/N and MDIBP/N.
31
P4MDIDP/N 32 Each of the differential pairs has an internal 100-ohm termination
33 resistor.
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 10 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 11 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 12 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 13 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 14 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 15 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
From To
0 0 0 EERPOM Embedded 8051 Instruction Memory
0 0 1 SPI FLASH Embedded 8051 Instruction Memory
0 1 0 EEPROM Register
1 Irrelevant Irrelevant Do Nothing Do Nothing
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 16 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 17 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
AVDDH 5, 15, 19, 24, 34, 54, AP Analog High Voltage Power.
64, 96, 102, 112
AVDDL 10, 18, 29, 39, 49, AP Analog Low Voltage Power.
59, 107, 117, 128
PLLVDDL0 122 AP PLL0 Low Voltage Power.
PLLVDDL1 44 AP PLL1 Low Voltage Power.
GND EPAD G GND.
AGND 16 AG Analog GND.
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 18 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 19 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 20 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
+ +
RX _ _ TX
+ _ +
TX _ + _ RX
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 21 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 22 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
medium (that is, no other station is transmitting) and then sends the intended message in bit-serial form. If
the message collides with that of another station, then each transmitting station intentionally transmits for
an additional predefined period to ensure propagation of the collision throughout the system. The station
remains silent for a random amount of time (backoff) before attempting to transmit again.
When a transmission attempt has terminated due to a collision, it is retried until it is successful. The
scheduling of the retransmissions is determined by a controlled randomization process called “truncated
binary exponential backoff”. At the end of enforcing a collision (jamming), the switch delays before
attempting to retransmit the frame. The delay is an integer multiple of slot time (512 bit times). The
number of slot times to delay before the nth retransmission attempt is chosen as a uniformly distributed
random integer „r‟ in the range:
0 ≤ r < 2k
where:
k = min (n, backoffLimit). The backoffLimit for the RTL8370N-VB is 9.
The half duplex back-off algorithm in the RTL8370N-VB does not have the maximum retry count
limitation of 16 (as defined in IEEE 802.3). This means packets in the switch will not be dropped if the
back-off retry count is over 16.
source MAC address appears. An entry will be invalid (aged out) if its time stamp information is not
refreshed by the address learning process during the aging time period. The aging time of the RTL8370N-
VB is between 200 and 400 seconds (typical is 300 seconds).
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 24 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 25 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Egress Filtering
„Forward‟ or „Discard‟ Leaky VLAN frames between different VLAN domains
„Forward‟ or „Discard‟ Multicast VLAN frames between different VLAN domains
The VLAN tag can be inserted or removed at the output port. The RTL8370N-VB will insert a Port VID
(PVID) for untagged frames, or remove the tag from tagged frames. The RTL8370N-VB also supports a
special insert VLAN tag function to separate traffic from the WAN and LAN sides in Router and
Gateway applications.
In embedded system applications, CPU may want to know which input port this packet came from. The
RTL8370N-VB supports Port VID (PVID) for each port and can insert a PVID in the VLAN tag on
egress. Using this function, VID information carried in the VLAN tag will be changed to PVID. The
RTL8370N-VB also provides an option to admit VLAN tagged packets with a specific PVID only. If this
function is enabled, it will drop non-tagged packets and packets with an incorrect PVID.
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 26 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Frame Input
6 bytes after
Type/Length are Frame Type
No
AA-AA-03-00-00-00? = LLC_ Other
Frame Type
= RFC_1042
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 27 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 28 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Queue 0
Queue 1 Scheduler
Queue 7
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 29 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 30 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
If MAC-based access control direction is BOTH, then received frames with unauthenticated SA or
unauthenticated DA will be dropped. When MAC-based access control direction is IN, only received
frames with unauthenticated SA will be dropped.
LED_PnLED1 should operate with the same polarity as other Bi-color LED pins. For example:
P0LED1 should pull up upon reset if P0LED1 is combined with P0LED2 as a Bi-color LED, and
P0LED2 input is pulled high upon reset. In this configuration, the output of these pins is active low
after reset
P0LED1 should be pulled down upon reset if P0LED1 is combined with P0LED2 as a Bi-color LED,
and P0LED2 input is pulled down upon reset. In this configuration, the output of these pins is active
high after reset
Pull-Up Pull-Down
DVDDIO
LED Pins Output Active Low LED Pins Output Active High
Figure 7. Pull-Up and Pull-Down of LED Pins for Single-Color LED
Pull-Up Pull-Down
4.7K
SPD 1000 ohm DVDDIO SPD 100 4.7K ohm
470ohm 470ohm
RTL8370N-VB RTL8370 N-VB
Yellow Green Yellow Green
LED Pins Output Active Low LED Pins Output Active High
Figure 8. Pull-Up and Pull-Down of LED Pins for Bi-Color LED
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 33 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
SLED_P2/ 6 A 0 ohm
P2 LED 0
P6 LED 0
SLED_P0/ 4 A 0 ohm
P0 LED 0
P4 LED 0
S1LED_ G 2 A
S1LED_ G1 A
Figure 9. Scan Mode LED Connection Diagram (Group A: Single-Color LED (LED0))
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 34 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
30K ohm
Green P 7 LED 1
SLED _ P 7 B
P 7 LED 2 Yellow
30K ohm
Green P 6 LED 1
SLED _ P 6 B
P 6 LED 2 Yellow
30K ohm
Green P5 LED 1
SLED _ P 5 B
P 5 LED 2 Yellow
30K ohm
Green P4 LED 1
SLED _ P 4 B Yellow
P 4 LED 2
Controller 30K ohm
Green P3 LED 1
SLED _ P 3 B
P 3 LED 2 Yellow
30K ohm
Green P2 LED 1
SLED _ P 2 B
P 2 LED 2 Yellow
30K ohm
Green P1 LED 1
SLED _ P 1 B
P 1 LED 2 Yellow
30K ohm
Green P0 LED 1
SLED _ P 0 B
P 0 LED 2 Yellow
SLED _ G 1 B
Figure 10. Scan Mode LED Connection Diagram (Group B: Bi-Color LED (LED1 & LED2))
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 35 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
9.19.3.1 Serial Shift LED Default Mode, per-port three single-color LED
T3=16ms
T2=2.538us
T1 = 108ns T4 = (0.4~0.6) * T1
LED_CK
P7 P6 P5 P4 P3 P2 P1 P0 P7 P6 P5 P4 P3 P2 P1 P0 P7 P6 P5 P4 P3 P2 P1 P0 P7 P6 P5
LED_DA LED0 LED0 LED0 LED0 LED0 LED0 LED0 LED0 LED1 LED1 LED1 LED1 LED1 LED1 LED1 LED1 LED2 LED2 LED2 LED2 LED2 LED2 LED2 LED2 LED0 LED0 LED0
Figure 11. RTL8370N-VB serial led mode shift sequence (per-port three single-color LED)
A 74HC164 8-Bit Serial-In, Parallel-Out Shift Register captures the per-port link status and diagnostic
information. The related circuit design is shown in the following diagram.
3.3V
LED_DA A QA
P0_LED2
3.3V B P1_LED2
QB
LED_CK CLK
P2_LED1
QC
QD
P3_LED1
The second 74HC164 P4_LED1
QE
74HC164 P5_LED1
QF
P6_LED1
QG
QH
P7_LED1
LED_DA A QA
P0_LED1
3.3V B
QB
P1_LED1
CLK
LED_CK P2_LED1
QC
QD
P3_LED1
The third 74HC164 P4_LED0
QE
74HC164 P5_LED0
QF
P6_LED0
QG
QH
P7_LED0
Figure 12. RTL8370N-VB+74HC164 Serial LED Connection Diagram (per-port three single-color LED)
The RTL8231 shift register mode could reserve the serial data, and output parallel data in order. There are
36 shift registers in the RTL8231. The output data sequence is shown below:
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 36 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
LED Pin Output
SI Q Q Q Q SO
D D D D
CLK_IN
Figure 13. RTL8370N-VB+74HC164 Serial LED Connection Diagram (per-port three single-color LED)
To latch the currently serial data which receive at the SI pin and shift the preceding data to the next stage
at the each rising edge of the serial clock. At the first the serial data input the RTL8231 output from the
pin 15 LED[0]. At the last shift register, the serial data output to LED[35] pin and the SO pin at the same
time.
The strapping pins configuration of RTL8231 in Shift Register Mode is depicted in Table 15.
T3=16ms
T2=1.674us
T4 = (0.4~0.6) * T1
T1 = 108ns
LED_CK
LED_DA P7 P6 P5 P4 P3 P2 P1 P0 P7 P6 P5 P4 P3 P2 P1 P0
LED0 LED0 LED0 LED0 LED0 LED0 LED0 LED0 LED1 LED1 LED1 LED1 LED1 LED1 LED1 LED1
P7 P6 P5
LED0 LED0 LED0
Figure 14. RTL8370N-VB serial led mode shift sequence (per-port two single-color LED)
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 37 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
T3=16ms
T2=810ns
T1 = 108ns T4 = (0.4~0.6) * T1
LED_CK
P7 P6 P5 P4 P3 P2 P1 P0
LED_DA LED0 LED0 LED0 LED0 LED0 LED0 LED0 LED0
P7 P6 P5
LED0 LED0 LED0
Figure 15. RTL8370N-VB serial led mode shift sequence (per-port one single-color LED)
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 38 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
The RTL8370N-VB MAC uses Low Power Idle signaling to indicate to the PHY, and to the link partner,
that a break in the data stream is expected, and components may use this information to enter power
saving modes that require additional time to resume normal operation. Similarly, it informs the LPI Client
that the link partner has sent such an indication.
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 39 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
SCK
SDA
START STOP
SDA EEPROM_SDA
4.7K ohm
STRP_DISAUTOLOAD
Figure 17. I2C Master for EEPROM Auto-load Interface Connection Example
The EEPROM can be divided into two sizes: 2Kb~16Kb and 32Kb~512Kb. The address of the small size
EEPROM is 8-bits, however the larger EEPROM has word-high addressing and word-low addressing,
and it is 16-bits (two bytes). The RTL8370N-VB supports these two types EEPROM.
1 ADDRESS BYTE
1 CONTROL BYTE 1 CONTROL BYTE The 1st DATA BYTE The 2nd DATA BYTE N
O
R/ A A R/ A A A
S 1 0 1 0 0 0 0 W# C ADDR[7:0] C S 1 0 1 0 0 0 0 W# C C C P
(0) K K (1) K K K
MSB to LSB MSB to LSB MSB to LSB
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 40 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
S_SDA M_SDA
3.3V
4.7K ohm*
STRP_SMI_SEL_1
4.7K ohm*
STRP_SMI_SEL_0
Figure 20. I2C-Like Slave for External CPU Access Interface Connection Example
The 1st ADDRESS The 2nd ADDRESS The 1st DATA BYTE The 2nd DATA BYTE
1 CONTROL BYTE BYTE (reg_addr[7:0]) BYTE (reg_addr[15:8]) (write_data[7:0]) (write_data[15:8])
R/ A A A A A
S 1 0 1 1 1 0 0 W# C ADDR[7:0] C ADDR[15:8] C C C P
(0) K K K K K
MSB to LSB MSB to LSB MSB to LSB MSB to LSB
ACK by Slave ACK by Slave ACK by Slave ACK by Slave ACK by Slave
The 1st ADDRESS The 2nd ADDRESS The 1st DATA BYTE The 2nd DATA BYTE
1 CONTROL BYTE BYTE (reg_addr[7:0]) N
BYTE (reg_addr[15:8]) (read_data[7:0]) (read_data[15:8])
O
R/ A A A A A
S 1 0 1 1 1 0 0 W# C ADDR[7:0] C ADDR[15:8] C C C P
(1) K K K K K
MSB to LSB MSB to LSB MSB to LSB MSB to LSB
ACK by Slave ACK by Slave ACK by Slave ACK by Master NOACK by Master
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 41 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
S_MDIO 3.3V
M_MDIO
4.7K ohm
STRP_SMI_SEL_1
4.7K ohm
STRP_SMI_SEL_0
Note: The Slave needs no less than 32bit Preambles (PRE) for accessing slave by Slave SMI interface
default. External CPU can configure the Slave to enable preamble suppression function, and then the
Slave doesn‟t need preamble for accessing slave.
nSPI_F_CS /CS
SPI_F_D1 DO(IO1)
SPI_F_D0 DI(IO0)
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 42 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 43 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
2-Layer:
- Top layer (1oz): 20% coverage of Cu
- Bottom layer (1oz): 75% coverage of Cu
4-Layer:
Number of Cu Layer-PCB
- 1st layer (1oz): 20% coverage of Cu
- 2nd layer (1oz): 80% coverage of Cu
- 3rd layer (1oz): 80% coverage of Cu
- 4th layer (1oz): 75% coverage of Cu
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 44 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
11.4. DC Characteristics
Table 24. DC Characteristics
Parameter SYM Min Typical Max Units
System Idle (No UTP Port Link Up, 1 System Power LED)
Power Supply Current for VDDH IDVDDIO, IAVDDH - 41 - mA
Power Supply Current for VDDL IDVDDL, IAVDDL, - 165 - mA
IPLLVDDL
Total Power Consumption for All Ports PS - 316.8 - mW
1000M Active (8 UTP Ports Link Up, 1 System Power LED, 8 Activity LEDs, 8 Speed LEDs)
Power Supply Current for VDDH IDVDDIO, IAVDDH - 530 - mA
Power Supply Current for VDDL IDVDDL, IAVDDL, - 881 - mA
IPLLVDDL
Total Power Consumption for All Ports PS - 2718.1 - mW
100M Active (8 UTP Ports Link Up, 1 System Power LED, 8 Activity LEDs, 8 Speed LEDs)
Power Supply Current for VDDH IDVDDIO, IAVDDH - 201 - mA
Power Supply Current for VDDL IDVDDL, IAVDDL, - 282 - mA
IPLLVDDL
Total Power Consumption for All Ports PS - 973.5 - mW
10M Active (8 UTP Ports Link Up, 1 System Power LED, 8 Activity LEDs)
Power Supply Current for VDDH IDVDDIO, IAVDDH - 242 - mA
Power Supply Current for VDDL IDVDDL, IAVDDL, - 200 - mA
IPLLVDDL
Total Power Consumption for All Ports PS - 1020 - mW
VDDIO=3.3V
TTL Input High Voltage Vih 1.9 - - V
TTL Input Low Voltage Vil - - 0.7 V
Output High Voltage Voh 2.7 - - V
Output Low Voltage Vol - - 0.6 V
Output Low Voltage Vol - - 0.4 V
Note1: DVDDIO=3.3V, AVDDH=3.3V, DVDDL=1.1V, AVDDL=1.1V PLLVDDL=1.1V.
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 45 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
11.5. AC Characteristics
11.5.1. I2C Master for EEPROM Auto-load Interface Timing
Characteristics
Tsck
t1 t2
SCK
t3 t4 t7 t5 t6 t8
t11
t9
nRESET
SCK
SDA
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 46 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
t10
SCK
Start Stop
Condition Condition
11.5.2. RTK I2C-Like Slave Mode for External CPU Access Interface
Timing Characteristics
t1 t2
SCK
t3 t4 t5 t6 t7 t8 t9
Figure 28. RTK Slave I2C-Like for External CPU Access Interface Timing Characteristics
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 47 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Table 26. Slave I2C-Like for External CPU Access Interface Timing Characteristics
Symbol Description Type Min Typical Max Units
t1 SCK High Time I 4.0 - - µs
t2 SCK Low Time I 4.0 - - µs
t3 START Condition Setup Time I 0.25 - - µs
t4 START Condition Hold Time I 0.25 - - µs
t5 Data Input Hold Time I 0 - - µs
t6 Data Input Setup Time I 100 - - ns
t7 Clock to Data Output Delay O 10 - 100 ns
t8 STOP Condition Setup Time I 0.25 - - µs
t9 Time the bus free before new START I 0.5 µs
11.5.3. Slave MII Management SMI for External CPU Access Interface
Timing Characteristics
The RTL8370N-VB supports MDIO slave mode. The Master (the RTL8370N-VB link partner CPU) can
access the Slave (RTL8370N-VB) registers via the MDIO interface. The MDIO is a bi-directional signal
that can be sourced by the Master or the Slave. In a write command, the Master sources the MDIO signal.
In a read command, the Slave sources the MDIO signal.
The timing characteristics of the Master (the RTL8370N-VB link partner CPU) are provided by the
Master when the Master sources the MDIO signal (Write command)
The timing characteristics of the Slave (RTL8370N-VB) are provided by the RTL8370N-VB when the
RTL8370N-VB sources the MDIO signal (Read command)
t1
VIH
MDC
VIL
VIH
MDIO
VIL
t2 t3
Figure 29. MDIO Sourced by Master (External CPU)
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 48 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
VIH
MDC
VIL
VIH
MDIO
VIL
t4
Figure 30. MDIO Sourced by Slave (RTL8370N-VB)
V ih(max)
LED_CK
V ih( min)
tsetup:O thold:O
Vih(max)
LED_DA Data Output
Vih(min)
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 49 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
SPI_SCK
tsetup:O thold:O tsetup:I
SPI_SI (Output) thold:I
MSB
High-Z
SPI_SO (Input) Data In
DVDDIO t2
AVDDH
t4
nRESET
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 50 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 51 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 52 Track ID: JATR-xxxx-xx Rev. 0.3
RTL8370N-VB
Draft Datasheet
Layer 2 Managed 8-port 10/100/1000 Switch Controllers 53 Track ID: JATR-xxxx-xx Rev. 0.3