English
Language : 

BQ27520-G2 Datasheet, PDF (20/47 Pages) Texas Instruments – System-Side Impedance Track™ Fuel Gauge With Integrated LDO
bq27520-G2
SLUSAB7A – MARCH 2011 – REVISED AUGUST 2011
www.ti.com
Occasionally, a data flash CLASS will be larger than the 32-byte block size. In this case, the
DataFlashBlock( ) command is used to designate which 32-byte block the desired locations reside in. The
correct command address is then given by 0x40 + offset modulo 32. For example, to access Terminate
Voltage in the Gas Gauging class, DataFlashClass( ) is issued 80 (0x50) to set the class. Because the
offset is 50, it must reside in the second 32-byte block. Hence, DataFlashBlock( ) is issued 0x01 to set the
block offset, and the offset used to index into the BlockData( ) memory area is 0x40 + 50 modulo 32 =
0x40 + 18 = 0x40 + 0x12 = 0x52.
Reading and writing subclass data are block operations up to 32 bytes in length. If during a write the data
length exceeds the maximum block size, then the data is ignored.
None of the data written to memory are bounded by the bq27520-G2 – the values are not rejected by the
fuel gauge. Writing an incorrect value may result in hardware failure due to firmware program
interpretation of the invalid data. The written data is persistent, so a power-on reset does resolve the fault.
20
GENERAL DESCRIPTION
Submit Documentation Feedback
Product Folder Link(s) :bq27520-G2
Copyright © 2011, Texas Instruments Incorporated