Skip to content

IO-1 Input pin without a drive source

Severity Status Implementation
warning runs in better_erc easy, depends on IMP-1, NET-10

Data it needs: graph, part classes, rails.

Looks at. Pin types, smart about resistors and FETs.

What it catches. A net with one or more input pins and nothing that can set its level: no output, no bidirectional pin, no resistor to a rail, no FET or switch that connects it to one.

Why it matters. A CMOS input left open floats somewhere between the rails, picks up whatever couples into it and can sit in the threshold region, where both input transistors conduct: random readings, oscillation, and several milliamperes of shoot-through per input (SCBA004E §1). On an enable or a mode pin the part does something different from board to board.

Example. A comparator's output stage removed in a revision while the MCU's ~ALERT input stays on the net with nothing else: the IRQ fires at random and the low-power mode never holds.

How to check. From KiCad pin types (IMP-1), list nets whose pins are all inputs (and passives). A resistor counts as a source when its far end is a rail or a driven net; a FET or switch counts when its other side is (NET-10); a connector alone does not (IO-10).

Fix. A driver or a pull to the safe level.

References. SCBA004E §1, §5; AN4899 §6.1.

Test schematics

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

io-1_drive_sources

The test schematic io-1_drive_sources The test schematic io-1_drive_sources

  warning    IO-1 #kdm      U2.3 (A1) on /IN_CAP_ONLY: nothing drives the net, the input floats
                            net /IN_CAP_ONLY, pin U2.3
                            fix: a driver, or a pull to the safe level
  warning    IO-1 #4b9      U3.3 (A1) on /IN_DEAD: nothing drives the net, the input floats
                            net /IN_DEAD, pin U3.3
                            fix: a driver, or a pull to the safe level

IO-1 also fires on the test schematics of other checks: ana-11_unused_channels, ana-21_dc_return, ana-3_shunt_filters, bom-4_placement, clk-5_internal_pull, clk-5_reset_pull_ups, conn-4_no_ground, dec-10_unsourced_bypass, dec-1_no_decoupling, dec-4_ferrite_beads, dec-8_source_side_caps, drv-7_half_bridge_snubber, gnd-3_split_ground_joints, hs-4_pair_asymmetry, i2c-10_non_equal_pull_ups, i2c-1_no_pull_ups, i2c-2_multiple_pull_ups, i2c-7_segments, i2c-9_non_standard_pull_ups, leak-1_rail_dividers, lib-14_unplaced_units, lib-15_no_power_pins, lib-19_hidden_pins, logic-3_fan_out, mem-10_ddr_reset_cke, pin-3_unprotected_outputs, pin-4_unfused_inputs, rail-19_unfiltered_analog_supply, rail-5_unsourced_rail, ser-14_can_split_termination, test-4_rail_test_points, wire-2_similar_names.