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.

BQ76952: bqStudio OCC Threshold

Part Number: BQ76952
Other Parts Discussed in Thread: BQSTUDIO

Hello, 

There seems to be a possible issue in bqStudio when setting the OCC Threshold value. I want to set the value of "5" but when I enter this value the cell defaults to "6" and then highlights it in red. The OCC Threshold input will also accept "4" but not "5". I need it to be "5" because our shunt it a 0.001ohm shunt and an OCC Threshold setting of "5" would result in a 10A charge current limit which is what we need.

According to the Data Memory Summary table the value of 5 is within the min/max range for this setting:

I tried exporting the gg.csv file and manually editing the OCC Threshold value in vsCode to 5. From there, I imported the edited gg.csv file and the value of 5 was uploaded and viewed in bqStudio but then after writing the file to the AFE and then attempting to read back the value it again defaulted to 6. 

The version on bqStudio I am using is 1.3.110. 

Any idea as to what is going on here?

  • Hi Nick,

    The issue here is that BQStudio is displaying the value in mV, but the real units are in 2mV steps. So if you want a value of "5" which is 10mV, you just type in 10 in the BQStudio Data Memory window and it automatically writes "5" to the device. 

    For example, I write 10 mV to the Data Memory Window and then read the actual register value from the Command Sequence Window below. You can see the actual value in the register is "5". 

    There are multiple parameters like this where BQStudio tries to be user friendly. The CC Gain and Capacity Gain parameters for example. You can export a hex dump file if you want to see the actual bits written in data memory.

    Best regards,

    Matt