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.

BQ40Z80: Making a golden file - LStatus not set to 0x2 before reading the golden file

Part Number: BQ40Z80

Hi, 

After finishing the learning process, I extracted the golden file but forgot to set the LStatus bit to 2 (turn off IT Gauging). Can this result in Full charge capacity not being correct when programming the golden file into another BQ Chip? On the new chip, the fcc is displayed as 5331mAh instead of ~11900mAh as was on the EVM board after the learning process was finished. Sending the RESET command does not change this.

Another golden file was read from the same EVM board with the LStatus bit set to 2, but the battery was disconnected and then reconnected to the board. So I don't know if this golden file is valid for use.

  • Hello Vladimir,

    You should be able to leave the IT enabled in the file golden file for the BQ40Z80.

    Which file are you using as the golden file? The .srec file will contain the chemID as well as your configuration data, if you use the .gg file it won't contain the chemID and may report the wrong FCC.

    Sincerely,

    Wyatt Keller

  • Hello Wyatt,

    I am using the .srec file generated with the Read Srec from device function in the Firmware tab of the BQ Studio. It was read after all the bit flags, as per the learning process document, were set correctly, LStatus() was 0x6.

    Do I need to do a discharge, relax, charge, relax cycle for the gauge to give the correct FCC and Remaining Charge Capacity, or should the FCC and RCC (based on voltage) be correctly set after programming the chip and sending the RESET command?

    Sincerely,

    Vladimir

  • Hello Vladimir,

    If you upload the final golden file, the gauge should calculate the FCC, RC, and SOC based on the voltage. If the cells aren't rested there may be some initial error as the voltage settles to steady state, but eventually it should read correctly without another battery cycle once you upload the golden file.

    Sincerely,

    Wyatt Keller