Most board respins are caused not by exotic physics but by ordinary oversights: a pin left floating, a strap read at the wrong time, an I/O back-powering an unpowered chip, a decoupling capacitor 10 mm from its pin, a high-speed trace crossing a plane split, a test point that the fixture cannot reach. This page is a working checklist for both halves of board design, with the reasoning behind each rule so it can be applied with judgement rather than by rote.
Layout quality is mostly decided before the first trace is routed. Order of decisions:
| Area | Rule | Why |
|---|---|---|
| Return paths | Every signal layer adjacent to a solid reference plane; no routing over splits or voids | Return current flows under the trace; breaking it raises inductance, impedance, crosstalk and emissions |
| Layer changes | Ground via (or stitching cap) next to each signal via that changes reference | Gives the return current a short path between planes |
| Decoupling | Smallest caps closest to pins; via straight down to planes; short, wide connections; vias next to pads, not at the end of traces | Mounted inductance (pad + trace + via) dominates an MLCC's high-frequency performance |
| Switching regulators | Minimise the hot loop (input cap, switches) area; keep the switch node small; feedback trace away from the inductor and switch node; Kelvin-connect feedback at the load | The hot loop carries the fastest di/dt; its area sets ringing and emissions; feedback picks up noise |
| High-speed pairs | Constant impedance and spacing; symmetric through vias and connectors; length matching at the point of mismatch; avoid stubs | Keeps differential mode clean and prevents mode conversion |
| Clocks | Short, stripline where possible, away from board edges, I/O connectors and antennas; series resistor at driver | Clocks are the strongest narrowband emitters and desense aggressors |
| Analog | Keep sensitive inputs short and guarded; separate from digital and switching nodes by distance and planes; single-point reference for precision ground where needed | Small signals pick up coupled noise; ground currents create voltage drops |
| RF | 50 Ω controlled feeds, grounded coplanar with via fences; antenna keep-out honoured on all layers; matching network footprints near the antenna | Antenna performance depends on clearance and ground; matching must be tunable |
| ESD | TVS at the connector; ESD current to ground plane through short wide path before it reaches the protected IC | Fast ESD edges follow the lowest-inductance path, which must be the clamp |
| Thermal | Thermal vias under exposed pads; copper spreading; keep hot parts away from temperature-sensitive ones (crystals, sensors, battery) | Junction temperature, drift and skin temperature |
| Current capacity | Trace width and via count sized for current and temperature rise (IPC-2152), and for DC drop | Self-heating and IR drop at the load |
On the same side as the IC where possible, smallest values closest to the power pins, with vias directly beside the pads to the planes. Above an MLCC's self-resonance its impedance is just its mounted inductance (package ESL plus the loop through pads, traces and vias to the planes). A few millimetres of trace or a shared via can double that inductance and make the capacitor useless at the frequencies it was meant to cover.
When a powered device drives a high level into an unpowered device's input, current flows through the input's ESD clamp diode into the unpowered rail, partially powering it. Symptoms: rails that will not discharge, failed power-on reset, latch-up, leakage in sleep. Prevent it with sequencing so drivers stay low until targets are powered, level shifters or buffers with power-off isolation (Ioff-rated), series resistors to limit current, and rail-aware GPIO configuration in firmware.
Place the input capacitor right at the high-side and low-side switch pins so the hot loop is as small as possible, ideally with a ground plane directly underneath. Keep the switch node copper only as large as current and thermal require. Put the inductor next to the switch node and the output capacitors next to the inductor. Route feedback from the regulation point, away from the inductor and switch node, and return the controller's analog ground to the power ground at a single point near the output capacitor.
Address map with no conflicts (including address-select pins); pull-up values for the total bus capacitance and the required rise time; pull-ups to the correct domain; a level translator that supports the bus speed and open-drain behaviour; every device tolerant of the voltage on its pins when powered off; no device that holds the bus low when unpowered; and test points for SCL and SDA.
An open via in a pad draws solder down into the barrel during reflow, starving the joint and trapping gas that forms voids. Filling with resin or copper and plating over it gives a flat, solderable pad. It costs extra fab steps but is required for dense BGA escape on HDI boards.