P82B96_8 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 08 — 10 November 2009 10 of 32
NXP Semiconductors
P82B96
Dual bidirectional bus buffer
10. Application information
Refer to
AN460
and
AN255
for more application detail.
Fig 10. Interfacing an ‘I
2
C’ type of bus with different logic levels
Fig 11. Galvanic isolation of I
2
C-bus nodes via opto-couplers
Fig 12. Long distance I
2
C-bus communications
1
/
2
P82B96
I
2
C-bus
SDA
002aab986
+5 V
+V
CC
(2 V to 15 V)
R1
Rx
(SDA)
Tx
(SDA)
'SDA' (new levels)
1
/
2
P82B96
I
2
C-bus
SDA
002aab987
+5 V
R1
+V
CC
R2
R3
Rx
(SDA)
Tx
(SDA)
R5
R4
+V
CC1
I
2
C-bus
SDA
P82B96
SDA
SCL
002aab988
12 V
12 V3.3 V to 5 V
3.3 V to 5 V
long cables
main enclosure
P82B96
SDA
SCL
3.3 V to 5 V
3.3 V to 5 V
remote control enclosure
12 V
P82B96_8 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 08 — 10 November 2009 11 of 32
NXP Semiconductors
P82B96
Dual bidirectional bus buffer
Figure 13 shows how a master I
2
C-bus can be protected against short circuits or failures
in applications that involve plug and socket connections and long cables that may become
damaged. A simple circuit is added to monitor the SDA bus, and if its LOW time exceeds
the design value, then the master bus is disconnected. P82B96 will free all its I/Os if its
supply is removed, so one option is to connect its V
CC
to the output of a logic gate from,
say, the 74LVC family. The SDA and SCL lines could be timed and V
CC
disabled via the
gate if one or other lines exceeds a design value of ‘LOW’ period as in
Figure 28 of
AN255
. If the supply voltage of logic gates restricts the choice of V
CC
supply then the
low-cost discrete circuit in Figure 13 can be used. If the SDA line is held LOW, the 100 nF
capacitor will charge and the Ry input will be pulled towards V
CC
. When it exceeds 0.5V
CC
the Ry input will set the Sy input HIGH, which in practice means simply releasing it.
In this example the SCL line is made unidirectional by tying the Rx pin to V
CC
. The state of
the buffered SCL line cannot affect the master clock line which is allowed when
clock-stretching is not required. It is simple to add an additional transistor or diode to
control the Rx input in the same way as Ry when necessary. The +V cable drive can be
any voltage up to 15 V and the bus may be run at a lower impedance by selecting pull-up
resistors for a static sink current up to 30 mA. V
CC1
and V
CC2
may be chosen to suit the
connected devices. Because DDC uses relatively low speeds (< 100 kHz), the cable
length is not restricted to 20 m by the I
2
C-bus signalling, but it may be limited by the video
signalling.
Fig 13. Extending a DDC bus
P82B96
SCL
Rx
Tx
002aab989
Sx
V
CC
Ry
Ty
Sy
I
2
C-bus/DDC
master
SDA
V
CC1
GND
Rx
Tx
Ry
Ty
V
CC
Sx
Sy
SCL
SDA
V
CC2
GND
I
2
C-bus/DDC
slave
4.7 k
BC
847B
100 nF
100
k
+V cable drive
470 k
470 k
BC
847B
3 m to 20 m
cables
I
2
C-bus/DDC
R
G
B
video signals
PC/TV receiver/decoder box
P82B96
monitor/flat TV
+V cable drive
P82B96_8 © NXP B.V. 2009. All rights reserved.
Product data sheet Rev. 08 — 10 November 2009 12 of 32
NXP Semiconductors
P82B96
Dual bidirectional bus buffer
Figure 14 shows that P82B96 can achieve high clock rates over long cables. While
calculating with lumped wiring capacitance yields reasonable approximations to actual
timing, even 25 meters of cable is better treated using transmission line theory. Flat ribbon
cables connected as shown, with the bus signals on the outer edge, will have a
characteristic impedance in the range 100 to 200 . For simplicity they cannot be
terminated in their characteristic impedance but a practical compromise is to use the
minimum pull-up allowed for P82B96 and place half this termination at each end of the
cable. When each pull-up is below 330 , the rising edge waveforms have their first
voltage ‘step’ level above the logic threshold at Rx and cable timing calculations can be
based on the fast rise/fall times of resistive loading plus simple one-way propagation
delays. When the pull-up is larger, but below 750 Ω, the threshold at Rx will be crossed
after one signal reflection. So at the sending end it is crossed after 2 times the one-way
propagation delay and at the receiving end after 3 times that propagation delay. For flat
cables with partial plastic dielectric insulation (by using outer cores) the one-way
propagation delays will be about 5 ns per meter. The 10 % to 90 % rise and fall times on
the cable will be between 20 ns and 50 ns, so their delay contributions are small. There
will be ringing on falling edges that can be damped, if required, by using Schottky diodes
as shown.
When the Master SCL HIGH and LOW periods can be programmed separately, for
example using control registers I2SCLH and I2SCLL of 89LPC932, the timings can allow
for bus delays. The LOW period should be programmed to achieve the minimum 1300 ns
plus the net delay in the slave's response data signal caused by bus and buffer delays.
The longest data delay is the sum of the delay of the falling edge of SCL from master to
slave and the delay of the rising edge of SDA from slave data to master. Because the
buffer will ‘stretch’ the programmed SCL LOW period, the actual SCL frequency will be
lower than calculated from the programmed clock periods. In the example for 25 meters
the clock is stretched 400 ns, the falling edge of SCL is delayed 490 ns and the SDA rising
edge is delayed 570 ns. The required additional LOW period is
(490 ns + 570 ns) = 1060 ns and the I
2
C-bus specifications already include an allowance
for a worst case bus rise time 0 % to 70 % of 425 ns. (The bus rise time can be 300 ns
30 % to 70 %, which means it can be 425 ns 0 % to 70 %. The 25 meter cable delay times
as quoted already include all rise and fall times.) Therefore, the microcontroller only needs
to be programmed with an additional (1060 ns 400 ns 425 ns) = 235 ns, making a
total programmed LOW period 1535 ns. The programmed LOW will the be stretched by
400 ns to yield an actual bus LOW time of 1935 ns, which, allowing the minimum HIGH
period of 600 ns, yields a cycle period of 2535 ns or 394 kHz.
Note that in both the 100 meter and 250 meter examples, the capacitive loading on the
I
2
C-buses at each end is within the maximum allowed Standard mode loading of 400 pF,
but exceeds the Fast mode limit. This is an example of a ‘hybrid’ mode because it relies on
the response delays of Fast mode parts but uses (allowable) Standard mode bus loadings
with rise times that contribute significantly to the system delays. The cables cause large
propagation delays, so these systems need to operate well below the 400 kHz limit, but
illustrate how they can still exceed the 100 kHz limit provided all parts are capable of
Fast mode operation. The fastest example illustrates how the 400 kHz limit can be
exceeded, provided masters and slaves have the required timings, namely smaller than
the maximum allowed for Fast mode. Many NXP slaves have delays shorter than 600 ns
and all Fm+ devices must be < 450 ns.

P82B96TD/S900,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Interface - Signal Buffers, Repeaters Dual bidirectional Bus buffer
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union