Skip to content

I2C checks

The I2C 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:

  • UM10204 · NXP, I²C-bus specification and user manual, Rev. 7.0 (October 2021). The bus standard; section and table numbers below refer to it (fetched 21 Oct 2026 through a headless browser, nxp.com refuses plain HTTP clients). nxp.com/docs/en/user-guide/UM10204.pdf
  • SLVA689 · TI, I2C Bus Pullup Resistor Calculation (2015). ti.com/lit/an/slva689
  • SLVA704 · TI, Understanding the I2C Bus (2015). ti.com/lit/an/slva704
  • SCPA054 · TI, Why, When, and How to use I2C Buffers (2018). ti.com/lit/an/scpa054
  • SMBus 3.1 · SBS-IF, System Management Bus (SMBus) Specification, v3.1 (2018). smbus.org/specs
  • Wikipedia, I²C · a readable overview with the reserved-address table and the SMBus differences. en.wikipedia.org/wiki/I²C
  • AoE3 · Horowitz & Hill, The Art of Electronics, 3rd ed. (Cambridge, 2015), chapter 14 (serial buses).

Checks

Check Severity Status
I2C-1 No pull-ups on an I2C bus error runs
I2C-2 I2C multiple pull-ups warning runs
I2C-3 Pull-up from two series resistors to nowhere (part of I2C-1) error runs
I2C-4 Pull-up to a non-rail net (resistor with only two pins connected)? error runs
I2C-5 I2C address collision (needs addresses in the library, maybe AI can pull them out) error planned
I2C-6 I2C going to a connector that isn't FPC or fine pitch B2B: suggest another interface, keep I2C on board? suggestion planned
I2C-7 Series tie resistor on an I2C line too high (over 100 Ω) warning runs
I2C-8 Pull-up too weak for the bus speed: Rp > tr_max / (0.847 · Cb), tr (30-70 %) max 1000 ns at 100k, 300 ns at 400k, 120 ns at 1M; Cb estimated from the pins on the net (or a project setting). Measured on a bench: ~135 pF per line, 10k gives 1170 ns (fails 100k), 2.2k 277 ns (meets 400k), 1M needs ≤ 1.05k warning planned
I2C-9 Pull-up value outside the recommended range (2.2k-10k): too strong for the sink current (3 mA, 20 mA in Fm+), too weak for the edges ≈ I2C-8 warning runs
I2C-10 SCL and SDA pull-ups of different value warning runs
I2C-11 I2C device whose supply can be off while the bus is on, without fail-safe (Ioff) inputs: it feeds itself through its ESD diodes and clamps both lines to ~0.6 V, the whole bus is dead ≈ BKF-8 error planned
I2C-12 SMBus device on an I2C bus: it times out when the clock drops under 10 kHz or a transfer stalls over 25-35 ms, and its fixed thresholds (0.8 / 2.1 V in SMBus 2.0, 0.8 / 1.35 V in 3.0) do not match I2C's 0.3 / 0.7 VDD on 5 V and 1.8 V buses warning planned
I2C-13 Static-offset bus buffers (P82B96, PCA9600, PCA9515 class) in series, or one facing a device with a low VIL: the buffer's ~0.5 V low is never seen as low, the bus locks error planned
I2C-14 Push-pull auto-direction shifter (TXB010x class) on I2C: its direction sensing fails on open-drain lines and with pull-ups under ~50k. Edge-accelerated open-drain parts (TXS01xx) work but their one-shots can glitch slow edges; a plain open-drain shifter (PCA9306, BSS138 pair) is the safe choice ≈ LVL-11 warning planned
I2C-15 I2C mux or switch whose channels, joined by firmware, carry devices with the same address, or whose summed capacitance exceeds the limit warning planned
I2C-16 Device at a reserved address: 0x00-0x07 (general call, CBUS, Hs master codes) or 0x78-0x7F (10-bit prefix, device ID) warning planned
I2C-17 Address straps (A0-A2, ADDR, SA0) floating: the address is undefined, or read at power-up only error planned
I2C-18 Bus segment behind a translator, isolator, buffer or mux with no pull-ups of its own ≈ I2C-1 error runs
I2C-19 Pull-ups of a segment to a rail that can be off while the rest of the bus is on ≈ BKF-12 warning planned
I2C-20 Device that stretches the clock for its conversions on a master known not to support stretching (BCM2835 and its errata) suggestion planned
I2C-21 Estimated bus capacitance over 400 pF (long cable, many devices): needs a buffer or a slower mode ≈ I2C-8 warning planned
I2C-22 Several masters on one bus: all controllers must support multi-master arbitration, and the firmware must handle bus-busy suggestion planned