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: Balanced charging

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

I am trying to autonomously balance a 6 cell battery using the BQ76942EVM. I have BQStudio and followed all the setup steps in the user guide. I have also changed the charge threshold to fit the battery parameters, but in doing this balance charge got disabled and I cannot figure out how to enable it.

  • Hello Matthew,

    Can you elaborate on what exactly got disabled? If you mean the CHG FET, this FET will become disabled during sleep, this is the default configuration.

    If you mean that a protection trigger, can you specify which protection triggered?

    Best Regards,

    Luis Hernandez Salomon

  • It is the CHG FET. This has been a multiple day problem so does the board stay in sleep mode even after it has been disconnected and reconnected to BQstudio?

  • Hello Matthew,

    Yes, by default the part will be in SLEEP mode, however, if a charger or load (due to discharge current) is detected, the part will get out of SLEEP mode and turn-on the CHG FET.

    You can also configure the device to either, turn-off SLEEP mode completely, or configure the CHG FET to stay on even during SLEEP mode.

    Best Regards,

    Luis Hernandez Salomon

  • How can I configure the device to turn-off SLEEP mode completely?

  • Hello Matthew,

    You would just have to clear the Settings:Configuration:Power Config[SLEEP] bit. This is mentioned in the first paragraph of Section 7.3 SLEEP Mode of the Technical Reference Manual.

    You can also use the  0x009A SLEEP_DISABLE() subcommand (Also described in the mentioned section).

    Best Regards,

    Luis Hernandez Salomon

  • We disabled sleep and connected a charger and the device still goes into SLEEP mode as soon as it starts up

  • Hello Matthew,

    If SLEEP is disabled, it will not go into SLEEP mode. Did you ensure the register had the bit cleared? Did you read the SLEEP bit to see if the device is actually in SLEEP mode?

    If you enter CONFIG_UPDATE mode after using the subcommand, the part will re-enable SLEEP.

    If the part is not OTP'd, SLEEP will be re-enabled after it boots up (If SLEEP is not disabled after boot-up.

    Best Regards,

    Luis Hernandez Salomon

  • This is our file. We are trying to balance charge a 6S battery. Can you see any problems?

    * Texas Instruments Data Flash File
    * File created Mon Feb 05 16:32:48 2024
    *
    * Device Number 7694
    * Firmware Version 0.36
    * Build Number 39
    * Order Number 0
    *
    * bqz Device Number 7692
    * bqz Firmware Version 0.36
    * bqz Build Number 39
    *
    * Field Order: Class name, Subclass name, Parameter name, Parameter Value, Display Units
    "Calibration","Voltage","Cell 1 Gain","12120","—"
    "Calibration","Voltage","Cell 2 Gain","12120","—"
    "Calibration","Voltage","Cell 3 Gain","12120","—"
    "Calibration","Voltage","Cell 4 Gain","12120","—"
    "Calibration","Voltage","Cell 5 Gain","12120","—"
    "Calibration","Voltage","Cell 6 Gain","12120","—"
    "Calibration","Voltage","Cell 7 Gain","12120","—"
    "Calibration","Voltage","Cell 8 Gain","12120","—"
    "Calibration","Voltage","Cell 9 Gain","12121","—"
    "Calibration","Voltage","Cell 10 Gain","12121","—"
    "Calibration","Voltage","Pack Gain","33784","—"
    "Calibration","Voltage","TOS Gain","34138","—"
    "Calibration","Voltage","LD Gain","33126","—"
    "Calibration","Voltage","ADC Gain","4037","—"
    "Calibration","Current","CC Gain","1.012","mΩ"
    "Calibration","Current","Capacity Gain","1.012","mΩ"
    "Calibration","Vcell Offset","Vcell Offset","0","mV"
    "Calibration","V Divider Offset","Vdiv Offset","0","userV"
    "Calibration","Current Offset","Coulomb Counter Offset Samples","64","—"
    "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","25390","—"
    "Calibration","Internal Temp Model","Int base offset","3032","—"
    "Calibration","Internal Temp Model","Int Maximum AD","16383","—"
    "Calibration","Internal Temp Model","Int Maximum Temp","6379","0.1K"
    "Calibration","18K Temperature Model","Coeff a1","-15524","—"
    "Calibration","18K Temperature Model","Coeff a2","26423","—"
    "Calibration","18K Temperature Model","Coeff a3","-22664","—"
    "Calibration","18K Temperature Model","Coeff a4","28834","—"
    "Calibration","18K Temperature Model","Coeff a5","672","—"
    "Calibration","18K Temperature Model","Coeff b1","-371","—"
    "Calibration","18K Temperature Model","Coeff b2","708","—"
    "Calibration","18K Temperature Model","Coeff b3","-3498","—"
    "Calibration","18K Temperature Model","Coeff b4","5051","—"
    "Calibration","18K Temperature Model","Adc0","11703","—"
    "Calibration","180K Temperature Model","Coeff a1","-17513","—"
    "Calibration","180K Temperature Model","Coeff a2","25759","—"
    "Calibration","180K Temperature Model","Coeff a3","-23593","—"
    "Calibration","180K Temperature Model","Coeff a4","32175","—"
    "Calibration","180K Temperature Model","Coeff a5","2090","—"
    "Calibration","180K Temperature Model","Coeff b1","-2055","—"
    "Calibration","180K Temperature Model","Coeff b2","2955","—"
    "Calibration","180K Temperature Model","Coeff b3","-3427","—"
    "Calibration","180K Temperature Model","Coeff b4","4385","—"
    "Calibration","180K Temperature Model","Adc0","17246","—"
    "Calibration","Custom Temperature Model","Coeff a1","0","—"
    "Calibration","Custom Temperature Model","Coeff a2","0","—"
    "Calibration","Custom Temperature Model","Coeff a3","0","—"
    "Calibration","Custom Temperature Model","Coeff a4","0","—"
    "Calibration","Custom Temperature Model","Coeff a5","0","—"
    "Calibration","Custom Temperature Model","Coeff b1","0","—"
    "Calibration","Custom Temperature Model","Coeff b2","0","—"
    "Calibration","Custom Temperature Model","Coeff b3","0","—"
    "Calibration","Custom Temperature Model","Coeff b4","0","—"
    "Calibration","Custom Temperature Model","Rc0","0","—"
    "Calibration","Custom Temperature Model","Adc0","0","—"
    "Calibration","Current Deadband","Coulomb Counter Deadband","9","234nV"
    "Calibration","CUV","CUV Threshold Override","ffff","Hex"
    "Calibration","COV","COV Threshold Override","ffff","Hex"
    "Settings","Fuse","Min Blow Fuse Voltage","5000","mV"
    "Settings","Fuse","Fuse Blow Timeout","30","s"
    "Settings","Configuration","Power Config","2982","Hex"
    "Settings","Configuration","REG12 Config","9d","Hex"
    "Settings","Configuration","REG0 Config","01","Hex"
    "Settings","Configuration","HWD Regulator Options","00","Hex"
    "Settings","Configuration","Comm Type","00","—"
    "Settings","Configuration","I2C Address","00","—"
    "Settings","Configuration","SPI Configuration","20","—"
    "Settings","Configuration","Comm Idle Time","0","s"
    "Settings","Configuration","CFETOFF Pin Config","02","Hex"
    "Settings","Configuration","DFETOFF Pin Config","02","Hex"
    "Settings","Configuration","ALERT Pin Config","2a","Hex"
    "Settings","Configuration","TS1 Config","07","Hex"
    "Settings","Configuration","TS2 Config","00","Hex"
    "Settings","Configuration","TS3 Config","0f","Hex"
    "Settings","Configuration","HDQ Pin Config","0b","Hex"
    "Settings","Configuration","DCHG Pin Config","2a","Hex"
    "Settings","Configuration","DDSG Pin Config","2a","Hex"
    "Settings","Configuration","DA Configuration","05","Hex"
    "Settings","Configuration","Vcell Mode","033f","Hex"
    "Settings","Configuration","CC3 Samples","80","Num"
    "Settings","Protection","Protection Configuration","0002","Hex"
    "Settings","Protection","Enabled Protections A","fc","Hex"
    "Settings","Protection","Enabled Protections B","f7","Hex"
    "Settings","Protection","Enabled Protections C","f6","Hex"
    "Settings","Protection","CHG FET Protections A","98","Hex"
    "Settings","Protection","CHG FET Protections B","d5","Hex"
    "Settings","Protection","CHG FET Protections C","56","Hex"
    "Settings","Protection","DSG FET Protections A","e4","Hex"
    "Settings","Protection","DSG FET Protections B","e6","Hex"
    "Settings","Protection","DSG FET Protections C","e2","Hex"
    "Settings","Protection","Body Diode Threshold","50","mA"
    "Settings","Alarm","Default Alarm Mask","f808","Hex"
    "Settings","Alarm","SF Alert Mask A","fc","Hex"
    "Settings","Alarm","SF Alert Mask B","f7","Hex"
    "Settings","Alarm","SF Alert Mask C","f4","Hex"
    "Settings","Alarm","PF Alert Mask A","5f","Hex"
    "Settings","Alarm","PF Alert Mask B","9f","Hex"
    "Settings","Alarm","PF Alert Mask C","00","Hex"
    "Settings","Alarm","PF Alert Mask D","00","Hex"
    "Settings","Permanent Failure","Enabled PF A","03","Hex"
    "Settings","Permanent Failure","Enabled PF B","00","Hex"
    "Settings","Permanent Failure","Enabled PF C","07","Hex"
    "Settings","Permanent Failure","Enabled PF D","00","Hex"
    "Settings","FET","FET Options","0f","Hex"
    "Settings","FET","Chg Pump Control","01","Hex"
    "Settings","FET","Precharge Start Voltage","0","mV"
    "Settings","FET","Precharge Stop Voltage","0","mV"
    "Settings","FET","Predischarge Timeout","5","10ms"
    "Settings","FET","Predischarge Stop Delta","500","mV"
    "Settings","Current Thresholds","Dsg Current Threshold","100","userA"
    "Settings","Current Thresholds","Chg Current Threshold","50","userA"
    "Settings","Cell Open-Wire","Check Time","5","s"
    "Settings","Interconnect Resistances","Cell 1 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 2 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 3 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 4 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 5 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 6 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 7 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 8 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 9 Interconnect","0","mΩ"
    "Settings","Interconnect Resistances","Cell 10 Interconnect","0","mΩ"
    "Settings","Manufacturing","Mfg Status Init","0050","Hex"
    "Settings","Cell Balancing Config","Balancing Configuration","00","Hex"
    "Settings","Cell Balancing Config","Min Cell Temp","-20","°C"
    "Settings","Cell Balancing Config","Max Cell Temp","60","°C"
    "Settings","Cell Balancing Config","Max Internal Temp","70","°C"
    "Settings","Cell Balancing Config","Cell Balance Interval","20","s"
    "Settings","Cell Balancing Config","Cell Balance Max Cells","1","Num"
    "Settings","Cell Balancing Config","Cell Balance Min Cell V (Charge)","3000","mV"
    "Settings","Cell Balancing Config","Cell Balance Min Delta (Charge)","5","mV"
    "Settings","Cell Balancing Config","Cell Balance Stop Delta (Charge)","1","mV"
    "Settings","Cell Balancing Config","Cell Balance Min Cell V (Relax)","3000","mV"
    "Settings","Cell Balancing Config","Cell Balance Min Delta (Relax)","5","mV"
    "Settings","Cell Balancing Config","Cell Balance Stop Delta (Relax)","1","mV"
    "Power","Shutdown","Shutdown Cell Voltage","0","mV"
    "Power","Shutdown","Shutdown Stack Voltage","6000","mV"
    "Power","Shutdown","Low V Shutdown Delay","1","s"
    "Power","Shutdown","Shutdown Temperature","85","°C"
    "Power","Shutdown","Shutdown Temperature Delay","5","s"
    "Power","Shutdown","FET Off Delay","0","0.25s"
    "Power","Shutdown","Shutdown Command Delay","0","0.25s"
    "Power","Shutdown","Auto Shutdown Time","0","min"
    "Power","Shutdown","RAM Fail Shutdown Time","5","s"
    "Power","Sleep","Sleep Current","0","mA"
    "Power","Sleep","Voltage Time","5","s"
    "Power","Sleep","Wake Comparator Current","500","mA"
    "Power","Sleep","Sleep Hysteresis Time","10","s"
    "Power","Sleep","Sleep Charger Voltage Threshold","20000","mV"
    "Power","Sleep","Sleep Charger PACK-TOS Delta","2000","mV"
    "System Data","Integrity","Config RAM Signature","0000","Hex"
    "Protections","CUV","Threshold","50","50.6mV"
    "Protections","CUV","Delay","74","3.3 ms"
    "Protections","CUV","Recovery Hysteresis","2","50.6mV"
    "Protections","COV","Threshold","86","50.6mV"
    "Protections","COV","Delay","74","3.3 ms"
    "Protections","COV","Recovery Hysteresis","2","50.6mV"
    "Protections","COVL","Latch Limit","0","—"
    "Protections","COVL","Counter Dec Delay","10","s"
    "Protections","COVL","Recovery Time","15","s"
    "Protections","OCC","Threshold","4","mV"
    "Protections","OCC","Delay","4","3.3 ms"
    "Protections","OCC","Recovery Threshold","-200","mA"
    "Protections","OCC","PACK-TOS Delta","2000","mV"
    "Protections","OCD1","Threshold","8","mV"
    "Protections","OCD1","Delay","1","3.3 ms"
    "Protections","OCD2","Threshold","6","mV"
    "Protections","OCD2","Delay","7","3.3 ms"
    "Protections","SCD","Threshold","0","—"
    "Protections","SCD","Delay","15","µs"
    "Protections","SCD","Recovery Time","5","s"
    "Protections","OCD3","Threshold","-4000","userA"
    "Protections","OCD3","Delay","2","s"
    "Protections","OCD","Recovery Threshold","200","mA"
    "Protections","OCDL","Latch Limit","0","—"
    "Protections","OCDL","Counter Dec Delay","10","s"
    "Protections","OCDL","Recovery Time","15","s"
    "Protections","OCDL","Recovery Threshold","200","mA"
    "Protections","SCDL","Latch Limit","0","—"
    "Protections","SCDL","Counter Dec Delay","10","s"
    "Protections","SCDL","Recovery Time","15","s"
    "Protections","SCDL","Recovery Threshold","200","mA"
    "Protections","OTC","Threshold","55","°C"
    "Protections","OTC","Delay","2","s"
    "Protections","OTC","Recovery","50","°C"
    "Protections","OTD","Threshold","60","°C"
    "Protections","OTD","Delay","2","s"
    "Protections","OTD","Recovery","55","°C"
    "Protections","OTF","Threshold","80","°C"
    "Protections","OTF","Delay","2","s"
    "Protections","OTF","Recovery","65","°C"
    "Protections","OTINT","Threshold","85","°C"
    "Protections","OTINT","Delay","2","s"
    "Protections","OTINT","Recovery","80","°C"
    "Protections","UTC","Threshold","0","°C"
    "Protections","UTC","Delay","2","s"
    "Protections","UTC","Recovery","5","°C"
    "Protections","UTD","Threshold","0","°C"
    "Protections","UTD","Delay","2","s"
    "Protections","UTD","Recovery","5","°C"
    "Protections","UTINT","Threshold","-20","°C"
    "Protections","UTINT","Delay","2","s"
    "Protections","UTINT","Recovery","-15","°C"
    "Protections","Recovery","Time","3","s"
    "Protections","HWD","Delay","60","s"
    "Protections","Load Detect","Active Time","0","s"
    "Protections","Load Detect","Retry Delay","50","s"
    "Protections","Load Detect","Timeout","1","hrs"
    "Protections","PTO","Charge Threshold","250","mA"
    "Protections","PTO","Delay","1800","s"
    "Protections","PTO","Reset","2","userAh"
    "Permanent Fail","CUDEP","Threshold","1500","mV"
    "Permanent Fail","CUDEP","Delay","2","s"
    "Permanent Fail","SUV","Threshold","2200","mV"
    "Permanent Fail","SUV","Delay","5","s"
    "Permanent Fail","SOV","Threshold","4500","mV"
    "Permanent Fail","SOV","Delay","5","s"
    "Permanent Fail","TOS","Threshold","500","mV"
    "Permanent Fail","TOS","Delay","5","s"
    "Permanent Fail","SOCC","Threshold","10000","userA"
    "Permanent Fail","SOCC","Delay","5","s"
    "Permanent Fail","SOCD","Threshold","-32000","userA"
    "Permanent Fail","SOCD","Delay","5","s"
    "Permanent Fail","SOT","Threshold","65","°C"
    "Permanent Fail","SOT","Delay","5","s"
    "Permanent Fail","SOTF","Threshold","85","°C"
    "Permanent Fail","SOTF","Delay","5","s"
    "Permanent Fail","VIMR","Check Voltage","3500","mV"
    "Permanent Fail","VIMR","Max Relax Current","10","mA"
    "Permanent Fail","VIMR","Threshold","500","mV"
    "Permanent Fail","VIMR","Delay","5","s"
    "Permanent Fail","VIMR","Relax Min Duration","100","s"
    "Permanent Fail","VIMA","Check Voltage","3700","mV"
    "Permanent Fail","VIMA","Min Active Current","50","mA"
    "Permanent Fail","VIMA","Threshold","200","mV"
    "Permanent Fail","VIMA","Delay","5","s"
    "Permanent Fail","CFETF","OFF Threshold","20","mA"
    "Permanent Fail","CFETF","OFF Delay","5","s"
    "Permanent Fail","DFETF","OFF Threshold","-20","mA"
    "Permanent Fail","DFETF","OFF Delay","5","s"
    "Permanent Fail","VSSF","Fail Threshold","100","—"
    "Permanent Fail","VSSF","Delay","5","s"
    "Permanent Fail","2LVL","Delay","5","s"
    "Permanent Fail","LFOF","Delay","5","s"
    "Permanent Fail","HWMX","Delay","5","s"
    "Security","Settings","Security Settings","00","Hex"
    "Security","Keys","Unseal Key Step 1","0414","Hex"
    "Security","Keys","Unseal Key Step 2","3672","Hex"
    "Security","Keys","Full Access Key Step 1","ffff","Hex"
    "Security","Keys","Full Access Key Step 2","ffff","Hex"

  • Hello Matthew, 

    I do notice that the Settings:Configuration:Power Config[SLEEP] bit is still set, so this indicates that SLEEP can be active.

    What exactly are you trying to do? Balance cells only during charging?

    Best Regards,

    Luis Hernandez Salomon

  • We are trying to balance cells both while charging and resting. 

  • Matthew,

    Did you read the Cell Balancing With BQ769x2 Battery Monitors application note?

    It explains all the settings and how to configure them.

    Best Regards,

    Luis Hernandez Salomon