EE Primers · Communication interfaces · Driver Topologies · Start here

How a pin puts a bit on a wire

Every interface on a board, from a GPIO to a 32 GT/s SerDes lane, ends in an output stage, and there are only a handful of ways to build one. They differ in four decisions: which logic levels are actively driven, how the driver's impedance relates to the wire, whether the signal is one wire against ground or the difference between two, and whether the driver sets a voltage or steers a current. This page lays out those four decisions, puts the nine topologies covered in this set side by side with their numbers, and links to a page on each with the intuition, the derivations, worked examples and calculators.

How it works, step by step

  1. Every output moves charge. Whatever the topology, a driver changes the voltage on a wire by pushing current into it or pulling current out, against the wire's capacitance and, on long traces, its characteristic impedance.
  2. Decide which states are driven. Drive both (push-pull, RS-485, LVDS, CML) for fast, symmetric edges. Drive one and let a resistor make the other (open-drain, CAN, LVPECL) so that several drivers can share a wire without fighting. Or let the driver leave altogether (tri-state).
  3. Decide how the driver meets the line. A low-impedance driver launches a large wave and reflects returning ones. A matched 50 Ω source absorbs them. A current source reflects them with the opposite sign. A weak pull-up is too slow to see the line at all, so the wire behaves as an RC.
  4. Decide one wire or two. A single-ended signal is judged against the receiver's ground and needs volts of swing. A differential signal is judged by the difference between two wires, ignores noise common to both, and works with a few hundred millivolts.
  5. Decide voltage or current. A voltage-mode driver connects the line to a voltage through a resistance. A current-mode driver steers a fixed current and lets a termination resistor turn it into a voltage, so its supply current stays constant.
  6. Read the topology from the four answers. Each page in this set is one combination. Open-drain: single-ended, one state driven, a weak pull-up. LVDS: differential, both states driven, current mode, high-impedance source. CML: differential, current mode, matched 50 Ω source.
  7. Then check the connection. A link works when the receiver gets enough, but not too much, differential swing, and the driver's common mode lands inside the receiver's input range. The last page of the set applies those two checks.
01 · The pages

Nine topologies in three groups

1 · Single-ended

Push-pull (CMOS / totem pole)

Two switches to the rails. On-resistance, levels and noise margin, edge time, CV²f and crowbar power, series termination, ground bounce, contention, back-powering.

2 · Single-ended

Tri-state

Push-pull with an enable. What high-Z really is, floating buses, pull resistors and keepers, turnaround timing and contention energy, bus loading.

3 · Single-ended

Open-drain / open-collector

Drive low, resistor high. Wired-AND, RC rise and pull-up sizing, current-source pull-ups, level shifting, I²C, 1-Wire and LIN.

4 · Differential

Dominant / recessive (CAN)

Differential open-drain: passive recessive, driven dominant. Levels and currents, the undriven edge, bitwise arbitration, split termination, faults.

5 · Differential

Differential push-pull (RS-422 / RS-485)

An H-bridge on a twisted pair. Common-mode rejection, unit loads and 54 Ω, termination, fail-safe bias, reach versus rate.

6 · High-speed

LVDS

A 3.5 mA current steered through 100 Ω. Offset and CMFB, power against CMOS, termination effects, skew to common mode, the LVDS family.

7 · High-speed

CML

Differential pair with 50 Ω pull-ups. Levels by termination, where the speed comes from, return loss, AC-coupling caps, de-emphasis, CML vs SST.

8 · High-speed

LVPECL

Emitter followers that only source. VCC − 2 V termination in four forms, noise-to-jitter, ADC clock SNR, power.

9 · Practice

Connecting the families

Swing and common-mode checks, AC coupling and receiver bias, worked LVPECL/LVDS/CML/HCSL/CMOS connections, a DC-coupling checker.

02 · The four decisions

What distinguishes one output stage from another

1. Which states are actively driven?

  • Both (push-pull, RS-485, LVDS, CML-as-a-pair): fast symmetric edges and no static pull current, but two drivers that disagree fight. One driver per wire, or a protocol that guarantees turns (tri-state).
  • One (open-drain, CAN dominant, LVPECL followers source only): the other state is made by a passive element. Edges in the passive direction are slower; simultaneous drivers cannot fight, which enables wired-AND logic and arbitration.
  • None, on command (tri-state, RS-485 DE = 0): the driver can leave, and the wire's level then depends on bias resistors, keepers or nothing.

2. How does the driver's impedance relate to the line?

