LTC4151
10
4151ff
For more information www.linear.com/LTC4151
Using Opto-Isolators with LTC4151-1 and LTC4151-2
The LTC4151-1/LTC4151-2 split the SDA line into SDAI
(input) and SDAO (LTC4151-1 inverted output) or SDAO
(LTC4151-2 output) for convenience of opto-coupling
with a host controller that sits at a different ground level.
When using opto-isolators with the LTC4151-1, connect
the SDAI to the output of the incoming opto-coupler and
connect the SDAO to the anode of the outgoing opto-
coupler (see Figure 9). With the outgoing opto-coupler
clamping SDAO and internal 6V (5.5V minimum) clamps
on SDAI and SCL, the pull-up resistors on these three pins
can be directly connected to V
IN
. In this way (with SDAO
rather than conventional SDAO), the need for a separate
low voltage supply for pull-ups is eliminated.
Figure 11 shows the LTC4151-2 with high speed opto-
couplers for faster bus speeds. The LTC4151-2 has a non-
inverter SDAO output. Powered from V
IN
, the high voltage
LT3010-5 low dropout regulator provides the supply for the
opto-couplers as well as the bus lines pull-up. If the SDAI
and SDAO on the master controller are not tied together,
the ACK bit of the SDAO must be
returned back to SDAI.
Start and Stop Conditions
When the I
2
C bus is idle, both SCL and SDA must remain
in the high state. A bus master signals the beginning of a
transmission with a Start condition by transitioning SDA
from high to low while SCL stays high. When the master
has finished communicating with the slave, it issues a Stop
condition by transitioning SDA from low to high while SCL
stays high. The bus is then free for another transmission.
Stuck-Bus Reset
The LTC4151 I
2
C interface features a stuck-bus reset
timer. The low conditions of the SCL and the SDA/SDAI
pins are OR’ed to start the timer. The timer is reset when
both SCL and SDA/SDAI are pulled high. If the SCL pin or
the SDA/SDAI pin is held low for over 33ms, the stuck-bus
timer will expire and the internal I
2
C state machine will be
reset to allow normal communication after the stuck-bus
condition is cleared. The stuck-bus timer can be disabled
by clearing control register bit G2.
applicaTions inForMaTion
Figure 9. Opto-Isolation of the I
2
C Interface Between LTC4151-1 and a
Microcontroller (1.5kHz Data Rate of I
2
C is Limited by Slew Rate of Opto-Isolators)
4151 F09
3.3V
R
S
0.02Ω
µ-CONTROLLER
GND
LTC4151-1
SCL
SCL
V
IN
48V
V
IN
V
DD
V
ADIN
SDAI
ADIN
ADR1
R5
0.51k
R6
10k
R7
10k
R4
0.51k
R1
20k
R2
20k
R3
5.1k
18
27
36
45
81
72
63
54
SDA
ADR0
GND
SENSE
+
SENSE
SDA0
MOCD207M
MOCD207M
LTC4151
11
4151ff
For more information www.linear.com/LTC4151
applicaTions inForMaTion
Table 1. LTC4151 Device Addressing*
DESCRIPTION
HEX DEVICE
ADDRESS BINARY DEVICE ADDRESS
LTC4151
ADDRESS PINS
h a6 a5 a4 a3 a2 a1 a0 R/W ADR1 ADR0
Mass Write CC 1 1 0 0 1 1 0 0 X X
0 CE 1 1 0 0 1 1 1 X H L
1 D0 1 1 0 1 0 0 0 X NC H
2 D2 1 1 0 1 0 0 1 X H H
3 D4 1 1 0 1 0 1 0 X NC NC
4 D6 1 1 0 1 0 1 1 X NC L
5 D8 1 1 0 1 1 0 0 X L H
6 DA 1 1 0 1 1 0 1 X H NC
7 DC 1 1 0 1 1 1 0 X L NC
8 DE 1 1 0 1 1 1 1 X L L
*H = Tie High; L = Tie to GND; NC = Open; X = Don’t Care
I
2
C Device Addressing
Nine distinct I
2
C bus addresses are configurable using the
three-state pins ADR0 and ADR1, as shown in Table 1.
Address bits a6, a5 and a4 are configured to (110) and
the least significant bit is the R/W bit. In addition, the
LTC4151 will respond to a mass write address (1100 110)
b for writing to all LTC4151s, regardless of their individual
address settings.
Acknowledge
The acknowledge signal is used for handshaking between
the transmitter and the receiver to indicate that the last
byte of data was received. The transmitter always releases
the SDA line during the acknowledge clock pulse. The
LTC4151
pulls the SDA line low on the 9th clock cycle to
acknowledge receipt of the data. If the slave fails to ac
-
knowledge by leaving SDA high, then the master can abort
the transmission by generating a Stop condition. When
the master is receiving data from the slave, the master
must pull down the SDA line during the clock pulse to
indicate receipt of a data byte, and that another byte is to
be read. After the last byte has been received the master
will leave the SDA line high (not acknowledge) and issue
a Stop condition to terminate the transmission.
Write Protocol
The master begins a write operation with a Start condition
followed by the seven bit slave address and the R/W bit
set to zero. After the addressed LTC4151 acknowledges
the address byte, the master then sends a command
byte which indicates which internal register the master
wishes to write. The LTC4151 acknowledges this and
then latches the lower three bits of the command byte
into its internal register address pointer. The master then
delivers the data byte and the LTC4151 acknowledges
once more and latches the data into its internal
register.
If the master continues sending a second byte or more
data bytes, as in a Write Word or Write Page command,
the second byte or more data bytes will be acknowledged
by the LTC4151, the internal register address pointer
will increment automatically, and each byte of data will
be latched into an internal register corresponding to the
address pointer. The write operation terminates and the
register address pointer resets to 00h when the master
sends a Stop condition.
Read Protocol
The master begins a read operation with a Start condition
followed by the seven bit slave address and the R/W bit
set to zero. After the addressed LTC4151 acknowledges
the address byte, the master then sends a command
byte that indicates which internal register the master
wishes to read. The LTC4151 acknowledges this and then
latches the lower three bits of the command byte into its
internal register
address pointer. The master then sends
a repeated Start condition followed by the same seven bit
LTC4151
12
4151ff
For more information www.linear.com/LTC4151
Table 3. SENSE Registers A (00h) and B (O1h)—Read/Write
BIT NAME OPERATION
A7:0, B7:4 SENSE Voltage Data 12-Bit Data of Current Sense Voltage with 20µV LSB and 81.92mV Full-Scale
B3 ADC Busy in Snapshot Mode 1 = SENSE Being Converted; 0 = SENSE Conversion Completed. Not Writable
B2:0 Reserved Always Returns 0. Not Writable
Table 4. V
IN
Registers C (02h) and D (O3h)—Read/Write
BIT NAME OPERATION
C7:0, D7:4 V
IN
Voltage Data 12-Bit Data of V
IN
Voltage with 25mV LSB and 102.4V Full-Scale
D3 ADC Busy in Snapshot Mode 1 = V
IN
Being Converted; 0 = V
IN
Conversion Completed. Not Writable
D2:0 Reserved Always Returns 0, Not Writable
Table 5. ADIN Registers E (04h) and F (O5h)—Read/Write
BIT NAME OPERATION
E7:0, F7:4 ADIN Voltage Data 12-Bit Data of Current Sense Voltage with 500µV LSB and 2.048V Full-Scale
F3 ADC Busy in Snapshot Mode 1 = ADIN Being Converted; 0 = ADIN Conversion Completed. Not Writable
F2:0 Reserved Always Returns 0, Not Writable
applicaTions inForMaTion
Table 2. LTC4151 Register Address and Contents
REGISTER ADDRESS* REGISTER NAME READ/WRITE DESCRIPTION
00h SENSE (A) R/W** ADC Current Sense Voltage Data (8 MSBs)
01h SENSE (B) R/W** ADC Current Sense Voltage Data (4 LSBs)
02h V
IN
(C) R/W** ADC V
IN
Voltage Data (8 MSBs)
03h V
IN
(D) R/W** ADC V
IN
Voltage Data (4 LSBs)
04h ADIN (E) R/W** ADC ADIN Voltage Data (8 MSBs)
05h ADIN (F) R/W** ADC ADIN Voltage Data (4 LSBs)
06h CONTROL (G) R/W Controls ADC Operation Mode and Test Mode
07h Reserved
*Register address MSBs b7-b3 are ignored. **Writable if bit G4 is set.
Table 6. CONTROL Register G (06h)—Read/Write
BIT NAME OPERATION
G7 ADC Snapshot Mode
Enable
Enables ADC Snapshot Mode; 1 = Snapshot Mode Enabled. Only the channel selected by G6 and G5 is
measured by the ADC. After the conversion, the channel busy bit is reset and the ADC is halted.
0 = Snapshot Mode Disabled (ADC free running, Default).
G6
ADC Channel Label for
Snapshot Mode
ADC Channel Label for Snapshot Mode
G6 G5 ADC CHANNEL
0 0 SENSE (Default)
0 1 V
IN
1 0 ADIN
G5 ADC Channel Label for
Snapshot Mode
G4 Test Mode Enable Test Mode Halts ADC Operation and Enables Writes to ADC Registers; 1 = Enable Test Mode,
0 = Disable Test Mode (Default)
G3
Page Read/Write Enable Enables Page Read/Write; 1 = Enable I
2
C Page Read/Write (Default), 0 = Disable I
2
C Page Read/Write
G2 Stuck-Bus Timer Enable Enables I
2
C Stuck-Bus Reset Timer; 1 = Enable Stuck-Bus Timer (Default), 0 = Disable Stuck-Bus Timer
G1:0 Reserved Always Returns 0, Not Writable

LTC4151IMS#PBF

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Current & Power Monitors & Regulators 80V HIgh-Side Power Monitor with Shutdown
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union