Skip to content

I2C-5 Address collision

Severity Status Implementation
error planned mid, depends on NET-11

Looks at. Device addresses (library data, straps NET-11).

What it catches. Two devices on one bus segment that answer to the same 7-bit (or 10-bit) address.

Why it matters. Both acknowledge and both drive SDA during reads: the master sees the wired-AND of two answers, data is garbage, and writes land in both. Nothing in the netlist hints at it, which is why it is missed so often: a temperature sensor and an EEPROM from different vendors both at 0x48, or two identical sensors whose address pin was left at the same level.

Example. Two BME280 sensors on one bus: the part has only two addresses (0x76/0x77, by SDO level); a third needs a mux (I2C-15) or a second bus.

How to check. Resolve each device's address from the library plus its strap pins (A0-A2, SDO, ADDR levels), then look for duplicates per segment, counting devices that occupy several addresses (24C16: eight).

Fix. Change a strap, pick a sibling part with another address, add a mux or address translator, or move one device to another bus.

References. UM10204 §3.1.11 (10-bit addressing), §3.1.12 (reserved addresses); Wikipedia, I²C "Addressing".