Skip to content

LIB-7 Pin name hides a shared special function

Severity Status Implementation
warning planned mid, depends on NET-12, IMP-9

Looks at. The part's pin list with shared functions (stm32-data, vendor pin tables).

What it catches. A pin whose name shows only one of the functions it has when the others are not optional alternate functions but are always there or there by default: a reset input, a boot strap, an oscillator pin, a debug pin after reset.

Why it matters. The schematic is what the reviewer reads. If the symbol says PF2, nobody suspects that pulling the pin low resets the MCU. The check MUX-4 (shared functions in conflict) cannot work either if the name carries no hint and no pin data is loaded. This class of bug passes every review and shows up at bring-up as "the board resets itself" or "the hub never comes out of reset".

Example. On B153A the STM32G0B1's pin 10 is drawn as PF2 and drives the USB hub's reset with a 10 kΩ pull-down; but on this package the pin is PF2-NRST, the MCU's reset. The pull-down held the MCU in reset; rev A was reworked (trace cut, hub reset moved to PC13) and the rev B symbol names the pin PF2-NRST.

How to check. For MCUs with known pin data (stm32-data for STM32, vendor tables per IMP-9), list the pins whose function list contains a reset, boot, oscillator or default debug function, and check that the symbol's pin name mentions it.

Fix. Name the pin with all its fixed functions (PF2-NRST, PA14-BOOT0), or use KiCad alternate pin functions so the special one is visible.

References. B153 rev B change list ("PF2 is NRST", MCU symbol); KLC S4.1; KiCad 9 Schematic Editor manual, "Alternate pin functions" (docs.kicad.org/9.0/en/eeschema).