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.

BQ34Z100-G1: Reading System Data not possible

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: EV2400, BQSTUDIO

Hello there,

We are using battery management studio with EV2400 and BQ34Z100-G1. In out application device firmware we are implementing the possibility to red the Manufacturer Data. We only want to read it. Setting it would be done via battery management studio. The problem is that when going to System Data and trying to write something in Block A, the program return error. We tried on sealed, unsealed and unsealed full access. It all cases writing to block A bytes failed.

What are we missing here?

I would appreciate all help.

  • HI Lukasz,

    The gauge should be "Unsealed" or "Full access mode" to write the data to block A.

    You have to put the checksum data in order to write the value to the block

    Data Flash Write(Specific data write)
    Slave address Command Data(Sub command) <=Write
    0xaa 0x61 0x00 <=Enables blockdata() to access general Data Flash(Data 00 is fixed value to enable block data flash control)
    0xaa 0x3E 0x3A(Example: subclass 58) <=DataflashClass() command(0x3E), 3A is DataSubclass in Data Memory
    0xaa 0x3F 0x00 <=Write block offset location using Dataflashblock() command(0x3F)(0 to 31 uses offset 0x00, 32 to 63 uses offset 0x01 …)
    0xaa 0x40 0xdata set <=Write 0x data set to 0x40 blockdata(). This data is transferred to 0x3A, offset 00 location
    The data is transferred to the data flash when the correct checksum for whole block (0x40 to 0x5F) is written to blockdatachecksum()(0x60)
    0xaa 0x60 0xchecksumdata <=Write checksumdata calculated by MIB.xls checksum calculator

    Checksum calculator.xlsx

  • Hello, thank you for answer,

    Here is a screenshot of the commands I have sent using your formula:

    After this I tried to read the block A data but it was all 00's, instead of 01 02 03 like I wrote. Are the command I have sent correct?

    I would appreciate further support.

  • Hi Lukasz,

    Your commands are correct.

    I could see Block A data is changed. Would you retry after deactivating auto-refresh in dashboard and disabling the sleep mode ?

  • Hello Jasper,

    We are failing to write the data to Pack Configuration register using BQ studio. We have unsealed the device prior to that. Are there any additional steps we need to take?

  • Hi Lukasz,

    You can write the data in DF if it is unsealed. It looks your gauge is unsealed since you can read the Data Memory.

    Would you restart the bqStudio since there is an error message on the bottom in red ? Please, upgrade the bqStudio to 1.3.80 on the TI web

    http://www.ti.com/tool/bqstudio?keyMatch=bqstudio&tisearch=Search-EN-Everything