What Is an Ethernet PHY? MAC, MII, RMII, RGMII and SGMII Explained

Key takeaways

  • An Ethernet PHY turns the MAC’s digital data into cable signals and recovers data from the cable.
  • MII and RMII top out at 100 Mbps. RGMII (12 pins) and SGMII (4 pins) carry gigabit speeds.
  • Cars use single-pair 100BASE-T1. TI’s DP83825I, DP83826E and DP83TC811S-Q1 suit small, industrial and automotive boards.
Ethernet PHY chip on a circuit board between a MAC processor and an RJ45 jack, with a MAC to PHY to Ethernet flow
A PHY chip between the processor and the network jack. Image: Techqio

Every Ethernet port relies on an Ethernet PHY, the part that does the hard physical work. It turns the digital data of the device’s MAC into signals on the cable and recovers data from the signals coming back. Ethernet is often confused with the internet. The internet is the global network, and Ethernet is the wired method that carries the connection over real cables and hardware.

Look at how Ethernet works inside a device, and you soon run into the PHY. MAC, MII and MDI show up at the same time, which makes the topic feel crowded at first. Split them by role, though, and the structure is clear, and so is what to check when you pick a PHY for a project.

Illustration linking the internet, network equipment, an Ethernet PHY, signal conversion and a wired cable connection
From the internet down to the PHY and the cable. Image: Techqio

What an Ethernet PHY does in a hardware design

The PHY bridges digital signals and the physical signals on the cable. Microcontrollers, CPUs and FPGAs work with digital ones and zeros. Signals that travel a long way over CAT5 copper or optical fiber are physical, in the form of voltage, current or light.

The PHY sits between those two worlds. It exchanges digital data with the MAC (media access controller), which lives inside or outside the processor. It turns that data into electrical signals suited to the cable and sends them out. Going the other way, it recovers digital data from the incoming cable signal and hands it to the MAC.

MCU, CPU and FPGA sending digital bits to an Ethernet PHY that drives CAT5 copper and fiber cables
Digital chips on one side, CAT5 and fiber cables on the other. Image: Techqio

On a wired network, cable length, noise, attenuation and impedance changes all affect link quality. The PHY corrects for these physical effects and pulls accurate data back out of a distorted signal.

That is why the PHY you choose can change how stable and clean the link is, even when both designs run the same Ethernet.

Noisy, attenuated cable signal entering an Ethernet PHY and leaving as clean recovered data
A frayed cable, an Ethernet PHY chip and a clean waveform. Image: Techqio

MII: the interface between the MAC and the PHY

The path that carries digital data between the processor’s MAC and the Ethernet PHY is the MII, or Media Independent Interface. As the name says, it moves data between MAC and PHY no matter what medium the cable uses.

It consists of data, clock and control lines. Several variants exist to fit different speeds and pin budgets.

MAC processor and PHY chip linked by MII data, clock and control lines, with MII, RMII, RGMII and SGMII variants below
MII data, clock and control lines between MAC and PHY. Image: Techqio

MII and RMII for 10/100 Mbps

Plain MII tops out at 100 Mbps and has a fairly simple structure. Latency is low and it behaves predictably, but its high pin count can strain a small board. That is why many designs use RMII, which cuts the pin count. RMII handles 10/100 Mbps with few pins, so small embedded boards and cost-sensitive products often pick it.

RMII pays for those saved pins elsewhere. Its latency can vary with the clock scheme and internal buffering. Ordinary network gear rarely notices, but a real-time industrial control system should check latency and jitter together.

Who supplies the RMII reference clock is a common stumbling block. On TI’s DP83826, in leader (master) mode the PHY runs from a 25 MHz crystal or oscillator and can output a 50 MHz clock to the MAC. In follower (slave) mode it takes a shared 50 MHz clock instead, as the DP83826 datasheet’s RMII section explains.

MII and RMII boards side by side, MII with 16+ signals at up to 100 Mbps and RMII with 7 to 8 signals at 10/100 Mbps
MII and RMII boards compared by signal count. Image: Techqio

RGMII and SGMII for gigabit Ethernet

For gigabit Ethernet, RGMII and SGMII are the interfaces to consider. RGMII is the widely used parallel interface for 1 Gbps, and plenty of chips support it. Because fast signals leave on many pins, though, PCB layout needs careful trace length matching and noise control.

SGMII is serial and reaches gigabit speed with far fewer pins. Differential signaling makes it robust against noise and easier to lay out. It needs high-speed serial circuitry, however, so parts can cost more. The pin counts below follow TI’s comparison of MII variants.

InterfacePinsSpeedsMain strengthWatch out for
MII1410/100 MbpsSimple structure, low latencyHigh pin count, no gigabit
RMII610/100 MbpsFew pins, suits small boardsCheck latency for your implementation
RGMII1210/100/1000 MbpsMost common gigabit interfaceTrace length matching and EMC
SGMII410/100/1000 MbpsFew pins, strong noise immunityHigher part cost
RGMII parallel traces with length matching next to SGMII differential serial lanes between MAC and PHY
RGMII and SGMII gigabit links on a board. Image: Techqio

100BASE-TX vs. 100BASE-T1: what the names mean

The PHY’s physical side, where it meets the cable, is the MDI (Medium Dependent Interface). Names you see in datasheets, such as 100BASE-TX, 1000BASE-T and 100BASE-T1, describe standards for this side.

The naming is easy to read once you know the pattern. The leading number is the speed, so 100BASE means 100 Mbps and 1000BASE means 1 Gbps. BASE stands for baseband transmission. The suffix, such as TX or T1, describes the cable structure and transmission method.

