LTC2942
13
2942fa
applicaTions inFormaTion
dressed is considered a slave. The LTC2942 always acts
as a slave.
Figure 3 shows an overview of the data transmission for
fast and standard mode on the I
2
C bus.
START and STOP Conditions
When the bus is idle, both SCL and SDA must be HIGH. A
bus master signals the beginning of a transmission with a
START condition by transitioning SDA from HIGH to LOW
while SCL is HIGH. When the master has finished com-
municating with the slave, it issues a STOP condition by
transitioning SDA from LOW to HIGH while SCL is HIGH.
The bus is then free for another transmission. When
the bus is in use, it stays busy if a repeated START (Sr)
is generated instead of a STOP condition. The repeated
START (Sr) conditions are functionally identical to the
START (S).
Data Transmission
After a START condition, the I
2
C bus is considered busy
and data transfer begins between a master and a slave.
As data is transferred over I
2
C in groups of nine bits
(eight data bits followed by an acknowledge bit), each
group takes nine SCL cycles. The transmitter releases
the SDA line during the acknowledge clock pulse and the
receiver issues an acknowledge (ACK) by pulling SDA
LOW or leaves SDA HIGH to indicate a not acknowledge
(NACK) condition. Change of data state can only happen
while SCL is LOW.
Write Protocol
The master begins a write operation with a START condi-
tion followed by the seven bit slave address 1100100
and the R/W bit set to zero, as shown in Figure 4. The
LTC2942 acknowledges this by pulling SDA LOW and
then the master sends a command byte which indicates
which internal register the master is to write. The LTC2942
acknowledges and latches the command byte into its
internal register address pointer. The master delivers the
data byte, the LTC2942 acknowledges once more and
latches the data into the desired register. The transmission
is ended when the master sends a STOP condition. If the
master continues by sending a second data byte instead
of a STOP, the LTC2942 acknowledges again, increments
its address pointer and latches the second data byte in
the following register, as shown in Figure 5.
SCL
SDA
START
CONDITION
STOP
CONDITION
ADDRESS R/W ACK DATA ACK DATA ACK
1 - 7 8 9
2942 F03
a6 - a0 b7 - b0 b7 - b0
1 - 7 8 9 1 - 7 8 9
P
S
Figure 3. Data Transfer Over I
2
C or SMBus
FROM MASTER TO SLAVE
S W
ADDRESS REGISTER DATA
FROM SLAVE TO MASTER
2942 F04
A: ACKNOWLEDGE (LOW)
A: NOT ACKNOWLEDGE (HIGH)
S: START CONDITION
P: STOP CONDITION
R: READ BIT (HIGH)
W: WRITE BIT (LOW)
A A A
0
1100100 01h FCh
0 0 0
P
Figure 4. Writing FCh to the LTC2942 Control Register (B)
S W
ADDRESS REGISTER DATA
2942 F05
A A A
0
1100100 02h F0h 01h
0 0 0
0
P
DATA
A
Figure 5. Writing F001h to the LTC2942
Accumulated Charge Register (C, D)
LTC2942
14
2942fa
applicaTions inFormaTion
Read Protocol
The master begins a read operation with a START condition
followed by the seven bit slave address 1100100 and the
R/W bit set to zero, as shown in Figure 6. The LTC2942
acknowledges and then the master sends a command
byte which indicates which internal register the master is
to read. The LTC2942 acknowledges and then latches the
command byte into its internal register address pointer. The
master then sends a repeated START condition followed
by the same seven bit address with the R/W bit now set
to one. The LTC2942 acknowledges and sends the con-
tents of the requested register. The transmission is ended
when the master sends a STOP condition. If the master
acknowledges the transmitted data byte, the LTC2942
increments its address pointer and sends the contents of
the following register as depicted in Figure 7.
Alert Response Protocol
In a system where several slaves share a common inter-
rupt line, the master can use the alert response address
(ARA) to determine which device initiated the interrupt
(Figure 8).
S R
ALERT RESPONSE ADDRESS DEVICE ADDRESS
2942 F08
A
1
0001100 11001001
0 1
P
A
Figure 8. LTC2942 Serial Bus SDA Alert Response Protocol
S10ms W
ADDRESS REGISTER S
2942 F09
A A ADDRESS
0
1100100 08h 1
0 0 1100100
0
P
R
0
A
F1h
DATA
80h
DATA
A
1
A
S W
ADDRESS REGISTER DATA
A A
0
1100100 01h BC
0 0
P
Figure 9. Voltage Conversion Sequence
S W
ADDRESS REGISTER S
2942 F10
A A ADDRESS
0
1100100 02h 1
0 0 1100100
0
P
R
0
A
80h
DATA
01h
DATA
A
1
A
Figure 10. Reading the LTC2942 Accumulated Charge Registers (C, D)
S W
ADDRESS REGISTER S
2942 F06
A A ADDRESS
0
1100100 00h 1
0 0 1100100
0
P
R
1
A
01h
DATA
A
Figure 6. Reading the LTC2942 Status Register (A)
S W
ADDRESS REGISTER S
2942 F07
A A ADDRESS
0
1100100 08h 1
0 0 1100100
0
P
R
0
A
F1h
DATA
24h
DATA
A
1
A
Figure 7. Reading the LTC2942 Voltage Register (I, J)
LTC2942
15
2942fa
LTC2942
2942 F10
R
SENSE
TO BATTERY
TO
CHARGER/LOAD
4
5
6
3
2
C
1
Figure 11. Kelvin Connection on Sense Resistor
applicaTions inFormaTion
The master initiates the ARA procedure with a START con-
dition and the special 7-bit ARA bus address (0001100)
followed by the read bit (R) = 1. If the LTC2942 is asserting
the AL/CC pin in alert mode, it acknowledges and responds
by sending its 7-bit bus address (1100100) and a 1. While
it is sending its address, it monitors the SDA pin to see
if another device is sending an address at the same time
using standard I
2
C bus arbitration. If the LTC2942 is send-
ing a 1 and reads a 0 on the SDA pin on the rising edge of
SCL, it assumes another device with a lower address is
sending and the LTC2942 immediately aborts its transfer
and waits for the next ARA cycle to try again. If transfer
is successfully completed, the LTC2942 will stop pulling
down the AL/CC pin and will not respond to further ARA
requests until a new Alert event occurs.
PC Board Layout Suggestions
Keep all traces as short as possible to minimize noise and
inaccuracy. Use a 4-wire Kelvin sense connection for the
sense resistor, locating the LTC2942 close to the resistor
with short sense traces to the SENSE
+
and SENSE
pins.
Use wider traces from the resistor to the battery, load
and/or charger (see Figure 11). Put the bypass capacitor
close to SENSE
+
and GND.

LTC2942CDCB#TRMPBF

Mfr. #:
Manufacturer:
Analog Devices / Linear Technology
Description:
Battery Management Bat Gas Gauge w/ Temp, V Measurement
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union