Skip to content

I2C-2 Multiple pull-ups

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

Data it needs: graph, part classes.

Looks at. The bus, resistors to rails.

What it catches. More than one pull-up on the same line of one bus segment.

Why it matters. Pull-ups in parallel add up: two 4.7 kΩ make 2.35 kΩ, and three breakout boards with their own pulls can reach 1 kΩ. Below Rp(min) the drivers cannot sink the current and VOL rises above the input threshold: the bus "works on the bench, fails on the hot board". It also wastes power on every low bit.

Example. An MCU board with 4.7 kΩ, an OLED module with 10 kΩ and an IMU breakout with 4.7 kΩ on one bus: 1.9 kΩ in total, over 1.7 mA at 3.3 V, above the 3 mA IOL only with margin that the 1.8 V variant does not have.

How to check. Count resistors to a rail per line and segment; report the parallel value against Rp(min) = (VDD − VOL(max)) / IOL (3 mA standard and fast mode, 20 mA Fm+).

Fix. Keep one pair; make the module ones DNP; if modules must keep theirs, size the main pair so the total stays inside the window of I2C-9.

References. SLVA689 §2 (Rp(min)); UM10204 Table 10 (IOL per mode).

Test schematics

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

i2c-2_multiple_pull_ups

The test schematic i2c-2_multiple_pull_ups The test schematic i2c-2_multiple_pull_ups

  warning    I2C-2 #wmh     I2C bus /I2C1_1V8: R509, R510, R511 pull up besides the pair R507 and R508
                            net /SCL1_1V8, net /SDA1_1V8, part R509, part R510, part R511
                            fix: keep one pair; make the others DNP
  warning    I2C-2 #w5y     I2C bus /I2C1_3V3 and /I2C_U7: 2 pull-up pairs on one segment (R501, R503, R504, R502)
                            net /SCL1_3V3, net /SCL_U7, net /SDA1_3V3, net /SDA_U7, part R501, part R502, part R503, part R504
                            fix: keep one pair per segment; make the others DNP

I2C-2 also fires on the test schematics of other checks: i2c-7_segments.