Skip to content

LIB-5 Pins missing or duplicated against the package

Severity Status Implementation
warning planned mid, depends on netlist, CFG-5

Looks at. Symbol pins (library part), pin count from the footprint or package.

What it catches. A symbol whose pin numbers do not cover the package: pins of a QFN-32 numbered 1-31, an exposed pad missing, a number used twice for two different functions, or numbers beyond the package's count.

Why it matters. A missing pin has no net: a ground or supply pin left out of the symbol stays unconnected on the board, and nothing reports it because the schematic has no pin to leave unconnected. A duplicated number joins two functions on one pad. Both usually come from a symbol drawn from the wrong package variant of the part (the TSSOP pinout on a QFN footprint).

Example. A TPS62130 (VQFN-16 with exposed pad) drawn with pins 1-16 and no pin 17 for the pad, which the datasheet requires on ground: the pad is unconnected on the board (LIB-10). Or a symbol with two pins numbered 7, one VDD and one NC.

How to check. The KiCad netlist lists every pin of each library part (libparts), connected or not; compare the set of numbers with the pin count decoded from the footprint name (QFN-24-1EP_4x4mm, SOIC-8) or from the part database. Missing numbers, duplicates with different names, and numbers outside the range are findings; skipped numbers in packages with removed pins (KLC F2.4, MSOP-12-16) are not.

Fix. Redraw the symbol from the datasheet's pin table for the package actually used; number the exposed pad one above the pin count (KLC S3.7).

References. KLC S3.7 (pin numbering for exposed pads), S4.5 (omitted pins), F2.4 (footprints with removed pins); KiCad ERC "Duplicate pins with different nets".