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: New Chksum read out

Part Number: BQ27220

Hello experts,

I want to read out new Chksum in data memory after writing new Chksum because to confirm whether it is written a correct value. I saw a following instruction to calcurate Chksum.
https://e2e.ti.com/support/power-management/f/196/t/615263?tisearch=e2e-sitesearch&keymatch=BQ27220%20checksum

> 1. Enter CFG_UPDATE mode
> 2. Write the address AND the parameter data to 0x3E+ (auto increment)
> 3. Calculate the check sum: 0xFF - (sum of address and data) OR 0xFF
> 4. Write the check sum to 0x60 and the total length of (address + parameter data + check sum + length) to 0x61
> 5. Exite CFG_UPDATE mode

Customer should read new Chksum after complete step 4, but customer mentioned that it is not same value of step 4(new Chksum). Is it wrong way to read out new Chksum after completing step 4?

Best Regards,
Fujiwara

  • Fujiwara

    The link you attached was below has examples of how to make adjustment to the checksum and the data to be written to the gauge. Why are you reading out check sum after completing step 4. You need to read the changed parameter to verify the change was effected
    thanks
    Onyx