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.

BQ76942EVM: bq76942 problem with safety registers not executing

Part Number: BQ76942EVM
Other Parts Discussed in Thread: BQ76942, BQSTUDIO

Hi ,

 I have the BQ76942 evaluation kit, I have followed the instructions and have communication though the specific device is never recognised automatically. The specific problem is that when I reduce the voltage below 24V the DSG FET does not turn off and none of the safety registers indicate a fault. I have set CUV in safety protection register A and I have also set the CUV protection register to 3000 - which I presume is 3V. Following the technical reference manual, this doesn't appear to agree but  If I follow the instruction to set this value in terms of 50mV  (i.e. 60) I get a warning that the value is out of bounds and it is not accepted. 

The second test I tried was heating the bead thermistors with a hot air gun, this resulted in the board shutting down and a failure to acknowledge message which disappeared once the  board cooled to normal. 

I have tried a second board but I have the same behavior with the safety alerts. Is there a global safety register setting that needs to be set in order to make this board function?

Thanks 

Richard

  • Hi Richard,

    Can you capture an image of the BQStudio Dashboard so I can see which version of BQStudio, version of the device you are using? If it is not automatically detecting the device, it might mean you need to update your version of BQStudio. The BQSTUDIO-TEST version is needed for this device. 

    Best regards,

    Matt

  • I'm not using the test version, maybe that's the issue

  • Hi Richard, 

    I think that may be the issue. See if updating to the TEST version helps and let me know.

    Matt

  • That did not resolve the problem , here is a screen capture 

  • By "test" version I assume you mean the evaluation version?

    Thanks

    Richard

  • Hi Richard,

    It looks like you have the correct version now. Can you Export your registers (click Export on the Data Memory screen)? I can try your settings on my board to check them.

    Matt

  • For some reason, the upload file link will not let me upload any files, it might be a problem on our end. Here is the export file content:

    Thank you very much for continuing to help out!

    * Texas Instruments Data Flash File
    * File created Tue Mar 22 14:24:31 2022
    *
    * Device Number 7694
    * Firmware Version 0.36
    * Build Number 39
    * Order Number 0
    *
    * bqz Device Number 7692
    * bqz Firmware Version 0.28
    * bqz Build Number 31
    *
    * Field Order: Class name, Subclass name, Parameter name, Parameter Value, Display Units
    "Calibration","Voltage","Cell 1 Gain","12119","—"
    "Calibration","Voltage","Cell 2 Gain","12119","—"
    "Calibration","Voltage","Cell 3 Gain","12119","—"
    "Calibration","Voltage","Cell 4 Gain","12119","—"
    "Calibration","Voltage","Cell 5 Gain","12121","—"
    "Calibration","Voltage","Cell 6 Gain","12121","—"
    "Calibration","Voltage","Cell 7 Gain","12121","—"
    "Calibration","Voltage","Cell 8 Gain","12121","—"
    "Calibration","Voltage","Cell 9 Gain","12123","—"
    "Calibration","Voltage","Cell 10 Gain","12123","—"
    "Calibration","Voltage","Pack Gain","34360","—"
    "Calibration","Voltage","TOS Gain","34176","—"
    "Calibration","Voltage","LD Gain","33918","—"
    "Calibration","Voltage","ADC Gain","4043","—"
    "Calibration","Current","CC Gain","1.000","mΩ"
    "Calibration","Current","Capacity Gain","1.000","mΩ"
    "Calibration","Vcell Offset","Vcell Offset","0","mV"
    "Calibration","V Divider Offset","Vdiv Offset","0","userV"
    "Calibration","Current Offset","Coulomb Counter Offset Samples","0","—"
    "Calibration","Current Offset","Board Offset","0","—"
    "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"
    "Calibration","Internal Temp Model","Int Gain","64","—"
    "Calibration","Internal Temp Model","Int base offset","0","—"
    "Calibration","Internal Temp Model","Int Maximum AD","0","—"
    "Calibration","Internal Temp Model","Int Maximum Temp","0","0.1K"
    "Calibration","18K Temperature Model","Coeff a1","0","—"
    "Calibration","18K Temperature Model","Coeff a2","0","—"
    "Calibration","18K Temperature Model","Coeff a3","0","—"
    "Calibration","18K Temperature Model","Coeff a4","-1","—"
    "Calibration","18K Temperature Model","Coeff a5","-1","—"
    "Calibration","18K Temperature Model","Coeff b1","-1","—"
    "Calibration","18K Temperature Model","Coeff b2","-1","—"
    "Calibration","18K Temperature Model","Coeff b3","-1","—"
    "Calibration","18K Temperature Model","Coeff b4","-1","—"
    "Calibration","18K Temperature Model","Adc0","25390","—"
    "Calibration","180K Temperature Model","Coeff a1","3032","—"
    "Calibration","180K Temperature Model","Coeff a2","16383","—"
    "Calibration","180K Temperature Model","Coeff a3","6379","—"
    "Calibration","180K Temperature Model","Coeff a4","-15524","—"
    "Calibration","180K Temperature Model","Coeff a5","26423","—"
    "Calibration","180K Temperature Model","Coeff b1","-22664","—"
    "Calibration","180K Temperature Model","Coeff b2","28834","—"
    "Calibration","180K Temperature Model","Coeff b3","672","—"
    "Calibration","180K Temperature Model","Coeff b4","-371","—"
    "Calibration","180K Temperature Model","Adc0","-3498","—"
    "Calibration","Custom Temperature Model","Coeff a1","5051","—"
    "Calibration","Custom Temperature Model","Coeff a2","0","—"
    "Calibration","Custom Temperature Model","Coeff a3","11703","—"
    "Calibration","Custom Temperature Model","Coeff a4","-17513","—"
    "Calibration","Custom Temperature Model","Coeff a5","25759","—"
    "Calibration","Custom Temperature Model","Coeff b1","-23593","—"
    "Calibration","Custom Temperature Model","Coeff b2","32175","—"
    "Calibration","Custom Temperature Model","Coeff b3","2090","—"
    "Calibration","Custom Temperature Model","Coeff b4","-2055","—"
    "Calibration","Custom Temperature Model","Rc0","2955","—"
    "Calibration","Custom Temperature Model","Adc0","-3427","—"
    "Calibration","Current Deadband","Coulomb Counter Deadband","17","234nV"
    "Settings","Fuse","Min Blow Fuse Voltage","670","mV"
    "Settings","Fuse","Fuse Blow Timeout","0","s"
    "Settings","Configuration","Power Config","0000","Hex"
    "Settings","Configuration","REG12 Config","00","Hex"
    "Settings","Configuration","REG0 Config","00","Hex"
    "Settings","Configuration","HWD Regulator Options","00","Hex"
    "Settings","Configuration","Comm Type","00","—"
    "Settings","Configuration","I2C Address","00","—"
    "Settings","Configuration","Comm Idle Time","0","s"
    "Settings","Configuration","CFETOFF Pin Config","0d","Hex"
    "Settings","Configuration","DFETOFF Pin Config","0a","Hex"
    "Settings","Configuration","ALERT Pin Config","00","Hex"
    "Settings","Configuration","TS1 Config","f4","Hex"
    "Settings","Configuration","TS2 Config","01","Hex"
    "Settings","Configuration","TS3 Config","05","Hex"
    "Settings","Configuration","HDQ Pin Config","64","Hex"
    "Settings","Configuration","DCHG Pin Config","00","Hex"
    "Settings","Configuration","DDSG Pin Config","74","Hex"
    "Settings","Configuration","DA Configuration","0e","Hex"
    "Settings","Configuration","Vcell Mode","00ff","Hex"
    "Settings","Configuration","CC3 Samples","200","Num"
    "Settings","Protection","Protection Configuration","0000","Hex"
    "Settings","Protection","Enabled Protections A","7c","Hex"
    "Settings","Protection","Enabled Protections B","f7","Hex"
    "Settings","Protection","Enabled Protections C","01","Hex"
    "Settings","Protection","CHG FET Protections A","05","Hex"
    "Settings","Protection","CHG FET Protections B","62","Hex"
    "Settings","Protection","CHG FET Protections C","02","Hex"
    "Settings","Protection","DSG FET Protections A","00","Hex"
    "Settings","Protection","DSG FET Protections B","05","Hex"
    "Settings","Protection","DSG FET Protections C","f4","Hex"
    "Settings","Protection","Body Diode Threshold","0","mA"
    "Settings","Alarm","Default Alarm Mask","d00a","Hex"
    "Settings","Alarm","SF Alert Mask A","ff","Hex"
    "Settings","Alarm","SF Alert Mask B","c8","Hex"
    "Settings","Alarm","SF Alert Mask C","00","Hex"
    "Settings","Alarm","PF Alert Mask A","02","Hex"
    "Settings","Alarm","PF Alert Mask B","41","Hex"
    "Settings","Alarm","PF Alert Mask C","55","Hex"
    "Settings","Alarm","PF Alert Mask D","02","Hex"
    "Settings","Permanent Failure","Enabled PF A","3c","Hex"
    "Settings","Permanent Failure","Enabled PF B","02","Hex"
    "Settings","Permanent Failure","Enabled PF C","37","Hex"
    "Settings","Permanent Failure","Enabled PF D","00","Hex"
    "Settings","FET","FET Options","1d","Hex"
    "Settings","FET","Chg Pump Control","05","Hex"
    "Settings","FET","Precharge Start Voltage","20","mV"
    "Settings","FET","Precharge Stop Voltage","3000","mV"
    "Settings","FET","Predischarge Timeout","255","10ms"
    "Settings","FET","Predischarge Stop Delta","50","mV"
    "Settings","Current Thresholds","Dsg Current Threshold","100","userA"
    "Settings","Current Thresholds","Chg Current Threshold","1285","userA"
    "Settings","Cell Open-Wire","Check Time","5","s"
    "Settings","Interconnect Resistances","Cell 1 Interconnect","5","mΩ"
    "Settings","Interconnect Resistances","Cell 2 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 3 Interconnect","7","mΩ"
    "Settings","Interconnect Resistances","Cell 4 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 5 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 6 Interconnect","5","mΩ"
    "Settings","Interconnect Resistances","Cell 7 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 8 Interconnect","3408","mΩ"
    "Settings","Interconnect Resistances","Cell 9 Interconnect","1","mΩ"
    "Settings","Interconnect Resistances","Cell 10 Interconnect","0","mΩ"
    "Settings","Manufacturing","Mfg Status Init","0010","Hex"
    "Settings","Cell Balancing Config","Balancing Configuration","00","Hex"
    "Settings","Cell Balancing Config","Min Cell Temp","0","°C"
    "Settings","Cell Balancing Config","Max Cell Temp","0","°C"
    "Settings","Cell Balancing Config","Cell Balance Interval","10","s"
    "Settings","Cell Balancing Config","Cell Balance Min Cell V (Charge)","0","mV"
    "Settings","Cell Balancing Config","Cell Balance Min Delta (Charge)","0","mV"
    "Settings","Cell Balancing Config","Cell Balance Min Cell V (Relax)","0","mV"
    "Settings","Cell Balancing Config","Cell Balance Min Delta (Relax)","0","mV"
    "Power","Shutdown","Shutdown Cell Voltage","0","mV"
    "Power","Shutdown","Shutdown Stack Voltage","0","mV"
    "Power","Shutdown","Shutdown Temperature","0","°C"
    "Power","Shutdown","Shutdown Temperature Delay","0","s"
    "Power","Shutdown","FET Off Delay","1","0.25s"
    "Power","Shutdown","Shutdown Command Delay","30","0.25s"
    "Power","Shutdown","Auto Shutdown Time","130","min"
    "Power","Shutdown","RAM Fail Shutdown Time","41","s"
    "Power","Sleep","Sleep Current","0","mA"
    "Power","Sleep","Voltage Time","10","s"
    "Power","Sleep","Wake Comparator Current","2310","mA"
    "Power","Sleep","Sleep Hysteresis Time","4","s"
    "Power","Sleep","Sleep Charger Voltage Threshold","2560","mV"
    "Power","Sleep","Sleep Charger PACK-TOS Delta","2440","mV"
    "System Data","Integrity","Config RAM Signature","0000","Hex"
    "Protections","CUV","Threshold","3000","mV"
    "Protections","CUV","Delay","20","ms"
    "Protections","CUV","Recovery Hysteresis","100","mV"
    "Protections","COV","Threshold","4200","mV"
    "Protections","COV","Delay","99","ms"
    "Protections","COV","Recovery Hysteresis","100","mV"
    "Protections","COVL","Latch Limit","255","—"
    "Protections","COVL","Counter Dec Delay","255","s"
    "Protections","COVL","Recovery Time","2","s"
    "Protections","OCC","Threshold","10","mV"
    "Protections","OCC","Delay","10","ms"
    "Protections","OCC","Recovery Threshold","-7168","mA"
    "Protections","OCC","PACK-TOS Delta","100","mV"
    "Protections","OCD1","Threshold","10","mV"
    "Protections","OCD1","Delay","10","ms"
    "Protections","OCD2","Threshold","12","mV"
    "Protections","OCD2","Delay","20","ms"
    "Protections","SCD","Threshold","5","—"
    "Protections","SCD","Delay","15","µs"
    "Protections","SCD","Recovery Time","0","s"
    "Protections","OCD3","Threshold","-7450","userA"
    "Protections","OCD3","Delay","0","s"
    "Protections","OCD","Recovery Threshold","-2048","mA"
    "Protections","OCDL","Latch Limit","252","—"
    "Protections","OCDL","Counter Dec Delay","247","s"
    "Protections","OCDL","Recovery Time","244","s"
    "Protections","OCDL","Recovery Threshold","12800","mA"
    "Protections","SCDL","Latch Limit","50","—"
    "Protections","SCDL","Counter Dec Delay","74","s"
    "Protections","SCDL","Recovery Time","0","s"
    "Protections","SCDL","Recovery Threshold","19030","mA"
    "Protections","OTC","Threshold","0","°C"
    "Protections","OTC","Delay","2","s"
    "Protections","OTC","Recovery","2","°C"
    "Protections","OTD","Threshold","0","°C"
    "Protections","OTD","Delay","10","s"
    "Protections","OTD","Recovery","15","°C"
    "Protections","OTF","Threshold","2","°C"
    "Protections","OTF","Delay","4","s"
    "Protections","OTF","Recovery","4","°C"
    "Protections","OTINT","Threshold","1","°C"
    "Protections","OTINT","Delay","3","s"
    "Protections","OTINT","Recovery","7","°C"
    "Protections","UTC","Threshold","0","°C"
    "Protections","UTC","Delay","2","s"
    "Protections","UTC","Recovery","56","°C"
    "Protections","UTD","Threshold","-1","°C"
    "Protections","UTD","Delay","96","s"
    "Protections","UTD","Recovery","-16","°C"
    "Protections","UTINT","Threshold","2","°C"
    "Protections","UTINT","Delay","200","s"
    "Protections","UTINT","Recovery","0","°C"
    "Protections","Recovery","Time","0","s"
    "Protections","HWD","Delay","51215","s"
    "Protections","Load Detect","Active Time","0","s"
    "Protections","Load Detect","Retry Delay","5","s"
    "Protections","Load Detect","Timeout","2560","hrs"
    "Protections","PTO","Charge Threshold","-14321","mA"
    "Protections","PTO","Delay","14080","s"
    "Protections","PTO","Reset","10","userAh"
    "Permanent Fail","CUDEP","Threshold","80","mV"
    "Permanent Fail","CUDEP","Delay","2","s"
    "Permanent Fail","SUV","Threshold","5","mV"
    "Permanent Fail","SUV","Delay","2","s"
    "Permanent Fail","SOV","Threshold","4500","mV"
    "Permanent Fail","SOV","Delay","2","s"
    "Permanent Fail","TOS","Threshold","1009","mV"
    "Permanent Fail","TOS","Delay","200","s"
    "Permanent Fail","SOCC","Threshold","15360","userA"
    "Permanent Fail","SOCC","Delay","0","s"
    "Permanent Fail","SOCD","Threshold","12800","userA"
    "Permanent Fail","SOCD","Delay","1","s"
    "Permanent Fail","SOT","Threshold","0","°C"
    "Permanent Fail","SOT","Delay","144","s"
    "Permanent Fail","SOTF","Threshold","1","°C"
    "Permanent Fail","SOTF","Delay","250","s"
    "Permanent Fail","VIMR","Check Voltage","2048","mV"
    "Permanent Fail","VIMR","Max Relax Current","519","mA"
    "Permanent Fail","VIMR","Threshold","0","mV"
    "Permanent Fail","VIMR","Delay","0","s"
    "Permanent Fail","VIMR","Relax Min Duration","7","s"
    "Permanent Fail","VIMA","Check Voltage","3800","mV"
    "Permanent Fail","VIMA","Min Active Current","5000","mA"
    "Permanent Fail","VIMA","Threshold","1500","mV"
    "Permanent Fail","VIMA","Delay","2","s"
    "Permanent Fail","CFETF","OFF Threshold","2200","mA"
    "Permanent Fail","CFETF","OFF Delay","5","s"
    "Permanent Fail","DFETF","OFF Threshold","-1000","mA"
    "Permanent Fail","DFETF","OFF Delay","5","s"
    "Permanent Fail","VSSF","Fail Threshold","500","—"
    "Permanent Fail","VSSF","Delay","5","s"
    "Permanent Fail","2LVL","Delay","16","s"
    "Permanent Fail","LFOF","Delay","39","s"
    "Permanent Fail","HWMX","Delay","5","s"
    "Security","Settings","Security Settings","00","Hex"
    "Security","Keys","Unseal Key Step 1","ffff","Hex"
    "Security","Keys","Unseal Key Step 2","ffff","Hex"
    "Security","Keys","Full Access Key Step 1","2004","Hex"
    "Security","Keys","Full Access Key Step 2","0100","Hex"

  • Of note, SSBC,SSA,PF, MSK_SFALERT and MSK_PFALERT are all active which must mean that there is an alert in one of the safety registers active, yet there are no alerts shown in any of the safety registers. I have also tried disabling the mask for all of the safety registers but this doesn't change the alerts or these registers. If I had to guess, I'd say I have the wrong BQ file for the chip. I'm using 

  • Richard,

    Your settings show that you are still using the older version of the bqz file:

    It should be using bqz firmware version 0.36. Otherwise you will be writing to the wrong register addresses. Is BQStudio auto-detecting the device or are you manually selecting the bqz? You should be using Monitor_7694_0_36-bq76942.bqz. You should delete other bqz files for the BQ76942 from your C:\ti\BatteryManagementStudio\config directory.

    I am attaching the correct bqz file in case you are missing it for some reason.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/196/4834.Monitor_5F00_7694_5F00_0_5F00_36_2D00_bq76942.bqz

    Best regards,

    Matt

  • Dear Matt,

     You are right, once I restarted the application with the version.36, the device functions. Thanks a lot for your time.

    Richard