MDI diagram from MAC through PHY to an RJ45 cable, with a breakdown of BASE naming and a table of 100BASE-TX, 1000BASE-T and 100BASE-T1
The MDI side of a PHY and common BASE-T standards. Image: Techqio

Office PCs, network gear and industrial equipment mostly use 100BASE-TX or 1000BASE-T over CAT5e or CAT6 cable. These standards use several twisted pairs to keep transmission stable.

Cars are a different environment. A vehicle packs many electronic parts into tight space, with constant vibration, temperature swings and electromagnetic noise. Cable weight has to come down too. So automotive Ethernet widely uses BASE-T1 standards, which run over a single twisted pair.

Office and industrial Ethernet over multi-pair CAT5e/CAT6 cable versus automotive Ethernet over a single twisted pair
Multi-pair office cabling next to single-pair car wiring. Image: Techqio

A single-pair cable cuts wiring weight and cost, and it keeps the in-vehicle network simpler.

Automotive Ethernet is becoming increasingly important in systems that move a lot of data, such as cameras, radar, gateways and infotainment.

Car with BASE-T1 Ethernet links to camera, radar/lidar, gateway/ECU and infotainment modules
BASE-T1 links to a car's camera, radar, gateway and infotainment. Image: Techqio

Typical Ethernet equipment goes through auto-negotiation, agreeing on speed and link settings with the device on the other end. Automotive networks often fix each node’s role and speed at the design stage instead. Where latency and link stability matter, predictable behavior counts for more.

Some parts of a car still need to talk to service tools or an ordinary PC, such as the OBD diagnostic port. There, designers may add a general-purpose interface like 100BASE-TX. The same kind of chip faces very different requirements in industrial gear and inside a car.

Auto-negotiation between a PC and a switch compared with preset links between a car's ECUs, plus an OBD service port
A PC-to-switch link beside preset links between car ECUs. Image: Techqio

How to choose an Ethernet PHY

Once circuit design starts, the long list of PHY parts raises the question of which one to use. Start with the maximum speed your system needs. Then check which MAC interface your processor supports.

Seven-step Ethernet PHY selection checklist: speed, MAC interface, board size, power, temperature, noise and real-time needs
A seven-step PHY selection checklist. Image: Techqio

After that, go through board size, power consumption, operating temperature, noise environment and real-time requirements in turn. The shortlist shrinks quickly.

TI DP83825I for small, low-power boards

Small products with tight board space and a power budget, like robot vacuums, kitchen appliances and smart home hubs, can look at the TI DP83825I. It comes in a 3 mm x 3 mm (0.12 in x 0.12 in), 24-pin QFN package, which saves board area. That makes it easier to fit wired networking onto a small board.

Its low power draw also helps with heat around nearby parts. TI rates the DP83825I at under 127 mW and up to about 490 ft (150 m) over CAT5e. It supports RMII and can run in either master (leader) or slave (follower) mode, which suits small embedded systems.

TI DP83825I board surrounded by a robot vacuum, kitchen appliance and smart home hub, noting its 3x3 mm 24-pin QFN and RMII
DP83825I board with small home devices. Image: Techqio

TI DP83826E for industrial real-time control

For smart factories, motor control boards and industrial controllers with heavy electrical noise and wide temperature swings, the TI DP83826E may fit better. It covers -40°C to 105°C (-40°F to 221°F) and is built around link stability and latency, both of which matter on a factory floor.

In real-time control, data arriving at the same time every time matters as much as raw speed.

The DP83826E keeps transmit and receive latency steady, which suits designs that use industrial protocols like EtherCAT and Profinet. TI lists 40 ns transmit and 170 ns receive latency, varying less than ±2 ns over power cycles. If your system needs that kind of determinism, check this spec first.

TI DP83826E industrial board in a factory with icons for wide temperature range, noise immunity and deterministic latency
DP83826E board in a factory setting. Image: Techqio

TI DP83TC811S-Q1 for in-vehicle networks

For an in-vehicle network, consider an automotive Ethernet PHY like the TI DP83TC811S-Q1. This AEC-Q100 transceiver is built for stable links through the heat and cold of a car. TI qualifies it to AEC-Q100 Grade 1, -40°C to 125°C (-40°F to 257°F), and lists a newer DP83TC811-Q1 as a drop-in replacement.

Systems that move a lot of data inside the car, such as self-driving cameras, vehicle gateways and domain controllers, depend on a stable link. The DP83TC811S-Q1 targets automotive 100BASE-T1 networks and suits single-pair cable designs.

TI DP83TC811S-Q1 automotive Ethernet PHY board linked to a car's ADAS camera, gateway and domain controller over 100BASE-T1
DP83TC811S-Q1 board with in-car modules. Image: Techqio

Match the PHY to your system, not to the fastest spec

Datasheets pack speeds, interfaces and electrical specs onto every page, but the design job comes down to three decisions. Choose an interface toward the processor and a standard toward the cable. Then set how much speed and stability the system really needs.

Ethernet PHY board with labels for MAC, MII, PHY and MDI floating above it
MAC, MII, PHY and MDI above an Ethernet board. Image: Techqio

Speed alone is the wrong yardstick. Pin count, power, temperature, noise and timing decide as much as the data rate does. Sort those conditions out calmly before you pick an Ethernet PHY. You cut trial and error and end up with a more stable network over the long run.

This chip rarely gets attention, yet it decides the quality of a wired link. Pin down requirements early and read the datasheet, and your next board will carry its signals more reliably.

Ethernet PHY board next to a checklist with icons for board size, pin count, power, temperature, noise and real-time needs
A PHY board beside a requirements checklist. Image: Techqio

Sources

Share this article

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *