Skip to content

SHORT-3 Non-DNM part shunting another mounted part

Severity Status Implementation
error runs in better_erc easy, depends on netlist (DNP flags per variant

Data it needs: graph, part classes, values, fitted parts.

Looks at. The netlist, fitted / not fitted per variant.

What it catches. Two mounted parts in parallel where one of them only makes sense when the other is not fitted: a 0 Ω link across a resistor, a jumper across a ferrite, two option resistors that select two sources and are both fitted.

Why it matters. Assembly options are drawn in parallel on purpose, with one of them DNP. When both are fitted, the option collapses: the 0 Ω shorts the filter resistor, or two selector resistors tie two rails or two signals together. It happens when variants are kept by hand and one BOM forgets the DNP.

Example. On B153A R211/R212 (0 Ω, bypass of the TXS0102 shifter U203) are DNP in both KiCad variants, but an old BOM export and an importer that ignored variants showed them as fitted. Fitted, they short the shifter's A and B sides: V_SBU at 1.8 V tied to 3.3 V MCU pins.

How to check. For parts whose terminal sets are on the same pair of nets, count the ones fitted in the current variant; a 0 Ω, jumper or switch parallel to another fitted part is a finding.

Fix. Mark the option DNP in every variant that does not use it, and generate BOMs from the variants, not from the base flags.

References. Catalogue BOM-13 (variant BOMs from the base DNP flags); B153 rev B change list (R211/R212 shown as fitted by the old BOM export).

Test schematics

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

short-3_fitted_options

The test schematic short-3_fitted_options The test schematic short-3_fitted_options

  error      SHORT-3 #ya6   R5 and R6 are both fitted and join +3V3 and +5V through /SEL
                            net +3V3, net +5V, net /SEL, part R5, part R6
                            fix: fit one of the two selector options per variant, mark the other DNP
  error      SHORT-3 #10f   R2 (0 Ω) is fitted across R1, which it shorts out (/FILT_IN to /FILT_OUT)
                            net /FILT_IN, net /FILT_OUT, part R1, part R2
                            fix: mark the option DNP in every variant that does not use it, and make BOMs from the variants

SHORT-3 also fires on the test schematics of other checks: clk-6_reset_buttons, gnd-3_split_ground_joints, io-7_button_pulls, short-4_low_resistance.