LTC2946
19
2946fa
For more information www.linear.com/LTC2946
APPLICATIONS INFORMATION
Figure 7. General Data Transfer Over I
2
C
SDA
SCL
S P
a6 - a0 b7 - b0 b7 - b0
1 - 7 1 - 7 1 - 78 8 89 9 9
START
CONDITION
STOP
CONDITION
ADDRESS ACK DATA DATAACK ACKR/W
2946 F06
Figure 8. LTC2946 Serial Bus SDA Write Byte Protocol Figure 9. LTC2946 Serial Bus SDA Write Word Protocol
Figure 10. LTC2946 Serial Bus SDA Write Page Protocol Figure 11. LTC2946 Serial Bus SDA Read Byte Protocol
Figure 12. LTC2946 Serial Bus SDA Read Word Protocol
Figure 13. LTC2946 Serial Bus SDA Read Page Protocol Protocol
S ADDRESS
1 1 0 a3:a0
FROM MASTER TO SLAVE
FROM SLAVE TO MASTER
A: ACKNOWLEDGE (LOW)
A: NOT ACKNOWLEDGE (HIGH)
R: READ BIT (HIGH)
COMMAND D ATA
X X b5:b00
W
0 0 0b7:b0
A A A P
2946 F08
W
: WRITE BIT (LOW)
S: START CONDITION
P: STOP CONDITION
S ADDRESS
1 1 0 a3:a0
COMMAND D ATA DATA
X X b5:b00
W
0 0 0 0
2946 F09
b7:b0b7:b0
A
A A A P
S ADDRESS
1 1 0 a3:a0
COMMAND
0X X b5:b00
W
0 0
2946 F10
A A A P
b7:b0
DATA
0
A
b7:b0
DATA
0
A
...
...
b7:b0
DATA
S ADDRESS
1 1 0 a3:a0 1 1 0 a3:a0 1 0
COMMAND S ADDRESS R A
b7:b0 1
DATA
X X b5:b00
W
0 0
2946 F11
A A A P
S ADDRESS
1 1 0 a3:a0 1 1 0 a3:a0 1 0
COMMAND S ADDRESS R A
b7:b0 1
DATA
X X b5:b00
W
0 0
2946 F12
A
0
A
b7:b0
DATA
A A P
S ADDRESS
1 1 0 a3:a0 1 1 0 a3:a0 1 0
COMMAND S ADDRESS R A
b7:b0 1
DATA
X X b5:b00
W
0 0
2946 F13
A
0
A
b7:b0
DATA
A A P
...
...
b7:b0
DATA
If it is necessary to clear accumulator overflow fault(s),
the recommended procedure is:
1. Read the accumulators
2. Store these values in an external memory
3. Issue a reset to the accumulators by writing bits CB[1:0]
to [10]. Then disable reset by writing bits CB[1:0] to
[00].
4. Write the stored values back to the accumulators
Steps 2 and 4 can be skipped if there is no need to continue
the accumulation from present values.
I
2
C Interface
The LTC2946 includes an I
2
C/SMBus-compatible inter-
face to provide access to the onboard registers. Figure 6
shows a general data transfer format using the I
2
C bus.
The LTC2946 is a read/write slave device and supports the
SMBus read byte, write byte, read word and write word
protocols. The LTC2946 also supports extended read and
write commands that allow reading or writing more than
two bytes of data. When using the read/write word or
extended read and write commands, the bus master issues
an initial register address and the internal register address
LTC2946
20
2946fa
For more information www.linear.com/LTC2946
pointer automatically increments by 1 after each byte of
data is read or written. After the register address reaches
43h, it will roll over to 00h and continue incrementing. A
STOP condition resets the register address pointer to 00h.
The data formats for the above commands are shown in
Figure 7 through Figure 13. Note that only the read byte
command is available to the E7 and E8 (MFR_SPECIAL_ID)
registers (Table 2).
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.
ADR0 and ADR1 should be tied to INTV
CC
, to GND, or
left floating (NC) to configure the lower four address bits.
During low power shutdown, the address select state
is latched into memory powered from standby supply.
Address bits a6, a5 and a4 are permanently set to 110b
and the least significant bit is the R/W bit. In addition, all
LTC2946 devices will respond to a common mass write
address 1100_110b; this allows the bus master to write
to several LTC2946s simultaneously, regardless of their
individual address settings. The LTC2946 will also respond
to the standard ARA address 0001_100b if the
GPIO3
(ALER
T) pin is asserted. See the Alert Response Protocol
section for more details. The LTC2946 will not respond to
the ARA address if no alerts are pending.
START and STOP Conditions
When the I
2
C bus is idle, both SCL and SDA are 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 LTC2946 I
2
C interface features a stuck-bus reset timer
to prevent it from holding the bus lines low indefinitely if
the SCL signal is interrupted during a transfer. The timer
starts when either SCL or SDAI is low, and resets when
both SCL and SDAI are pulled high. If either SCL or SDAI
are low for over 33ms, the stuck-bus timer will expire, and
the internal I
2
C interface and the SDAO pin pull-down logic
will be reset to release the bus. Normal communication
will resume at
the next START command.
Acknowledge
The
acknowledge signal is used for handshaking between
the master and the slave to indicate that the last byte of
data was received. The master always releases the SDA
line during the acknowledge clock pulse. The LTC2946 will
pull the SDA line low on the 9th clock cycle to acknowledge
receipt of the data. If the slave fails to acknowledge by
leaving SDA high, then the master can abort the transmis
-
sion by generating a STOP condition. When the master is
receiving data from the slave, the master must acknowledge
the slave by pulling down the SDA line during the 9th clock
pulse to indicate receipt of a data byte. After the last byte
has been received by the master, it 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 LTC2946 acknowledges
the address byte, the master then sends a command byte
that indicates which internal register the master wishes to
write. The LTC2946 acknowledges this and
then latches
the
lower six bits of the command byte into its internal
register address pointer. The master then delivers the
data byte and the LTC2946 acknowledges once more and
writes the data into the internal register pointed to by the
register address pointer. If the master continues sending
additional data bytes with a write word or extended write
command, the additional data bytes will be acknowledged
by the LTC2946, the register address pointer will auto
-
matically increment by one, and data will be written as
previously stated. 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 condi
-
tion followed by the 7-bit slave address and the R/W bit
set to zero. After the addressed LTC2946 acknowledges
APPLICATIONS INFORMATION
LTC2946
21
2946fa
For more information www.linear.com/LTC2946
APPLICATIONS INFORMATION
the address byte, the master then sends a command byte
that indicates which internal register the master wishes to
read. The LTC2946 acknowledges this and then latches the
lower six bits of the command byte into its internal register
address pointer. The master then sends a repeated START
condition followed by the same 7-bit address with the R/W
bit now set to 1. The LTC2946 acknowledges and sends
the contents of the requested register. The transmission
terminates when the master sends a STOP condition. If
the master acknowledges the transmitted data byte, as in a
read word command, the LTC2946 will send the contents
of the next register. If the master keeps acknowledging,
the LTC2946 will keep incrementing the register address
pointer and sending out data bytes. The read operation
terminates and the register address pointer resets to 00h
when the master sends a STOP condition.
Alert Response Protocol
When any of the fault bits in the FAULT1 and FAULT2
register are set, a bus alert is generated if the appropriate
bit in the ALERT1 or ALERT2 register has been set and
GPIO3 is configured as an ALERT output. This allows the
bus master
to select which faults will generate alerts. At
power-up, both ALERT registers are cleared (no alerts
enabled) and the GPIO3 (ALERT) pin is high. If an alert
is enabled, the corresponding fault causes the GPIO3
(ALERT) pin to pull low. The bus master responds to the
alert in accordance with the SMBus alert response protocol
by broadcasting the alert response address 0001_100b,
and the LTC2946 replies with its own address and re
-
leases its
GPIO3 (ALERT) pin, as shown in Figure 14. The
GPIO
3 (ALERT) line is also released if CB[7] is set and
the LTC2946 is addressed (see Table 4) by any message.
The GPIO3 (ALERT) signal is not pulled low again until
the F LT registers indicate a different fault has occurred or
the original fault is cleared and it occurs again. Note that
this means repeated or continuing faults will not generate
additional alerts until the associated F LT register bits have
been cleared.
If two or more LTC2946s on the same bus are generat
-
ing alerts
when the ARA is broadcast, the bus master
will
repeat the alert response protocol until the GPIO3
(ALERT) line is released. Standard I
2
C arbitration causes
the device with the highest priority (lowest address) to
reply
first and the device with the lowest priority (highest
address) to reply last.
Opto-Isolating the I
2
C Bus
Opto-isolating a standard I
2
C device is complicated by the
bidirectional SDA pin. The LTC2946/LTC2946-1 minimize
this problem by splitting the standard I
2
C SDA line into SDAI
(input) and SDAO (output, LTC2946) or SDAO (inverted
output, LTC2946-1). The SCL is an input-only pin and
does not require special circuitry to isolate. For conven
-
tional nonisolated
I
2
C applications, use the LTC2946 and
tie the SDAI and SDAO pins together to form a standard
I
2
C SDA pin.
Low speed isolated interfaces that use standard open-
drain opto-isolators can use the LTC2946 with the SDAI
and SDAO pins separated, as shown in Figure 15. Connect
SDAI to the output of the incoming opto-isolator with a
pull-up resistor to INTV
CC
or a local 5V supply; connect
SDAO to the cathode of the outgoing opto-isolator with a
current-limiting resistor in series with the anode. The input
and output must be connected together on the isolated
side of the bus to allow the LTC2946 to participate in
I
2
C
arbitration. Note that maximum I
2
C bus speed will gener-
ally be limited by the speed of the opto-couplers used in
this application.
The
shunt regulators can supply up to 34mA of current
to drive opto-isolator and pull-up resistors, as shown in
Figure 16 and Figure 17. For identical SDAI/SCL pull-up
resistors the maximum load is:
I
LOAD(MAX)
= V
CCZ(MAX)
2
R5
+
1
R4
I
LOAD(MAX)
= 6.7V
2
R5
+
1
R4
(2)
R
SHUNT
can then be calculated using Equation 1. Note that
both LTC2946 and LTC2946-1 can be used in the shunt
Figure 14. LTC2946 Serial Bus SDA Alert Response Protocol
S
ALERT
RESPONSE
ADDRESS
0 0 0 1 1 0 0
DEVICE
ADDRESS
a7:a0 11
R
0
2946 F14
A A
P

LTC2946CMS#TRPBF

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Current Sense Amplifiers Wide Rng I2C Pwr, Ch & Energy Mon
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union