Skip to content

I2C-18 Bus segment without its own pull-ups

Severity Status Implementation
error runs in better_erc easy, depends on NET-4

Data it needs: graph, part classes. Folds in: I2C-1.

Looks at. The bus split into segments by translators, buffers, muxes.

What it catches. A segment separated from the rest of the bus by a translator, buffer, isolator or mux whose SCL/SDA have no pull-ups of their own.

Why it matters. Each such part breaks the bus into electrically separate segments: the pull-ups on the master side do not reach through a buffer (it only passes lows), through an isolator (nothing passes), or through a pass-FET translator when the far side's rail is the higher one. A segment without pull-ups is I2C-1 in disguise, and the master side looks perfectly fine on a scope.

Example. An ISO1540 isolator with 4.7 kΩ on the MCU side only: the isolated side's SCL/SDA never go high, the sensor behind it is never found.

How to check. Segment the bus at each translator/buffer/isolator/mux pin pair (NET-4 already does this for translators) and run I2C-1 per segment.

Fix. A pull-up pair per segment, to that segment's rail.

References. SCPA054 §2 (buffers: each side needs pull-ups); TI PCA9306 datasheet, application section (pull-ups on both sides); UM10204 Table 11 (Cb per side).

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only I2C-18 reports on it.

i2c-18_discrete_translator

The test schematic i2c-18_discrete_translator The test schematic i2c-18_discrete_translator

  error      I2C-18 #mt2    I2C bus /I2C_1V8 has no pull-ups of its own: the translator, buffer or isolator to /I2C_3V3, /I2C_5V, /I2C_CONN does not pass the other side's (also I2C-1)
                            net /SCL_1V8, net /SDA_1V8
                            fix: a pull-up pair per segment, to that segment's rail

i2c-18_isolated_segment

The test schematic i2c-18_isolated_segment The test schematic i2c-18_isolated_segment

  error      I2C-18 #6cy    I2C bus /I2C_ISO has no pull-ups of its own: the translator, buffer or isolator to /I2C_1V8, /I2C_MCU does not pass the other side's (also I2C-1)
                            net /SCL_ISO, net /SDA_ISO
                            fix: a pull-up pair per segment, to that segment's rail