EE Primers · Communication interfaces · Vehicle & Industrial Networks

Automotive Ethernet: single-pair PHYs, the MAC–PHY interfaces, and the MDI network

Automotive Ethernet is ordinary Ethernet frames carried over one unshielded twisted pair. The PHYs (10BASE-T1S, 100BASE-T1, 1000BASE-T1 and faster) do the heavy lifting with multi-level line codes and echo cancellation, so full duplex fits on a single pair. Around the PHY there are three interfaces a hardware engineer has to get right: the management bus (MDIO) that configures it, the parallel or serial link to the MAC (MII, RMII, RGMII, SGMII) whose clock-to-data timing is unforgiving, and the passive MDI network to the cable whose symmetry decides EMC. This page works through each, with bit-level waveforms for MDIO and RGMII and a line-code example for 10BASE-T1S.

Standards: IEEE 802.3bw (100BASE-T1), 802.3bp (1000BASE-T1), 802.3cg (10BASE-T1S), 802.3 Clause 22 (MDIO) [1]; OPEN Alliance TC specifications for EMC and interoperability [2]; RGMII v2.0 [3].

01 · At a glance

How it differs from office Ethernet, and the variants

  • One pair, full duplex. Each PHY transmits and receives simultaneously on the same pair; its DSP subtracts its own transmitted signal and that signal's reflections (echo cancellation). Link training adapts the cancellers and equalisers at start-up.
  • No magnetics. Instead of a transformer: DC-blocking capacitors, a common-mode choke and a common-mode termination at the MDI.
  • Automotive EMC on unshielded cable (CISPR 25 emissions, ISO 11452 immunity), so the balance of the ECU and channel (low mode conversion) is the central design requirement.
  • Master/slave roles by configuration. Most T1 PHYs have no auto-negotiation; one end is master (timing reference), set by strap or register.
10BASE-T1S100BASE-T11000BASE-T1
IEEE802.3cg Cl. 147802.3bw Cl. 96 (ex-BroadR-Reach)802.3bp Cl. 97
Line code4B/5B + Differential Manchester4B/3B → 3B/2T → PAM380B/81B + RS-FEC → PAM3
Symbol rate12.5 Mbit/s coded (25 MHz transitions)66.67 MBd750 MBd
TopologyMultidrop (≥ 8 nodes, ≥ 25 m) with PLCA, or point-to-pointPoint-to-point, 15 m, ≤ 4 inline connectorsPoint-to-point, 15 m (Type A) / 40 m (Type B)
MAC interfaceMII, RMII, or SPI MAC-PHY (OPEN Alliance TC6)MII, RMII, RGMII, SGMIIRGMII, SGMII, USXGMII
Typical useReplacing CAN/LIN at zonal edge nodesBody, infotainment, diagnostics, low-rate ADASCamera/radar aggregation, zonal backbone

Faster: 802.3ch 2.5/5/10GBASE-T1 (PAM4) for zonal backbones; 802.3cy 25GBASE-T1; ASA-ML and MIPI A-PHY for asymmetric camera links.

02 · Circuit

Reference circuit: SoC, PHY and MDI network

