English
Language : 

BQ27520-G2 Datasheet, PDF (37/47 Pages) Texas Instruments – System-Side Impedance Track™ Fuel Gauge With Integrated LDO
www.ti.com
bq27520-G2
SLUSAB7A – MARCH 2011 – REVISED AUGUST 2011
7 COMMUNICATIONS
7.1 I2C INTERFACE
The bq27520-G2 supports the standard I2C read, incremental read, quick read, one byte write, and
incremental write functions. The 7 bit device address (ADDR) is the most significant 7 bits of the hex
address and is fixed as 1010101. The first 8-bits of the I2C protocol will; therefore, be 0xAA or 0xAB for
write or read, respectively.
Host generated
bq27520 generated
S ADDR[6:0] 0 A CMD [7:0] A DATA [7:0] A P
S ADDR[6:0] 1 A DATA [7:0]
(a) 1-byte write
(b) quick read
S ADDR[6:0] 0 A CMD [7:0] A Sr ADDR[6:0] 1 A DATA [7:0] N P
(c) 1- byte read
NP
S ADDR[6:0] 0 A
CMD [7:0]
A Sr ADDR[6:0] 1 A
(d) incremental read
DATA [7:0]
A ...
DATA [7:0]
NP
S ADDR[6:0] 0 A CMD[7:0] A DATA [7:0] A DATA [7:0]
(e) incremental write
(S = Start , Sr = Repeated Start , A = Acknowledge , N = No Acknowledge , and P = Stop).
A ... A P
The “quick read” returns data at the address indicated by the address pointer. The address pointer, a
register internal to the I2C communication engine, will increment whenever data is acknowledged by the
bq27520-G2 or the I2C master. “Quick writes” function in the same manner and are a convenient means of
sending multiple bytes to consecutive command locations (such as two-byte commands that require two
bytes of data)
The following command sequences are not supported:
Attempt to write a read-only address (NACK after data sent by master):
Attempt to read an address above 0x6B (NACK command):
Copyright © 2011, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Link(s) :bq27520-G2
COMMUNICATIONS
37