A low-impedance voltage driver (CMOS, an emitter follower) launches a large wave and reflects returning waves back \((\Gamma _{\text{S}}\approx -1)\): it needs a series resistor or a very good far-end termination. A matched source (CML's 50 Ω pull-ups, an SST driver) absorbs returning waves. A high-impedance current source (LVDS) reflects them with \(\Gamma _{\text{S}}\approx +1\). A passive pull-up (open-drain) is so weak that the bus behaves as an RC rather than a line.

3. Single-ended or differential?

Single-ended signals are measured against the receiver's ground, so ground noise and coupled noise add directly to the signal and thresholds must sit volts apart. Differential signals carry the information in VA − VB; anything that moves both wires together is rejected, so swings of a few hundred millivolts are enough, edges can be faster, and the pair radiates less. The cost is two pins and two traces per signal, and a termination resistor.

4. Voltage mode or current mode?

A voltage-mode driver connects the line to a voltage through a resistance (CMOS, RS-485, SST). A current-mode driver steers a fixed current and lets a resistor make the voltage (LVDS, CML, HCSL, LVPECL's internal switch). Current mode draws a constant supply current, which keeps supply and ground quiet, and its swing is set by I × R rather than by the supply. Voltage mode can be several times more power-efficient for the same swing.

The topologies arranged by the four decisions. Arrows: "is built from".
03 · Side by side

Comparison

TopologyDriven statesTypical swingCommon modeTerminationTypical rate / reachTwo drivers at once
Push-pull CMOSbothrail to rail (1.2–5 V)s.e.series R at source on long traces≤ 100–200 MHz, on boardshort circuit
Tri-stateboth, or nonerail to rails.e.pull or keeper for idle≤ ~100 MHz busshort during overlap
Open-drainlow onlyVpull-ups.e.pull-up sets rise time≤ 1–3.4 MHz, ~1 mwired-AND, safe
Dominant/recessive (CAN)dominant only0 / 2 V diff2.5 V120 Ω both ends1 Mbit/s @ ~40 m; FD 5–8 Mbit/sarbitration, safe
Diff. push-pull (RS-485)both (+ off)≥ 1.5 V diff into 54 Ω≈ VCC/2≈ 120 Ω both ends, fail-safe bias10 Mbit/s @ 10 m … 100 kbit/s @ 1.2 kmcollision (current-limited)
LVDSboth (current)±350 mV1.2 V100 Ω at receiver0.1–3 Gbit/s, cm to ~10 mpoint to point
CMLboth (current)400–1200 mVppdVDD − Vppd/4 (DC)50 Ω on chip both ends, AC caps1–112 Gbit/s, board/backplanepoint to point
LVPECLsource only (followers)≈ 1.5 VppdVCC − 1.3 V50 Ω to VCC − 2 Vclocks to several GHzpoint to point
04 · Equations

The equations used across the set

QuantityEquationWhere
RC edge, 10–90 % / 30–70 %\(t=2.197\,RC/0.8473\,RC\)push-pull, open-drain
Dynamic power\(P=\alpha \,C\,V_{\text{DD}}^{2}\,f\)push-pull
Launch voltage, series termination\(V=V_{\text{DD}}\,Z_{0}/(R_{\text{out}}+Z_{0})\), \(R_{\text{s}}=Z_{0}-R_{\text{out}}\)push-pull
Ground bounce\(V=N\,L\,\Delta I/t_{\text{r}}\)push-pull
Contention current\(I=V_{\text{DD}}/(R_{\text{p}1}+R_{\text{n}2})\)push-pull, tri-state
Pull-up window\((V_{\text{DD}}-V_{\text{OL}})/I_{\text{OL}}\le R_{\text{p}}\le t_{\text{r}}/(0.8473\,C_{\text{b}})\)open-drain
Loaded line\(Z'=Z_{0}/\sqrt{1+C_{\text{d}}/C_{0}}\)tri-state
CAN recessive edge\(t=R_{\text{L}}C_{\text{d}}\,\ln (V_{\text{dom}}/0.5\ \text{V})\)CAN
Differential / common mode, CMRR\(V_{\text{d}}=V_{\text{A}}-V_{\text{B}}\), \(V_{\text{cm}}=(V_{\text{A}}+V_{\text{B}})/2\), \(\text{CMRR}=A_{\text{d}}/A_{\text{cm}}\)RS-485
H-bridge output\(V_{\text{OD}}=V_{\text{OC}}\,R_{\text{L}}/(R_{\text{L}}+2R_{\text{o}})\)RS-485
Current-mode swing\(V_{\text{OD}}=I\,R_{\text{T}}\) (LVDS), I(RS ∥ RT) per side (CML)LVDS, CML
Skew to common mode\(\Delta V_{\text{cm}}\approx (V_{\text{OD}}/2)\,\Delta t/t_{\text{r}}\)LVDS
Reflection, return loss\(\Gamma =(Z-Z_{0})/(Z+Z_{0})\), \(RL=-20\,\log |\Gamma |\)CML
AC coupling droop≈ N Tb/(RloopC)CML
De-emphasis20 log[(c₀ − c₁)/(c₀ + c₁)]CML
Thevenin termination\(R_{1}=50\ \text{V}_{\text{CC}}/V_{\text{T}}\), \(R_{2}=50\ \text{V}_{\text{CC}}/(V_{\text{CC}}-V_{\text{T}})\)LVPECL, interop
Noise to jitter, jitter to SNR\(\sigma _{\text{t}}=\sigma _{\text{v}}/S\), \(\text{SNR}=-20\,\log (2\pi \,f_{\text{in}}\,\sigma _{\text{t}})\)LVPECL
05 · Choosing

Which one, for what

  1. Several devices must be able to drive the same wire? Use a topology where simultaneous drive is safe: open-drain on a board (I²C, IRQ, reset), dominant/recessive between boxes (CAN). If they only take turns under protocol control, tri-state on a board or RS-485 between boxes.
  2. One driver, on the same board, below ~100 MHz? Push-pull CMOS, with series termination if the trace is longer than about a sixth of the edge's travel distance.
  3. Leaving the board, or grounds may differ? Differential. RS-422/485 for metres to a kilometre at up to tens of Mbit/s; CAN when several nodes must share the pair with priority.
  4. Hundreds of Mbit/s to a few Gbit/s, power and EMI matter? LVDS (or SubLVDS/SLVS on sensors and displays).
  5. Multi-gigabit lanes with equalization? CML or SST SerDes, AC-coupled, 50 Ω per side.
  6. A clock where every femtosecond counts? LVPECL (or HCSL/LVDS where the receiver and the power budget prefer them).
Start with push-pull →Connecting the families →