Skip to content

LVL-4 I2C discrete translator pull-up to the wrong voltage

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

Data it needs: graph, part classes, rails, rail voltages.

Looks at. The translator (NET-4), rails of the devices on each side.

What it catches. In a BSS138-pair shifter, the pull-ups of one side going to the other side's rail: both pairs to the high rail, or the low side pulled to the high rail.

Why it matters. The pass-FET shifter works because each side has its own pull-up to its own rail (AN10441 §2). A low-side pull-up to 3.3 V drives 3.3 V into the 1.8 V devices' pins through their clamps (LVL-1); a high-side pull-up to 1.8 V gives a high level of 1.8 V on the 3.3 V or 5 V side, below its VIH.

Example. A schematic copied from a 3.3 V/5 V design onto a 1.8 V/3.3 V board: the "LV" pull-ups R1/R2 still go to +3V3, so the 1.8 V sensor's SDA sits at 3.3 V whenever the bus is idle.

How to check. For each discrete shifter that NET-4 recognises, the pull-ups on the source-side nets must go to the same rail as the gate (LVL-9) and to the supply of the devices on that side; the drain-side pull-ups to the supply of the devices there (NET-5).

Fix. Each side's pull-up to that side's IO rail; or replace the pair with a PCA9306 / TCA9406 class part whose pins name the sides.

References. AN10441 §2; I2C-1; UM10204 §7.1.

Test schematics

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

lvl-4_translator_pull_ups

The test schematic lvl-4_translator_pull_ups The test schematic lvl-4_translator_pull_ups

  error      LVL-4 #z1y     shifter Q5 and Q6 between /I2C_3V3B and /I2C_5V: the low (source) side is pulled to +5V (5 V), above the high side's +3V3 (3.3 V)
                            net +3V3, net +5V, part Q5, part Q6
                            fix: each side's pull-ups to that side's IO rail; or a PCA9306 / TCA9406 class part whose pins name the sides
  error      LVL-4 #gvk     shifter Q3 and Q4 between /I2C_LV and /I2C_M: both sides are pulled up to +3V3 (3.3 V)
                            net +3V3, part Q3, part Q4
                            fix: each side's pull-ups to that side's IO rail; or a PCA9306 / TCA9406 class part whose pins name the sides