这是芯片手册里的内容,但是按照此方法,读取失败
To read the DF, send an SMBus block write to the ManufacturerBlockAccess(), followed by the starting
address, then send an SMBus block read to the ManufacturerBlockAccess(). The return data contains the
starting address followed by 32 bytes of DF data in Little Endian.
117 SLUUBC1B–July 2015–Revised December 2015 SBS Commands
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated
0x00 ManufacturerAccess() and 0x44 ManufacturerBlockAccess() www.ti.com
Read from DF example:
Taking the same assuming from the read DF example, to read DF,
a. Send SMBus write block with command 0x44, block = 0x00 + 0x40
b. Send SMBus read block with command 0x44
The returned block = a starting address + 32 bytes of DF data
= 0x00 + 0x40 + data1_LowByte + data1_HighByte + data2_LowByte + data2_HighByte....
data32_LowByte + data32_HighByte
The gauge supports an auto-increment on the address during a DF read. This greatly reduces the time
required to read out the entire DF. Continue with the read from the DF example. If another SMBus read
block is sent with command 0x44, the gauge returns another 32 bytes of DF data, starting with address
0x4020.
13.1.63 ManufacturerAccess() 0xF0