Skip to content

SHORT-5 Supply pins shorted to ground, or ground pins to a rail

Severity Status Implementation
error runs in better_erc easy, depends on NET-5

Data it needs: graph, rails.

Looks at. Pin names or types, the power structure.

What it catches. A power-input pin (VDD, VCC, VIN, AVDD) on a ground net, or a ground pin (GND, VSS, VEE) on a positive rail.

Why it matters. Either the symbol's pins are swapped against the part, a power symbol was placed upside down, or a label joined a rail to ground. At power-up the part has no supply, and if both a rail and ground meet on it the regulator sees a short.

Example. A sensor's VDD pin connected to a GND power symbol that was meant for the neighbouring VSS pin, both pins one grid step apart: the sensor is unpowered, its IO pins back-feed it (BKF-2).

How to check. Pin names and types against the power structure (NET-5); combine with WIRE-14 for the ground side.

Fix. Rewire the pin; check the symbol pin numbers against the datasheet pinout.

References. KiCad "Ground pin not connected to ground net" (ground_pin_not_ground, 10.0), section "Pin electrical types"; catalogue WIRE-14.

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only SHORT-5 reports on it.

short-5_supply_pins_swapped

The test schematic short-5_supply_pins_swapped The test schematic short-5_supply_pins_swapped

  error      SHORT-5 #ehk   U2.2 (GND): ground pin on a positive rail, +3V3
                            net +3V3, part U2, pin U2.2
                            fix: rewire the pin; check the symbol's pin numbers against the datasheet pinout
  error      SHORT-5 #ysc   U1.1 (VDD): supply pin on a ground, GND
                            net GND, part U1, pin U1.1
                            fix: rewire the pin; check the symbol's pin numbers against the datasheet pinout

SHORT-5 also fires on the test schematics of other checks: gnd-3_split_ground_joints.