Skip to content

I2C-12 SMBus device on an I2C bus

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

Looks at. Part class (I2C vs SMBus) from the library, bus speed.

What it catches. A device specified for SMBus (power monitors, chargers, fan controllers, many PMICs) on a bus run as plain I2C.

Why it matters. SMBus is a stricter subset: the clock must stay between 10 kHz and 100 kHz (400 kHz in 3.x), a device may time out and reset its interface when SCL stays low for 25-35 ms (tTIMEOUT), and input thresholds are fixed (SMBus 2.0: 0.8 / 2.1 V; 3.0: 0.8 / 1.35 V) rather than I2C's 0.3 / 0.7 · VDD. An I2C master that stretches a transfer over a slow interrupt, or bit-bangs below 10 kHz, gets NACKs; on a 5 V bus the 2.1 V VIH is far from I2C's 3.5 V, on a 1.8 V bus the fixed 1.35 V may never be reached by a weak high.

Example. A bit-banged I2C master at 8 kHz talking to a battery gauge: the gauge times out mid-transfer and answers nothing. The same gauge works on a hardware I2C peripheral at 100 kHz.

How to check. Library class of each device vs the bus speed and VDD of the segment.

Fix. Run the bus at SMBus rates with a hardware controller; on 1.8 V or 5 V buses check the fixed thresholds against the master's VOH/VOL; use a translator where they do not meet.

References. SMBus 3.1 §4.2 (fSMB 10 kHz min, tTIMEOUT 25-35 ms), §4.2.1 (fixed VIL/VIH); Wikipedia, System Management Bus; UM10204 §6 (I2C thresholds).