Skip to content

IO-2 IO to an input without pull-up/down

Severity Status Implementation
warning planned mid, depends on NET-7, NET-9

Looks at. Which drivers are MCU GPIOs (tristate at reset).

What it catches. An input driven only by an MCU or SoC GPIO, with no external pull.

Why it matters. A GPIO is high-Z from power-on until the firmware configures it, and again during every reset, in a ROM bootloader, when the core is halted by a debugger, and when the MCU is unpowered. In those windows the input floats (IO-1). Internal pulls do not help on parts whose reset state is "no pull" (most STM32 pins), and an MCU's pad pull is often 40-50 kΩ.

Example. An MCU GPIO drives the EN of a motor driver directly: during the 2 ms between power-on and GPIO init the driver's EN floats, and on some boards the motor twitches at every reset.

How to check. Nets whose only drivers are MCU/SoC IOs (NET-9 treats them as tristate) and whose loads are inputs, with no resistor to a rail.

Fix. A pull to the level that is safe while the controller is not running.

References. SCBA004E §5; AN4899 §6.1; Wikipedia, Pull-up resistor.