Every Ethernet port is two blocks. The MAC builds and checks frames: addresses, length, CRC. The PHY turns that stream of bytes into voltages on a cable and back, and it is where almost all of the analog engineering lives. Swapping the PHY changes the medium (four pairs, one pair, a shared bus, fibre) without changing the frame. This page walks the stack from software to copper, explains what a physical-layer transceiver does inside, and then takes the two PHYs that matter most in vehicles, 100BASE-T1 and 10BASE-T1S, one at a time with block and signaling diagrams.
Standards: IEEE 802.3-2022 Clause 3 (frame), Clause 22 (MII, MDIO), Clause 96 (100BASE-T1, from 802.3bw), Clauses 147–148 (10BASE-T1S and PLCA, from 802.3cg) [1].
Ethernet covers the bottom two layers of the OSI model. The MAC (media access control) is layer 2: it wraps a payload into a frame with destination and source addresses and a 32-bit CRC, and on receive it checks the CRC and filters on address. The PHY is layer 1: it knows nothing about addresses, only about getting bits across a particular medium at a particular rate. Between them sits a standard digital interface from the MII family, plus a slow management bus (MDC/MDIO) that lets software read and write the PHY's registers.
Driver hands a buffer to the MAC by DMA → MAC prepends preamble and SFD, appends the FCS → bytes cross the xMII → PCS encodes and scrambles → PMA maps to symbols → driver puts them on the pair.
AFE digitises the pair → DSP removes echo and equalises → clock recovery picks the symbol instants → PCS decodes, descrambles, finds the frame delimiters → bytes cross the xMII → MAC checks FCS and address, then DMAs the frame to memory.
MDC/MDIO (Clause 22/45) reads link status, speed and duplex from the PHY and configures it. The OS's PHY driver polls these registers or takes an interrupt, then tells the MAC what speed to run.
A PHY is the chip that sits between the MAC's digital data and the physical medium. It is a transceiver: it transmits and receives, and on modern copper PHYs it does both at the same time on the same wires. Everything that depends on the medium (cable type, length, number of pairs, line code, noise environment) is the PHY's job, so the MAC above it can stay the same for every flavour of Ethernet.
Inside, a modern PHY is mostly a DSP: a DAC and line driver on transmit, an ADC on receive, and digital filters in between that cancel the echo of its own transmission, equalise the cable's loss, and recover the far end's clock. A small state machine brings the link up (auto-negotiation on office Ethernet, master/slave training on automotive T1), and a register file reachable over MDIO reports status.
| Does | Does not | Pins a hardware engineer wires |
|---|---|---|
| Line coding, scrambling, symbol mapping; D/A and A/D; echo cancellation, equalisation, clock recovery; link start-up (autoneg or training); link status and speed; cable diagnostics; sleep/wake (OPEN Alliance TC10 on T1 PHYs) | Look at MAC addresses; compute or check the FCS; buffer frames (beyond a few bytes of FIFO); decide what to send. It passes preamble, SFD and FCS through untouched. | xMII data and clocks; MDC, MDIO (pull-up); RESET_N; INT_N; 25 MHz crystal or clock; strap pins (PHY address, interface mode, master/slave); LEDs; MDI pair(s); supplies (often 3.3 V I/O + 1.x V core, sometimes an internal LDO) |
Whatever the PHY, the frame is the same. The MAC sends a 7-byte preamble of 55h and a start-of-frame delimiter D5h, then the frame proper: 6-byte destination and source addresses, an optional 4-byte VLAN tag, a 2-byte EtherType (or length), 46 to 1500 bytes of payload, and a 4-byte FCS (CRC-32 over addresses through payload). Then at least 12 byte-times of silence, the inter-packet gap. Bytes go out least-significant bit first.
The automotive PHYs reuse ideas from the office ones, so it helps to see the progression. Each generation raised the bit rate without raising the cable's bandwidth much, by putting more bits in each symbol and by using pairs in both directions at once.
| PHY | Pairs used | Line code | Symbol rate per pair | Duplex trick | Coupling |
|---|---|---|---|---|---|
| 10BASE-T | 2 (one each way) | Manchester | 10 MBd (20 MHz transitions) | Separate TX and RX pairs | Transformer (magnetics) |
| 100BASE-TX | 2 (one each way) | 4B/5B → NRZI → MLT-3 (3 levels) | 125 MBd | Separate TX and RX pairs | Magnetics |
| 1000BASE-T | 4, all bidirectional | 8B/1Q4 → PAM5, 4-D trellis code | 125 MBd × 4 pairs | Hybrid + echo and NEXT cancellation | Magnetics |
| 100BASE-T1 | 1, bidirectional | 4B/3B → 3B/2T → PAM3 | 66.67 MBd | Hybrid + echo cancellation | DC-block caps + CMC |
| 10BASE-T1S | 1, shared bus | 4B/5B → Differential Manchester | 12.5 MBd (25 MHz max transitions) | Half duplex; PLCA schedules turns | CMC, optional DC block |
100BASE-T1 (originally Broadcom's BroadR-Reach) is point-to-point, full duplex, over up to 15 m of unshielded twisted pair with up to four inline connectors. Both PHYs transmit at the same time on the same pair; each one hears the sum of its own signal and the far end's, and removes its own with an echo canceller. One PHY is configured as master and supplies the symbol timing; the slave recovers that clock from the line and transmits synchronously with it, which keeps the echo canceller's job simple.
Follow the data through the PHY one sub-block at a time. The transmit path turns 4-bit nibbles from the MAC into a three-level analog signal on the pair; the receive path digs the far end's signal out from under this PHY's own echo and turns it back into nibbles. Click a step, or a block in the diagram above. The worked examples use the bytes typed into the encoder below.
| Point in the transmit path | Unit of data | Rate | Clock / symbol period | Throughput |
|---|---|---|---|---|
| MII (MAC → PHY) | 4-bit nibble TXD[3:0] | 25 M nibbles/s | 40 ns (TX_CLK 25 MHz) | 100 Mbit/s |
| After 4B/3B | 3-bit group | 33.33 M groups/s | 30 ns | 100 Mbit/s |
| After scrambler | 3-bit group (whitened) | 33.33 M groups/s | 30 ns | 100 Mbit/s |
| After 3B/2T | ternary symbol (−1, 0, +1) | 66.67 MBd | 15 ns | 1.5 bit/symbol |
| DAC + filter + driver → MDI | analog differential voltage | 66.67 MBd, energy mostly below ≈ 33 MHz | 15 ns | ≤ 2.2 V p-p differential |
Type up to three bytes. The PCS takes MII nibbles low nibble first, bits in transmit order (TXD0 first), and regroups them in threes; each 3-bit group becomes two ternary symbols, TA then TB, from the Clause 96 mapping table. The scrambler is bypassed here so the mapping stays readable; on a real line every group is scrambled first, so the pattern looks random.
| 3-bit group (S2 S1 S0) | 000 | 001 | 010 | 011 | 100 | 101 | 110 | 111 |
|---|---|---|---|---|---|---|---|---|
| (TA, TB) | (−1, −1) | (−1, 0) | (−1, +1) | (0, −1) | (0, +1) | (+1, −1) | (+1, 0) | (+1, +1) |
Data mapping from IEEE 802.3 Clause 96 (TA, TB). (0, 0) is excluded from data; idle and start/end-of-stream use scrambled patterns and code-group substitutions defined in the clause.
The encoder above shows one PHY's symbols on an otherwise quiet pair. In a real link, PHY B is transmitting on the same pair at the same time. A and B are the two PHYs at opposite ends of the cable (not the two wires); everything here is seen from PHY A's pins. This plot puts the two transmissions together:
0 dB = ideal lossless cable. The loss is applied as a flat amplitude factor so the arithmetic stays visible; a real cable loses more at high frequency and also smears each symbol into its neighbours (the equaliser's job).
Nothing on the wire labels which part of the voltage belongs to which PHY. The cable is linear: A's wave travels toward B, B's travels toward A, they pass through each other without interacting, and at either end the voltage is simply their sum. The separation happens inside each PHY, using the one thing only that PHY knows: exactly what it is sending. It subtracts its own contribution, and what is left is the far end.
A's driver has a ≈ 100 Ω source impedance matched to the cable, so its own contribution at the pins is a known fraction of what it drives. A matched internal network builds that fraction and subtracts it before the ADC. The ADC then sees a small B without a huge A on top. Analog telephones have used the same trick for a century to talk and listen on one pair.
The hybrid is never perfect, and the channel adds echoes of its own: reflections from connectors, PCB transitions and impedance steps, arriving tens of nanoseconds later. An adaptive FIR filter fed with A's transmitted symbols learns how each symbol comes back, and subtracts that prediction from every sample.
Uses A's bytes, B's bytes and the cable-loss slider above. The receiver scales its two thresholds to B's received amplitude (±½ of it); each decision is checked against what B actually sent.
10BASE-T1S ("S" for short reach) brings Ethernet to the edge nodes that CAN and LIN serve today: sensors, actuators, lighting, door modules. Its defining feature is the mixing segment: at least 8 nodes on one unshielded pair, at least 25 m long, every node tapping the trunk through a short stub, with 100 Ω termination at the two ends only. Because everyone shares one medium, it is half duplex: one node talks at a time.
Type one or two bytes. Each byte is sent low nibble first; each nibble becomes a 5-bit code group, and each code bit occupies 80 ns on the line. Every bit boundary has a transition; a 1 adds one in the middle.
| Nibble | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5B code | 11110 | 01001 | 10100 | 10101 | 01010 | 01011 | 01110 | 01111 | 10010 | 10011 | 10110 | 10111 | 11010 | 11011 | 11100 | 11101 |
| 100BASE-T1 | 10BASE-T1S | |
|---|---|---|
| Standard | 802.3bw, Clause 96 | 802.3cg, Clauses 147 (PHY) and 148 (PLCA) |
| Topology | Point-to-point, ≤ 15 m | Multidrop ≥ 8 nodes, ≥ 25 m (or point-to-point 15 m) |
| Duplex | Full, on one pair (echo cancellation) | Half (shared bus) |
| Coding | 4B/3B, scramble, 3B/2T, PAM3 | 4B/5B, Differential Manchester |
| Line rate | 66.67 MBd ternary | 12.5 Mbit/s coded, ≤ 25 MHz edges |
| Timing | Master supplies, slave recovers | Self-clocking; PLCA coordinator sets the schedule |
| Receiver | ADC + DSP (EC, FFE/DFE) | Comparator + CDR |
| MAC interface | MII, RMII, RGMII, SGMII | MII, RMII, SPI MAC-PHY (TC6) |
| Typical role | ECU-to-ECU links, cameras (low rate), diagnostics, zonal links | Edge sensors and actuators replacing CAN/LIN behind a zonal controller |
The MAC. The PHY passes preamble, SFD and FCS through as data; it only adds and removes its own line-code delimiters.
Two ternary symbols (9 states) carry 3 bits. 66.67 MBd / 2 × 3 = 100 Mbit/s.
100BASE-T1 transmits and receives on the same pair at the same time, so its own signal and its reflections land on its receiver. 10BASE-T1S is half duplex: a node is never listening for someone else while it transmits.
Termination (only at the two physical ends) and PLCA configuration (unique IDs, coordinator present with the right node count). Then stub lengths and node capacitance.
No link. Neither recovers the other's clock; the training never completes. Read the role bit over MDIO on both ends.