Low-Cost I2C Level Translator

AN883
L O W - C O S T I 2 C L EVEL T R ANSLA TOR
1. Introduction
This applications note discusses a low-cost circuit for I2C level translation. This circuit was developed for the
Si701x, Si702x, and Si703x humidity sensors but will work in many applications.
This circuit provides I2C level translation from a higher voltage supply, such as 5 V, to a lower voltage, supply such
as 1.8 or 3.3 V. In addition, the optional emitter follower circuit provides a low-voltage power supply rail from the
higher 5 V supply.
Note that some devices allow for higher voltage tolerance on I2C inputs. For example, the Si7034 has a 3.3 V
tolerant I2C interface, so the level translation is only required for 5 V I2C designs.
2. Circuit
The basic circuit is shown in Figure 1.
5V
1.8V
Optionally replace with LDO
R6
10K
Q3
MMBT3904
R7
6.65K
R1
4.7K
R2
4.7K
D3
BAS16X
R8
10K
R3
4.7K
R4
4.7K
U3
SCL
SDA
3
2
U1
Si7034
1
D1
2
BAS40
1
4
SCL
NC
SDA
NC
6
3
C1
0.1uF
5
VSS
GND
4
VDD
VCC
D2
BAS40
Q2
MMBT3904
1.8V
R5
10K
Figure 1. Low-Cost I2C Level Translator Circuit
In this case, we are translating from 5 V to 1.8 V, and the I2C speed is assumed to be sufficiently slow for clock
stretching to not occur (i.e. less than 300 kHz for the Si701x, Si702x, and Si703x humidity sensors). In this case,
the SCL line is unidirectional.
Rev 0.1 1/15
Copyright © 2015 by Silicon Laboratories
AN883
AN883
For the SCL line, a Shottky diode is used to prevent the SCL line from pulling all the way high on the lower voltage
device while allowing it to pull all the way high on the higher voltage device. The voltage drop across the Schottky
diode must be low enough so that when the higher-voltage device pulls low, there is still a logic low on the lowervoltage device. For the Si7034 used in this case, the logic low level is 0.54 V (0.3 x VDD), and the Schottky diode
drop is about 0.35 V, so there is no issue. If the lower voltage device was on a 3.3 V rail, an ordinary diode could be
used.
The SDA line is bidirectional, and Q2 is added so that when the lower voltage device pulls down on SDA, SDA of
the higher voltage device will pull down. In a case where clock stretching needs to be supported, SCL can be made
bidirectional by adding the same transistor circuit across D1.
The emitter follower circuit is a low-cost method for providing a 1.8 V rail from the higher 5 V supply. Alternatively,
this circuit can be replaced with an LDO for a simpler layout or if additional voltage regulation is required.
3. Waveforms
The circuit was tested for the case of 3.3 to 1.8 V level translation. Figure 2 shows the waveforms on the SDA line
with a clean translation from 3.3 V (blue trace) to 1.8 V (yellow trace).
Figure 2. SDA Line at 1 V per Division
Zooming in to 200 mV per division, the circuit operation can be clearly seen in Figure 3.
2
Rev 0.1
AN883
Figure 3. SDA Line at 200 mV per Division
When the 3.3 V side (blue line) goes all the way low, the 1.8 V side (yellow line) goes to about 350 mV, which is the
Schottky diode drop. When the 1.8 V side (yellow line) goes all the way low, the 3.3 V side goes to about 150 mV,
which is the saturation voltage of the transistor.
4. Conclusion
The low-cost translator circuit allows translation from higher voltages, such as 3.3 or 5 V, to lower voltages, such
as 1.8 or 3.3 V. For the case where SCL is unidirectional, only 2 diodes, 3 resistors, and one transistor are needed.
In high volume manufacture, the cost of these components would be well under $0.05.
Rev 0.1
3
Smart.
Connected.
Energy-Friendly.
Products
Quality
Support and Community
www.silabs.com/products
www.silabs.com/quality
community.silabs.com
Disclaimer
Silicon Laboratories intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using
or intending to use the Silicon Laboratories products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and
"Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Laboratories reserves the right to
make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the
included information. Silicon Laboratories shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses
granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent
of Silicon Laboratories. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant
personal injury or death. Silicon Laboratories products are not designed or authorized for military applications. Silicon Laboratories products shall under no circumstances be used in
weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons.
Trademark Information
Silicon Laboratories Inc.® , Silicon Laboratories®, Silicon Labs®, SiLabs® and the Silicon Labs logo®, Bluegiga®, Bluegiga Logo®, Clockbuilder®, CMEMS®, DSPLL®, EFM®, EFM32®,
EFR, Ember®, Energy Micro, Energy Micro logo and combinations thereof, "the world’s most energy friendly microcontrollers", Ember®, EZLink®, EZRadio®, EZRadioPRO®, Gecko®,
ISOmodem®, Precision32®, ProSLIC®, Simplicity Studio®, SiPHY®, Telegesis, the Telegesis Logo®, USBXpress® and others are trademarks or registered trademarks of Silicon Laboratories Inc. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand
names mentioned herein are trademarks of their respective holders.
Silicon Laboratories Inc.
400 West Cesar Chavez
Austin, TX 78701
USA
http://www.silabs.com