Skip to content

IO-16 Pull-up and pull-down both on one net

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

Data it needs: graph, part classes, rails, values.

Looks at. Resistors to rails.

What it catches. A net with a resistor to a power rail and another to ground (and nothing that makes it a deliberate divider, such as an ADC input or a feedback pin).

Why it matters. The two form a divider; the net sits at a ratio of the rail that may be inside the threshold region of the input, so neither level is clean. Usually one of them is a leftover (a DNP pull that got fitted, a pull-up added in rev B next to the old pull-down).

Example. 10 kΩ to +3V3 and 10 kΩ to GND on a boot strap: 1.65 V, read as either level depending on the part.

How to check. Resistors from one net to a rail and to a ground (NET-5), excluding nets that reach analog inputs or feedback pins, and sense dividers: a diode clamps the net (anode on it, cathode on a rail) to a rail that none of the pull-ups go to and that no pull-up rail is known to sit at or below (VBUS divided into a hub's VBUS_DET, clamped to its 3.3 V supply). An MCU pin counts as an analog input by its name or by the alternate chosen on the placed symbol (PA5/ADC1_IN5 in KiCad's alternate pin functions). Report the divided voltage.

Fix. Remove one, or make the intent explicit (a DNP pair for a strap option).

References. SCBA004E §1, §5.

Test schematics

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

io-16_adc_alternate

The test schematic io-16_adc_alternate The test schematic io-16_adc_alternate

  error      IO-16 #a97     /LEVEL_B has a pull-up (R3) and a pull-down (R4): the net sits at 1.65 V, neither level clean
                            net /LEVEL_B, part R3, part R4
                            divided voltage = 1.65 V (derived IO-16: rail voltage × Rdown / (Rup + Rdown))
                            fix: remove one, or make one of them DNP for a strap option

io-16_pull_up_and_down

The test schematic io-16_pull_up_and_down The test schematic io-16_pull_up_and_down

  error      IO-16 #2w2     /BOOT has a pull-up (R1) and a pull-down (R2): the net sits at 1.65 V, neither level clean
                            net /BOOT, part R1, part R2
                            divided voltage = 1.65 V (derived IO-16: rail voltage × Rdown / (Rup + Rdown))
                            fix: remove one, or make one of them DNP for a strap option

io-16_sense_divider

The test schematic io-16_sense_divider The test schematic io-16_sense_divider

  error      IO-16 #k2p     /SENSE_LOW has a pull-up (R5) and a pull-down (R6): the net sits at 1.65 V, neither level clean
                            net /SENSE_LOW, part R5, part R6
                            divided voltage = 1.65 V (derived IO-16: rail voltage × Rdown / (Rup + Rdown))
                            fix: remove one, or make one of them DNP for a strap option
  error      IO-16 #ykm     /STRAP has a pull-up (R3) and a pull-down (R4): the net sits at 1.65 V, neither level clean
                            net /STRAP, part R3, part R4
                            divided voltage = 1.65 V (derived IO-16: rail voltage × Rdown / (Rup + Rdown))
                            fix: remove one, or make one of them DNP for a strap option

IO-16 also fires on the test schematics of other checks: leak-1_rail_dividers, seq-5_bleeder, short-4_low_resistance, wire-11_unnamed_nets.