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.

BQ78350: register values go to default

Part Number: BQ78350
Other Parts Discussed in Thread: BQSTUDIO

Hello team,

My customer has been trying to use the CSV import tool from the BQ studio for quickly writing configurations to the BMS. But it doesn't work as I thought it should. The customer can import the file, but they cannot write it to the BMS. Everytime they click "Write All" after the CSV import, the Data Memory values just go back to what's originally on the BMS.  

Thank you for your support!

Errol

  • Hi Errol,

    Normally this should work. Do they see an error message at the bottom of the screen when they click "Write All"? Are they looking at all of the settings or are they looking at the first screen (Calibration tab). The Calibration values will not load by default - this can be modified by doing an Import (Advanced).

    Best regards,

    Matt

  • Thank you Matt for the support!  I have gotten more information from the customer.  

    It doesn't necessarily get set back to the default value. Just whatever it was before the CSV import.

    e.g.

    current setting: 0x08

    csv setting: 0x09

    once they import csv, the window will show 0x09 and then if they hit "Write_All", it will get set back to 0x08.

    Thanks!

    Errol

  • Hi Errol,

    Can they confirm that this happens for all settings from the CSV import (on sections of Data Memory other than the calibration tab)? Are there any warning or error messages when they do the import?

    Thanks,

    Matt

  • Hi Matt,

    Yes! The customer is getting the following error message:

    • Value is beyond maximum value defined for parameter.: Calibration.Current.CC Gain

    Thanks!

    Errol 

  • It sounds like the value in this parameter is out of range. Can they send their .gg file? 

    One common mistake is that if the .gg file is save from Excel, it might include extra hidden characters that corrupt some fields. It is recommended to edit and save in a text editor.

    Matt

  • Hi Matt,

    Attached is the .gg file. 

    7317.test.gg.csv

    Thank you for your support on this!

    Errol

  • Hi Errol,

    There are two issues with the .gg file that will cause the import to fail. The first is that the Manufacture Date parameter was entered in the wrong format (might be due to saving the file in Excel). They had 6/4/20 - it should be like the format below:

    SBS Configuration,Data,Manufacture Date,2020-6-4,date

    The second issue is the CC_Gain is outside of the possible range. BQStudio displays units of milliohms, but the actual stored value for 1 milliohm is 8.4381. The displayed value is 8.4381/x. So the minimum value for this field is ~0.94 milliohm. I see they are using the IPSCALE feature - they should run calibration on the current in BQStudio to see what value it recommends for CC Gain.

    Best regards,

    Matt