Skip to content

DBG-8 Suggest DNM pull-ups on open drain pins; test point detector should highlight those nets

Severity Status Implementation
suggestion runs in better_erc easy, depends on netlist

Data it needs: graph, part classes, rails.

Looks at. Open-drain pins (pin type), pull-ups.

What it catches. Open-drain or open-collector outputs (pin type in the library, or by role: INT, ALERT, PG, FAULT) whose net relies on an MCU's internal pull-up only, with no resistor footprint.

Why it matters. An internal pull-up exists only once the firmware enables it: in reset, in the ROM bootloader, and while the MCU is unpowered the line floats. A DNM footprint lets bring-up add a real pull-up when an interrupt seems to "never fire", and makes the net easy to probe. Nets with no pull at all are LOGIC-7.

Example. A PMIC's open-drain nIRQ read by an MCU pin with its internal 40 kΩ pull-up: during the MCU's reset the PMIC sees nobody acknowledging and the interrupt line floats; a DNM 10 kΩ footprint lets the cause be ruled out in a minute.

How to check. Nets driven by an open-drain pin with no resistor to a rail, populated or not; list them in the test point report (RPT-15) too. better_erc (erc_checks/src/dbg/dbg_8.rs) leaves out a controller's own open-drain pin whose net reaches no logic input (as in LOGIC-7): it switches a resistor or leaves the board, and no reader relies on a pull. A fitted pull-up behind a small series part counts as a pull, as in IO-8, and so does a switched pull-up fed from a controller's pin or a transistor switch (IO-8 describes both). A net that any part's pin names as I2C SCL or SDA is left to I2C-1.

Fix. A DNM (or fitted) 10 kΩ to the IO rail of the reader, plus a test point.

References. XJTAG DFT "Do not rely on programmable pull resistors"; catalogue LOGIC-7, IO-15.

Test schematics

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

dbg-8_open_drain_pull_ups

The test schematic dbg-8_open_drain_pull_ups The test schematic dbg-8_open_drain_pull_ups

  suggestion DBG-8 #tyj     U2.3 (~{IRQ}) on /PMIC_IRQ is open-drain with no pull-up footprint: it relies on the reader's internal pull
                            net /PMIC_IRQ, pin U2.3
                            fix: a DNM (or fitted) 10 kΩ to the reader's IO rail, and a test point

DBG-8 also fires on the test schematics of other checks: drv-9_relay_flyback, io-15_no_connect_flag, io-15_open_drain_flags, io-8_fet_switched_pull, io-8_internal_pulls, io-8_series_pull, io-8_switched_pull, logic-7_mcu_open_drain_receiver, logic-7_open_drain, logic-8_polarity.