I2C-9 Pull-up value outside the recommended range¶
| Severity | Status | Implementation |
|---|---|---|
| warning | runs in better_erc | easy, depends on NET-4, IMP-6 |
Data it needs: graph, part classes, values.
Looks at. Pull-up value.
What it catches. A pull-up below Rp(min) ≈ (VDD − 0.4 V) / 3 mA (≈ 1 kΩ at 3.3 V, 470 Ω at 1.8 V) or above the usual 10 kΩ, or a value that does not parse.
Why it matters. Below Rp(min) the open-drain drivers cannot pull the line to a valid low (their IOL is 3 mA, 20 mA in Fm+); above ~10 kΩ the edges are too slow for any real bus (I2C-8) and the line becomes sensitive to leakage and noise. 2.2-4.7 kΩ at 3.3 V covers most boards; 1.8 V buses need the low end.
Example. A 470 Ω pull-up copied from a 5 V Fm+ design onto a 1.8 V sensor bus: 3.8 mA per line, above the sensor's 3 mA sink, VOL rises above 0.3·VDD = 0.54 V.
How to check. Compare the parallel pull-up value per line with the window for the bus voltage and mode. better_erc so far reports a pull-up outside a fixed 2.2 kΩ to 10 kΩ window (the check's min_pull_up and max_pull_up; both ends are inside) and one whose value does not read.
Fix. Pick within the window; SLVA689 gives the full calculation.
References. SLVA689 §2 (Rp(min), Rp(max)); UM10204 Table 10 (VOL(max) 0.4 V, IOL 3 mA / 20 mA).
Settings¶
Set them in the project file under [checks."I2C-9"], or for one run with --set I2C-9.NAME=VALUE.
| Setting | Default | Meaning |
|---|---|---|
I2C-9.min_pull_up |
2200 ohm | lower end of the pull-up window, inside it |
I2C-9.max_pull_up |
10000 ohm | upper end of the pull-up window, inside it |
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only I2C-9 reports on it.
i2c-9_non_standard_pull_ups¶
warning I2C-9 #y2x I2C bus /I2C: pull-up R301 1 kΩ, R302 1 kΩ outside 2.2 kΩ..10 kΩ
net /SCL, net /SDA, part R301, part R302
R301 = 1 kΩ (sch i2c-9_non_standard_pull_ups.kicad_sch)
R302 = 1 kΩ (sch i2c-9_non_standard_pull_ups.kicad_sch)
window = 2.2 kΩ..10 kΩ (derived I2C-9 default)
fix: pick a value inside the window for the bus voltage and mode (TI SLVA689)