Professional Documents
Culture Documents
White Paper
By He Junhua
Optical Communication Solutions Division,
Avago Technologies Limited
The inter-IC bus (I2C bus) is being used in an increasing Optocoupler Propagation Delay in the I2C Bus
number of applications, including consumer appliances,
communications equipment, and industrial equipment. Galvanic isolation in the I2C bus interface is required by
In practically all cases, low voltage optocouplers are used the application environment to ensure error-free data
to provide galvanic isolation in the 3.3V I2C bus interface. transmission and isolate high voltage devices. Suitable
In a minimum configuration, three high speed optocou- optocouplers can provide this isolation.
plers are used to isolate the CLK, SDA_in and SDA_out High speed optocouplers, ranging from 100 kilobaud
bus signals. (kBd) to 50 megabaud (MBd), are available for digital data
This article discusses how the parameters related to op- interface isolation. The appropriate optocoupler for the
tocoupler propagation delay can affect data integrity and I2C bus interface primarily depends on the application’s
system reliability for applications requiring isolation of the speed and propagation delay requirements.
I2C bus interface, including IEEE 802.3af-compliant pow- First, an optocoupler’s maximum high-to-low and low-
er-over-Ethernet switches and the analog-to-digital con- to-high propagation delay, (tPHL and tPLH), will indicate
version interface to microcontrollers. As examples, we are the device’s maximum data transmission rate (Figure 2a).
using Avago Technologies’ HCPL-063L dual-channel and The maximum propagation delay tP(MAX) is the greater
HCPL-060L single-channel 15 MBd 3.3 V optocouplers. of tPHL or tPLH. An optocoupler transmitting NRZ (non-
return-to-zero) data requires that the data bit period t is
I2C Bus Basics at least greater than tP(MAX): τ ≥ tP (MAX)
The I2C bus is a serial digital signal communication So, the maximum data speed is: FNRZ (MAX) =1/τ ≤ 1/
protocol developed by Philips Semiconductors. It tP(MAX)
requires only two wires and minimal hardware in the
interface port, with interconnected devices addressed For a clock signal which is RZ (return-to-zero) data, such
through software. Data speed between the master and as the I2C bus SCL, a clock cycle includes both the high
slave devices ranges from the Standard Mode at 100 and low period: τ = tHIGH + tLOW
kb/s, through Fast Mode at 400 kb/s, to High Speed For a normal 50-percent duty cycle RZ clock signal, a safe
Mode at 3.4 Mb/s. The two wires carry SDA data and SCL rule in judging the expected RZ data rate is: fRZ(MAX) ≤
clocking, with every one data bit of SDA being read at 1/2 (tP(MAX))
each SCL clock high period. The data must remain stable
during this period. The high-to-low or low-to-high state However, in the I2C bus clock cycle, the high period is
transition can only be completed when the clock signal permitted to be shorter than the low period. To transmit
on the SCL line is low (Figure 1). a less than 50 percent duty cycle signal over the opto-
coupler, the optocoupler’s maximum propagation delay
SDA tP(MAX) should be less than the high period: tHIGH ≥
tP(MAX)
t SU;DAT
t HD;DAT
t LOW a) b)
50%
SCL I F1
tr tf Input I F
50% VO1
t HD;STA t HIGH t SU;STO
t PHL t PLH 1.5V
START DATA TRANSFER STOP
Output V O t PSK
1.5V
50%
Figure 1. Timing Diagram of I2C Bus I F2
VO2
1.5V
2
The 802.3af specification requires electrical isolation of Analog-to-Digital Converter I2C Interface (Figure 4)
both the PSE and PD, consistent with the requirements
VDD1 3.3V VDD2 3.3V
of the physical layers (PHYs) of 10/100BASE-T Ethernet. As
mentioned previously, the PSE hot swap controller works HCPL-060L
with a –48 V power supply, which is connected to either
a spare pair or the signal pair of wires in the LAN data SDAI N
cable. Electrical isolation is required between the hot
GND2
swap controller and its host control circuit.
As shown in Figure 3, PSE hot swap controllers or power
MCU
MCU
management chips incorporate I2C bus protocol to com- SDA SDAOUT
municate with a host microcontroller. In this example, ADC
two HCPL-063L dual-channel 3.3 V optocouplers isolate
the I2C bus interface between the hot swap control- SCL SCL
GND2 optocouplers.
erfacacee
-
I2C Int erf ac e
SDA_I N
SDA
48- V
and data signals requires consideration for optocoupler
I2C
For product information and a complete list of distributors, please go to our web site: www.avagotech.com
Avago, Avago Technologies, and the A logo are trademarks of Avago Technologies, Limited in the United States and other countries.
Data subject to change. Copyright © 2007-2010 Avago Technologies Limited. All rights reserved. Obsoletes 5989-3826EN
AV02-2384EN - March 19, 2010