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.

BQ34110: Unable to write on device flash

Part Number: BQ34110
Other Parts Discussed in Thread: BQSTUDIO, EV2400

Hello all,

I'm currently using the bq34110 on my board using a design derived from the device datasheet (SLUSCI1B).

I have been able to communicate with the IC, read and write MAC registers but trying to write on flash does not change the values.

I'm writing to the IC directly through the project MCU's I2C bus, so I'll not be able to use bqStudio. I have been trying the following (I2C commands issued):

* Write 0x3e, 0x00, 0x40;

* Write 0x40, 0x12, 0x34, 0x56, 0x78;

* Write 0x60, 0xab, 0x08;

* Write 0x3e, 0x00, 0x40;

* Read 0x40, (0x7f, 0x71, 0x20, 0x5c);

I have confirmed the the device is UNSEALED (reading OperationStatus returns 0,1 for SEC1, SEC0). REGIN voltage is around 3v3. Battery pack connect is a Li-ion, 3-cell, 6000mAh. Below I have attached the schematics of the IC: (BATT_CHG+ has 12.3v, Battery is connected to J15)

  • Hi Otavio,

    I understand you can't use bqstudio. However for verification it might be better to first check if it works on bqstudio with an ev2400. If not, then we can proceed with finding out what's going on here. Your design and voltage are OK, so it should work. The TRM is the best resource for checking how to write to df. If you can please check that, we will be able to help you further.

  • Hey Batt,

    It turns out I misread the checksum calculations. I was doing the sum's complement of bytes to be written and 0x40 of MACData instead of the bytes of the address to be written (in the TRM the address being written is also 0x40). Changing that I was able to reset Flash UPdate Ok Voltage value and then had no problem changing flash values.

    Thanks for the reply,

    Best regards.