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.

BQ34Z100: Register setting for bq34z100 learning cycle

Part Number: BQ34Z100
Other Parts Discussed in Thread: BQSTUDIO, , EV2400,

Hello, I am using four 18650B paralleled and setting the bq34z100 registers through bqstudio (version 1.3.80) and EV2400: the data in red were changed and  the design capacity and design energy of data in green are multiplied by the paralleled number as the datasheet.

The rated capacity of a 18650B is 3200mah. The rated voltage is 3.6V. Therefore, the design energy should be 3200*3.6*4=46080, but it is found that the range is exceeded after writing. Why? Are the other parameters of the register appropriate? Do you need to change it?

When I wrote the chem id, I found that there are two 18650B chem ids:2012 and 2017. The descriptions of 2017 has another -20C. It is not clear which one should be selected, and if the two writted, an error 1721 was found: chemistry cheksum did not verify.I would like to ask what is the situation, if I use 18650 of other brand in the future, will I need to recalculate the new chemid and Panasonic's 18650 chemid can not be used?

Another issue is  RUP_DIS is always high, and learning cycle can not be started, how can I change it?

There are three files exported from Golden image and only SREC is needed to import  into the new chip (the other two files are BQFS and DFFS). In addition, what files need to be exported for writing?

* Texas Instruments Data Flash File
* File created Fri Jul 06 10:05:26 2018
*
* Device Number 100
* Firmware Version 0.06
* Build Number not available
* Order Number not available
*
* bqz Device Number 100
* bqz Firmware Version 0.16
* bqz Build Number 17
*
* Field Order: Class name  Subclass name  Parameter name  Parameter Value  Display Units
Configuration Safety OT Chg 55 1degC
Configuration Safety OT Chg Time 2 Seconds
Configuration Safety OT Chg Recovery 50 1degC
Configuration Safety OT Dsg 60 1degC
Configuration Safety OT Dsg Time 2 Seconds
Configuration Safety OT Dsg Recovery 55 1degC
Configuration Charge Inhibit Cfg Chg Inhibit Temp Low 0 1degC
Configuration Charge Inhibit Cfg Chg Inhibit Temp High 45 1degC
Configuration Charge Inhibit Cfg Temp Hys 5 1degC
Configuration Charge Suspend Low Temp -5 1degC
Configuration Charge Suspend High Temp 55 1degC
Configuration Charge Pb Temp Comp 0 %
Configuration Charge Pb Reduction Rate 0 %
Configuration Charge Termination Taper Current 100 mAmp
Configuration Charge Termination Min Taper Capacity 25 mAmpHr
Configuration Charge Termination Cell Taper Voltage 100 mVolt
Configuration Charge Termination Current Taper Window 40 Seconds
Configuration Charge Termination TCA Set % 99 Percent
Configuration Charge Termination TCA Clear % 95 Percent
Configuration Charge Termination FC Set % 100 Percent
Configuration Charge Termination FC Clear % 98 Percent
Configuration Charge Termination DODatEOC Delta T 10 1degC
Configuration Charge Termination NiMH Delta Temp 0 1degC
Configuration Charge Termination NiMH Delta Temp Time 0 Seconds
Configuration Charge Termination NiMH Hold Off  Time 0 Seconds
Configuration Charge Termination NiMH Hold Off Current 0 mAmp
Configuration Charge Termination NiMH Hold Off  Temp 0 1degC
Configuration Charge Termination NiMH Cell Negative Delta Volt 0 mVolt
Configuration Charge Termination NiMH Cell Negative Delta Time 0 Seconds
Configuration Charge Termination NiMH Cell Neg Delta Qual Volt 0 mVolt
Configuration Data Manuf  Date 1980/12/16 Day + Mo*32 + (Yr -1980)*256
Configuration Data Ser. Num. 000a hex
Configuration Data Cycle Count 3600 Count
Configuration Data CC Threshold 3240 mAmpHr
Configuration Data Max Error Limit 12 %
Configuration Data Design Capacity 12800 MilliAmpHour
Configuration Data Design Energy 11520 MilliWattHour
Configuration Data SOH Load I 1 MilliAmp
Configuration Data Cell Charge Voltage T1-T2 4200 mV
Configuration Data Cell Charge Voltage T2-T3 4150 mV
Configuration Data Cell Charge Voltage T3-T4 4100 mV
Configuration Data Charge Current T1-T2 21 Percent
Configuration Data Charge Current  T2-T3 24 Percent
Configuration Data Charge Current  T3-T4 254 Percent
Configuration Data JEITA T1 0 degC
Configuration Data JEITA T2 40 degC
Configuration Data JEITA T3 45 degC
Configuration Data JEITA T4 60 degC
Configuration Data Design Energy Scale 4 Number
Configuration Data Device Name h

