I get an error from a learn cycle using Battery Management Studio with BQ27421 fuel gauge that states "Error: [RUP_DIS: Not Clear]" after discharge relax.
RUP_DIS and VOK are always set during the entire learn cycle. The status register is 0x00h after the failure.
How and when should the RUP_DIS be cleared?
Here are the extracted Control Status and Flag register changes from the log file during the learn cycle with comments. I found no instances of RUP_DIS or VOK being cleared during the learn cycle. The Control Status and Flag register remain the same shortly after discharge and up and through the 360 minute rest time of the learn cycle.
Comments on Control Status / Flag changes | TimeStamp | Control | Control Status | Temperature | Voltage | Flags | Nominal Avail. Capacity | Full Available Capacity | Remaining Capacity | Full Charge Capacity |
(Start of logHere) | 7/21/2015 3:08 | 0x0128 | 0x008E | 33.85 | 4056 | 0x01A8 | 675 | 1254 | 632 | 1210 |
7/21/2015 3:09 | 0x0128 | 0x008E | 34.15 | 4060 | 0x01A8 | 696 | 1254 | 653 | 1210 | |
INITCOMP cleared/ITPOR cleared | 7/21/2015 3:09 | 0x000E | 0x000E | 34.25 | 4061 | 0x0188 | 3306 | 4731 | 3269 | 4694 |
INITCOMP set | 7/21/2015 3:09 | 0x008E | 0x008E | 34.25 | 4061 | 0x0188 | 3305 | 4731 | 3268 | 4694 |
7/21/2015 4:23 | 0x008E | 0x008E | 34.45 | 4174 | 0x0188 | 4276 | 4872 | 4137 | 4733 | |
INITCOMP cleared/CFGUPMODE set | 7/21/2015 4:24 | 0x0000 | 0x000E | 34.45 | 4175 | 0x0198 | 4277 | 4872 | 4138 | 4732 |
7/21/2015 5:44 | 0x0000 | 0x000E | 27.15 | 4196 | 0x0198 | 4720 | 4866 | 4570 | 4716 | |
(Finish Charging) / CHG cleared | 7/21/2015 5:44 | 0x0000 | 0x000E | 27.15 | 4196 | 0x0098 | 4780 | 4867 | 4631 | 4718 |
7/21/2015 7:07 | 0x0000 | 0x000E | 29.25 | 4203 | 0x0098 | 4870 | 4870 | 4724 | 4724 | |
(Charger stops charging) | 7/21/2015 7:07 | 0x0000 | 0x000E | 29.25 | 4186 | 0x0098 | 4870 | 4870 | 4724 | 4724 |
7/21/2015 7:08 | 0x0000 | 0x000E | 29.25 | 4184 | 0x0098 | 4870 | 4870 | 4724 | 4724 | |
CCA set | 7/21/2015 7:08 | 0x0000 | 0x080E | 29.25 | 4184 | 0x0098 | 4870 | 4870 | 4724 | 4724 |
7/21/2015 7:08 | 0x0000 | 0x080E | 29.25 | 4184 | 0x0098 | 4870 | 4870 | 4724 | 4724 | |
CCA cleared / CFGUPMODE cleared | 7/21/2015 7:08 | 0x0000 | 0x000E | 29.25 | 4184 | 0x0018 | 4870 | 4870 | 4724 | 4724 |
7/21/2015 7:10 | 0x0000 | 0x000E | 28.85 | 4183 | 0x0018 | 4870 | 4870 | 4724 | 4724 | |
(Started test) INITCOMP set | 7/21/2015 7:10 | 0x0000 | 0x008E | 29.65 | 3993 | 0x0018 | 4870 | 4870 | 4723 | 4723 |
7/21/2015 7:14 | 0x0000 | 0x008E | 30.75 | 3953 | 0x0018 | 4870 | 4870 | 4723 | 4723 | |
INITCOMP set low | 7/21/2015 7:14 | 0x0000 | 0x000E | 30.75 | 3953 | 0x0018 | 4870 | 4870 | 4723 | 4723 |
7/21/2015 11:44 | 0x0000 | 0x000E | 30.05 | 2998 | 0x0018 | 4870 | 4870 | 4723 | 4723 | |
(Finished discharging) | 7/21/2015 11:44 | 0x0000 | 0x000E | 29.65 | 3163 | 0x0018 | 4870 | 4870 | 4723 | 4723 |
7/21/2015 11:45 | 0x0000 | 0x000E | 29.15 | 3192 | 0x0018 | 4870 | 4870 | 4723 | 4723 | |
CCA set / CHG set, SOC1 set, SOCF set | 7/21/2015 11:45 | 0x0000 | 0x080E | 29.15 | 3193 | 0x011E | 67 | 4769 | 22 | 4724 |
/OCVTAKEN set | 7/21/2015 11:45 | 0x0000 | 0x080E | 29.15 | 3193 | 0x019E | 67 | 4769 | 22 | 4724 |
7/21/2015 11:45 | 0x0000 | 0x080E | 29.15 | 3194 | 0x019E | 67 | 4769 | 22 | 4724 | |
7/21/2015 11:45 | 0x0000 | 0x080E | 29.15 | 3194 | 0x019E | 67 | 4769 | 22 | 4724 | |
7/21/2015 11:45 | 0x0000 | 0x080E | 29.15 | 3194 | 0x019E | 67 | 4769 | 22 | 4724 | |
7/21/2015 11:45 | 0x0000 | 0x080E | 29.05 | 3195 | 0x019E | 67 | 4769 | 22 | 4724 | |
7/21/2015 11:45 | 0x0000 | 0x080E | 29.05 | 3195 | 0x019E | 67 | 4769 | 22 | 4724 | |
7/21/2015 11:45 | 0x0000 | 0x080E | 29.05 | 3196 | 0x019E | 67 | 4769 | 22 | 4724 | |
7/21/2015 11:45 | 0x0000 | 0x080E | 29.05 | 3196 | 0x019E | 67 | 4769 | 22 | 4724 | |
CCA cleared /OCVTAKEN cleared | 7/21/2015 11:45 | 0x0000 | 0x000E | 29.05 | 3196 | 0x011E | 67 | 4769 | 22 | 4724 |
7/21/2015 11:55 | 0x0000 | 0x000E | 28.75 | 3226 | 0x011E | 67 | 4769 | 22 | 4724 | |
INITCOMP,SLEEP/OCVTAKEN set | 7/21/2015 11:55 | 0x0000 | 0x009E | 28.75 | 3226 | 0x019E | 78 | 4776 | 26 | 4724 |
7/21/2015 11:59 | 0x0000 | 0x009E | 28.65 | 3232 | 0x019E | 78 | 4776 | 26 | 4724 | |
INITCOMP off | 7/21/2015 11:59 | 0x0000 | 0x001E | 28.65 | 3232 | 0x019E | 78 | 4776 | 26 | 4724 |
Sleep off | 7/21/2015 11:59 | 0x0000 | 0x000E | 28.65 | 3232 | 0x019E | 78 | 4776 | 26 | 4724 |
* Texas Instruments Data Flash File | ||||
* File created Fri Jul 17 11:40:52 2015 | ||||
* | ||||
* Device Number 421 | ||||
* Firmware Version 1.09.00 | ||||
* Build Number not available | ||||
* Order Number not available | ||||
* | ||||
* bqz Device Number 0x0421 | ||||
* bqz Firmware Version 0x0109 | ||||
* bqz Build Number 1.09 | ||||
* | ||||
* Field Order: Class name | Subclass name | Parameter name | Parameter Value | Units |
Configuration | Safety | Over Temp | 55 | °C |
Configuration | Safety | Under Temp | 0 | °C |
Configuration | Safety | Temp Hys | 5 | °C |
Configuration | Charge Termination | TCA Set % | 99 | % |
Configuration | Charge Termination | TCA Clear % | 95 | % |
Configuration | Charge Termination | FC Set % | -1 | % |
Configuration | Charge Termination | FC Clear % | 98 | % |
Configuration | Charge Termination | DODatEOC Delta T | 5 | °C |
Configuration | Data | Design Voltage | 4200 | mV |
Configuration | Data | Initial Standby | -3 | mA |
Configuration | Data | Initial MaxLoad | -200 | mA |
Configuration | Discharge | SOC1 Set Threshold | 10 | % |
Configuration | Discharge | SOC1 Clear Threshold | 15 | % |
Configuration | Discharge | SOCF Set Threshold | 2 | % |
Configuration | Discharge | SOCF Clear Threshold | 5 | % |
Configuration | Registers | OpConfig | 25f8 | Flag |
Configuration | Registers | OpConfigB | 0f | Flag |
Configuration | Power | Hibernate I | 3 | mA |
Configuration | Power | Hibernate V | 2200 | mV |
Gas Gauging | IT Cfg | FH Setting 0 | 60 | s |
Gas Gauging | IT Cfg | Ra Filter | 800 | Num |
Gas Gauging | IT Cfg | FH Setting 1 | 100 | s |
Gas Gauging | IT Cfg | FH Setting 2 | 18000 | s |
Gas Gauging | IT Cfg | FH Setting 3 | 25 | s |
Gas Gauging | IT Cfg | Fast Qmax Start DOD % | 92 | % |
Gas Gauging | IT Cfg | Fast Qmax End DOD % | 96 | % |
Gas Gauging | IT Cfg | Fast Qmax Start Volt Delta | 125 | mV |
Gas Gauging | IT Cfg | Fast Qmax Current Threshold | 4 | Hr rate |
Gas Gauging | IT Cfg | Fast Qmax Min Points | 3 | Num |
Gas Gauging | IT Cfg | Max Qmax Change | 20 | % |
Gas Gauging | IT Cfg | Qmax Max Delta % | 10 | %DCap |
Gas Gauging | IT Cfg | Max % Default Qmax | 120 | %DCap |
Gas Gauging | IT Cfg | Qmax Filter | 96 | Num |
Gas Gauging | IT Cfg | ResRelax Time | 500 | s |
Gas Gauging | IT Cfg | User Rate-mA | 0 | mA |
Gas Gauging | IT Cfg | User Rate-mW | 0 | mW |
Gas Gauging | IT Cfg | Max Sim Rate | 1 | Hr rate |
Gas Gauging | IT Cfg | Min Sim Rate | 20 | Hr rate |
Gas Gauging | IT Cfg | Ra Max Delta | 11 | 4mOhm |
Gas Gauging | IT Cfg | Min Delta Voltage | 0 | mV |
Gas Gauging | IT Cfg | Max Delta Voltage | 200 | mV |
Gas Gauging | IT Cfg | DeltaV Max dV | 100 | mV |
Gas Gauging | IT Cfg | TermV Valid t | 2 | s |
Gas Gauging | Current Thresholds | Dsg Current Threshold | 167 | .1 Hr rate |
Gas Gauging | Current Thresholds | Chg Current Threshold | 100 | .1 Hr rate |
Gas Gauging | Current Thresholds | Quit Current | 250 | .1 Hr rate |
Gas Gauging | Current Thresholds | Dsg Relax Time | 60 | s |
Gas Gauging | Current Thresholds | Chg Relax Time | 60 | s |
Gas Gauging | Current Thresholds | Quit Relax Time | 1 | s |
Gas Gauging | Current Thresholds | Max IR Correct | 400 | mV |
Gas Gauging | State | Qmax Cell 0 | 16384 | Num |
Gas Gauging | State | Update Status | 0 | Hex |
Gas Gauging | State | Reserve Cap-mAh | 0 | mAh |
Gas Gauging | State | Load Select/Mode | 81 | Hex |
Gas Gauging | State | Q Invalid MaxV | 3803 | mV |
Gas Gauging | State | Q Invalid MinV | 3752 | mV |
Gas Gauging | State | Design Capacity | 5000 | mAh |
Gas Gauging | State | Design Energy | 4960 | mWh |
Gas Gauging | State | Terminate Voltage | 3000 | mV |
Gas Gauging | State | T Rise | 20 | Num |
Gas Gauging | State | T Time Constant | 1000 | s |
Gas Gauging | State | SOCI Delta | 1 | % |
Gas Gauging | State | Taper Rate | 100 | .1 Hr rate |
Gas Gauging | State | Taper Voltage | 4100 | mV |
Gas Gauging | State | Sleep Current | 10 | mA |
Gas Gauging | State | V at Chg Term | 4190 | mV |
Gas Gauging | State | Avg I Last Run | -50 | .1 Hr rate |
Gas Gauging | State | Avg P Last Run | -50 | .1 Hr rate |
Gas Gauging | State | Delta Voltage | 1 | mV |
Ra Tables | R_a RAM | R_a0 0 | 102 | Num |
Ra Tables | R_a RAM | R_a0 1 | 102 | Num |
Ra Tables | R_a RAM | R_a0 2 | 99 | Num |
Ra Tables | R_a RAM | R_a0 3 | 107 | Num |
Ra Tables | R_a RAM | R_a0 4 | 72 | Num |
Ra Tables | R_a RAM | R_a0 5 | 59 | Num |
Ra Tables | R_a RAM | R_a0 6 | 62 | Num |
Ra Tables | R_a RAM | R_a0 7 | 63 | Num |
Ra Tables | R_a RAM | R_a0 8 | 53 | Num |
Ra Tables | R_a RAM | R_a0 9 | 47 | Num |
Ra Tables | R_a RAM | R_a0 10 | 60 | Num |
Ra Tables | R_a RAM | R_a0 11 | 70 | Num |
Ra Tables | R_a RAM | R_a0 12 | 140 | Num |
Ra Tables | R_a RAM | R_a0 13 | 369 | Num |
Ra Tables | R_a RAM | R_a0 14 | 588 | Num |
Calibration | Data | Board Offset | 0 | Counts |
Calibration | Data | Int Temp Offset | 0 | °C |
Calibration | Data | Pack V Offset | 0 | mV |
Calibration | CC Cal | CC Offset | -16 | Counts |
Calibration | CC Cal | CC Cal Temp | 301.2 | °K |
Calibration | CC Cal | CC Gain | 0.3531 | Num |
Calibration | CC Cal | CC Delta | 421245.8438 | Num |
Calibration | Current | Deadband | 5 | mA |
Security | Codes | Sealed to Unsealed | 80008000 | Hex |
Thanks for any assistance or direction to help me correct this issue to be able to run a learn cycle.