I2C-17 Address straps floating¶
| Severity | Status | Implementation |
|---|---|---|
| error | planned | mid, depends on NET-7 |
Looks at. Strap pins (library).
What it catches. Address-select pins (A0-A2, ADDR, SA0, SDO) with no pull, tie or driver.
Why it matters. Most such pins have no internal pull: a floating one reads a random level, so the address differs from board to board or changes with humidity and the firmware's probe fails intermittently. Some parts sample the straps once at power-up, so a GPIO that drives them later has no effect. Others (24C16 class EEPROMs) use the pins as block selects instead of address bits and must still be tied.
Example. An ADS1115's ADDR left open "because the default is 0x48": the pin has no internal pull, half the boards appear at 0x49.
How to check. Pins of the strap class (NET-7, library) that are not tied to a rail, a resistor or a driver.
Fix. Tie each strap to GND or VDD directly, or through a resistor if a GPIO shares it; note the resulting address in the schematic.
References. UM10204 §3.1.11; the device datasheets (address pin section); our "I2C in the wild" notes §2.