SoC (MAC) RGMII TX ×6RGMII RX ×6 MDCMDIO 1.5–2.2 kΩVIO T1 PHY100/1000BASE-T1 straps: addr, role,interface mode 25 MHz crystal TRX_PTRX_N DC block2 × 100 nF CMC CM term.2 × R, C to GND ESD PNMDI 100 Ω differential, symmetric placement, P and N pads identical
Order from the PHY: DC-blocking capacitors (tolerance-matched, rated for the OEM's short-to-battery requirement), common-mode choke qualified for the data rate, common-mode termination (two resistors to a centre node with a capacitor to ground), low-capacitance ESD, connector. Exact values come from the PHY vendor's reference design and the OPEN Alliance ECU requirements. MDIO has a pull-up; strap pins set address, master/slave role and interface mode at reset.
Straps at resetPHY strap pins are often shared with RGMII or LED pins. If the MAC drives those pins during reset, the PHY latches the wrong address, role or interface mode. Check pull-up and pull-down values against the MAC's reset state.
03 · Worked example: management

MDIO: the station writes a PHY register, bit by bit

MDIO (Clause 22) is a two-wire synchronous serial bus: MDC is the clock from the station management entity (the MAC side) and MDIO is a bidirectional data line with a pull-up. Up to 32 PHYs share it, each with a 5-bit address. A frame is 64 clocks: 32 preamble ones, start 01, opcode (01 write, 10 read), PHY address, register address, two turnaround bits, and 16 data bits, all MSB first.

  • Edges: the receiving side samples MDIO on the rising edge of MDC. The station must hold data stable at least 10 ns before and after that edge, so it changes MDIO on or after the falling edge. When the PHY drives (read data), it outputs 0–300 ns after the rising edge and the station samples on the next rising edge.
  • Clock: MDC ≤ 2.5 MHz in Clause 22 (400 ns period); many PHYs accept more. There is no minimum.
  • Turnaround: on a write the station sends 10. On a read both sides release MDIO for one bit (Z, pulled high), then the PHY drives 0, which confirms it is present.

MDIO frame builder

Teal: station drives MDIO. Amber: PHY drives. Dashed: MDC rising edges, where the receiver samples. Only the last 4 of the 32 preamble bits are drawn.
04 · Worked example: data path

RGMII: bytes from MAC to PHY on both clock edges

RGMII carries 1 Gbit/s on 12 pins: per direction a clock (TXC/RXC, 125 MHz), a control line and four data lines. Data is double data rate:

  • Rising edge of TXC: TXD[3:0] = bits 3–0 (low nibble) of the byte; TX_CTL = TX_EN.
  • Falling edge of TXC: TXD[3:0] = bits 7–4 (high nibble); TX_CTL = TX_EN ⊕ TX_ER.
  • A nibble lasts 4 ns. The transmitter launches clock and data edge-aligned; the receiver needs the clock in the middle of the data, so the clock must be delayed by about 2 ns somewhere: inside the MAC's TX path, inside the PHY ("RGMII-ID", internal delay), or, worst, with extra PCB trace. Exactly once.

The example sends the end of the preamble (55h 55h), the start-of-frame delimiter (D5h) and the first two bytes of a broadcast destination address (FFh FFh). Change the delay to see what goes wrong.

Clock delay

Each byte occupies one 8 ns clock period: low nibble first (rising edge), high nibble second (falling edge). 55h is sent as 5h, 5h; D5h as 5h, Dh. Vertical lines: the edges at which the PHY's flops sample, after the clock delay.
Other MAC interfacesMII: 25 MHz, 4 bits per direction, sampled on the rising edge, generous timing. RMII: one shared 50 MHz reference clock, 2 bits per direction; the clock's source and its skew to MAC and PHY matter. SGMII: a 1.25 Gbaud 100 Ω AC-coupled serial lane with an embedded clock; fewest pins and best for runs longer than a few centimetres.
05 · On the wire

Line codes: PAM3 and Differential Manchester

PAM3 (100BASE-T1, 1000BASE-T1). Three levels, −1, 0, +1. 100BASE-T1 converts 4 bits to 3, scrambles them, and maps each 3-bit group onto two ternary symbols (9 combinations, 8 used), sending 66.67 MBd per direction; the receiver slices against two thresholds. 1000BASE-T1 groups 80 bits plus a header, adds Reed–Solomon FEC (450, 406) and sends 750 MBd. Because the data is scrambled and both directions share the pair, the line waveform is not readable bit by bit; diagnostics are done with the PHY's own SQI (signal quality index), cable diagnostics and loopbacks, and compliance with a test fixture.

Differential Manchester (10BASE-T1S). After 4B/5B coding, every bit boundary has a transition (the clock), and a 1 adds a transition in the middle of the bit. A 0 has none. The signal is DC-free, self-clocking and polarity-independent, so a swapped pair still works.

Differential Manchester encoding of two 4B/5B code groups. Dotted lines: bit boundaries, which always carry a transition. Mid-bit transitions mark the 1s.

PLCA (10BASE-T1S multidrop). The coordinator (node 0) sends a BEACON; each node then gets a transmit opportunity in ID order. A node with nothing to send lets its opportunity time out (default 32 bit times = 3.2 µs). Access is collision-free with a bounded worst-case wait.

06 · Signal integrity

Rise time, skew and symmetry at each interface

MDI pair
  • 100 Ω ± 10 % differential, tightly coupled, short, no stubs, minimal vias (symmetric pair vias with adjacent ground vias).
  • Intra-pair skew as small as practical: target < 0.1–\(0.15\ \text{mm}\ (\approx 1\ \text{ps})\) for 1000BASE-T1, where the mode-conversion budget is tight. Skew converts differential signal to common mode, which radiates.
  • Symmetric component placement and identical P/N pads; matched DC caps, CMC and ESD capacitance.
  • Continuous reference plane; follow vendor guidance on plane cut-outs under CMC and ESD pads at 1000BASE-T1.
  • Every impedance discontinuity is an echo the PHY must cancel; return loss is a pass/fail compliance parameter.
RGMII
  • 50 Ω single-ended, series 22–33 Ω at each driver, runs under about 100 mm.
  • Match each data/CTL group to its own clock (TXD to TXC, RXD to RXC) within about \(\pm 2.5\ \text{mm}\ (\approx \pm 15\ \text{ps})\); the budget is the 2 ns half-nibble minus driver skew (±0.5 ns) and receiver setup/hold (≈ 1 ns).
  • Edges: RGMII drivers are fast (≈ 0.75 ns); ringing on the clock is the most damaging, as for any DDR source-synchronous bus.
  • The 2 ns clock delay goes in one place only.
MDIO / MDC
  • Slow (≤ 2.5 MHz) but MDIO is open-drain-like with a pull-up: size it for the bus capacitance like I²C (1.5–2.2 kΩ typical).
  • MDC is an ordinary push-pull clock; keep it monotonic, especially when routed to several PHYs.
  • Setup and hold of 10 ns around the MDC rising edge: trivial unless level shifters or long traces add delay.
07 · When it breaks

Failure modes and debug signatures

SymptomLikely causeCheck / fix
Link up, but frames corrupted or CRC errors in one directionRGMII clock delay missing or applied twiceCheck MAC and PHY delay settings for TX and RX separately; exactly one 2 ns delay per direction.
No linkBoth ends configured as master (or both slave); wrong interface mode strap; polarity/pair issue at 1000BASE-T1Read the PHY's role and mode registers over MDIO; check straps against the MAC reset state.
MDIO reads return FFFFhWrong PHY address, PHY in reset, MDIO pull-up missingScan addresses 0–31; check reset timing and pull-up.
Link drops under vehicle EMC testsMDI asymmetry, unqualified CMC, ESD capacitance mismatchOPEN Alliance-qualified parts, symmetric layout, mode-conversion measurement of the ECU.
Low SQI, link flaps with cable lengthReturn loss: connector, stubs, impedance steps on the PCBTDR the channel; PHY cable diagnostics.
10BASE-T1S collisions or long latencyPLCA IDs duplicated or coordinator missing; termination on a middle nodeUnique PLCA IDs, node 0 present, terminate only the two ends.
08 · Self-check

Questions

On which MDC edge is MDIO sampled, and who drives the turnaround on a read?

The rising edge. On a read, both release MDIO in the first turnaround bit (pulled high, Z), and the PHY drives 0 in the second.

Which nibble of a byte goes out on the rising edge of TXC in RGMII?

The low nibble, bits 3–0. The high nibble follows on the falling edge. TX_CTL carries TX_EN on the rising edge and TX_EN ⊕ TX_ER on the falling edge.

Why does enabling internal delay in both MAC and PHY break RGMII?

The clock is then delayed 4 ns, a full nibble, so each sampling edge lands on the next data transition instead of the middle of the eye.

Why does 1000BASE-T1 care about 0.1 mm of intra-pair skew when the symbol is 1.33 ns?

Not for timing: for balance. Skew converts differential signal into common mode, which radiates from an unshielded cable and fails EMC. The mode-conversion budget, not the eye, sets the limit.

How long is a Clause 22 MDIO transaction at 2.5 MHz?

64 MDC cycles × \(400\ \text{ns}=25.6\ \text{µs}\).

09 · Further reading

References

  1. IEEE 802.3-2022, Clauses 22 (MII, MDIO), 96 (100BASE-T1), 97 (1000BASE-T1), 147 and 148 (10BASE-T1S, PLCA).
  2. OPEN Alliance, TC1/TC12 (interoperability, EMC), TC8 (ECU test), TC10 (sleep/wake), TC6 (10BASE-T1S MAC-PHY SPI) specifications. Link
  3. HP / Broadcom, Reduced Gigabit Media Independent Interface (RGMII) Version 2.0.
  4. PHY vendor reference designs and layout guides (e.g. TI DP83TC811/DP83TG720, NXP TJA1101/TJA1103, Microchip LAN8670).
How Ethernet works →MAC–PHY interfaces →CAN FD →EtherCAT →PAM3 signaling →Interface SI and EMC →