RTL8125BG-CG
RTL8125BGS-CG
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
INTEGRATED 10/100/1000M/2.5G ETHERNET
CONTROLLER FOR PCI EXPRESS APPLICATIONS
DATASHEET
(CONFIDENTIAL: Development Partners Only)
Rev. 1.5
27 July 2020
Track ID: JATR-8275-15
Realtek Semiconductor Corp.
No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan
Tel.: +886-3-578-0211. Fax: +886-3-577-6047
www.realtek.com
RTL8125BG/RTL8125BGS
Datasheet
COPYRIGHT
©2020 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced,
transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any
means without the written permission of Realtek Semiconductor Corp.
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.
LICENSE
This product is covered by one or more of the following patents: US5,307,459, US5,434,872,
US5,732,094, US6,570,884, US6,115,776, and US6,327,625.
USING THIS DOCUMENT
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
This document is intended for the software engineer’s reference and provides detailed programming
information.
Though every effort has been made to ensure that this document is current and accurate, more information
may have become available subsequent to the production of this guide.
ELECTROSTATIC DISCHARGE (ESD) WARNING
This product can be damaged by Electrostatic Discharge (ESD). When handling, care must be taken.
Damage due to inappropriate handling is not covered by warranty.
Do not open the protective conductive packaging until you have read the following, and are at an
approved anti-static workstation.
Use an approved anti-static mat to cover your work surface
Use a conductive wrist strap attached to a good earth ground
Always discharge yourself by touching a grounded bare metal surface or approved anti-static mat
before picking up an ESD-sensitive electronic component
If working on a prototyping board, use a soldering iron or station that is marked as ESD-safe
Always disconnect the microcontroller from the prototyping board when it is being worked on
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
ii Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
REVISION HISTORY
Revision
1.0
1.1
Release Date
2019/09/03
2019/10/04
1.2
2019/11/28
1.3
2020/01/22
1.4
2020/04/20
1.5
2020/07/27
Summary
First release.
Removed 1.8V compatible input and output.
Corrected minor typing errors.
Revised features for 10M BASE-Te.
Added note under Table 22 Power Sequence Parameters, page 32.
Revised Table 25 Electrostatic Discharge Performance, page 33 (CDM ESD).
Revised Table 29 DC Characteristics, page 36 (Icc).
Corrected minor typing errors.
Revised Table 27 Oscillator Requirements, page 35 (RMS Jitter).
Corrected minor typing errors.
Revised Table 11 Other Pins, page 11 (PPS_PIN).
Removed Virtual Machine Queue (VMQ) data.
Corrected minor typing errors.
Added section 7.27 Rx High Priority Interrupt, page 30.
Corrected minor typing errors.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
iii Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Table of Contents
1.
GENERAL DESCRIPTION ....................................................................................................................................... 1
2.
FEATURES ................................................................................................................................................................. 3
3.
SYSTEM APPLICATIONS ........................................................................................................................................ 4
4.
FUNCTION BLOCK DIAGRAM............................................................................................................................... 4
5.
PIN ASSIGNMENTS .................................................................................................................................................. 5
5.1.
5.2.
5.3.
5.4.
6.
PIN DESCRIPTIONS ................................................................................................................................................. 7
6.1.
6.2.
6.3.
6.4.
6.5.
6.6.
6.7.
6.8.
6.9.
6.10.
6.11.
7.
RTL8125BG PIN ASSIGNMENTS ............................................................................................................................ 5
RTL8125BG PACKAGE IDENTIFICATION ................................................................................................................ 5
RTL8125BGS PIN ASSIGNMENTS .......................................................................................................................... 6
RTL8125BGS PACKAGE IDENTIFICATION ............................................................................................................. 6
POWER MANAGEMENT/ISOLATION ........................................................................................................................ 7
PCI EXPRESS INTERFACE....................................................................................................................................... 7
TRANSCEIVER INTERFACE ..................................................................................................................................... 8
CLOCK ................................................................................................................................................................. 8
REGULATOR AND REFERENCE ............................................................................................................................... 9
EEPROM ............................................................................................................................................................. 9
SPI (SERIAL PERIPHERAL INTERFACE) FLASH ....................................................................................................... 10
LEDS ................................................................................................................................................................. 10
POWER AND GROUND .......................................................................................................................................... 11
GPIO ................................................................................................................................................................. 11
OTHER PINS ........................................................................................................................................................ 11
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
FUNCTIONAL DESCRIPTION............................................................................................................................... 12
7.1.
PCI EXPRESS BUS INTERFACE ............................................................................................................................. 12
7.1.1. PCI Express Transmitter ................................................................................................................................ 12
7.1.2. PCI Express Receiver .................................................................................................................................... 12
7.2.
CUSTOMIZABLE LED CONFIGURATION ................................................................................................................ 13
7.2.1. LED Blinking Frequency Control ................................................................................................................... 16
7.3.
PHY TRANSCEIVER ............................................................................................................................................. 17
7.3.1. PHY Transmitter............................................................................................................................................ 17
7.3.2. PHY Receiver ................................................................................................................................................ 17
7.3.3. Link Down Power Saving Mode ..................................................................................................................... 18
7.3.4. Next Page ...................................................................................................................................................... 18
7.4.
EEPROM INTERFACE ......................................................................................................................................... 19
7.5.
SPI (SERIAL PERIPHERAL INTERFACE) FLASH ....................................................................................................... 20
7.6.
POWER MANAGEMENT ........................................................................................................................................ 20
7.7.
VITAL PRODUCT DATA (VPD) ............................................................................................................................. 23
7.8.
RECEIVE-SIDE SCALING (RSS) ............................................................................................................................ 23
7.8.1. Receive-Side Scaling (RSS) Initialization ........................................................................................................ 23
7.8.2. Protocol Offload ............................................................................................................................................ 24
7.8.3. RSS Operation ............................................................................................................................................... 25
7.8.4. Improved RSS ................................................................................................................................................ 25
7.9.
PRECISION TIME PROTOCOL (PTP)....................................................................................................................... 25
7.10.
IEEE 802.1QAV.................................................................................................................................................. 26
7.11.
DOUBLE VLAN (DOUBLE VIRTUAL BRIDGED LOCAL AREA NETWORK) ............................................................... 26
7.12.
ENERGY EFFICIENT ETHERNET (EEE) .................................................................................................................. 26
7.13.
RADIO FREQUENCY INTERFERENCE (RFI) ............................................................................................................ 26
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
iv Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.14.
FAST RETRAIN (FR) ............................................................................................................................................ 27
7.15.
THERMAL DETECT .............................................................................................................................................. 27
7.16.
MDI SWAP ........................................................................................................................................................ 27
7.17.
PHY DISABLE MODE .......................................................................................................................................... 28
7.18.
LAN DISABLE MODE .......................................................................................................................................... 28
7.19.
LATENCY TOLERANCE REPORTING (LTR) ............................................................................................................ 28
7.20.
REALWOW!’ (WAKE-ON-WAN) TECHNOLOGY ................................................................................................... 28
7.21.
WAKE PACKET INDICATION (WPI) ...................................................................................................................... 28
7.22.
L1.1 AND L1.2 .................................................................................................................................................... 29
7.23.
LITE MODE ......................................................................................................................................................... 29
7.23.1.
Giga Lite ................................................................................................................................................... 29
7.23.2.
2.5G Lite ................................................................................................................................................... 29
7.24.
GREEN ETHERNET (1000M/100MBPS MODE ONLY) ............................................................................................. 29
7.24.1.
Cable Length Power Saving....................................................................................................................... 29
7.25.
CROSSOVER DETECTION AND AUTO-CORRECTION ............................................................................................... 30
7.26.
POLARITY CORRECTION ...................................................................................................................................... 30
7.27.
RX HIGH PRIORITY INTERRUPT ............................................................................................................................ 30
8.
SWITCHING REGULATOR (RTL8125BGS ONLY) ............................................................................................. 31
9.
POWER SEQUENCE ............................................................................................................................................... 32
9.1.
10.
POWER SEQUENCE PARAMETERS ......................................................................................................................... 32
CHARACTERISTICS............................................................................................................................................... 33
10.1.
ABSOLUTE MAXIMUM RATINGS .......................................................................................................................... 33
10.2.
RECOMMENDED OPERATING CONDITIONS ............................................................................................................ 33
10.3.
ELECTROSTATIC DISCHARGE PERFORMANCE ....................................................................................................... 33
10.4.
CRYSTAL REQUIREMENTS ................................................................................................................................... 34
10.5.
OSCILLATOR REQUIREMENTS .............................................................................................................................. 35
10.6.
ENVIRONMENTAL CHARACTERISTICS ................................................................................................................... 35
10.7.
DC CHARACTERISTICS ........................................................................................................................................ 36
10.8.
REFLOW PROFILE RECOMMENDATIONS ................................................................................................................ 36
10.9.
AC CHARACTERISTICS ........................................................................................................................................ 37
10.9.1.
Serial EEPROM Interface Timing.............................................................................................................. 37
10.10.
PCI EXPRESS BUS PARAMETERS ..................................................................................................................... 38
10.10.1.
Differential Transmitter Parameters .......................................................................................................... 38
10.10.2.
Differential Receiver Parameters ............................................................................................................... 39
10.10.3.
REFCLK Parameters ................................................................................................................................ 39
10.10.4.
Auxiliary Signal Timing Parameters .......................................................................................................... 43
10.11.
THERMAL CHARACTERISTICS .......................................................................................................................... 44
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
11.
MECHANICAL DIMENSIONS ............................................................................................................................... 45
11.1.
12.
MECHANICAL DIMENSIONS NOTES ...................................................................................................................... 45
ORDERING INFORMATION ................................................................................................................................. 46
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
v
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
List of Tables
TABLE 1.
TABLE 2.
TABLE 3.
TABLE 4.
TABLE 5.
TABLE 6.
TABLE 7.
TABLE 8.
TABLE 9.
TABLE 10.
TABLE 11.
TABLE 12.
TABLE 13.
TABLE 14.
TABLE 15.
TABLE 16.
TABLE 17.
TABLE 18.
TABLE 19.
TABLE 20.
TABLE 21.
TABLE 22.
TABLE 23.
TABLE 24.
TABLE 25.
TABLE 26.
TABLE 27.
TABLE 28.
TABLE 29.
TABLE 30.
TABLE 31.
TABLE 32.
TABLE 33.
TABLE 34.
TABLE 35.
TABLE 36.
TABLE 37.
TABLE 38.
TABLE 39.
POWER MANAGEMENT/ISOLATION ......................................................................................................................... 7
PCI E XPRESS INTERFACE ....................................................................................................................................... 7
TRANSCEIVER INTERFACE ...................................................................................................................................... 8
CLOCK .................................................................................................................................................................. 8
REGULATOR AND REFERENCE ................................................................................................................................ 9
EEPROM .............................................................................................................................................................. 9
SPI FLASH ........................................................................................................................................................... 10
LEDS .................................................................................................................................................................. 10
POWER AND GROUND .......................................................................................................................................... 11
GPIO ................................................................................................................................................................. 11
OTHER PINS ........................................................................................................................................................ 11
CUSTOMIZED LEDS ............................................................................................................................................ 13
LED FEATURE CONTROL..................................................................................................................................... 13
FIXED LED MODE .............................................................................................................................................. 13
LED FEATURE CONTROL-2 ................................................................................................................................. 13
LED OPTION 1 & OPTION 2 SETTINGS.................................................................................................................. 14
LED LOW POWER MODE ..................................................................................................................................... 15
LED BLINKING FREQUENCY CONTROL ................................................................................................................ 16
EEPROM INTERFACE ......................................................................................................................................... 19
SPI FLASH INTERFACE ........................................................................................................................................ 20
L1.1 AND L1.2 PCIE PORT CIRCUIT ON/OFF ........................................................................................................ 29
POWER SEQUENCE PARAMETERS ......................................................................................................................... 32
ABSOLUTE MAXIMUM RATINGS .......................................................................................................................... 33
RECOMMENDED OPERATING CONDITIONS ............................................................................................................ 33
ELECTROSTATIC DISCHARGE PERFORMANCE ....................................................................................................... 33
CRYSTAL REQUIREMENTS ................................................................................................................................... 34
OSCILLATOR REQUIREMENTS .............................................................................................................................. 35
ENVIRONMENTAL CHARACTERISTICS ................................................................................................................... 35
DC CHARACTERISTICS ........................................................................................................................................ 36
REFLOW PROFILE RECOMMENDATIONS ................................................................................................................ 36
EEPROM ACCESS TIMING PARAMETERS ............................................................................................................. 37
DIFFERENTIAL TRANSMITTER PARAMETERS ......................................................................................................... 38
DIFFERENTIAL RECEIVER PARAMETERS ............................................................................................................... 39
REFCLK PARAMETERS....................................................................................................................................... 39
AUXILIARY SIGNAL TIMING PARAMETERS ........................................................................................................... 43
THERMAL CHARACTERISTICS .............................................................................................................................. 44
PCB INFORMATION ............................................................................................................................................. 44
MECHANICAL DIMENSIONS NOTES ...................................................................................................................... 45
ORDERING INFORMATION .................................................................................................................................... 46
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
vi Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
List of Figures
FIGURE 1.
FIGURE 2.
FIGURE 3.
FIGURE 4.
FIGURE 5.
FIGURE 6.
FIGURE 7.
FIGURE 8.
FIGURE 9.
FIGURE 10.
FIGURE 11.
FIGURE 12.
FIGURE 13.
FIGURE 14.
FIGURE 15.
FIGURE 16.
FUNCTION BLOCK DIAGRAM ................................................................................................................................. 4
RTL8125BG PIN ASSIGNMENTS ........................................................................................................................... 5
RTL8125BGS PIN ASSIGNMENTS ......................................................................................................................... 6
LED BLINKING FREQUENCY EXAMPLE ................................................................................................................ 16
MDI SWAP ....................................................................................................................................................... 27
POWER SEQUENCE .............................................................................................................................................. 32
PHASE NOISE ...................................................................................................................................................... 35
SERIAL EEPROM INTERFACE TIMING ................................................................................................................. 37
SINGLE-ENDED MEASUREMENT POINTS FOR ABSOLUTE CROSS POINT AND SWING ............................................... 41
SINGLE-ENDED MEASUREMENT POINTS FOR DELTA CROSS POINT ....................................................................... 41
SINGLE-ENDED MEASUREMENT POINTS FOR RISE AND FALL TIME MATCHING ..................................................... 41
DIFFERENTIAL MEASUREMENT POINTS FOR DUTY CYCLE AND PERIOD ................................................................ 42
DIFFERENTIAL MEASUREMENT POINTS FOR RISE AND FALL TIME ........................................................................ 42
DIFFERENTIAL MEASUREMENT POINTS FOR RINGBACK ....................................................................................... 42
REFERENCE CLOCK SYSTEM MEASUREMENT POINT AND LOADING ...................................................................... 43
AUXILIARY SIGNAL TIMING ............................................................................................................................... 43
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
vii Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
1.
General Description
The Realtek RTL8125BG/RTL8125BGS 10/100/1000M/2.5G Ethernet controller combines a four-speed
IEEE 802.3 compatible Media Access Controller (MAC) with a four-speed Ethernet transceiver, PCI
Express bus controller, and embedded memory. With state-of-the-art DSP technology and mixed-mode
signal technology, the RTL8125BG/RTL8125BGS offers high-speed transmission over CAT 5e UTP
cable or CAT 3 UTP (10Mbps only) cable. Functions such as Crossover Detection and Auto-Correction,
polarity correction, adaptive equalization, cross-talk cancellation, echo cancellation, timing recovery, and
error correction are implemented to provide robust transmission and reception capability at high speeds.
The RTL8125BGS provides a built-in switching regulator.
The RTL8125BG/RTL8125BGS supports the PCI Express 2.1 bus interface for host communications
with power management, and is compatible with the IEEE 802.3u specification for 10/100Mbps Ethernet,
the IEEE 802.3ab specification for 1000Mbps Ethernet and the IEEE 802.3bz specification for 2500Mbps
Ethernet. It supports an auxiliary power auto-detect function and will auto-configure related bits of the
PCI power management registers in PCI configuration space.
Advanced Configuration Power management Interface (ACPI)—power management for modern
operating systems that are capable of Operating System-directed Power Management (OSPM)—is
supported to achieve the most efficient power management possible. PCI MSI (Message Signaled
Interrupt) and MSI-X are also supported.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
In addition to the ACPI feature, remote wake-up (including AMD Magic Packet and Microsoft Wake-Up
Frame) is supported in both ACPI and APM (Advanced Power Management) environments. To support
WOL from a deep power down state (e.g., D3cold, i.e., main power is off and only auxiliary exists), the
auxiliary power source must be able to provide the needed power for the RTL8125BG/RTL8125BGS. To
further reduce power consumption, the RTL8125BG/RTL8125BGS also supports PCIe L1 substate L1.1
and L1.2.
The RTL8125BG/RTL8125BGS supports ‘RealWoW!’ technology that enables remote wake-up of a
sleeping PC through the Internet. This feature allows PCs to reduce power consumption by remaining in
low power sleeping state until needed.
Note: The ‘RealWoW!’ service requires registration on first time use.
The RTL8125BG/RTL8125BGS supports Protocol offload. It offloads some of the most common
protocols to NIC hardware in order to prevent spurious Wake-Up and further reduce power consumption.
The RTL8125BG/RTL8125BGS can offload ARP (IPv4) and NS (IPv6) protocols while in the D3 power
saving state.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
1
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
The RTL8125BG/RTL8125BGS supports the ECMA (European Computer Manufacturers Association)
proxy for sleeping hosts standard. The standard specifies maintenance of network connectivity and
presence via proxies in order to extend the sleep duration of higher-powered hosts. It handles some
network tasks on behalf of the host, allowing the host to remain in sleep mode for longer periods.
Required and optional behavior of an operating proxy includes generating reply packets, ignoring packets,
and waking the host.
The RTL8125BG/RTL8125BGS supports IEEE 1588, IEEE 1588-2008, and IEEE 802.1AS, also known
as Precision Time Protocol (PTP). IEEE 802.1AS is part of the Ethernet AVB (Audio Video Bridging)
standard. PTP provides micro-second level accuracy time synchronization among multiple Ethernet
devices. The RTL8125BG/RTL8125BGS implements hardware support for these standards. The
RTL8125BG/RTL8125BGS supports IEEE 802.1Qav, also part of the Ethernet AVB standard. IEEE
802.1Qav is a forwarding and queuing mechanism enhancement. It provides guarantees for time-sensitive
(i.e., bounded latency and delivery variation), loss-sensitive real-time audio video (AV) data traffic
transmissions.
The RTL8125BG/RTL8125BGS supports IEEE 802.3az-2010, also known as Energy Efficient Ethernet
(EEE). IEEE 802.3az-2010 operates with the IEEE 802.3 Media Access Control (MAC) Sublayer to
support operation in Low Power Idle mode. When the Ethernet network is in low link utilization, EEE
allows systems on both sides of the link to save power.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
The RTL8125BG/RTL8125BGS is compatible with Microsoft NDIS5, NDIS6 (IPv4, IPv6, TCP, UDP)
Checksum and Segmentation Task-offload (Large send and Giant send) features, and supports
IEEE 802.1P Layer 2 priority encoding and IEEE 802.1Q Virtual bridged Local Area Network (VLAN)
and IEEE 802.1ad Double VLAN. The above features contribute to lowering CPU utilization, especially
benefiting performance when in operation on a network server.
The RTL8125BG/RTL8125BGS supports Receive-Side Scaling (RSS) to hash incoming TCP
connections and load-balance received data processing across multiple CPUs. RSS improves the number
of transactions per second and number of connections per second, for increased network throughput.
The maximum supported jumbo frame length of the RTL8125BG/RTL8125BGS is 16384 bytes.
The device features inter-connect PCI Express technology. PCI Express is a high-bandwidth,
low-pin-count, serial, interconnect technology that offers significant improvements in performance over
conventional PCI and also maintains software compatibility with existing PCI infrastructure.
The RTL8125BG/RTL8125BGS is suitable for multiple market segments and emerging applications,
such as desktop, mobile, workstation, server, communications platforms, and embedded applications.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
2
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
2.
Features
Hardware
Integrated 10M BASE-Te and
100/1000M/2.5G BASE-T 802.3 compatible
transceiver
Supports 2.5G Lite (1G data rate) mode
Auto-Negotiation with Extended Next Page
capability (XNP)
Compatible with NBASE-TTM Alliance
PHY Specification
Supports PCI Express 2.1
Supports pair swap/polarity/skew correction
Configurable MDI port ordering (MDI swap)
for easy PCB layout
Built-in switching regulator
(RTL8125BGS only)
Generate reference clock from Crystal
Supports power down/link down power
saving/PHY disable mode
LAN disable with GPIO pin
Customized LEDs
Controllable LED Blinking Frequency and
Duty Cycle
Self-Loopback diagnostic capability
Thermal management
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
48-pin QFN ‘Green’ package
Crossover Detection & Auto-Correction
Serial EEPROM
Supports 1-Lane 2.5/5Gbps PCI Express
Bus
Supports 32Mbytes External Serial
Peripheral Interface (SPI) Flash
Embedded OTP memory can replace
external EEPROM
Supports ECMA-393 ProxZzzy Standard for
sleeping hosts
Supports hardware ECC (Error Correction
Code) function
Supports LTR (Latency Tolerance
Reporting)
Supports hardware CRC (Cyclic
Redundancy Check) function
Wake-On-LAN and ‘RealWoW!’
Technology (remote wake-up) support
Transmit/Receive on-chip buffer support
Supports PCI MSI (Message Signaled
Interrupt) and MSI-X
Supports 32-set 128-byte Wake-Up Frame
pattern exact matching
Supports 25MHz Crystal / External
Oscillator
Supports Microsoft WPI (Wake Packet
Indication)
Supports PCIe L1 substate L1.1and L1.2
Supports Rx High Priority Interrupt
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
3
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
IEEE
Software Offload
Compatible with IEEE 802.3, IEEE 802.3u,
IEEE 802.3ab
Supports IEEE 1588v1, IEEE 1588v2, IEEE
802.1AS time synchronization
Microsoft NDIS5, NDIS6 Checksum
Offload (IPv4, IPv6, TCP, UDP) and
Segmentation Task-offload (Large send v1
and Large send v2) support
Supports jumbo frame to 16K bytes
Supports IEEE 802.1Qav credit-based
shaper algorithm
Supports quad core Receive-Side Scaling
(RSS)
Supports IEEE 802.1P Layer 2 Priority
Encoding
Supports Protocol Offload (ARP & NS)
Supports IEEE 802.1Q VLAN tagging
Realtek Dragon Software
Supports IEEE 802.1ad Double VLAN
Smart Auto Adjust Bandwidth Control
Supports IEEE 802.3az (Energy Efficient
Ethernet)
Visual User Friendly UI
Visual Network Usage Statistics
Supports IEEE 802.3bz (2.5GBase-T)
Supports Full Duplex flow control
(IEEE 802.3x)
3.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
腾r
派Applications
System
PCI Express 10/100/1000/2500M Ethernet on Motherboard, Notebook, or Embedded systems.
Optimized Default Setting for Game,
Browser, and Streaming Modes
User Customized Priority Control
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
4
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Function Block Diagram
4.
Power-On
Reset
I/O
Control
EEPROM
LED
Control
LinkLED
TrafficLED
MCU
3.3V
0.95V
Power
IMEM
eFuse
DMEM
16 bit BUS
General Control/Status
Registers
TXMAC
MDI(X)
Ethernet
Transceiver
Power
Management
WAKE#
TXDMA
Packet
buffer
PCI Express
PCIe Bus
Gen2 ×1
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
RXDMA
RXMAC
Figure 1.
Function Block Diagram
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
4
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
5.
Pin Assignments
LED1 / EESK/SPISCK
SPICSB
LED2 / EEDO/SPIS0
28
27
26
25
LED0/EEDI/SPISI/SDA
DVDD33
DVDD09
29
38
39
40
41
42
43
44
45
46
47
48
32
31
30
HSOP
HSON
GND
AVDD33
EEPROM_SEL/PPS_PIN
EECS/SCL
LED3
35
34
37
33
PERSTB
36
EVDD09
HSIP
HSIN
AVDD33_XTAL
5.1. RTL8125BG Pin Assignments
24
MDIN3
23
MDIP3
22
AVDD09
21
20
MDIN2
MDIP2
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Figure 2.
16
AVDD09
15
AVDD33
14
13
MDIN0
12
9
10
11
8
18
17
AVDD33
MDIN1
MDIP1
19
MDIP0
NC
DVDD09
CKXTAL2
CKXTAL1
AVDD09
RSET
POW_EXT_SWR
5
6
7
4
NC
NC
ISOLATEB
LANWAKEB
1
DVDD09
CLKREQB
GPI
REFCLK_N
DVDD33
RTL8125BG
LLLLLLL
GXXXV
2
3
EVDD33
REFCLK_P
RTL8125BG Pin Assignments
5.2. RTL8125BG Package Identification
Green package is indicated by the ‘G’ in GXXXV (Figure 2). The letter in the ‘V’ location indicates the
IC version; a blank is used for version A.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
5
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
LED1 / EESK/SPISCK
SPICSB
LED2 / EEDO/SPIS0
28
27
26
25
LED0/EEDI/SPISI/SDA
DVDD33
DVDD09
29
32
31
30
AVDD33
EEPROM_SEL/PPS_PIN
EECS/SCL
LED3
35
34
33
PERSTB
36
AVDD33_XTAL
5.3. RTL8125BGS Pin Assignments
24
MDIN3
38
23
MDIP3
39
22
AVDD09
40
41
21
20
MDIN2
MDIP2
42
19
18
17
AVDD33
MDIN1
MDIP1
16
AVDD09
15
AVDD33
14
13
MDIN0
EVDD09
37
HSOP
HSON
GND
HSIP
HSIN
EVDD33
REFCLK_P
43
REFCLK_N
DVDD33
45
DVDD09
CLKREQB
47
48
RTL8125BGS
LLLLLLL
GXXXV
Figure 3.
12
9
10
11
8
MDIP0
REG_OUT
DVDD09
CKXTAL2
CKXTAL1
AVDD09
RSET
ENSWREG
5
6
7
VDDREG
VDDREG
GPI
2
3
ISOLATEB
LANWAKEB
1
46
4
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
44
RTL8125BGS Pin Assignments
5.4. RTL8125BGS Package Identification
Green package is indicated by the ‘G’ in GXXXV (Figure 3). The letter in the ‘V’ location indicates the
IC version; a blank is used for version A.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
6
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
6.
Pin Descriptions
The signal type codes below are used in the following tables:
I: Input
S/T/S: Sustained Tri-State
O: Output
O/D: Open Drain
T/S: Tri-State Bi-Directional Input/Output Pin
P: Power
6.1. Power Management/Isolation
Table 1. Power Management/Isolation
Symbol
Type
Pin No Description
Power Management Event: (Open drain, active low).
Used to reactivate the PCI Express slot’s main power rails and reference clocks.
For Strapping (internal floating, need external pull up)
LANWAKEB
I/O/D
2
For normal function, this pin must be externally pulled up with a 1K~4.7K ohm
resistor.
If this pin is pulled low during power on reset, the RTL8125BG/RTL8125BGS will
enter into test mode.
Isolate Pin: (Active Low).
Used to isolate the RTL8125BG/RTL8125BGS from the PCI Express bus. The
RTL8125BG/RTL8125BGS will not drive its PCI Express outputs (excluding
ISOLATEB
I
1
LANWAKEB) and will not sample its PCI Express input as long as the Isolate pin
is asserted. The isolate pin will follow the system state S0 to high, and S3/S4 to
low.
Note 1: Power on reset after 0.95V core logic ready => min: 21ms
Note 2: Test mode is used only by Realtek.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
6.2. PCI Express Interface
Symbol
REFCLK_P
REFCLK_N
HSOP
HSON
HSIP
HSIN
PERSTB
Type
I
I
O
O
I
I
I
Pin No
44
45
38
39
41
42
36
Table 2.
Description
PCI Express Interface
PCI Express Differential Reference Clock Source: 100MHz ± 300ppm.
PCI Express Transmit Differential Pair.
PCI Express Receive Differential Pair.
PCI Express Reset Signal: (Active Low).
When the PERSTB is asserted at power-on state, the RTL8125BG/RTL8125BGS
returns to a pre-defined reset state and is ready for initialization and configuration
after the de-assertion of the PERSTB.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
7
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Symbol
CLKREQB
Type
Pin No
I /O/D
48
Description
Reference Clock Request Signal (Open Drain; Active Low).
This signal is used by the RTL8125BG/RTL8125BGS to request starting of the
PCI Express reference clock.
The signal is also used by the L1.2 mechanism. In this case, CLKREQB can be
asserted by either the system or RTL8125BG/RTL8125BGS to initiate a L1 exit.
6.3. Transceiver Interface
Table 3. Transceiver Interface
Description
In MDI mode, this is the first pair in 2.5G BASE-T, 1000BASE-T, i.e., the
BI_DA+/- pair, and is the transmit pair in 10BASE-Te and 100BASE-TX.
In MDI crossover mode, this pair acts as the BI_DB+/- pair, and is the receive pair
in 10BASE-Te and 100BASE-TX.
MDIN0
IO
14
If MDI swap is set, this pair is BI_DD+/- in MDI mode and is BI_DC+/- in MDI
crossover mode.
MDIP1
IO
17
In MDI mode, this is the second pair in 2.5G BASE-T, 1000BASE-T, i.e., the
BI_DB+/- pair, and is the receive pair in 10BASE-Te and 100BASE-TX.
In MDI crossover mode, this pair acts as the BI_DA+/- pair, and is the transmit
pair in 10BASE-Te and 100BASE-TX.
MDIN1
IO
18
If MDI swap is set, this pair is BI_DC+/- in MDI mode and is BI_DD+/- in MDI
crossover mode.
MDIP2
IO
20
In MDI mode, this is the third pair in 2.5G BASE-T, 1000BASE-T, i.e., the
BI_DC+/- pair.
In MDI crossover mode, this pair acts as the BI_DD+/- pair.
MDIN2
IO
21
If MDI swap is set, this pair is BI_DB+/- in MDI mode and is BI_DA+/- in MDI
crossover mode.
MDIP3
IO
23
In MDI mode, this is the fourth pair in 2.5G BASE-T, 1000BASE-T, i.e., the
BI_DD+/- pair.
In MDI crossover mode, this pair acts as the BI_DC+/- pair.
MDIN3
IO
24
If MDI swap is set, this pair is BI_DA+/- in MDI mode and is BI_DB+/- in MDI
crossover mode.
Note: BI_DA+/-, BI_DB+/-, BI_DC+/-, BI_DD+/- means the logical wire-pairs as described in the IEEE 802.3 standard.
The MDI swap register option should be set in accordance with the ICM/XFMR pin definition.
Symbol
MDIP0
Type
IO
Pin No
13
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
6.4. Clock
Table 4.
Symbol
Type
Pin No
CKXTAL1
I
10
CKXTAL2
O
9
Clock
Description
Input of 25MHz Clock Reference.
If a 25MHz oscillator is used, connect CKXTAL1 pin to the oscillator’s output.
Output of 25MHz Clock Reference
Keep this pin floating if an external 25MHz oscillator drives the CKXTAL1 pin.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
8
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
6.5. Regulator and Reference
Symbol
Type
Pin No
REG_OUT
O
7
VDDREG
P
4,5
RSET
I
12
Table 5.
Regulator and Reference
Description
For RTL8125BGS.
Built-in Switching Regulator 0.95V Output.
For RTL8125BGS.
Digital 3.3V Power Supply for built-in Switching Regulator.
Reference (External resistor reference).
6.6. EEPROM
Symbol
EESK
Type
Pin No
I/O
27
Table 6. EEPROM
Description
Serial Data Clock.
For Strapping (internal floating, need external pull up)
For normal function, this pin must be externally pulled up with a 4.7K ohm resistor.
If this pin is pulled low during power on reset, the RTL8125BG/RTL8125BGS will
enter into test mode.
Note: This is a share-pin with LED1/SPISCK.
EEDI: Output to serial data input pin of EEPROM.
SDA: Data interface for TWSI EEPROM.
Refer to the reference schematic for strapping pin information.
All strapping pins are power-on latch pins.
TWSI EEPROM: Power On Latch Value High Voltage
3-wire EEPROM: Power On Latch Value Low Voltage
Note: This is a share-pin with LED0/SPISI.
Input from Serial Data Output Pin of EEPROM.
Note: This is a share-pin with LED2/SPISO.
EECS: EEPROM Chip Select.
SCL: Clock interface for TWSI EEPROM.
EEPROM 93C46/93C56/93C66 Selection.
Refer to the reference schematic for strapping pin information.
All strapping pins are power-on latch pins.
93C46: Power On Latch Value Low Voltage
93C56/93C66: Power On Latch Value High Voltage
Note: This is a share-pin with PPS_PIN.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
EEDI/SDA
O/I
30
EEDO
I
25
EECS/SCL
O
31
EEPROM_SEL
I
32
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
9
Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
6.7. SPI (Serial Peripheral Interface) Flash
Symbol
SPICSB
Type
O
Pin No
26
SPISCK
I/O
27
SPISI
O
30
SPISO
I
25
Table 7. SPI Flash
Description
SPI Flash Chip Select.
SPI Flash Serial Data Clock.
For Strapping (internal floating, need external pull up)
For normal function, this pin must be externally pulled up with a 4.7K ohm
resistor.
If this pin is pulled low during power on reset, the
RTL8125BG/RTL8125BGS will enter into test mode.
Note: This is a share-pin with LED1/EESK.
Serial Data Input.
Note: This is a share-pin with LED0/EEDI/SDA.
Serial Data Output.
Note: This is a share-pin with LED2/EEDO.
6.8. LEDs
Table 8.
Symbol
Type
LEDs
Pin No
Description
LED Pin.
LED0
O
30
Note: This is a share-pin with EEDI/SPISI/SDA.
LED Pin.
For Strapping (internal floating, need external pull up)
For normal function, this pin must be externally pulled up with a 4.7K ohm
LED1
I/O
27
resistor.
If this pin is pulled low during power on reset, the RTL8125BG/RTL8125BGS will
enter into test mode.
Note: This is a share-pin with EESK/SPISCK.
LED Pin.
LED2
O
25
Note: This is a share-pin with EEDO/SPISO.
LED3
O
35
LED Pin.
Note: See section 7.2, page 13 for more details.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
10 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
6.9. Power and Ground
Table 9. Power and Ground
Symbol
Type
Pin No
Description
DVDD09
P
47,28,8
Digital Core Power 0.95V Supply.
DVDD33
P
46,29
Digital Power 3.3V Supply.
AVDD09
P
22,16,11
Analog Core Power 0.95V Supply.
AVDD33
P
15,19,33
Analog Power 3.3V Supply.
EVDD33
P
43
PCIe Power 3.3V Supply.
AVDD33_XTAL
P
34
Analog Power 3.3V Supply for XTAL.
EVDD09
P
37
PCIe Core Power 0.95V Supply.
GND
P
40
Ground.
GND
P
49
Ground (Exposed Pad (E-Pad) is Analog and Digital Ground).
Note: Refer to the latest schematic circuit for correct configuration.
6.10. GPIO
Symbol
GPI
Type
I /O
Pin No
3
Table 10. GPIO
Description
General Purpose Input / Output Pin.
1. Power Saving Feature: Output pin
2. Link OK Feature: Output pin
3. PHY Disable mode (active low): Input pin
4. LAN Disable mode (active low): Input Pin
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
6.11. Other派
Pins腾 reference only
Symbol
Type
Pin No
POW_EXT_SWR
O
6
ENSWREG
I
6
IO
32
PPS_PIN
Table 11. Other Pins
Description
For RTL8125BG.
Enable external switch regulator to generate 0.95V power.
1: Enable
0: Disable
For RTL8125BGS.
Enable built-in switch regulator to generate 0.95V power.
1: Enable
0: Disable
Pulse Per Second pin.
PPS clock output / PPS as input reference clock.
Note: This is a share-pin with EEPROM_SEL.
NC
-
4,5,7
For RTL8125BG.
Not Connected Pin.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
11 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.
Functional Description
7.1. PCI Express Bus Interface
The RTL8125BG/RTL8125BGS is compatible with PCI Express Base Specification Revision 2.1, and
runs at a 5GHz signaling rate with X1 link width, i.e., one transmit and one receive differential pair. The
RTL8125BG/RTL8125BGS supports four types of PCI Express messages: interrupt messages, error
messages, power management messages, and hot-plug messages. To ease PCB layout constraints, PCI
Express lane polarity reversal is supported.
7.1.1. PCI Express Transmitter
The RTL8125BG/RTL8125BGS’s PCI Express block receives digital data from the Ethernet interface
and performs data scrambling with Linear Feedback Shift Register (LFSR) and 8B/10B coding
technology into 10-bit code groups. Data scrambling is used to reduce the possibility of electrical
resonance on the link, and 8B/10B coding technology is used to benefit embedded clocking, error
detection, and DC balance by adding an overhead to the system through the addition of two extra bits.
The data code groups are passed through its serializer for packet framing. The generated 5Gbps serial data
is transmitted onto the PCB trace to its upstream device via a differential driver.
7.1.2. PCI Express Receiver
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
The RTL8125BG/RTL8125BGS’s PCI Express block receives 5Gbps serial data from its upstream device
to generate parallel data. The receiver’s PLL circuits are re-synchronized to maintain bit and symbol lock.
Through 8B/10B decoding technology and data de-scrambling, the original digital data is recovered and
passed to the RTL8125BG/RTL8125BGS’s internal Ethernet MAC to be transmitted onto the Ethernet
media.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
12 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.2. Customizable LED Configuration
The RTL8125BG/RTL8125BGS supports customizable LED operation modes via control registers. An
individual control register of each LED and a global feature control register are provided to support your
own LED signals, which are described in Table 12 & Table 13.
Table 12. Customized LEDs
LINK
Link 1000M
Link 2500M
LED0-Bit 3
LED0-Bit 5
LED1-Bit 3
LED1-Bit 5
LED2-Bit 3
LED2-Bit 5
LED3-Bit 3
LED3-Bit 5
LEDSEL
LED 0
LED 1
LED 2
LED 3
Link 10M
LED0-Bit 0
LED1-Bit 0
LED2-Bit 0
LED3-Bit 0
Feature Control
0
1
Link 100M
LED0-Bit 1
LED1-Bit 1
LED2-Bit 1
LED3-Bit 1
LED0-Bit 12
LED0 Low
Active
LED0 High
Active
ACT/Full
LED0-Bit 9
LED1-Bit 9
LED2-Bit 9
LED3-Bit 9
Table 13. LED Feature Control
LED1-Bit 12
LED2-Bit 12
LED3-Bit 12
LED1 Low
LED2 Low
LED3 Low
Active
Active
Active
LED1 High
LED2 High
LED3 High
Active
Active
Active
High/Low Active
Control
LED0-Bit 12
LED1-Bit 12
LED2-Bit 12
LED3-Bit 12
LED Option Table
Indicates Option 1 of
Table 16 is selected
Indicates Option 2 of
Table 16 is selected
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
The RTL8125BG/RTL8125BGS supports two special modes: LED OFF Mode and Fixed LED Mode. In
LED OFF Mode all LED pins output become floating (power saving). The Fixed LED Mode is shown in
Table 14.
Table 14. Fixed LED Mode
LED1
LED2
LINK
Full Duplex +
Collision
Transmit
LINK
Receive
LED0
ACT
The normal mode is set as shown in Table 15 and Table 16.
LED Pin
LINK=0
LINK>0
Table 15. LED Feature Control-2
ACT=0
ACT=1
Floating
All Speed ACT
Selected Speed LINK Option 1 (see Selected Speed LINK+ Selected Speed ACT)
Option 2 (see Selected Speed LINK+ All Speed ACT)
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
13 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Link Bit
Table 16. LED Option 1 & Option 2 Settings
Active
Description
Bit
2500
Link
Option 1 LED Activity
10
100
1000
0
0
0
0
0
0
0
0
0
1
-
0
0
0
0
0
0
1
1
0
1
Link2500
Link2500
LED Off
Act10+Act100+Act1000+
Act2500
Act2500
0
0
0
0
1
1
0
0
0
1
Link1000
Link1000
Act1000
0
0
0
0
1
1
1
1
0
1
Link1000+Link2500
Link1000+Link2500
Act1000+Act2500
0
0
1
1
0
0
0
0
0
1
Link100
Link100
Act100
0
0
1
1
0
0
1
1
0
1
Link100+Link2500
Link100+Link2500
Act100+Act2500
1
1
1
1
0
0
0
1
Link100+Link1000
Link100+Link1000
Act100+Act1000
1
1
1
0
-
1
1
1
1
0
0
0
0
0
0
0
1
Link100+Link1000+
Link2500
Link100+Link1000+
Link2500
Link10
Link10
1
1
0
0
0
0
1
1
0
1
Link10+Link2500
Link10+Link2500
Act10+ Act2500
1
1
0
0
1
1
0
0
0
1
Link10+Link1000
Link10+Link1000
Act10+Act1000
1
0
1
1
0
-
1
0
1
1
1
1
1
1
1
0
0
0
0
0
1
Link10+Link1000+
Link2500
Link10+Link1000+
Link2500
Link10+Link100
Link10+Link100
1
1
0
1
0
0
0
0
0
1
1
Option 2 LED
Activity
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
-
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Link10+Link100+Lin
k2500
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
Act100+Act1000+Act2500
Act10
Act10+Act1000+Act2500
Act10+Act100
-
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
-
14 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Link Bit
Active
Bit
10
100
1000
2500
1
1
0
1
1
1
1
1
0
0
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
Description
Link
Option 1 LED Activity
Link10+Link100+
Link2500
Link10+Link100+
Link1000
Link10+Link100+
Link1000
Link10+Link100+
Link1000+Link2500
Link10+Link100+
Link1000+Link2500
Act10+Act100+Act2500
Act10+Act100+Act1000
Option 2 LED
Activity
Act10+Act100+Act1000+
Act2500
-
-
Act10+Act100+Act1000+
Act2500
-
Act10+Act100+Act1000+
Act2500
Act10+Act100+Act1000+
Act2500
Note:
Act10 = LED blinking when Ethernet packets transmitted/received at 10Mbps.
Act100 = LED blinking when Ethernet packets transmitted/received at 100Mbps.
Act1000 = LED blinking when Ethernet packets transmitted/received at 1000Mbps.
Act2500 = LED blinking when Ethernet packets transmitted/received at 2500Mbps.
Link10 = LED lit when Ethernet connection established at 10Mbps.
Link100 = LED lit when Ethernet connection established at 100Mbps.
Link1000 = LED lit when Ethernet connection established at 1000Mbps.
Link2500 = LED lit when Ethernet connection established at 2500Mbps.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
All LEDs supports low power mode in preboot or system sleep status. Table 17 describes this feature.
led_lp_en_x
led_preboot_en_x
Table 17. LED Low Power Mode
If non-preboot and in D3 status:
1: Led_x’s behavior follows Table 16
0: Default status, LED Off
If preboot and in D3 status:
1: Led_x’s behavior follows Table 16
0: Default status, LED Off
For more detailed configuration of the Customizable LED, refer to the LED App Note.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
15 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.2.1. LED Blinking Frequency Control
The RTL8125BG/RTL8125BGS supports LED blinking frequency control to set user’s LED blinking
frequency and duty cycle (see Table 18). If the b_freq[1:0] set as 0x2 and the b_duty_cycle[1:0] set as
0x3, the LED blinking frequency is 80ms and the duty cycle is 75%. The LED State is shown in Figure 4.
Bit
b_freq[1:0]
RW
RW
b_duty_cycle[1:0]
RW
Table 18. LED Blinking Frequency Control
Description
LED Blinking Frequency.
0: 240ms
1: 160ms (Default)
2: 80ms
3: Link Speed Dependent
LED Blinking Duty Cycle.
0: 12.5%
1: 25%
2: 50% (Default)
3: 75%
Duty Cycle: 75%
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
LED OFF
LED State
LED ON
80 ms
80 ms
80 ms
Note: Assume the LED is in low active.
Figure 4.
LED Blinking Frequency Example
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
16 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.3. PHY Transceiver
7.3.1. PHY Transmitter
XGMII (2500Mbps) Mode
The RTL8125BG/RTL8125BGS’s PCS layer receives data bytes from the MAC through the XGMII
interface and performs LDPC encoding to enhance error correction performance. After LDPC framing,
each 4 bits are grouped to a PAM16 symbol though gray code mapping scheme. These code groups are
passed through a waveform-shaping filter to minimize EMI effect, and are transmitted onto the 4-pair
CAT.5e cable at 200Mbaud/s through a D/A converter.
GMII (1000Mbps) Mode
The RTL8125BG/RTL8125BGS’s PCS layer receives data bytes from the MAC through the GMII
interface and performs the generation of continuous code-groups through 4D-PAM5 coding technology.
These code groups are passed through a waveform-shaping filter to minimize EMI effects, and are
transmitted onto the 4-pair CAT5 cable at 125Mbaud/s through a D/A converter.
MII (100Mbps) Mode
The transmitted 4-bit nibbles (TXD[3:0]) from the MAC, clocked at 25MHz (TXC), are converted into
5B symbol code through 4B/5B coding technology, then through scrambling and serializing, are
converted to 125MHz NRZ and NRZI signals. After that, the NRZI signals are passed to the MLT3
encoder, then to the D/A converter and transmitted onto the media.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
MII (10Mbps) Mode
The transmitted 4-bit nibbles (TXD[3:0]) from the MAC, clocked at 2.5MHz (TXC), are serialized into
10Mbps serial data. The 10Mbps serial data is converted into a Manchester-encoded data stream and is
transmitted onto the media by the D/A converter.
7.3.2. PHY Receiver
XGMII (2500Mbps) Mode
Received bits from the media are first passed through the on-chip sophisticated hybrid circuit to eliminate
the transmitted signal interference from the input signal for effective reduction of near-end echo. The
received signal is processed with state-of-the-art technology, such as adaptive equalization, BLW
(Baseline Wander) correction, cross-talk cancellation, echo cancellation, timing recovery, error
correction, RFI cancellation, deskew, and PAM16 decoding. Each 2048-bit-wide data is passed through a
LDPC decoder and is sent to the XGMII interface. The Rx MAC retrieves the packet data and sends it to
the Rx Buffer Manager.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
17 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
GMII (1000Mbps) Mode
Input signals from the media pass through the sophisticated on-chip hybrid circuit to separate the
transmitted signal from the input signal for effective reduction of near-end echo. Afterwards, the received
signal is processed with state-of-the-art technology, e.g., adaptive equalization, BLW (Baseline Wander)
correction, cross-talk cancellation, echo cancellation, timing recovery, error correction, and 4D-PAM5
decoding. The 8-bit-wide data is recovered and is sent to the GMII interface at a clock speed of 125MHz.
The RX MAC retrieves the packet data from the receive MII/GMII interface and sends it to the RX
Buffer Manager.
MII (100Mbps) Mode
The MLT3 signal is processed with an ADC, equalizer, BLW (Baseline Wander) correction, timing
recovery, MLT3 and NRZI decoder, descrambler, 4B/5B decoder, and is then presented to the MII
interface in 4-bit-wide nibbles at a clock speed of 25MHz.
MII (10Mbps) Mode
The received differential signal is converted into a Manchester-encoded stream first. Next, the stream is
processed with a Manchester decoder and is de-serialized into 4-bit-wide nibbles. The 4-bit nibbles are
presented to the MII interface at a clock speed of 2.5MHz.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
7.3.3. Link Down Power Saving Mode
The RTL8125BG/RTL8125BGS implements link-down power saving; greatly cutting power
consumption when the network cable is disconnected. The RTL8125BG/RTL8125BGS automatically
enters link down power saving mode 3 seconds after the cable is disconnected from it. Once it enters link
down power saving mode, it transmits normal link pulses on its TX pins and continues to monitor the RX
pins to detect incoming signals. After it detects an incoming signal, it wakes up from link down power
saving mode and operates in normal mode according to the result of the connection.
7.3.4. Next Page
If 1000BASE-T mode is advertised, three additional Next Pages (1000BASE-T Message Page,
Unformatted Page 1, and Unformatted Page 2) are automatically exchanged between the two link
partners. Users can set PHY MMD7.0x10.15 to 1 to manually exchange extra Next Pages via
MMD7.0x16 and MMD7.0x19 as defined in IEEE 802.3 standard.
To advertise 2.5GBASE-T capability, both link partners, sharing the same link medium, should engage in
XNP (Extended Next Page) exchange. NBASE-T OUI tagged page exchange would be further needed if
NBASE-T capability is to be advertised. Users can set PHY MMD7.0x0.13 to 1 to manually exchange
extra Extended Next Pages via MMD7.0x16 ~MMD7.0x1B as defined in the IEEE 802.3 standard.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
18 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.4. EEPROM Interface
Both 3-wire and TWSI EEPROM interfaces are supported. The 3-wire interface utilizes a
93C46/93C56/93C66, which is a 1K-bit/2K-bit/4K-bit, respectively, EEPROM. The EEPROM interface
permits the RTL8125BG/RTL8125BGS to read from, and write data to, an external serial EEPROM
device.
Values in the internal eMemory OTP or external EEPROM allow default fields in PCI configuration
space and I/O space to be overridden following a power-on or software EEPROM auto-load command.
The RTL8125BG/RTL8125BGS will auto-load values from the eMemory OTP or EEPROM. If the
EEPROM is not present and eMemory OTP auto-load is bypassed, the RTL8125BG/RTL8125BGS
initialization uses default values for the appropriate Configuration and Operational Registers. Software
can read and write to the EEPROM using bit-bang accesses via the 9346CR Register, or using PCI VPD
(Vital Product Data). The EEPROM 3-wire interface consists of EESK, EECS, EEDO, and EEDI. The
TWSI interface shares SCL/SDA with EECS/EEDI.
The correct EEPROM (i.e., 93C46/93C56/93C66) must be used in order to ensure proper LAN function.
EEPROM
EECS/SCL
EESK
EEDI/SDA
EEDO
Table 19. EEPROM Interface
Description
93C46/93C56/93C66 Chip Select.
EEPROM Serial Data Clock.
Output to Serial Data Input Pin of EEPROM.
Output Data Bus.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
19 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.5. SPI (Serial Peripheral Interface) Flash
The RTL8125BG/RTL8125BGS supports the attachment of 32MB (maximum) external Serial Peripheral
Interface (SPI) Flash. The SPI flash provides 32MB bytes of serial reprogrammable flash memory.
SPI Flash is enabled by the RTL8125BG/RTL8125BGS through the Chip Select pin, and accessed via a
3-wire interface consisting of Serial Data Input (SI), Serial Data Output (SO), and Serial Clock (SCK).
The SPI flash utilizes an 8-bit instruction register. All instructions, addresses, and data are transferred
with the MSB first and start with a high-to-low transition.
Compared to a parallel bus interface, the Serial Peripheral Interface provides simpler wiring and much
less interaction (crosstalk) among the conductors in the cable. This minimizes the number of conductors,
pins, and the IC package size, reducing the cost of making, assembling, and testing the electronics.
SPI Flash
SPISO
SPISI
SPISK
SPICSB
Table 20. SPI Flash Interface
Description
Input Data Bus.
Output Data Bus.
SPI Flash Serial Data Clock.
SPI Flash Chip Select.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
7.6. Power Management
The RTL8125BG/RTL8125BGS is compatible with ACPI (Rev 1.0, 1.0b, 2.0, 3.0), PCI Power
Management (Rev 1.1), PCI Express Active State Power Management (ASPM), and Network Device
Class Power Management Reference Specification (V1.0a), such as to support an Operating
System-directed Power Management (OSPM) environment.
The RTL8125BG/RTL8125BGS can monitor the network for a Wake-Up Frame or a Magic Packet, and
notify the system via a PCI Express Power Management Event (PME) Message, or the LANWAKEB pin
when such a packet or event occurs. The system can then be restored to a normal state to process
incoming jobs.
When the RTL8125BG/RTL8125BGS is in power down mode (D1~D3):
The RX state machine is stopped. The RTL8125BG/RTL8125BGS monitors the network for Wake-Up
events such as a Magic Packet and Wake-Up Frame in order to wake up the system. When in power
down mode, the RTL8125BG/RTL8125BGS will not reflect the status of any incoming packets in the
ISR register and will not receive any packets into the RX on-chip buffer
The on-chip buffer status and packets that have already been received into the RX on-chip buffer
before entering power down mode are held by the RTL8125BG/RTL8125BGS
Transmission is stopped. PCI Express transactions are stopped. The TX on-chip buffer is held
After being restored to D0 state, the RTL8125BG/RTL8125BGS transmits data that was not moved
into the TX on-chip buffer during power down mode. Packets that were not transmitted completely
last time are re-transmitted
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
20 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
The D3cold_support_PME bit (bit15, PMC register) and the Aux_I_b2:0 bits (bit8:6, PMC register) in PCI
configuration space depend on the existence of Aux power. If aux. power is absent, the above 4 bits are
all 0 in binary.
Example:
If EEPROM D3c_support_PME = 1:
If aux. power exists, then PMC in PCI config space is the same as EEPROM PMC
(if EEPROM PMC = C3 FF, then PCI PMC = C3 FF)
If aux. power is absent, then PMC in PCI config space is the same as EEPROM PMC except the
above 4 bits are all 0’s (if EEPROM PMC = C3 FF, then PCI PMC = 03 7E)
In the above case, if wakeup support is desired when main power is off, it is suggested that the EEPROM
PMC be set to C3 FF (Realtek EEPROM default value).
If EEPROM D3c_support_PME = 0:
If aux. power exists, then PMC in PCI config space is the same as EEPROM PMC
(if EEPROM PMC = C3 7F, then PCI PMC = C3 7F)
If aux. power is absent, then PMC in PCI config space is the same as EEPROM PMC except the
above 4 bits are all 0’s (if EEPROM PMC = C3 7F, then PCI PMC = 03 7E)
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
In the above case, if wakeup support is not desired when main power is off, it is suggested that the
EEPROM PMC be set to 03 7E.
Magic Packet Wake-Up occurs only when the following conditions are met:
The destination address of the received Magic Packet is acceptable to the RTL8125BG/RTL8125BGS,
e.g., a broadcast, multicast, or unicast packet addressed to the current RTL8125BG/RTL8125BGS
The received Magic Packet does not contain a CRC error
The RTL8125BG/RTL8125BGS driver has set up the needed registers (automatically set), and the
corresponding Wake-Up method (message or LANWAKEB) can be asserted in the current power state
The Magic Packet pattern matches, i.e., 6 * FFh + 16 * DID (Destination ID) in any part of a valid
Ethernet packet
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
21 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
A Wake-Up Frame event occurs only when the following conditions are met:
The destination address of the received Wake-Up Frame is acceptable to the
RTL8125BG/RTL8125BGS, e.g., a broadcast, multicast, or unicast address to the current
RTL8125BG/RTL8125BGS
The received Wake-Up Frame does not contain a CRC error
The RTL8125BG/RTL8125BGS driver has set up the needed registers (automatically set)
The 16-bit CRC* of the received Wake-Up Frame matches the 16-bit CRC of the sample Wake-Up
Frame pattern given by the local machine’s OS. Or, the RTL8125BG/RTL8125BGS is configured to
allow direct packet wakeup, e.g., a broadcast, multicast, or unicast network packet
The 128 bytes* of the received Wake-Up Frame exactly matches the 128 bytes of the sample
Wake-Up Frame pattern given by the local machine’s OS
Note 1: 16-bit CRC: The RTL8125BG/RTL8125BGS supports 32-set 16-bit CRC Wake-Up frames
(covering 128 mask bytes from offset 0 to 127 of any incoming network packet). CRC16 polynomial = x16
+ x12 + x5 + 1.
Note 2: 128-byte Wake-Up Frame: The RTL8125BG/RTL8125BGS supports 32-set 128-byte Wake-Up
frames. If enabled, the 16-bit CRC Wake-Up match will be disabled.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
The corresponding Wake-Up method (message or LANWAKEB) is asserted only when the following
conditions are met:
The PME_En bit (bit8, PMCSR) in PCI Configuration Space is set to 1
The RTL8125BG/RTL8125BGS may assert the corresponding Wake-Up method (message or
LANWAKEB) in the current power state or in isolation state, depending on the PME_Support
(bit15~11) setting of the PMC register in PCI Configuration Space
A Magic Packet, LinkUp, or Wake-Up Frame has been received
Writing a 1 to the PME_Status (bit15) of the PMCSR register in the PCI Configuration Space clears
this bit and causes the RTL8125BG/RTL8125BGS to stop asserting the corresponding Wake-Up
method (message or LANWAKEB) (if enabled)
When the RTL8125BG/RTL8125BGS is in power down mode, e.g., D1~D3, the IO, and MEM accesses
to the RTL8125BG/RTL8125BGS are disabled. After a PERSTB assertion, the device’s power state is
restored to D0 automatically if the original power state was D3 cold. There is almost no hardware delay at
the device’s power state transition. When in ACPI mode, the device does not support PME (Power
Management Enable) from D0 (this is the Realtek default setting). The setting may be changed from the
EEPROM or eMemory OTP, if required.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
22 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.7. Vital Product Data (VPD)
Bit 31 of the Vital Product Data (VPD) capability structure in the RTL8125BG/RTL8125BGS’s PCI
Configuration Space is used to issue VPD read/write commands and is also a flag used to indicate
whether the transfer of data between the VPD data register and the 93C46/93C56/93C66 has completed or
not.
Write VPD register: (write data to the 93C46/93C56/93C66):
Set the flag bit to 1 at the same time the VPD address is written to write VPD data to EEPROM. When
the flag bit is reset to 0 by the RTL8125BG/RTL8125BGS, the VPD data (4 bytes per VPD access) has
been transferred from the VPD data register to EEPROM.
Read VPD register: (read data from the 93C46/93C56/93C66):
Reset the flag bit to 0 at the same time the VPD address is written to retrieve VPD data from EEPROM.
When the flag bit is set to 1 by the RTL8125BG/RTL8125BGS, the VPD data (4 bytes per VPD access)
has been transferred from EEPROM to the VPD data register.
Note 1: Refer to the PCI 2.3 Specifications for further information.
Note 2: The VPD address must be a DWORD-aligned address as defined in the PCI 2.3 Specifications.
VPD data is always consecutive 4-byte data starting from the VPD address specified.
Note 3: Realtek reserves offset 60h to 7Fh in EEPROM mainly for VPD data to be stored.
Note 4: The VPD function of the RTL8125BG/RTL8125BGS is designed to be able to access the full
range of the 93C46/93C56/93C66 EEPROM.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
k
e
t
l
a
e
R
7.8. Receive-Side Scaling (RSS)
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
The RTL8125BG/RTL8125BGS is compatible with the Network Driver Interface Specification (NDIS)
6.0 Receive-Side Scaling (RSS) technology for the Microsoft Windows family of operating systems. RSS
allows packet receive-processing from a network adapter to be balanced across the number of available
computer processors, increasing performance on multi-CPU platforms.
7.8.1. Receive-Side Scaling (RSS) Initialization
During RSS initialization, the Windows operating system will inform the RTL8125BG/RTL8125BGS
that it should store the following parameters: hash function, hash type, hash bits, indirection table,
BaseCPUNumber, and the secret hash key.
Hash Function
The default hash function is the Toeplitz hash function.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
23 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Hash Type
The hash types indicate which field of the packet needs to be hashed to get the hash result. There are
several combinations of these fields, mainly, TCP/IPv4, IPv4, TCP/IPv6, IPv6, and IPv6 extension
headers.
TCP/IPv4 requires hash calculations over the IPv4 source address, the IPv4 destination address, the
source TCP port and the destination TCP port
IPv4 requires hash calculations over the IPv4 source address and the IPv4 destination address
TCP/IPv6 requires hash calculations over the IPv6 source address, the IPv6 destination address, the
source TCP port and the destination TCP port
IPv6 requires hash calculations over the IPv6 source address and the IPv6 destination address
(Note: The RTL8125BG/RTL8125BGS does not support the IPv6 extension header hash type in RSS.)
Hash Bits
Hash bits are used to index the hash result into the indirection table.
Indirection Table
The Indirection Table stores values that are added to the BaseCPUNumber to enable RSS interrupts to be
restricted from some CPUs. The OS will update the Indirection Table to rebalance the load.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
BaseCPUNumber
The lowest number CPU to use for RSS. BaseCPUNumber is added to the result of the indirection table
lookup.
Secret Hash Key
The key used in the Toeplitz function. For different hash types, the key size is different.
7.8.2. Protocol Offload
Protocol offload is a task offload supported by Microsoft Windows 7. It maintains a network presence for
a sleeping higher power host. Protocol offload prevents spurious Wake-Up and further reduces power
consumption. It maintains connectivity while hosts are asleep, including receiving requests from other
nodes on the network, ignoring packets, generating packets while in the sleep state (e.g., the Ethernet
Controller will generate ARP responses if the same MAC and IPv4 address are provided in the
configuration data), and intelligently waking up host systems. The RTL8125BG/RTL8125BGS supports
the ECMA (European Computer Manufacturers Association) specification including proxy configuration
and management, IPv4 ARP, IPv6 NDP, and Wake-Up packets. The RTL8125BG/RTL8125BGS also
supports optional ECMA items such as QoS tagged packets and duplicate address detection.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
24 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.8.3. RSS Operation
After the parameters are set, the RTL8125BG/RTL8125BGS will start hash calculations on each
incoming packet and forward each packet to its correct queue according to the hash result. If the incoming
packet is not in the hash type, it will be forwarded to the primary queue. The hash result plus the
BaseCPUNumber will be indexed into the indirection table to get the correct CPU number. The
RTL8125BG/RTL8125BGS uses three methods to inform the system of incoming packets: inline
interrupt, MSI, and MSIX. Periodically the OS will update the indirection table to rebalance the load
across the CPUs.
7.8.4. Improved RSS
Improved RSS allows a packet with specific requirements to be assigned to the specific CPU.
Initialization of Improved RSS is the same as traditional RSS, except that the Indirection Table is updated
by the RTL8125BG/RTL8125BGS rather than the OS.
Traditional RSS averages incoming packets to different CPUs, meaning the probability of any CPU
processing the packet is equal. With 4 CPUs, each incoming packet has a 75% chance to be forwarded to
an incorrect CPU. This results in re-transmission of packets to the correct destination CPU, causing
wasted utilization of CPUs. The Improved RSS transmits packets to the specific CPU directly, which
improves CPU efficiency.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
7.9. Precision Time Protocol (PTP)
The Precision Time Protocol (PTP) is a series of IEEE 1588v1, IEEE 1588v2, and IEEE 802.1AS. These
standards specify the protocol and procedures to provide high-level time synchronization on Ethernet
devices for time sensitive applications, such as audio and video. The RTL8125BG/RTL8125BGS
supports the standards by providing the following hardware features.
Supports all versions of PTP standards: 1588, 1588-2008, and 802.1AS
Layer2, UDP/IPv4, and UDP/IPv6 PTPv2 Ethernet packets supported
Detection and time stamping of PTP packets on both TX and RX sides with resolution of 8ns
Offset and frequency adjustable PTP clock
One-step timestamp insertion on PTP event packets and timestamp update offload on PTP general
packets
Generation of Pulse Per Second (PPS) signal
Hardware Time maintain Offload feature
For more detailed configuration of the PTP functions, refer to the PTP App Note.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
25 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.10. IEEE 802.1Qav
802.1Qav is part of the Ethernet AVB (Audio Video Bridging) standard. It enhances the forwarding and
queuing mechanism to meet the requirements of time-sensitive Audio/Video Streams. The
RTL8125BG/RTL8125BGS implements the credit-based shaper algorithm on all TX queues. User can
make bandwidth reservation on each TX queue. The hardware will control the queuing and transmitting
to make sure the outgoing traffic matches the bandwidth reservation.
7.11. Double VLAN (Double Virtual Bridged Local Area
Network)
The RTL8125BG/RTL8125BGS supports a mode where all received and sent packets have one VLAN
tag or two VLAN tags. When a packet carries two VLAN headers, the first header is referred to as an
outer VLAN and the second header as an inner VLAN. The RTL8125BG/RTL8125BGS supports tagging
and de-tagging of both the outer and the inner VLAN tags. The expanded VLAN space allows the service
provider to provide certain services, such as Internet access on specific VLANs for specific customers,
and yet still allows the service provider to provide other types of services for their other customers on
other VLANs.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
7.12. Energy Efficient Ethernet (EEE)
The RTL8125BG/RTL8125BGS supports IEEE 802.3az-2010, also known as Energy Efficient Ethernet
(EEE), at 10Mbps, 100Mbps, 500Mbps, and 1000Mbps and IEEE 802.3bz-2016 EEE at 2.5G BASE-T. It
provides a protocol to coordinate transitions to/from a lower power consumption level (Low Power Idle
mode) based on link utilization. When no packets are being transmitted, the system goes to Low Power
Idle mode to save power. Once packets need to be transmitted, the system returns to normal mode, and
does this without changing the link status and without dropping/corrupting frames.
To save power, when the system is in Low Power Idle mode most of the circuits are disabled, however,
the transition time to/from Low Power Idle mode is kept small enough to be transparent to upper layer
protocols and applications.
EEE also specifies a negotiation method to enable link partners to determine whether EEE is supported
and to select the best set of parameters common to both devices.
Refer to http://www.ieee802.org/3/az/index.html for more details.
7.13. Radio Frequency Interference (RFI)
Among the many possible causes of interference when connecting two PHYs, Radio Frequency
Interference (RFI) is the most common. The RTL8125BG/RTL8125BGS is equipped with RFI
cancellation ability. This allows the RTL8125BG/RTL8125BGS to maintain data transmission in noisy
environments and makes it immune to RFI strikes.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
26 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.14. Fast Retrain (FR)
The RTL8125BG/RTL8125BGS supports IEEE 802.3 Fast Retrain in 2.5GBASE-T. It provides a
protocol to quickly converge a Tx/Rx equalizer at both ends of the link when it is needed. If local Rx
SNR is bad, or the link partner requests FR, FR is launched and it attempts to train the Tx/Rx equalizer
before the link goes down.
This protocol can reduce link up/link down wait time and provide better upper layer protocols and
applications. This protocol is especially useful when the RTL8125BG/RTL8125BGS is used in noisy
environments or a when short time RFI happens to strike the link.
The RTL8125BG/RTL8125BGS supports CISCO Negotiated Fast Retrain, which aims for the same
target as IEEE FR but extends some timing specifications to allow better weak link recovery.
7.15. Thermal Detect
When the RTL8125BG/RTL8125BGS operates in 2.5G and 2.5G Lite mode, a built-in smart thermal
management can sense the temperature of the IC, regardless of the surrounding environment temperature.
To prevent damage, the RTL8125BG/RTL8125BGS will depend on the current link speed to mask 2.5G
or 2.5G Lite capability, and will notify the system when an over temperature event occurs. With the aid of
this thermal detect mechanism, the RTL8125BG/RTL8125BGS can provide smart power management.
The goal of smart power management is to give a balance between power consumption and Ethernet
transceiver performance. This feature is especially useful when the RTL8125BG/RTL8125BGS is
deployed in thermally constrained environments.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
7.16. MDI SWAP
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Different ICM (Integrated Combo Magnetics) might have opposite phy sides to the cable side definition.
To accommodate this, the RTL8125BG/RTL8125BGS supports MDI swap to prevent PCB trace routing
from crossing.
MDI3
MDI0
MDI1
ICM
PHY
MDI2
Reg
Option
MDI2
ICM
MDI0
MDI3
Figure 5.
PHY
MDI1
MDI SWAP
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
27 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.17. PHY Disable Mode
The RTL8125BG/RTL8125BGS can power down the PHY using board-level control signals.
7.18. LAN Disable Mode
The RTL8125BG/RTL8125BGS supports ‘LAN Disable Mode’ that can use an external signal to control
whether the NIC is enabled or disabled.
7.19. Latency Tolerance Reporting (LTR)
The RTL8125BG/RTL8125BGS supports PCIe 3.0 LTR (Latency Tolerance Reporting).
The LTR mechanism enables Endpoints to report service latency requirements for Memory Reads/Writes.
The CPU utilizes LTR to determine transfers from low power (C7) to high power (C0) mode. See the
PCIe 3.0 specification for details.
7.20. RealWoW!’ (Wake-On-WAN) Technology
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
The RTL8125BG/RTL8125BGS supports Realtek ‘RealWoW!’ technology that allows the
RTL8125BG/RTL8125BGS to send keep alive packets to the Wake Server when the PC is in
sleeping mode. Realtek ‘RealWoW!’ can pass wake-up packets through a NAT (Network
Address Translation) device. This feature allows PCs to reduce power consumption by
remaining in low power sleeping state until needed.
Users can login into the Wake Server via the Internet to wake the selected sleeping PC. Registration of
Account information to the Wake Server is required on first time use.
7.21. Wake Packet Indication (WPI)
The RTL8125BG/RTL8125BGS supports Microsoft Wake Packet Indication (WPI) to provide Wake-Up
Frame information to the OS, e.g., PatternID, OriginalPacketSize, SavedPacketSize, SavedPacketOffset,
etc. WPI helps prevent unwanted/unauthorized wake-up of a sleeping computer. Refer to the Microsoft
Windows Hardware Certification Requirements for details.
Note: Wake Packet Indication (WPI) and Wake Packet Detection (WPD) are the same technology terms
defined by Microsoft, and both terms mean the NIC is required to capture at least the first 128 bytes of the
packet causing the network wake and generate a status indication to the operating system.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
28 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.22. L1.1 and L1.2
The RTL8125BG/RTL8125BGS supports PCIe L1 substate L1.1 and L1.2 power management features.
L1+CLKREQ# stops (or provides) the REFCLK to a device by toggling the CLKREQB pin to enter L1.1
and L1.2 states (saving more power than L1+CLKREQ# only). Table 21 shows the PCIe Port Circuit
On/Off states.
State
L1
L1+CLKREQ#
L1.1
L1.2
Table 21. L1.1 and L1.2 PCIe Port Circuit On/Off
PLL
Common Mode Keeper
On
On
Off
On
Off
On
Off
Off
RX/TX
Off/Idle
Off/Idle
Off
Off
7.23. Lite Mode
7.23.1. Giga Lite
The RTL8125BG/RTL8125BGS supports Giga Lite (500M) mode that allows two link partners that both
support 1000BASE-T and Giga Lite mode to transmit at 500Mbps data rate if only two pairs (AB pairs)
can be detected in the CAT.5 UTP cable. This feature is a Realtek proprietary feature and it conforms to
the 802.3az-2010 (EEE) specification.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
7.23.2. 2.5G Lite
The RTL8125BG/RTL8125BGS supports 2.5G Lite (1000M) mode that allows two link partners that
both support 2.5G BASE-T and 2.5G Lite mode to transmit at 1000Mbps data rate if only two pairs (AB
pairs) can be detected in the CAT.5e UTP cable. This feature is a Realtek proprietary feature and it
conforms to the 802.3az-2010 (EEE) specification.
7.24. Green Ethernet (1000M/100Mbps Mode Only)
7.24.1. Cable Length Power Saving
In 1000M/100Mbps mode the RTL8125BG/RTL8125BGS provides dynamic detection of cable length
and dynamic adjustment of power required for the detected cable length. This feature provides
intermediate performance with minimum power consumption.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
29 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
7.25. Crossover Detection and Auto-Correction
Ethernet needs a crossover mechanism between both link partners to cross the transmit signal to the
receiver when the medium is twisted-pair cable. Crossover Detection & Auto-Correction Configuration
eliminate the need for crossover cables between devices, such as two computers connected to each other
with an Ethernet cable. The basic concept is to assume the initial default setting is MDI mode, and then
check the link status. If no link is established after a certain time, change to MDI Crossover mode and
repeat the process until a link is established. An 11-bit pseudo-random timer is applied to decide the mode
change time interval.
Crossover Detection & Auto-Correction is not a part of the Auto-Negotiation process, but it utilizes the
process to exchange the MDI/MDI Crossover configuration. If the RTL8125BG/RTL8125BGS is
configured to only operate in 100BASE-TX or only in 10BASE-Te mode, then Auto-Negotiation is
disabled only if the Crossover Detection & Auto-Correction function is also disabled. If Crossover
Detection & Auto-Correction are enabled, then Auto-Negotiation is enabled and the
RTL8125BG/RTL8125BGS advertises only 100BASE-TX mode or 10BASE-Te mode. If the speed of
operation is configured manually and Auto-Negotiation is still enabled because the Crossover Detection
& Auto-Correction function is enabled, then the duplex advertised is as follows:
1. If it is set to half duplex, then only half duplex is advertised.
2. If it is set to full duplex, then both full and half duplex are advertised.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
7.26. Polarity Correction
The RTL8125BG/RTL8125BGS automatically corrects polarity errors on the receive pairs in
2.5GBASE-T, 1000BASE-T and 10BASE-Te modes. In 100BASE-TX mode polarity is irrelevant. In
1000BASE-T mode, receive polarity errors are automatically corrected based on the sequence of idle
symbols. Once the descrambler is locked, the polarity is also locked on all pairs. Users may manually do
polarity correction via reg option if polarity is known beforehand. The polarity becomes unlocked only
when the receiver loses lock.
In 10BASE-Te mode, polarity errors are corrected based on the detection of validly spaced link pulses.
The detection begins during the MDI crossover detection phase and locks when the 10BASE-Te link is
up. The polarity becomes unlocked when the link is down.
7.27. Rx High Priority Interrupt
The RTL8125BG/RTL8125BGS supports Rx High Priority Interrupt. Rx High Priority Interrupt allows
special packets to be responded to immediately. The Rx High Priority Interrupt supports 128-set TCP or
UDP ports. TCP and UDP share the 128-set ports. The Rx High Priority Interrupt also supports TCP
packets with the Push or URG bit enabled. As a result of this function, high priority packets have a
separate Queue and can be dealt first.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
30 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
8.
Switching Regulator (RTL8125BGS Only)
The RTL8125BGS incorporates a state-of-the-art switching regulator that requires a well-designed PCB
layout in order to achieve good power efficiency, and lower the output voltage ripple and input overshoot.
Note that the switching regulator 0.95V output pin (REG_OUT) must be connected only to DVDD09,
AVDD09 and EVDD09 (do not provide this power source to other devices).
Note: Refer to the separate RTL8125BGS layout guide for details.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
31 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
9.
Power Sequence
9.1. Power Sequence Parameters
t1
t3
t1
t3
3.3V
t2
t4
t2
0.95V
0V
Figure 6.
Power Sequence
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Table 22. Power Sequence Parameters
Description
Min
Typical
Max
Unit
3.3V Rise Time
0.5
10
ms
SWR Enable Interval
(Note 2)
ms
0.95V Rise Time for RTL8125BG
0.5
5
ms
t3
0.95V Rise Time for
ms
5
RTL8125BGS
t4
On/Off Interval
50
ms
Note 1: The output DC level tolerance is ± 5% of the target voltage therefore the loosest counting of t1 would be the rising
time required for power rail to output from 0V to 90% target voltage.
0.5ms < Rise Time < 10ms and monotonic ramp:
No action to take.
0.1ms < Rise Time < 0.5 ms and monotonic ramp:
If the rise time is between 0.1ms~0.5ms and the power supply is in monotonic ramp, the customer MUST ensure that there
is at least three times as much margin for inrush current to the RTL8125BG(S) so as to be safely under the system’s power
supply OCP threshold.
For example: Assume customer supply power rise time of the RTL8125BG(S) is 0.374ms. The system power supply OCP is
9A. The inrush current of other devices is 5.64A. The inrush current to the RTL8125BG(S) must be less than 1.12A;
otherwise an unanticipated system OCP may be triggered. It can be expressed in the following formula: Inrush current to
the RTL8125BG(S) < (System power supply OCP - inrush current of other devices) / 3
Rise Time < 0.1 ms or non-monotonic ramp:
Under this scenario, there is risk of an unanticipated ESD trigger event, which may cause permanent damage to the
RTL8125BG(S). As well as an unanticipated ESD trigger event, the power supply source with rise time < 0.1ms or >
100ms or non-monotonic ramp may possibly cause permanent damage to the RTL8125BG(S). If there is any action that
involves consecutive ON/OFF toggling of the power source, the design must make sure the OFF state of all power domain
reach 0V, and the time period between the consecutive ON/OFF toggling action must be longer than 50ms.
Note 2: t2 should be well controlled by the RTL8125BG(S).
Symbol
t1
t2
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
32 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.
Characteristics
10.1. Absolute Maximum Ratings
WARNING: Absolute maximum ratings are limits beyond which permanent damage may be caused to
the device, or device reliability will be affected. All voltages are specified reference to GND unless
otherwise specified.
Table 23.
Description
Absolute Maximum Ratings
Min
Symbol
DVDD33, AVDD33,
AVDD33_XTAL,
Supply Voltage 3.3V
-0.3
EVDD33
AVDD09, DVDD09,
Supply Voltage 0.95V
-0.2
EVDD09
N/A
Storage Temperature
-55
Note: Refer to the most updated schematic circuit for correct configuration.
Max
Unit
3.63
V
1.05
V
+125
C
10.2. Recommended Operating Conditions
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Table 24.
Recommended Operating Conditions
Supply Voltage
Min
Typ
3.3
3.14
3.3
Supply Voltage
0.95
0.92
0.95
Ambient Operating Temperature TA
0
Maximum Junction Temperature
Note: Refer to the most updated schematic circuit for correct configuration.
Description
Max
3.46
0.98
70
125
Unit
V
V
C
C
10.3. Electrostatic Discharge Performance
Test Item
HBM ESD
Table 25. Electrostatic Discharge Performance
Results
All Pins: 〡3.5KV〡
MM ESD
All Pins: 〡100V〡
CDM ESD
All Pins: 〡200V〡
I/O Pin: 100mA
Power Pin: 1.5xVDD
Latch Up
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
33 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.4. Crystal Requirements
A 25MHz parallel resonant crystal can be used as the reference clock source to replace the 25MHz
Oscillator. The crystal must be connected to CKXTAL1 and CKXTAL2 pins. Shunt each crystal lead to
ground with a 27pF capacitor.
Symbol
Fref
Table 26. Crystal Requirements
Description/Condition
Min
Parallel Resonant Crystal Reference Frequency,
Fundamental Mode, AT-Cut Type.
Parallel Resonant Crystal Frequency Tolerance,
-50
Fundamental Mode, AT-Cut Type. Ta=0C~70C.
Reference Clock Input Duty Cycle.
40
Equivalent Series Resistance.
Crystal Output High Level
1.4
Crystal Output Low Level
-
Typ
25
Max
-
Unit
MHz
Fref Tolerance
+50
ppm
( Note 1)
Fref Duty Cycle
60
%
ESR
70
Ω
Vih_CKXTAL
V
Vil_CKXTAL
0.4
V
(Note 2)
Operating
-40
85
°C
Temperature
Range
Package (Note 3)
SMD
Note 1: Fref Tolerance +/- 50ppm including effects of aging of the first year, external crystal capacitors, and PCB layout.
Note 2: Based on XTAL drive level spec to choose the appropriate resistor on CKXTAL2 pin to meet Vih and Vil
requirement.
Note 3: An SMD type crystal MUST be used for the RTL8125BG/RTL8125BGS.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
34 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.5. Oscillator Requirements
Table 27. Oscillator Requirements
Parameter
Condition
Min
Typ
Max
Unit
Frequency
25
MHz
Frequency Tolerance (Note 1)
Ta=0°C~70°C
-50
50
ppm
Duty Cycle
40
60
%
RMS Jitter (Note 2)
10kHz~20MHz
2
ps
Vih
1.4
V
Vil
0.4
V
Rise Time (10%~90%)
11
ns
Fall Time (10%~90%)
11
ns
Operating Temperature Range
-40
125
°C
Note 1: Frequency Tolerance +/- 50ppm including effects of aging of the first year, external crystal capacitors, and PCB
layout.
Note 2: The phase noise of 25MHz clock input should be at least that as shown in Figure 7.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Figure 7.
Phase Noise
10.6. Environmental Characteristics
Table 28.
Parameter
Storage Temperature
Ambient Operating Temperature
Moisture Sensitivity Level (MSL)
Environmental Characteristics
Range
-55 ~ +125
0 ~ 70
Level 3
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
Units
C
C
N/A
35 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.7. DC Characteristics
Table 29.
Symbol
AVDD33,
DVDD33,
AVDD33_XTAL
EVDD33
AVDD09,
DVDD09,
EVDD09
Voh
Vol
Vih
Vil
Iin
Parameter
DC Characteristics
Conditions
Min
Typ
Max
Units
3.3V Supply Voltage
-
3.14
3.3
3.46
V
0.95V Supply Voltage
-
0.92
0.95
0.98
V
3.3V domain
2.4
3.3
VDD33 + 0.3
V
3.3V domain
-0.3
0
0.4
V
3.3V domain
2.0
3.3
-
V
3.3V domain
-
0
0.8
V
0
-
0.5
µA
Minimum High Level Output
Voltage
Maximum Low Level Output
Voltage
Minimum High Level Input
Voltage
Maximum Low Level Input
Voltage
Input Current
Vin=VDD33
or GND
3.3V domain
0.95V domain
88
100
Maximum Operating Supply
mA
Current (Note 2)
364
650
Note 1: Pins not mentioned above remain at 3.3V.
Note 2: The Maximum Operating Supply Current was measured under the specific conditions of 100 meter Cat5e, +5% of
all power rails and 𝑇𝑎 = 85°C. This will help the PCB designer have a better understanding of each power rail budget.
Icc
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
10.8. Reflow Profile Recommendations
e
c
n
e
r
e
f
e
派腾 r
Table 30.
Reflow Profile Recommendations
Profile Feature
Sn-Pb Eutectic Assembly
Pb-Free Assembly
Minimum Preheat Temperature (Tsmin)
100C
150C
Maximum Preheat Temperature (Tsmax)
150C
200C
Preheat Time (tS) from Tsmin to Tsmax
60~120 seconds
60~120 seconds
Ramp-Up Rate (TL to Tp)
3°C/second max.
3°C/second max.
Liquidus Temperature (TL)
183C
217C
Time (tL) Maintained above TL
60~150 seconds
60~150 seconds
Peak Package Body Temperature (Tp)
235C
260C
Time (tp)2 within 5°C of Peak TP
20 seconds
20 seconds
Ramp-Down Rate (Tp to TL)
6°C/second max.
6°C/second max.
Time 25°C to Peak Temperature (Tp)
6 minutes max.
8 minutes max.
Note 1: All temperatures refer to the topside of the package, measured on the package’s body surface.
Note 2: Tolerance for Tp is defined as a supplier’s minimum and a user’s maximum.
Note 3: Reference document: IPC/JEDEC J-STD-020D.1.
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
36 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.9. AC Characteristics
10.9.1. Serial EEPROM Interface Timing
Read Timing
EECS
tcs
EESK
EEDI
EEDO
1
1
0
An
A2
A1
High Impedance
A0
0
Dn
D1
D0
Write Timing
EECS
tcs
EESK
EEDI
EEDO
1
0
1
An
..
.
A0
Dn
..
.
D0
High Impedance
BUSY
twp
READY
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Synchronous Data Timig
tsk
EESK
tskh
EECS
tcss
tdis
tskl
tcsh
tdih
EEDI
Figure 8.
Symbol
tcs
tcss
tcsh
tskh
tskl
tsk
tdis
tdih
twp
Serial EEPROM Interface Timing
Table 31. EEPROM Access Timing Parameters
Parameter
Min
Typ
Minimum CS Low Time
4500
4600
CS Setup Time
494
504
CS Hold Time
0
SK High Time
494
504
SK Low Time
494
504
SK Clock Cycle Time
988
1008
DI Setup Time
494
504
DI Hold Time
494
504
Write Cycle Time
5.88
6
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
Max
4700
514
514
514
1028
514
514
6.12
37 Track ID: JATR-8275-15
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ms
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.10. PCI Express Bus Parameters
10.10.1.
Differential Transmitter Parameters
Table 32. Differential Transmitter Parameters
Parameter
Min
Typ
Max
Units
Unit Interval
399.88
400
400.12
ps
Differential Peak-to-Peak Output Voltage
0.800
1.05
V
De-Emphasized Differential Output Voltage (Ratio)
-3.0
-3.5
-4.0
dB
Minimum TX Eye Width
0.75
UI
Maximum Time between The Jitter Median and
0.125
UI
Maximum Deviation from The Median
to-MAX-JITTER
TTX-RISE, TTX-FALL
D+/D- TX Output Rise/Fall Time
0.125
UI
VTX-CM-ACp
RMS AC Peak Common Mode Output Voltage
20
mV
VTX-CM-DCACTIVEAbsolute Delta of DC Common Mode Voltage During
0
100
mV
L0 and Electrical Idle
IDLEDELTA
VTX-CM-DCLINEAbsolute Delta of DC Common Mode Voltage
0
25
mV
between
D+
and
DDELTA
VTX-IDLE-DIFFp
Electrical Idle Differential Peak Output Voltage
0
20
mV
VTX-RCV-DETECT
The Amount of Voltage Change Allowed During
600
mV
Receiver Detection
VTX-DC-CM
The TX DC Common Mode Voltage
0
3.6
V
ITX-SHORT
TX Short Circuit Current Limit
90
mA
TTX-IDLE-MIN
Minimum Time Spent in Electrical Idle
50
UI
TTX-IDLE- SETTO-IDLE Maximum Time to Transition to A Valid Electrical Idle
20
UI
After Sending An Electrical Idle Ordered Set
TTX-IDLE-TOTOMaximum Time to Transition to Valid TX
20
UI
Specifications After Leaving An Electrical Idle
DIFF-DATA
Condition
RLTX-DIFF
Differential Return Loss
10
dB
RLTX-CM
Common Mode Return Loss
6
dB
ZTX-DIFF-DC
DC Differential TX Impedance
80
100
120
Ω
LTX-SKEW
Lane-to-Lane Output Skew
500+2*UI
ps
CTX
AC Coupling Capacitor
75
200
nF
Tcrosslink
Crosslink Random Timeout
0
1
ms
Note 1: Refer to PCI Express Base Specification, rev.1.1, for correct measurement environment setting of each parameter.
Note 2: The data rate can be modulated with an SSC (Spread Spectrum Clock) from +0 to -0.5% of the nominal data rate
frequency, at a modulation rate in the range not exceeding 30kHz – 33kHz. The ±300ppm requirement still holds, which
requires the two communicating ports be modulated such that they never exceed a total of 600ppm difference.
Symbol
UI
VTX-DIFFp-p
VTX-DE-RATIO
TTX-EYE
TTX-EYE-MEDIAN-
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
38 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.10.2.
Differential Receiver Parameters
Table 33. Differential Receiver Parameters
Parameter
Min
Typ
Max
Units
Unit Interval
399.88
400
400.12
ps
Differential Input Peak-to-Peak Voltage
0.175
1.05
V
Minimum Receiver Eye Width
0.4
UI
Maximum Time Between The Jitter Median and
0.3
UI
Maximum Deviation from The Median
MAX-JITTER
VRX-CM-ACp
AC Peak Common Mode Input Voltage
150
mV
RLRX-DIFF
Differential Return Loss
10
dB
RLRX-CM
Common Mode Return Loss
6
dB
ZRX-DIFF-DC
DC Differential Input Impedance
80
100
120
Ω
ZRX-DC
DC Input Impedance
40
50
60
Ω
ZRX-HIGH-IMP-DC
Powered Down DC Input Impedance
200k
Ω
VRX-IDLE-DET-DIFFp-p
Electrical Idle Detect Threshold
65
175
mV
TRX-IDLE-DETUnexpected Electrical Idle Enter Detect Threshold
10
ms
Integration Time
DIFFENTERTIME
LRX-SKEW
Total Skew
20
ns
Note: Refer to PCI Express Base Specification, rev.1.1, for correct measurement environment setting of each parameter.
Symbol
UI
VRX-DIFFp-p
TRX-EYE
TRX-EYE-MEDIAN-to-
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
10.10.3.
REFCLK Parameters
Table 34.
REFCLK Parameters
Symbol
Parameter
Rise Edge Rate
Fall Edge Rate
VIH
VIL
VCROSS
VCROSS DELTA
VRB
TSTABLE
TPERIOD AVG
TPERIOD ABS
Rising Edge Rate
Falling Edge Rate
Differential Input High Voltage
Differential Input Low Voltage
Absolute Crossing Point Voltage
Variation of VCROSS Over All Rising Clock Edges
Ring-Back Voltage Margin
Time before VRB is Allowed
Average Clock Period Accuracy
Absolute Period
(Including Jitter and Spread Spectrum)
Cycle to Cycle Jitter
Absolute Maximum Input Voltage
Absolute Minimum Input Voltage
TCCJITTER
VMAX
VMIN
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
100MHz Input
Min
Max
0.6
4.0
0.6
4.0
+150
-150
+250
+550
+140
-100
+100
500
-300
+2800
9.847
10.203
-0.3
150
+1.15
-
Units
Note
V/ns
V/ns
mV
mV
mV
mV
mV
ps
ppm
ns
2, 3
2, 3
2
2
1, 4, 5
1, 4, 9
2, 12
2, 12
2, 10, 13
2, 6
ps
V
V
2
1, 7
1, 8
39 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Symbol
Parameter
Duty Cycle
Rise-Fall Matching
100MHz Input
Min
Max
40
60
20
Units
Note
Duty Cycle
%
2
Rising Edge Rate (REFCLK+) to
%
1, 14
Falling Edge Rate (REFCLK-) Matching
ZC-DC
Clock Source DC Impedance
40
60
Ω
1, 11
Note 1: Measurement taken from single-ended waveform.
Note 2: Measurement taken from differential waveform.
Note 3: Measured from -150mV to +150mV on the differential waveform (derived from REFCLK+ minus REFCLK-). The
signal must be monotonic through the measurement region for rise and fall time. The 300mV measurement window is
centered on the differential zero crossing. See Figure 12, page 42.
Note 4: Measured at crossing point where the instantaneous voltage value of the rising edge of REFCLK+ equals the
falling edge of REFCLK-. See Figure 9, page 41.
Note 5: Refers to the total variation from the lowest crossing point to the highest, regardless of which edge is crossing.
Refers to all crossing points for this measurement. See Figure 9, page 41.
Note 6: Defines as the absolute minimum or maximum instantaneous period. This includes cycle to cycle jitter, relative
ppm tolerance, and spread spectrum modulation. See Figure 11, page 41.
Note 7: Defined as the maximum instantaneous voltage including overshoot. See Figure 9, page 41.
Note 8: Defined as the minimum instantaneous voltage including undershoot. See Figure 9, page 41.
Note 9: Defined as the total variation of all crossing voltages of Rising REFCLK+ and Falling REFCLK-. This is the
maximum allowed variance in VCROSS for any particular system. See Figure 9, page 41.
Note 10: Refer to Section 4.3.2.1 of the PCI Express Base Specification, Revision 1.1 for information regarding ppm
considerations.
Note 11: System board compliance measurements must use the test load card described in Figure 15, page 43. REFCLK+
and REFCLK- are to be measured at the load capacitors CL. Single ended probes must be used for measurements
requiring single ended measurements. Either single ended probes with math or differential probe can be used for
differential measurements. Test load CL=2pF.
Note 12: TSTABLE is the time the differential clock must maintain a minimum ±150mV differential voltage after
rising/falling edges before it is allowed to droop back into the VRB ±100mV differential range. See Figure 14, page 42.
Note 13: PPM refers to parts per million and is a DC absolute period accuracy specification. 1ppm is 1/1,000,000th of
100.000000MHz exactly, or 100Hz. For 300ppm then we have an error budget of 100Hz/ppm*300ppm=30kHz. The
period is to be measured with a frequency counter with measurement window set to 100ms or greater. The ±300ppm
applies to systems that do not employ Spread Spectrum or that use common clock source. For systems employing Spread
Spectrum there is an additional 2500ppm nominal shift in maximum period resulting from the 0.5% down spread resulting
in a maximum average period specification of +2800ppm.
Note 14: Matching applies to rising edge rate for REFCLK+ and falling edge rate for REFCLK-. It is measured using a
±75mV window centered on the median cross point where REFCLK+ rising meets REFCLK- falling. The median cross
point is used to calculate the voltage thresholds the oscilloscope is to use for the edge rate calculations. The Rise Edge
Rate of REFCLK+ should be compared to the Fall Edge Rate of REFCLK-; the maximum allowed difference should not
exceed 20% of the slowest edge rate. See Figure 10, page 41.
Note 15: Refer to PCI Express Card Electromechanical Specification, rev.1.1, for correct measurement environment
setting of each parameter.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
40 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Figure 9.
Single-Ended Measurement Points for Absolute Cross Point and Swing
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Figure 10. Single-Ended Measurement Points for Delta Cross Point
Figure 11. Single-Ended Measurement Points for Rise and Fall Time Matching
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
41 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Figure 12. Differential Measurement Points for Duty Cycle and Period
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Figure 13. Differential Measurement Points for Rise and Fall Time
Figure 14. Differential Measurement Points for Ringback
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
42 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
Figure 15. Reference Clock System Measurement Point and Loading
10.10.4.
Auxiliary Signal Timing Parameters
Table 35.
Auxiliary Signal Timing Parameters
Symbol
Parameter
Min
Max
Units
TPVPERL
Power Stable to PERSTB Inactive
100
ms
TPERST-CLK
REFCLK Stable before PERSTB Inactive
100
µs
TPERST
PERSTB Active Time
100
µs
TPERSTB-RTD
PERSTB Rising Time Duration
10
ms
TFAIL*
Power Level Invalid to PWRGD Inactive
500
ns
TPWRON
3.3 Vaux Power On Time (Refer to Section 8, Page 31)
ms
Note 1: TFAIL means 500 ns (maximum) from the power rail going out of specification (exceeding the specified tolerances
by more than 500 mV). Refer to PCI Local Bus Specification rev. 3.0 for further information. TFAIL can be disregarded
when implementation and timing of TFAIL will not affect any LAN functions.
Note 2: The ISOLATEB pin should follow the behavior of the 3.3V main power waveform.
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
T PWRON
3.3 Vaux
Power Stable
Wakeup Event
Power Stable
3.3V Main Power
Clock not
Stable
PERSTB
Clock Stable
Clock Stable
REFCLK
PCIe Link
Inactive
Inactive
T PERST
Active
T PVPERL
Active
TPERST- CLK
T FAIL
TPERSTB-RTD
Figure 16. Auxiliary Signal Timing
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
43 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
10.11. Thermal Characteristics
Typ
Max
Units
𝜃𝐽𝐴
Table 36. Thermal Characteristics
Parameter
Conditions
Min
Junction-to-ambient thermal
resistance
No air flow
-
19.06
-
°C/W
Ψ𝐽𝑇
𝜃𝐽𝐴 = (𝑇𝐽 − 𝑇𝐴 )/𝑃𝐻
Junction-to-top-center
thermal characterization
parameter
0.28
-
°C/W
Symbol
No air flow
-
Ψ𝐽𝑇 = (𝑇𝐽 − 𝑇𝑇 )/𝑃𝐻
Note: 𝑇𝐽 = junction temperature (°C), 𝑇𝐴 = ambient temperature (°C), 𝑇𝑇 = temperature on the top-center of the package
(°C), 𝑃𝐻 = total power dissipation (W).
The above thermal characteristics are based on customized PCB information, as shown in Table 37.
Table 37.
PCB Type
PCB Layers
PCB Dimensions
PCB Information
Customized PCB
4
119.9 mm X 56 mm
L1: 61%
L2: 85%
L3: 83%
L4: 80%
No
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Cu Coverage (%)
External Heat Sink
ΨJT is better than θJA and θJC (Junction-to-case thermal resistance) for the estimation of the junction
temperature (TJ ). The temperature on the top-center of the package (TT ) is effected by not only the
ambient temperature (TA ), but also the PCB conditions.
PH includes the power dissipation from the top, bottom, and sides of the package, but θJC assumes that
all the power is dissipated only from the top of the package. Thus, θJC is appropriate for the package
attached with an external heat sink. In an actual environment, ΨJT brings a closer value to the actual TJ
by measuringTT .
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
44 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
11.
Mechanical Dimensions
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
11.1. Mechanical
Dimensions
Notes
e
f
e
派腾 r
Table 38. Mechanical Dimensions Notes
Symbol
Dimension in mm
Dimension in inch
Min
Nom
Max
Min
Nom
A
0.750
0.850
1.000
0.030
0.034
A1
0.000
0.020
0.050
0.000
0.001
A3
0.200 REF
0.008 REF
b
0.150
0.200
0.250
0.006
0.008
D/E
6.000BSC
0.236BSC
D2/ E2
4.040
4.300
4.550
0.159
0.169
e
0.400BSC
0.016BSC
L
0.300
0.400
0.500
0.012
0.016
Note 1: CONTROLLING DIMENSION: MILLIMETER (mm).
Note 2: REFERENCE DOCUMENT: JEDEC MO-220.
Note 3: The Max/Min for REF and BSC are +/- 0.1 MILLIMETER (mm).
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
Max
0.039
0.002
0.010
0.179
0.020
45 Track ID: JATR-8275-15
Rev. 1.5
RTL8125BG/RTL8125BGS
Datasheet
12.
Ordering Information
Table 39. Ordering Information
Part Number
Package
RTL8125BG-CG
48-Pin QFN ‘Green’ Package
RTL8125BGS-CG
48-Pin QFN ‘Green’ Package (with built-in switching regulator)
Note: See pages 5(RTL8125BG) or page 6 (RTL8125BGS) for package identification information.
Status
MP
MP
r
o
f
l
a
i
t
n
e
d
i
f
n
o
c
Realtek
y
l
n
o
e
c
n
e
r
e
f
e
派腾 r
Realtek Semiconductor Corp.
Headquarters
No. 2, Innovation Road II
Hsinchu Science Park, Hsinchu 300, Taiwan
Tel.: +886-3-578-0211. Fax: +886-3-577-6047
www.realtek.com
Integrated 10/100/1000M/2.5G Ethernet Controller for PCI
Express
46 Track ID: JATR-8275-15
Rev. 1.5