MII, RMII, RGMII and SGMII are the interfaces that connect the Ethernet MAC in a processor, FPGA or switch to the PHY chip that drives the cable. MII and RMII carry 10/100 Mbit/s: MII uses 4-bit transmit and receive paths clocked at 25 MHz, and RMII halves that to 2 bits on a shared 50 MHz reference clock to save pins. RGMII and SGMII carry up to 1000 Mbit/s: RGMII is a 12-pin parallel bus that uses both edges of a 125 MHz clock, while SGMII is a 1.25 Gbps serial link with one differential pair in each direction. Choose the interface your MAC provides at the speed you need, then pick a PHY with the same interface. VOOHU supplies JL-series Ethernet PHYs with MII, RMII, RGMII, SGMII and QSGMII interfaces.
| Interface | Full name | Speeds | Data path | Clock | Pins* | Signaling | Defined in |
|---|---|---|---|---|---|---|---|
| MII | Media Independent Interface | 10/100 Mbit/s | 4 bits transmit, 4 bits receive | TX_CLK and RX_CLK, 25 MHz at 100 Mbit/s | 14–15 | Single-ended | IEEE 802.3 Clause 22 |
| RMII | Reduced MII | 10/100 Mbit/s | 2 bits transmit, 2 bits receive | One 50 MHz reference shared by MAC and PHY | 7–9 | Single-ended | RMII Consortium specification |
| RGMII | Reduced Gigabit MII | 10/100/1000 Mbit/s | 4 bits each way; at 1000 Mbit/s, 8 bits per clock using both edges | 125 MHz at 1000, 25 MHz at 100, 2.5 MHz at 10 Mbit/s | 12 | Single-ended | RGMII specification v2.0 |
| SGMII | Serial Gigabit MII | 10/100/1000 Mbit/s | Serial, one differential pair each way | Embedded in the 1.25 Gbps data; optional 625 MHz clock pair | 4 or 6 | LVDS differential | SGMII specification |
| QSGMII | Quad SGMII | 4 ports × 10/100/1000 Mbit/s | Four SGMII ports in one serial link | Embedded in the 5 Gb/s data | — | Serial | Cisco QSGMII specification |
*Pin counts depend on which optional signals are included: TI'sSSZT718gives 15 for MII and 9 for RMII, while TI's DP83TC811S-Q1 datasheet gives 14 and 7. RGMII is 12 and SGMII 4 or 6 in both. The MDC/MDIO management interface, which all of them use alongside, is extra. The full gigabit version, GMII, needs 24 pins, which is why RGMII and SGMII replaced it on most boards.
Both carry the same 10/100 Mbit/s traffic; the difference is pins and clocking. MII has separate transmit and receive clocks supplied by the PHY and 4-bit data paths. RMII moves two bits per cycle of a single 50 MHz reference clock that both the MAC and the PHY use, which brings the count down to 7 to 9 pins, depending on how they are counted. That 50 MHz clock comes from the MAC, the PHY or a separate 50 MHz oscillator, so decide which source drives it and keep that trace short.
RMII is the usual choice for microcontrollers, where pins are scarce. Use MII when your MAC offers only MII, or when an FPGA design already has the pins. TheJL1101BR-NIis an RMII PHY for 100BASE-TX, 10BASE-T and 100BASE-FX in a 24-pin, 4 mm × 4 mm QFN. TheJL1111B-NIis listed with MII, and its JL11x1 brief also lists RMII mode. Filter byRMII PHYsin the selector.
It depends on what your MAC offers and how the board is laid out.
If your MAC has both, RGMII is simpler for a short connection on the same board, and SGMII suits designs that need fewer, differential traces, for example to a PHY on another board. TheJL2101C-NIis an RGMII Gigabit PHY whose RGMII I/O can run at 3.3, 2.5 or 1.8 V; theJL2201series is listed with RGMII, and the JL2xx1 brief also lists SGMII for it. TheJL4201-NIconnects over SGMII, H-SGMII or 2500BASE-X and supports 10/100/1000 Mbit/s and 2.5 Gbit/s. CompareRGMII PHYsandSGMII PHYsin the selector.
At 1000 Mbit/s, RGMII launches data and clock edges together, so the receiver needs the clock delayed relative to the data to sample correctly. That delay can come from the PCB or from the devices. Texas Instruments, for example, specifies in itsDP83867 datasheetthat without internal delay the clock trace must add more than 1.5 ns of extra delay. Many MACs and PHYs can add the delay internally instead, a mode often written RGMII-ID. Decide which side adds the delay for transmit and for receive, and make sure it is added exactly once: no delay, or a delay added twice, can stop a gigabit link while 100 Mbit/s still works, because a 25 MHz clock leaves far more timing margin than 125 MHz.
SGMII carries one port. QSGMII combines four SGMII ports into a single 5 Gb/s interface, so a switch chip can reach four copper ports through one SerDes lane in each direction instead of four. It is the usual interface between a multi-port switch and its PHYs. TheJL2308-PIis an 8-port 10/100/1000 Mbit/s PHY that connects to the switch over two QSGMII links, or one O-USGMII link, in a 128-pin LQFP; theJL2388series offers the same interfaces.
| Your design | Interface | JL-series PHY |
|---|---|---|
| Microcontroller with a 10/100 MAC, few spare pins | RMII | JL1101BR-NI: 100BASE-TX/10BASE-T and 100BASE-FX, 24-pin QFN 4 × 4 mm (JL1101 series) |
| 10/100 MAC that offers MII only, or an FPGA with pins to spare | MII | JL1111B-NI: 100BASE-TX/10BASE-T, 32-pin QFN (JL1111 series) |
| Processor with a gigabit MAC, PHY on the same board | RGMII | JL2101C-NI: 1000BASE-T, 40-pin QFN, RGMII I/O at 3.3, 2.5 or 1.8 V (JL2101 series) |
| SoC or FPGA with a SerDes, fewer pins, or 2.5 Gbit/s needed | SGMII / 2500BASE-X | JL4201-NI: 10/100/1000 Mbit/s and 2.5 Gbit/s, 48-pin QFN (JL4201 series) |
| Switch chip with eight copper ports | QSGMII | JL2308-PI: 8 ports, 2 × QSGMII or 1 × O-USGMII (JL2308 series) |
VOOHU is an authorized distributor of these JLSemi PHYs. Interfaces, speeds and packages above are taken from each series' JLSemi product brief. Browse all of them in theEthernet PHY selector. On the cable side, every copper PHY needs a matchingLAN transformeror RJ45 jack with integrated magnetics; seePHY wiring principles, and for what a PHY does overall,what an Ethernet PHY chip is.
Q1: Is RGMII DDR?
Yes, at 1000 Mbit/s. RGMII sends 8 bits per 125 MHz clock cycle over 4 data lines by using both clock edges: the lower 4 bits on the rising edge and the upper 4 bits on the falling edge. At 10 and 100 Mbit/s, double data rate is not needed and the clock runs at 2.5 or 25 MHz.
Q2: Is RGMII compatible with RMII?
No. RMII uses 2-bit data paths on a shared 50 MHz reference clock, while RGMII uses 4-bit paths with separate transmit and receive clocks, so the pins and timing do not match. A MAC and a PHY must use the same interface. Some PHYs offer several, selected by strap pins or registers.
Q3: What speed is SGMII?
The SGMII line runs at 1.25 Gbps in each direction and carries Ethernet at 10, 100 or 1000 Mbit/s. At lower speeds, the data is repeated to fill the line: at 100 Mbit/s, each byte is sent 10 times. SGMII auto-negotiation tells the MAC which speed the PHY has linked at.
Q4: What is the difference between SGMII and 1000BASE-X?
1000BASE-X is the IEEE 802.3 gigabit fiber protocol. It runs at 1000 Mbit/s only, and its speed is not negotiated, so both ends must be set to the same speed. SGMII also carries 10 and 100 Mbit/s and uses its auto-negotiation to pass the PHY's link speed to the MAC, which is why copper PHYs use it.
Send your processor, FPGA or switch chip, its MAC interface, the port speed and the number of ports through oursample and support form. Our FAE team can suggest a JL-series PHY with a matching interface and the LAN transformer or MagJack to go with it, and help check the interface mode and clocking against your MAC. Samples are available for evaluation, and selected parts are free of charge. Our FAE team will be glad to confirm the options for your project.
VOOHU supplies RJ45 and SFP connectors, LAN and PoE transformers, common mode chokes and Ethernet PHY and switch chips from Suzhou, China, to more than 1,500 customers.
JL4201-NI Single Port 2.5G Industrial Grade (H)SGMII/2500Base X-COP QFN48
> View Details
JL2308-PI 8 Ports 1000M Industrial Grade QSGMII/OUSGMII-COP LQFP128
> View Details
JL2101C-NI Single Port 1000M VCC:3.3V/2.5V/1.8V Industrial Grade RGMII-COP
> View Details
JL1101BR-NI Single Port 10/100M Industrial Grade RMII QFN24
> View Details