Skip to content

IO-10 Input driven only from a connector

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

Data it needs: graph, part classes, rails. Folds in: IO-6.

Looks at. Connector parts, pin types.

What it catches. An input whose only possible driver is off-board: a pin of a connector, with no pull on this board.

Why it matters. Unplugged, the input floats (IO-1), and it is unplugged during assembly test, on the bench, and whenever a cable falls out in the field. Firmware then sees random edges on what should be a quiet line.

Example. A REMOTE_EN input from a 2-pin terminal block meant for a dry contact to GND: without a pull-up, "nothing connected" reads randomly, and the machine starts by itself.

How to check. IO-1 nets whose only non-input parts are connectors (IMP-1 part class).

Fix. A pull to the inactive level on this board; ESD protection at the connector.

References. SCBA004E §5; AN4899 §6.1.

Test schematics

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

io-10_connector_inputs

The test schematic io-10_connector_inputs The test schematic io-10_connector_inputs

  warning    IO-10 #0ct     U1.5 (A3) on /EXT_IN: only J3.1 (Pin_1) can drive it, the input floats while nothing is plugged in (also IO-6)
                            net /EXT_IN, pin U1.5
                            fix: a pull to the inactive level on this board; ESD protection at the connector
  warning    IO-10 #1cw     U1.3 (A1) on /REMOTE_EN: only J1.1 (Pin_1) can drive it, the input floats while nothing is plugged in (also IO-6)
                            net /REMOTE_EN, pin U1.3
                            fix: a pull to the inactive level on this board; ESD protection at the connector

IO-10 also fires on the test schematics of other checks: ana-10_opamp_feedback, ana-11_unused_channels, ana-12_comparator_hysteresis, ana-16_gain_resistor_range, bom-4_resistor_arrays, clk-5_reset_pull_ups, conn-8_micro_hdmi_pinout, hs-15_mipi_lane_parts, io-11_gate_pulls, name-11_negative_rail_names, short-12_pair_halves_tied, short-7_shorted_ios, wire-1_single_pin_nets.