This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ27220: How to get Subclass ID and Offset of bq27220

Part Number: BQ27220
Other Parts Discussed in Thread: BQSTUDIO

Recently, I changed fuel gauge in my circuit of new product from bq27410 to bq27220 for better accuricy.

But, I'm suffering to findout Subclass ID and Offset to configure bq27220. In the technical reference manual, "Table 3-2. Data Memory Table" shows only Address, which I can not use in my linux device driver.

How can I get Subclass ID and Offset of the table?

  • You can get this with bqStudio, Data Memory (make sure that you configure preferences, "All Global Settings" "Show Advanced Views").

    However, the bq27220 doesn't use the subclass/offset notation but physical addresses.

    For example, FCC in CEDV Profile 1 is at address 0x929D

    You can access this by writing 0x9D to command 0x3E and 0x92 to command 0x3F. The result is then available on 0x40++

    Here the result is 0x0BB8 = 3000mAh.