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.

failed to access the bq20z95 data flash

Hi.

I want to modify some fields in the bq20z95 .  At first ,I send the unsealed keys to the Manufacture area.  Then I send the DataFlashSubClassID and DataFlashSubClassPage1 command to bq20z95 . I want to read the first 32 bytes data .But I failed . The chip output some wrong data . Which is not I needed . I have found that the data content is the response

of the last command .And I send some extend command . Thre response is always the same.    Curious!

 

I use a mcu with i2c interface to access the battery.  I send them using the i2c protocol. Is it ok ?

What error can result in this ?  Please help me .

  • The SMBus protocol is a subset of the I2C protocol. Unless your I2C MCU is following SMBus 1.1 specification, then communication may not work properly.

    There are other possibilities as well. Make sure the battery voltage is higher than the Flash Update OK Voltage. Also, make sure there are no flags set in PF Status. These will both prevent DF writes.