Skip to content

LAY checks

The LAY checks of the check catalogue. Each check has a page of its own: what it catches, why it matters, an example, how better_erc finds it, the usual fix and where to read more, with the test schematics that show it firing.

References used throughout:

  • KiCad PCB · KiCad 9 PCB Editor manual: forward annotation, design rules checking, rule areas, zones, board stackup, fabrication outputs. docs.kicad.org/9.0/en/pcbnew
  • KLC · KiCad Library Conventions, rules F5.1 (silkscreen) and F5.3 (courtyard). Read from the source repository (klc.kicad.org sits behind a bot check). gitlab.com/kicad/libraries/klc
  • JLCPCB capabilities · a typical low-cost fab's published limits: edge clearances, V-cut, silkscreen, panel rails and fiducials (fetched 22 Oct 2026). jlcpcb.com/capabilities/pcb-capabilities
  • SLUA271 · TI, QFN and SON PCB Attachment, Rev. C (2023): land patterns, stencil design for exposed pads. ti.com/lit/an/slua271
  • MT-101 · Analog Devices, Decoupling Techniques, tutorial MT-101 (fetched through a headless browser, analog.com refuses plain HTTP clients). analog.com/.../MT-101.pdf
  • AN2867 · ST, Guidelines for oscillator design on STM8AF/AL/S and STM32 MCUs/MPUs, Rev. 24 (February 2026), fetched through a headless browser. st.com AN2867
  • ESP32 HW guide · Espressif, ESP32 Hardware Design Guidelines, "PCB Layout Design". docs.espressif.com/.../pcb-layout-design.html
  • IPC-2221B · IPC, Generic Standard on Printed Board Design: conductor spacing by voltage, conductor sizing. IPC-2152 · IPC, Standard for Determining Current Carrying Capacity in Printed Board Design. IPC-D-356A · IPC, Bare Substrate Electrical Test Data Format. IEC 62368-1 · Audio/video, information and communication technology equipment, Part 1: Safety requirements (creepage and clearance for insulation). By title.
  • Ott · Henry W. Ott, Electromagnetic Compatibility Engineering (Wiley, 2009), chapter 11 (digital circuit power distribution) and chapter 16 (PCB layout and stackup).

Checks

Check Severity Status
LAY-1 Schematic and layout match error planned
LAY-2 Parts in component areas, test points in designated areas, nothing in forbidden areas warning planned
LAY-3 Auto courtyard check and fix warning planned
LAY-4 Check stackup suggestion planned
LAY-5 Stitching vias warning planned
LAY-6 Polarized part or IC without a pin-1 / polarity mark on the silk warning planned
LAY-7 Test points without their net name on the silk suggestion planned
LAY-8 No fiducials (three global, local ones at fine-pitch parts) on a machine-assembled board warning planned
LAY-9 No tooling holes or panel rails planned suggestion planned
LAY-10 Large pads (exposed pads, screw pads, big THT) with a full paste aperture: window-pane it suggestion planned
LAY-11 Small parts (0402 and under) packed too closely for hand assembly where hand assembly is planned suggestion planned
LAY-12 Big THT pads or connector pins into a plane without thermal relief: hard to solder warning planned
LAY-13 Track barely touching a via or pad it should connect to (DRC passes, the connection is a sliver) error planned
LAY-14 Creepage and clearance below the requirement across high voltage and isolation barriers error planned
LAY-15 Mounting holes without a decision (grounded, chassis, or isolated with a keepout), or without clearance for the screw head and washer warning planned
LAY-16 Trace width below the current it carries (per net current, from the project data) warning planned
LAY-17 Decoupling capacitor far from the pin it serves warning planned
LAY-18 No keepout under the antenna or around the crystal suggestion planned
LAY-19 Assembly drawing without the marking codes of parts that are hard to tell apart suggestion planned
LAY-20 Pin-1 orientation differs between connectors of one type on the board suggestion planned
LAY-21 Silk without revision, date code or a blank for serial and assembly revision suggestion planned
LAY-22 Copper or parts too close to the board edge or a V-score line (copper under 0.5 mm, parts under 3 mm) warning planned
LAY-23 Silk over pads or vias, text too small for the fab, bottom text not mirrored suggestion planned
LAY-24 Fab notes without the stackup, controlled-impedance nets and targets, or an IPC-356 netlist (catches inverted inner layers) suggestion planned
LAY-25 Hot parts next to oscillators, references, ADCs or temperature sensors suggestion planned