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.

BQ27510-G3: Modify CHEMID in data stream instead of creating a new dffs file and re-encoding to microcontroller data array

Part Number: BQ27510-G3
Other Parts Discussed in Thread: BQ27510, BQSTUDIO

We have an existing application using the BQ27510-G3 and a CHEMID code for the C revision of a particular cell.  (CHEMID 1253)  We want to add the ability to use another cell from the same manufacturer.  (CHEMID 2501)  The parameters like maximum and minimum voltage are the same and the capacity is 2000 for the C revision and 2600 for the non-C revision.  We would match up the cell in the pack with the firmware of our microcontroller to program the correct data stream to the BQ27510-G3.  The data stream is currently stored as an ASCII array and it is indexed by a function and loaded directly to the I2C port. I would like to avoid creating a new golden file and then re-encode it to this ASCII array format for streaming to the I2C port.

Question #1 is it possible to change the CHEMID and capacity data ONLY in this data stream depending on which cell is used?  

Question #2 is the golden file sent to the BQ27510 in a particular order so that we can find the exact bytes to change in the data array?

  • Hello Timothy,

    You can use SLUA801 to upload the flash stream file format to the gauge, the DF.FS file will contain all the dataflash including the chem ID. You will still need to perform another learning cycle on the new battery though for the gauge to learn the new Qmax and Ra.

    Sincerely,

    Wyatt Keller

  • I am inheriting this product and I need to change the cells in the battery we use.  I don't have the interface boards necessary to connect and create a new golden file.  (that's the flash stream file, right?)  My predecessor used the host controller to program the Bq27510-G3 and I am trying to change as little as possible in the pre-existing code to use the new cells.  I don't want to generate a new file because I don't have any hardware I can connect BQstudio to.  I don't have a lot of time to order the hardware and get it working to generate the file.  (is there a way to generate the file without hardware connected to the computer?)  I am concerned that a change in CHEMID also requires a change in other registers or a similar data linkage with the capacity information.  I just want to make sure I don't break it if I manually change the data in the flash stream data.  So, is it possible to change the CHEMID and capacity data ONLY in this data stream depending on which cell is used? 

  • Hi Timothy,

    Sorry for the delayed response. No it is not possible to only change the chemID and capacity data in the data stream file. And as Wyatt pointed out, if you change the chemID you will need to perform another learning cycle, otherwise there will likely be issues with the gauge performance.

    Best,
    Jessica