Skip to content

I2C-15 Mux channels that can join colliding devices

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

Looks at. Mux type, device addresses.

What it catches. An I2C switch (TCA9548A class, where several channels can be on at once) with devices of the same address, or a total capacitance over the limit, on channels the firmware may enable together.

Why it matters. A switch joins every enabled channel into one bus; the address collision of I2C-5 is back the moment two channels with twins are on, and the capacitance of all joined channels adds up (I2C-8, I2C-21). A mux (one channel at a time) cannot do this, so the part type decides.

Example. Eight identical sensors behind a TCA9548A: correct one at a time, garbage if the driver enables two channels to "save transactions".

How to check. Per switch, the address sets and capacitance of each channel; flag duplicates across channels and sums over 400 pF.

Fix. Document single-channel use, or use a mux-type part, or give the twins different straps.

References. TI TCA9548A datasheet §8.3 (channel selection, resolving address conflicts); SCPA054 §4.