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.

BQ27510-G3 Checksum issue while changing capacity

Other Parts Discussed in Thread: BQ27510

Hi,

I fail to update the design capacity to 1800 (0x0708), can you ensure my step is correct? I done a read after i write new capacity and it report 0x07 0x08, which means my capacity changed successfully, but I guess I am facing some issue on calculating the checksum, can anyone help to advise me on the calculation? 

 Here is the steps I use to make the changes:

1. (WR 0x00 0x14 0x04)  - unseal

2. (WR 0x00 0x72 0x36)  - unseal

3. (WR 0x00 0xFF 0xFF)  - full access

4. (WR 0x00 0xFF 0xFF)  - full access

5. (WR 0x61 0x00) - enable block data flash control            

6. (WR 0x3E 0x30) - design cap sub-class id is 48(0x30)

7. (WR 0x3F 0x00) - design cap (0ffset = 10)

8. (RD 0x60) read old checksum (old checksum = 0x64)

9. (RD 0x4A) read old design cap (MSB = 0x03)

10. (RD 0x4B) read old design cap (LSB = 0xE8)   

11. (WR 0x4A 0x07) write new design cap (MSB = 0x07)

12. (WR 0x4B 0x08) write new design cap (LSB = 0x08)

13. (WR 0x60 new checksum) write new checksum (new checksum = 0x40, formula provided by datasheet)

**fail to write new checksum to bq27510, process stop

14. (WR 0x00 0x41 0x00) reset gauge

15. (WR 0x00 0x20 0x00) seal 

Thanks,

KH