IO checks
The IO checks of the check catalogue. Each check has a page of its own: what it catches, why it matters, an example, how better_erc finds it, the usual fix and where to read more, with the test schematics that show it firing.
References used throughout:
- SCBA004E · TI, Implications of Slow or Floating CMOS Inputs (rev. 2021). What a floating input does (§1), pull resistors (§5), bus-hold (§6). ti.com/lit/an/scba004e
- AN4899 · ST, Guidelines for GPIO hardware settings and low-power consumption on STM32 MCUs, Rev 4 (2026). Pull-up calculation (§5.1.5), no floating unused pins (§6.1), open-drain with no load (§6.4), debug pins with pulls by default (§6.6), NRST is no enable (§6.7). st.com/an4899
- AN2606 · ST, Introduction to system memory boot mode on STM32 MCUs, Rev 70 (2026). Hardware requirements (§4.3), the STM32G0B1 bootloader and the pins it configures (§50.1, Table 111). st.com/an2606
- RP2350 · Raspberry Pi, RP2350 Datasheet: GPIO reset state (§9.3, pulled low), erratum RP2350-E9 (§D.5.1). datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf
- SN74LVC595A · TI datasheet SCASE93A (2025): power-up state of the registers and the OE pull-up (§8.1). ti.com/lit/ds/symlink/sn74lvc595a.pdf
- USB251xB · Microchip, USB251xB/xBi USB 2.0 Hi-Speed Hub Controller, DS00001692C: configuration options (Table 5-1), SMBus configuration (§5.3), RESET_N (§5.5.1). ww1.microchip.com/…/00001692C.pdf
- LAN8720A · Microchip, LAN8720A/LAN8720AI datasheet, DS00002165B: configuration straps (§3.7). ww1.microchip.com/…/00002165B.pdf
- Ganssle · Jack Ganssle, A Guide to Debouncing (two parts). ganssle.com/debouncing.htm, ganssle.com/debouncing-pt2.htm
- Wikipedia, Pull-up resistor, Open collector and Switch (contact bounce) · readable overviews. en.wikipedia.org/wiki/Pull-up_resistor, en.wikipedia.org/wiki/Open_collector, en.wikipedia.org/wiki/Switch
- AoE3 · Horowitz & Hill, The Art of Electronics, 3rd ed. (Cambridge, 2015), chapter 12 (logic interfacing).
Checks
| Check |
Severity |
Status |
IO-1 Input pin without a drive source, smart about resistors, FETs etc. ≈ IO-2 |
warning |
runs |
IO-2 IO to an input without pull-up/down: High-Z gives an undefined state |
warning |
planned |
IO-3 Enable driven by an MCU or SoC GPIO without a pull: think of uninit and reboot state; default_gpio_state part property overrides |
error |
planned |
IO-4 Assume IO pins are high/low/Z by default and look for bugs ≈ IO-5 |
warning |
planned |
IO-5 If IO pin default states are known, derive checks |
warning |
planned |
IO-6 High impedance nets acting as touch buttons ≈ IO-1 |
warning |
runs |
IO-7 Button to ground with a pull-down, or button to power with a pull-up ≈ IO-8 |
error |
runs |
IO-8 Mention a needed pull-up or down where it applies, e.g. buttons |
suggestion |
runs |
IO-9 Pins a part drives in its non-firmware modes: ROM bootloader, factory test, reset and fault states. A ROM bootloader configures its interfaces (UART, I2C, SPI, CAN, USB) and may drive or toggle those pins while it scans for a host, with no firmware to keep anything else safe; check what each such pin controls (switches, enables, buses, resets) and what that level does there. Example: an STM32 ROM bootloader drives its USART TX pin high while it scans for a host; if that pin also selects a USB data switch, a firmware update over the ROM cuts the downstream device's data ≈ IO-3, IO-4 |
error |
planned |
IO-10 Input driven only from a connector: floats when nothing is plugged in ≈ IO-6 |
warning |
runs |
IO-11 MOSFET gate without a pull: floats while its driver is in reset or unpowered |
error |
runs |
IO-12 Output enable (~OE, ~G, EN) of a shift register, driver, mux or buffer without a pull to its disabled state: outputs do whatever until firmware loads them |
error |
planned |
IO-13 Peripheral reset pin pulled into reset by default, driven by a controller that resets: every controller reset (also into its ROM bootloader) takes the peripheral down with it. Decide on purpose: a pull-up with the controller able to drive low keeps the peripheral configured ≈ LOGIC-5 |
warning |
planned |
IO-14 Configuration, mode or address straps of a non-MCU part (PHY, hub, codec, sensor) floating where the datasheet requires a level |
error |
planned |
IO-15 Open-drain interrupt or fault output without a pull-up |
error |
runs |
IO-16 Pull-up and pull-down both on one net: an accidental divider, neither level clean |
error |
runs |
IO-17 Pull value too weak for the leakage on the net (1 MΩ against ESD diode and input leakage) or too strong for the driver (1 kΩ on an open-drain output) |
warning |
planned |
IO-18 Button without a debounce capacitor where the firmware assumes an RC filter |
suggestion |
planned |