Projects

A supply-insensitive I2C transceiver

Before sensors, I designed I/O. Running the pre-driver and the receiver’s input stage from a small LDO instead of the I/O supply keeps I2C Fast-mode Plus working from 1.62 V to 3.78 V.

Circuit diagram. An LDO fed from VDDE (1.62 to 3.78 V) makes V_REF, about 1.35 V, set below the lowest VBUS, and a V_REF rail runs across the top. Transmit path: a level shifter and pre-driver on VDDE feed the last pre-driver stage, a CMOS inverter whose PMOS source sits on V_REF, which drives the gate of an open-drain NMOS pulling down the SDA line; SDA has a pull-up resistor to VBUS. Receive path: SDA feeds the receiver's first stage, an inverter whose PMOS source also sits on V_REF, then an I2C filter and level shifter on VDDE and the output ZI to the core. Notes: the gate swings 0 to V_REF whatever VDDE does, so the drive stays put; the first receiver stage draws no short-circuit current even at VBUS 1.62 V with VDDE 3.78 V; Fast-mode Plus at 1 Mbps across the range; no supply-select pins; one LDO per I/O or shared by the I/O ring. Inset bar chart of pull-down current over VDDE: last stage on VDDE about 10 to 72 mA, last stage on V_REF about 10 to 22 mA.
Circuit diagram, after US 10,848,147 B2.

Before sensors, I designed I/O. In a battery-powered device the I/O supply VDDE can sit anywhere from 1.62 V to 3.78 V, and the bus pull-up supply VBUS is independent of it. An open-drain NMOS driver’s strength goes roughly with the square of its gate drive, so across that range the pull-down current spans about 10 to 72 mA: outside the I2C specification, and far too much spread for reliable 1 Mbps Fast-mode Plus. The usual answers were to fall back to 400 kbps Fast mode, add supply-range select bits (logic and area), or restrict VBUS, which costs pads.

The receiver had its own problem: with VDDE well above VBUS, say 3.78 V against 1.62 V, its first input stage draws short-circuit current, which costs battery life.

The fix keeps both stages away from VDDE. The last stage of the transmitter’s pre-driver, and the receiver’s first input stage (an inverter or inverting Schmitt trigger), run from a stable VREF instead. The driver’s gate then swings only between ground and VREF, whatever VDDE does. VREF comes from a small LDO (a bandgap, a divider, an error amplifier and a pass device from VDDE), set below the lowest expected VBUS: about 1.35 V for a 1.62 to 3.6 V bus. It can live inside each I/O or be shared across an I/O ring.

With that, the drive-current spread shrinks to about 10 to 22 mA, Fast-mode Plus works across the whole supply range, the receiver draws no short-circuit current even at VBUS = 1.62 V, and there are no supply-select pins. US 10,848,147 B2, granted 2020.

Published sources