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.

BQ27426: BQ27426: Block Memory (Design Capacity) Cannot Write.

Part Number: BQ27426
Other Parts Discussed in Thread: EV2400

I want to change BQ27426's Design Capacity (Defalut -> 3350mA).

I read bq27426 Technical Reference. 

I send to BQ27426 by I2c Interface.

1.Unseal ( wr 0x00 0x00 0x80,wr 0x00 0x00 0x80)

2.Set CFGUPDATE (wr 0x00 0x13 0x00)

3.Read poling to CFGUPDATE Check (rd 0x06 readflag -> Bit 4 Set wait)

4.Block Data Control (wr 0x61 0x00)

5.BlockData SubClaass ID Set (wr 0x3e 0x52)

6.BlockData SubClass offset Set (wr 0x3f 0x00)

7.BlockData Check sum read (rd 0x60 )  -> Problem 1

8.BlockData read(0x46 rd(2byte))

9.BlockData write(0x46 0x0d 0x16)

10.BlockData check sum write(0x60 new_check_sum_data) -> Problem 2

11.Soft Reset(wr 0x00 0x42 0x00)

12.Read poling to CFGUPDATE Check (rd 0x06 readflag -> Bit 4 reset wait)

13.seal Mode(wr 0x00 0x20 0x00)

Problem 1 :Check sum Cannot Read(always only Read 0x0.But 0x46 Block Data Can Read)

                   ->I add Block Data Control (wr 0x61 0x00) between 6 and 7. Block Data Can Read

Problem 2 :Check sum data cannot rewrite

                   I read Block Data(0x46) and checksum Data(0x60) between 10 and 11.

                   Block Data is Changed. But Checksum is unChanged. 

                   and Design Capacity is unchanged after 13.

Please give me some advice and suggestions.

  • Hello Yuki,

    I would recommend using an EV2400 and logic analyzer to compare what you are writing and reading with your host to the EV2400 communication. This will help to debug if the commands and checksums used by your host are the same as the EV2400 which is a known good source.

    Sincerely,

    Wyatt Keller