2
-
Configuration Data Manufacturer Name bq34z100 -
Configuration Data Device Chemistry
Texa
-
Configuration Discharge SOC1 Set Threshold 150 mAh
Configuration Discharge SOC1 Clear Threshold 175 mAh
Configuration Discharge SOCF Set Threshold 75 mAh
Configuration Discharge SOCF Clear Threshold 100 mAh
Configuration Discharge Cell BL Set Volt Threshold 12810 mVolt
Configuration Discharge Cell BL Set Volt Time 240 Seconds
Configuration Discharge Cell BL Clear Volt Threshold 523 mVolt
Configuration Discharge Cell BH Set Volt Threshold 21520 mVolt
Configuration Discharge Cell BH Volt Time 204 Seconds
Configuration Discharge Cell BH  Clear Volt Threshold 528 mVolt
Configuration Discharge Cycle Delta 0 %
Configuration Manufacturer Data Pack Lot Code 0 hex
Configuration Manufacturer Data PCB Lot Code 0 hex
Configuration Manufacturer Data Firmware Version 0 hex
Configuration Manufacturer Data Hardware Revision 0 hex
Configuration Manufacturer Data Cell Revision 0 hex
Configuration Manufacturer Data DF Config Version 0 hex
Configuration Integrity Data Static Chem DF Checksum 6484 Number
Configuration Lifetime Data Lifetime Max Temp 30 1degC
Configuration Lifetime Data Lifetime Min Temp 20 1degC
Configuration Lifetime Data Lifetime Max Chg Current 0 mAmp
Configuration Lifetime Data Lifetime Max Dsg Current 0 mA
Configuration Lifetime Data Lifetime Max Pack Voltage 3200 20mV
Configuration Lifetime Data Lifetime Min Pack Voltage 3500 20mV
Configuration Lifetime Temp Samples LT Flash Cnt 0 Count
Configuration Registers Pack Configuration 161 flags
Configuration Registers Pack Configuration B ff flags
Configuration Registers Pack Configuration C 30 flags
Configuration Registers LED_Comm Configuration 0 flags
Configuration Registers Alert Configuration 0 flags
Configuration Registers Number of series cell 1 num
Configuration Lifetime Resolution LT Temp Res 1 1degC
Configuration Lifetime Resolution LT Cur Res 100 mA
Configuration Lifetime Resolution LT V Res 25 20mV
Configuration Lifetime Resolution LT Update Time 60 Seconds
Configuration LED Display LED Hold Time 4 Num
Configuration Power Flash Update OK Cell Volt 2800 mVolt
Configuration Power Sleep Current 10 mAmp
Configuration Power FS Wait 0 Seconds
System Data Manufacturer Info Block A 0 0 hex
System Data Manufacturer Info Block A 1 0 hex
System Data Manufacturer Info Block A 2 0 hex
System Data Manufacturer Info Block A 3 0 hex
System Data Manufacturer Info Block A 4 0 hex
System Data Manufacturer Info Block A 5 0 hex
System Data Manufacturer Info Block A 6 0 hex
System Data Manufacturer Info Block A 7 0 hex
System Data Manufacturer Info Block A 8 0 hex
System Data Manufacturer Info Block A 9 0 hex
System Data Manufacturer Info Block A 10 0 hex
System Data Manufacturer Info Block A 11 0 hex
System Data Manufacturer Info Block A 12 0 hex
System Data Manufacturer Info Block A 13 0 hex
System Data Manufacturer Info Block A 14 0 hex
System Data Manufacturer Info Block A 15 0 hex
System Data Manufacturer Info Block A 16 0 hex
System Data Manufacturer Info Block A 17 0 hex
System Data Manufacturer Info Block A 18 0 hex
System Data Manufacturer Info Block A 19 0 hex
System Data Manufacturer Info Block A 20 0 hex
System Data Manufacturer Info Block A 21 0 hex
System Data Manufacturer Info Block A 22 0 hex
System Data Manufacturer Info Block A 23 0 hex
System Data Manufacturer Info Block A 24 0 hex
System Data Manufacturer Info Block A 25 0 hex
System Data Manufacturer Info Block A 26 0 hex
System Data Manufacturer Info Block A 27 0 hex
System Data Manufacturer Info Block A 28 0 hex
System Data Manufacturer Info Block A 29 0 hex
System Data Manufacturer Info Block A 30 0 hex
System Data Manufacturer Info Block A 31 0 hex
Gas Gauging IT Cfg Load Select 1 Number
Gas Gauging IT Cfg Load Mode 0 Number
Gas Gauging IT Cfg Max Res Factor 60 num
Gas Gauging IT Cfg Min Res Factor 14 num
Gas Gauging IT Cfg Ra Filter 10 num
Gas Gauging IT Cfg Min PassedChg NiMH-LA 1st Qmax 2 %
Gas Gauging IT Cfg Maximum Qmax Change 25 %
Gas Gauging IT Cfg Cell Terminate Voltage 2900 mVolt
Gas Gauging IT Cfg Cell Term V Delta 256 mVolt
Gas Gauging IT Cfg ResRelax Time 803 Seconds
Gas Gauging IT Cfg User Rate-mA 9562 MilliAmp
Gas Gauging IT Cfg User Rate-Pwr 3870 mW/cW
Gas Gauging IT Cfg Reserve Cap-mAh 24587 MilliAmpHour
Gas Gauging IT Cfg Reserve Energy -184320 mWh/cWh
Gas Gauging IT Cfg Max Scale Back Grid 0 num
Gas Gauging IT Cfg Cell Min DeltaV 51200 mVolt
Gas Gauging IT Cfg Ra Max Delta 0 %
Gas Gauging IT Cfg Design Resistance 0 mOhms
Gas Gauging IT Cfg Reference Grid 0 -
Gas Gauging IT Cfg Qmax Max Delta % 0 mAmpHour
Gas Gauging IT Cfg Max Res Scale 0 Num
Gas Gauging IT Cfg Min Res Scale 0 Num
Gas Gauging IT Cfg Fast Scale Start SOC 67 %
Gas Gauging IT Cfg Charge Hys V Shift 0 mVolt
Gas Gauging IT Cfg Smooth Relax Time 532 s
Gas Gauging Current Thresholds Dsg Current Threshold 60 mAmp
Gas Gauging Current Thresholds Chg Current Threshold 75 mAmp
Gas Gauging Current Thresholds Quit Current 40 mAmp
Gas Gauging Current Thresholds Dsg Relax Time 60 Seconds
Gas Gauging Current Thresholds Chg Relax Time 60 Seconds
Gas Gauging Current Thresholds Cell Max IR Correct 257 mV
Gas Gauging State Qmax Cell 0 1000 mAmpHr
Gas Gauging State Cycle Count 0 num
Gas Gauging State Update Status 0 num
Gas Gauging State Cell V at Chg Term 4200 mVolt
Gas Gauging State Avg I Last Run -299 mAmp
Gas Gauging State Avg P Last Run -1131 MilliWattHour
Gas Gauging State Cell Delta Voltage 2 mVolt
Gas Gauging State T Rise 700 Num
Gas Gauging State T Time Constant 20 Num
Ra Table R_a0 R_a0 Flag ff55 Hex
Ra Table R_a0 R_a0 0 117 Num
Ra Table R_a0 R_a0 1 108 Num
Ra Table R_a0 R_a0 2 117 Num
Ra Table R_a0 R_a0 3 136 Num
Ra Table R_a0 R_a0 4 128 Num
Ra Table R_a0 R_a0 5 104 Num
Ra Table R_a0 R_a0 6 120 Num
Ra Table R_a0 R_a0 7 109 Num
Ra Table R_a0 R_a0 8 119 Num
Ra Table R_a0 R_a0 9 141 Num
Ra Table R_a0 R_a0 10 153 Num
Ra Table R_a0 R_a0 11 232 Num
Ra Table R_a0 R_a0 12 355 Num
Ra Table R_a0 R_a0 13 472 Num
Ra Table R_a0 R_a0 14 1007 Num
Ra Table R_a0x R_a0x Flag ffff Hex
Ra Table R_a0x R_a0x 0 117 Num
Ra Table R_a0x R_a0x 1 108 Num
Ra Table R_a0x R_a0x 2 117 Num
Ra Table R_a0x R_a0x 3 136 Num
Ra Table R_a0x R_a0x 4 128 Num
Ra Table R_a0x R_a0x 5 104 Num
Ra Table R_a0x R_a0x 6 120 Num
Ra Table R_a0x R_a0x 7 109 Num
Ra Table R_a0x R_a0x 8 119 Num
Ra Table R_a0x R_a0x 9 141 Num
Ra Table R_a0x R_a0x 10 153 Num
Ra Table R_a0x R_a0x 11 232 Num
Ra Table R_a0x R_a0x 12 355 Num
Ra Table R_a0x R_a0x 13 472 Num
Ra Table R_a0x R_a0x 14 1007 Num
Calibration Data CC Gain 10.123 mohm
Calibration Data CC Delta 10.147 mohm
Calibration Data CC Offset -1487 num
Calibration Data Board Offset -12 num
Calibration Data Int Temp Offset 0 degC
Calibration Data Ext Temp Offset 0 degC
Calibration Data Voltage Divider 4998 mVolt
Calibration Current Deadband 5 mAmp
Security Codes Sealed to Unsealed 36720414 hex
Security Codes Unsealed to Full ffffffff hex
Security Codes Authen Key3 1234567 hex
Security Codes Authen Key2 89abcdef hex
Security Codes Authen Key1 fedcba98 hex
Security Codes Authen Key0 76543210 hex
  • There is a parameter 'Design Energy Scale' that needs to be used when the design energy is bigger than the maximum value for the register. There is more information about this parameter in Section 3.2.5 of the bq34z100-G1 Technical Reference Manual: www.ti.com/.../sluubw5.pdf

    For the ChemID, the -20C version is for applications that will require charging/discharging at colder temperature than normal. You can use 2012 unless your application has this special need. Did you load it through bqStudio?

    The RUP_DIS stuck high means the gauge is not able to determine its current state and the resistance tables cannot be updated. It is important to fix your ChemID first. You can follow Appendix D in the Technical Reference Manual to complete the Learning Cycle.

    You can use the srec for exporting your settings and loading to a new chip. You can also use a .gg file (this can be exported from the Data Memory tab) if you are only programming the data flash parameters. The srec contains the full data flash and instruction flash.

    Best regards,
    Matt
  • Hi Duoduo Cheng,

    Haven't heard back since this answer was suggested - hope the issue is resolved. If not, please let us know.

    If this answer resolved the issue, please hit the green 'resolved' button to help improve question/answer searchability on the forums. Thank you!

    Sincerely,
    Bryan Kahler