English
Language : 

BQ27210 Datasheet, PDF (27/30 Pages) Texas Instruments – Li-Ion AND Li-Pol BATTERY GAS GAUGE IC FOR PORTABLE APPLICATIONS (bqJUNIOR)
bq27010, bq27210
www.ti.com
SLUS707B – APRIL 2006 – REVISED JANUARY 2007
Communicating with the bq27210 (I2C interface - Product Preview)
The bq27210 supports the standard I2C read, incremental read, quick read, and one byte write functions. The
7-bit device address (ADDR) is the most significant 7 bits of the hex address and is fixed as 1010101. The 8-bit
device address is therefore 0xAA or 0xAB for write or read, respectively. (S = Start, Sr = Repeated Start, A =
Acknowledge, N = No Acknowledge, and P = Stop)
Host generated
bq27210 generated
S ADDR[6:0]
0A
CMD[7:0]
(a)
S ADDR[6:0]
0A
A
DATA[7:0]
AP
S
CMD[7:0]
A Sr
(c)
ADDR[6:0]
ADDR[6:0]
1A
(b)
1A
DATA[7:0]
DATA[7:0]
NP
S ADDR[6:0]
0A
CMD[7:0]
A Sr
ADDR[6:0]
(d)
1A
DATA[7:0]
A ...
DATA[7:0]
Figure 7. Supported I2C formats :
(a) 1-byte write; (b) quick read; (c) 1-byte read; (d) incremental read
NP
NP
The incremental read protocol is recommended for reading all 16-bit values, as this ensures that the 16-bit value
is not updated during the time interval between reading the two bytes of data (see previous section on reading
16-bit values). The quick read returns data at the address indicated by the internal address pointer. The address
pointer is incremented after each data byte is read or written. Reading an even address causes the
communication engine to simultaneously capture the data byte from the requested even address and the data
byte from the next odd address, and the address pointer is incremented twice. The data byte captured from the
next odd address is output if the communication continues, without a stop, after the host acknowledges the even
address byte.
Due to the memory map setup of the device, several boundary conditions must be enforced by the
communication engine.
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ Attempt to write a read-only address (NACK after data sent by master):
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ S ADDR[6:0]
0A
CMD[7:0]
A
DATA[7:0]
NP
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ Attempt to read an address above 0x7F (NACK command):
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ S ADDR[6:0]
0A
CMD[7:0]
NP
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ Attempt at incremental writes (NACK all extra data bytes sent):
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ S ADDR[6:0] 0 A
CMD[7:0]
A DATA[7:0]
A DATA[7:0]
N ... N P
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ Incremental read at the maximum allowed read address:
ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎÎ S ADDR[6:0] 0 A CMD[7:0] A Sr ADDR[6:0] 1 A DATA[7:0] A DATA[7:0] N P
Address
0x7F
Data from
addr 0x7F
Data from
addr 0x00
The I2C engine releases both SDA and SCL if the I2C bus is held low for T(BUSERR). If the bq27210 is holding the
lines, releasing them frees the master to drive the lines. If an external condition is holding either of the lines low,
the I2C engine enters the low-power sleep mode if the measured charge/discharge activity level is less than the
DMF threshold.
Submit Documentation Feedback
27