BQ76952EVM: BQStudio Genereates strange .gg.csv file

Part Number: BQ76952EVM
Other Parts Discussed in Thread: BQSTUDIO, BQ76952

Tool/software:

I'm developping a small paramter loader in pyhon  which read .gg.csv file generated by bqstudio.

And i see that the gg.cvs generated by bqstudio, contains floating point values for the parameters defined as I2 in BQ76952 Technical Reference:

Here is extract of the gg.csv file:

"Calibration","Temperature","Internal Temp Offset","0.0","°C"
"Calibration","Temperature","CFETOFF Temp Offset","0.0","°C"
"Calibration","Temperature","DFETOFF Temp Offset","0.0","°C"
"Calibration","Temperature","ALERT Temp Offset","0.0","°C"
"Calibration","Temperature","TS1 Temp Offset","0.0","°C"
"Calibration","Temperature","TS2 Temp Offset","0.0","°C"
"Calibration","Temperature","TS3 Temp Offset","0.0","°C"
"Calibration","Temperature","HDQ Temp Offset","0.0","°C"
"Calibration","Temperature","DCHG Temp Offset","0.0","°C"
"Calibration","Temperature","DDSG Temp Offset","0.0","°C"

In the TR the parameters are defined as I1 in units of 0.1C°.

so i need to take the float value divide it by 0.1 and convert to  8bit int?
Is it correct?

  • Hello Vadim,

    bqStudio will do some conversions for some of the settings. For the specific image you have shown, you are correct. If you want to read what the device actually sees, you will need to take the float value and divide it by 0.1.

    Best Regards,
    Alexis