Skip to content

I2C-8 Pull-up too weak for the bus speed

Severity Status Implementation
warning planned mid, depends on NET-4, CFG-2

Looks at. The bus, pull-up value, estimated capacitance, bus speed.

What it catches. Rp above Rp(max) = tr(max) / (0.8473 · Cb), where tr(max) is the rise time the mode allows (1000 ns standard, 300 ns fast, 120 ns Fm+) and Cb the line capacitance.

Why it matters. The rising edge is an RC curve through Rp and the bus capacitance; too slow and the receiver samples a half-high bit, or the master's next falling edge comes before the line reached VIH. Masters with weak internal pulls (30-50 kΩ) and long traces fail at 400 kHz with no obvious symptom but random NACKs.

Example. Measured on our bench with ~135 pF per line: 10 kΩ gives 1170 ns (fails even 100 kHz), 2.2 kΩ 277 ns (meets 400 kHz), 1 MHz needs ≤ 1.05 kΩ.

How to check. Estimate Cb from the pins on the net (≈10 pF per device pin, 1-2 pF/cm of trace, or a project setting), take the bus speed from the project, compute Rp(max), compare.

Fix. Lower Rp (down to Rp(min), see I2C-9), shorten the bus, lower the speed, or add a buffer that splits the capacitance (SCPA054).

References. SLVA689 §2.1 (tr = 0.8473 · Rp · Cb, Rp(max)); UM10204 Table 11 (tr per mode), §7.1; Wikipedia, I²C "Physical layer".