English
Language : 

BQ29312_15 Datasheet, PDF (16/39 Pages) Texas Instruments – FOUR CELL LITHIUM-ION
bq29312
SLUS546E – MARCH 2003 – REVISED MARCH 2005
www.ti.com
Communications
The I2C compatible serial communications provides read and write access to the bq29312 data area. The data is
clocked via separate data (SDATA) and clock (SCLK) pins. The bq29312 acts as a slave device and does not
generate clock pulses. Communication to the bq29312 is provided from GPIO pins or an I2C supporting port of a
host system controller. The slave address for the bq29312 is 7 bits and the value is 0100 000 (0x20).
(MSB)
(MSB)
Write (1)
0
1
Read
I2C ADDRESS +R/W BIT
I2C ADDRESS (0x20)
0
0
0
0
(LSB)
0
(LSB)
0
1
(1) Bit 0: 0 = write, 1= read
The bq29312 does not have the following functions compatible with the I2C specification.
• The bq29312 is always regarded as a slave.
• The bq29312 does not return a NACK for an invalid register address.
• The bq29312 does not support the general code of the I2C specification, and therefore does not return an
ACK.
• The bq29312 does not support the address auto increment, which allows continuous reading and writing.
• The bq29312 allows data to written or read from the same location without resending the location address.
SCLK
…
…
…
SDATA
Start
A6 A5 A4 … A0 R/W ACK
0
0
Slave Address
R7 R6 R5 … R0 ACK
0
Register Address
D7 D6 D5 … D0 ACK
Data
0
Stop
Note: Slave = bq29312
Figure 4. I2C-Bus Write to bq29312
SCLK
…
…
…
…
SDATA A6 A5 … A0 R/W ACK
Start
00
Slave Address
R7 R6 … R0 ACK
0
Register Address
Note: Slave = bq29312
A6
A0 R/W ACK
10
Slave Address
D7 D6 … D0 NACK
Slave Drives
The Data
Data
Stop
Master Drives
NACK and Stop
Figure 5. I2C-Bus Read from bq29312: Protocol A
SCLK
…
…
…
…
SDATA A6 A5 … A0 R/W ACK
Start
00
Slave Address
Note: Slave = bq29312
R7 R6 … R0 ACK
A6 A5 … A0 R/W ACK D7 … D0 NACK
Register
Address
0
Stop Start
Slave Address
Slave Drives
The Data
Stop
Master Drives
NACK and Stop
Figure 6. I2C-Bus Read from bq29312: Protocol B
16