IO-15 Open-drain interrupt or fault output without a pull-up¶
| Severity | Status | Implementation |
|---|---|---|
| error | runs in better_erc | easy, depends on IMP-1, NET-7 |
Data it needs: graph, part classes, rails, values.
Looks at. Open-drain pin types.
What it catches. An ~INT, ~ALERT, ~FAULT, PGOOD or similar open-drain output whose net has no pull-up and no other driver.
Why it matters. An open-drain output only pulls low. Without a pull-up the line never goes high: the controller sees a permanent interrupt or fault, or (with an internal pull-up it forgets to enable) a floating line. A fault signal that cannot go inactive is a fault signal nobody looks at.
Example. B153A's ~PWR_FLT (load switch FLTB on PC14) has no external pull-up; the firmware must enable the MCU's pull-up, and with the MCU in reset the fault line floats (B153A hardware reference §3).
How to check. KiCad's open_collector/open_emitter pin type (IMP-1), or open-drain roles from part data (NET-7), on a net with no resistor to a rail and no switched pull-up (as in IO-8). A pin with a no-connect flag is left out: the designer left the output open on purpose (the controller polls instead).
Fix. A pull-up to the receiver's IO rail (10-100 kΩ), or a line in the programmer report (RPT-13) if the internal pull is intended.
References. AN4899 §6.4; Wikipedia, Open collector.
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only IO-15 reports on it.
io-15_no_connect_flag¶
error IO-15 #7aq U3.3 (~{INT}) on /PMIC2_INT is an open-drain flag with no pull-up: the line never goes inactive, or floats
net /PMIC2_INT, pin U3.3
fix: a pull-up (10-100 kΩ) to the reader's IO rail, or the internal pull in the programmer report if that is the intent
io-15_open_drain_flags¶
error IO-15 #amq U2.3 (~{INT}) on /PMIC_INT is an open-drain flag with no pull-up: the line never goes inactive, or floats
net /PMIC_INT, pin U2.3
fix: a pull-up (10-100 kΩ) to the reader's IO rail, or the internal pull in the programmer report if that is the intent
error IO-15 #c9q U4.3 (ALERT) on /TEMP_ALERT is an open-drain flag with no pull-up: the line never goes inactive, or floats
net /TEMP_ALERT, pin U4.3
fix: a pull-up (10-100 kΩ) to the reader's IO rail, or the internal pull in the programmer report if that is the intent
IO-15 also fires on the test schematics of other checks: dbg-8_open_drain_pull_ups.