I 2 C-Cabling

I2C-Cabling
By Brian Hughes, Product Engineer
An inter-integrated circuit ( I2C) bus uses two lines, serial data (SDA) and
serial clock (SCL), to transfer information between devices connected to
the bus. I2C devices have open-drain outputs. When an I2C device drives
a low, the output of the devices pulls the bus to ground. When an I2C
device switches high, the output of the device goes into a high-Z state
where the bus is pulled up to V DD by a pull-up resistor connected between
the bus and V DD. The pull-up resistors along with the capacitance of the
cabling or bus creates a charging RC time constant. If using off board
cabling or very long buses, the total bus capacitance increases, which
increases the rise time of the signal and reduces maximum operating
frequency. The total bus capacitance also increases with the number of
devices connected to the bus. Figure 1 illustrates the connections of two
basic I2C devices to an I2C bus.
+VDD
PULL-UP
RP
RESISTORS
RP
SDA (SERIAL DATA LINE)
SDA (SERIAL CLOCK LINE)
SCLK
SCLK
SCLKN1
OUT
DATAN1
OUT
SCLKN2
OUT
DATAN2
OUT
SCLK
IN
DATA
IN
SCLK
IN
DATA
IN
DEVICE 1
C B (MAX) =
tR
R P × 0.8473
Equation 1.
Using the data sheet recommended pull-up resistor values for 5 V operating
conditions for side one and side two of an I2C compliant hot swappable
digital isolator (ADUM1250), we can calculate that the maximum cable
capacitance for side one is 88 pF and for side two is 780 pF. These are
theoretical maximum capacitance values; the suggested load capacitance
values in the ADUM1250 data sheet are 40 pF for side one and 400 pF for
side two. The data sheet values account for design margin, ESD protection,
and 400 pF is a standard for an I2C bus. The primary reason for the different
load capacitance values of each side of the ADUM1250 is due to their drive
strengths. The higher drive strength of side two (30 mA) allows for a lower
pull-up resistor value than side one’s 3 mA drive strength permits.
Four-way ribbon cable can be used to extend an I2C bus. Normally, this type
of ribbon cable is approximately 50 pF per meter. For a cabling application,
an ADUM1250 could connect one section of the I2C bus with 40 pF of total
bus capacitance to side one. Side two could connect a four way ribbon
cable (up to 8 meters in length) that transfers isolated data to additional I2C
devices connected to the bus. If a distance larger than 8 meters is necessary, or if there is more than 40 pF of total capacitance connected to side
one, the maximum operating frequency can be reduced to allow a longer
rise time and a larger bus capacitance.
DEVICE 2
Figure 1. Two basic I 2C devices connected to an I 2C bus.
The I2C bus specifications restrict the rise time of a signal for different
operating frequencies. The fast-mode plus (1 MHz maximum operating
frequency) specification declares a maximum rise time for a data or clock
signal to be 120 ns. If 1 MHz operating frequency is not necessary, fast mode
(400 kHz maximum operating frequency) can be used, which permits a
Share this on: rise time up to 300 ns. With a fixed value of the pull-up resistor (RP ),
a linear relationship between rise time (t R ) and total bus capacitance (C B )
is described by Equation 1. In this case, rise time (t R ) is the time it takes a
signal to rise from 0.3 × VDD to 0.7 × VDD. This equation is derived by solving
the voltage of a charging capacitor for VC = 0.3 × VDD and VC = 0.7 × VDD.
References
The I2C-Bus and How to Use It. Phillips Semiconductor, 1995.
http://www.I2C-bus.org/fileadmin/ftp/I 2C_bus_specification_1995.pdf
UM10204. I2C-bus specification and user manual. NXP Semiconductors, 2012.
http://www.nxp.com/documents/other/UM10204_v5.pdf
Follow ADI: www.analog.com
twitter.com/adi_news
Analog Devices, Inc.
Worldwide Headquarters
Analog Devices, Inc.
One Technology Way
P.O. Box 9106
Norwood, MA 02062-9106
U.S.A.
Tel: 781.329.4700
(800.262.5643,
U.S.A. only)
Fax: 781.461.3113
Analog Devices, Inc.
Europe Headquarters
Analog Devices, Inc.
Wilhelm-Wagenfeld-Str. 6
80807 Munich
Germany
Tel: 49.89.76903.0
Fax: 49.89.76903.157
Analog Devices, Inc.
Japan Headquarters
Analog Devices, KK
New Pier Takeshiba
South Tower Building
1-16-1 Kaigan, Minato-ku,
Tokyo, 105-6891
Japan
Tel: 813.5402.8200
Fax: 813.5402.1064
Analog Devices, Inc.
Asia Pacific Headquarters
Analog Devices
5F, Sandhill Plaza
2290 Zuchongzhi Road
Zhangjiang Hi-Tech Park
Pudong New District
Shanghai, China 201203
Tel: 86.21.2320.8000
Fax: 86.21.2320.8222
©2013 Analog Devices, Inc. All rights reserved.
Trademarks and registered trademarks are the
property of their respective owners.
T12012-0-12/13
www.analog.com