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.

BQ20Z95: BQ20Z95 occurs DFF

Part Number: BQ20Z95

Dear colleague,

Our customer is using BQ20Z95, after a period of normal operation. Pack can't be charged or discharged.

They review the data as below:

When they write the configuration file from the problematic board to a normal board, the normal board can't work right.

I think the reason may be the MCU do the wrong operation in Data Flash reading or writing process.

So do you have some suggestions?

B.R

Rock Su

  • You have DFF set. That means the device has a dataflash failure. You can try to recover it by going to ROM mode and reprogramming it after clearing the PF. If it fails again, you have a bad part.
  • Thanks a lot!

    But how to avoid this problem? Below is the configuration file that happened error.

    [Header]
    bq EVSW Version = 0.9.90
    DeviceName = bq20z95 v1.50
    Time = 2019-03-11 19:48:28


    [Voltage(1st Level Safety)]
    COV Threshold = 4300
    COV Time = 2
    COV Recovery = 4150
    COV Delta = 10
    COV Temp. Hys = 5.0
    POV Threshold = 17200
    POV Time = 2
    POV Recovery = 16400
    CUV Threshold = 2800
    CUV Time = 1
    CUV Recovery = 3100
    PUV Threshold = 11200
    PUV Time = 1
    PUV Recovery = 12400
    [Current(1st Level Safety)]
    OC (1st Tier) Chg = 10000
    OC (1st Tier) Chg Time = 1
    OC Chg Recovery = 30
    OC (1st Tier) Dsg = 20000
    OC (1st Tier) Dsg Time = 1
    OC Dsg Recovery = 30
    OC (2nd Tier) Chg = 11000
    OC (2nd Tier) Chg Time = 1
    OC (2nd Tier) Dsg = 21000
    OC (2nd Tier) Dsg Time = 1
    Current Recovery Time = 30
    AFE OC Dsg = 0B
    AFE OC Dsg Time = 0C
    AFE OC Dsg Recovery = 15
    AFE SC Chg Cfg = 70
    AFE SC Dsg Cfg = 6A
    AFE SC Recovery = 15
    [Temperature(1st Level Safety)]
    Over Temp Chg = 75.0
    OT Chg Time = 0
    OT Chg Recovery = 65.0
    Over Temp Dsg = 80.0
    OT Dsg Time = 0
    OT Dsg Recovery = 65.0
    [Host Comm(1st Level Safety)]
    Host Watchdog Timeout = 0

    [Voltage(2nd Level Safety)]
    SOV Threshold = 17500
    SOV Time = 0
    Cell Imbalance Current = 5
    Cell Imbalance Fail Voltage = 1000
    Cell Imbalance Time = 0
    Battery Rest Time = 0
    Min CIM-check voltage = 3000
    PFIN Detect Time = 0
    [Current(2nd Level Safety)]
    SOC Chg = 15000
    SOC Chg Time = 0
    SOC Dsg = 17000
    SOC Dsg Time = 0
    [Temperature(2nd Level Safety)]
    SOT Chg = 90.0
    SOT Chg Time = 0
    SOT Dsg = 90.0
    SOT Dsg Time = 0
    Open Thermistor = -50.0
    Open Time = 0
    [FET Verification(2nd Level Safety)]
    FET Fail Limit = 20
    FET Fail Time = 0
    [AFE Verification(2nd Level Safety)]
    AFE Check Time = 0
    AFE Fail Limit = 0
    AFE Fail Recovery Time = 0
    AFE Init Retry Limit = 6
    AFE Init Limit = 20
    [Fuse Verification(2nd Level Safety)]
    Fuse Fail Limit = 2
    Fuse Fail Time = 0

    [Charge Inhibit Cfg(Charge Control)]
    Chg Inhibit Temp Low = -20.0
    Chg Inhibit Temp High = 75.0
    Temp Hys = 1.0
    [Pre-Charge Cfg(Charge Control)]
    Pre-chg Current = 260
    Pre-chg Temp = -5.0
    Pre-chg Voltage = 2000
    Recovery Voltage = 2200
    [Fast Charge Cfg(Charge Control)]
    Fast Charge Current = 5000
    Charging Voltage = 16800
    Delta Temp = 0.0
    Suspend Low Temp = -20.0
    Suspend High Temp = 75.0
    [Pulse Charge Cfg(Charge Control)]
    Turn ON Voltage = 4350
    Turn OFF Voltage = 4450
    Max ON Pulse Time = 60.00
    Min OFF Pulse Time = 0.00
    Max OFF Voltage = 4470
    [Termination Cfg.(Charge Control)]
    Maintenance Current = 0
    Taper Current = 400
    Taper Voltage = 200
    Current Taper Window = 10
    TCA Set % = 100
    TCA Clear % = 99
    FC Set % = 100
    FC Clear % = 99
    [Cell Balancing Cfg(Charge Control)]
    Min Cell Deviation = 0
    [Charging Faults(Charge Control)]
    Over Charging Voltage = 2000
    Over Charging Volt Time = 2
    Over Charging Current = 2000
    Over Charging Curr Time = 2
    Over Charging Curr Recov = 100
    Depleted Voltage = 1
    Depleted Voltage Time = 2
    Depleted Recovery = 2
    Over Charge Capacity = 2500
    Over Charge Recovery = 2
    FC-MTO = 65535
    PC-MTO = 65535
    Charge Fault Cfg = 00

    [Data(SBS Configuration)]
    Rem Cap Alarm = 500
    Rem Energy Alarm = 7400
    Rem Time Alarm = 10
    Init Battery Mode = 0081
    Design Voltage = 14800
    Spec Info = 0031
    Manuf Date = 30-Sep-2017
    Ser. Num. = B42F
    Cycle Count = 7
    CC Threshold = 10000
    CC % = 90
    CF MaxError Limit = 100
    Design Capacity = 12000
    Design Energy = 177600
    Manuf Name = ZFKJ
    Device Name = ADFVCA1
    Device Chemistry = LION
    [Configuration(SBS Configuration)]
    TDA Set % = -1
    TDA Clear % = -1
    FD Set % = -1
    FD Clear % = -1
    TDA Set Volt Threshold = 5000
    TDA Set Volt Time = 5
    TDA Clear Volt = 5500
    FD Set Volt Threshold = 5000
    FD Volt Time = 5
    FD Clear Volt = 5500

    [Manufacturer Data(System Data)]
    Pack Lot Code = 0001
    PCB Lot Code = 000A
    Firmware Version = 0001
    Hardware Revision = 000A
    Cell Revision = 0001
    [Manufacturer Info(System Data)]
    Manuf. Info = BAT
    [Lifetime Data(System Data)]
    Lifetime Max Temp = 39.7
    Lifetime Min Temp = -.7
    Lifetime Max Cell Voltage = 4350
    Lifetime Min Cell Voltage = 0
    Lifetime Max Pack Voltage = 17041
    Lifetime Min Pack Voltage = 275
    Lifetime Max Chg Current = 5015
    Lifetime Max Dsg Current = -6000
    Lifetime Max Chg Power = 82550
    Lifetime Max Dsg Power = -88800
    Life Max AvgDsg Cur = -4000
    Life Max AvgDsg Pow = -10000
    Lifetime Avg Temp = 16.8
    [Lifetime Temp Samples(System Data)]
    LT Temp Samples = 92173

    [Registers(Configuration)]
    Operation Cfg A = 0321
    Operation Cfg B = 2F08
    Operation Cfg C = 0005
    Permanent Fail Cfg = 0000
    Non-Removable Cfg = 0000
    [AFE(Configuration)]
    AFE.State_CTL = 00

    [LED Cfg(LED Support)]
    LED Flash Rate = 2.000
    LED Blink Rate = 1.000
    LED Delay = 4.9
    LED Hold Time = 3
    CHG Flash Alarm = 10
    CHG Thresh 1 = 0
    CHG Thresh 2 = 20
    CHG Thresh 3 = 40
    CHG Thresh 4 = 60
    CHG Thresh 5 = 80
    DSG Flash Alarm = 10
    DSG Thresh 1 = 0
    DSG Thresh 2 = 20
    DSG Thresh 3 = 40
    DSG Thresh 4 = 60
    DSG Thresh 5 = 80
    Sink Current = 3

    [Power(Power)]
    Flash Update OK Voltage = 10000
    Shutdown Voltage = 8000
    Shutdown Time = 10
    Cell Shutdown Voltage = 2200
    Cell Shutdown Time = 10
    Charger Present = 3000
    Sleep Current = 15
    Bus Low Time = 2
    Cal Inhibit Temp Low = 5.0
    Cal Inhibit Temp High = 45.0
    Sleep Voltage Time = 15
    Sleep Current Time = 5
    Wake Current Reg = 02

    [IT Cfg(Gas Gauging)]
    Load Select = 4
    Load Mode = 0
    Term Voltage = 12400
    User Rate-mA = 0
    User Rate-mW = 0
    Reserve Cap-mAh = 0
    Reserve Cap-mWh = 0
    [Current Thresholds(Gas Gauging)]
    Dsg Current Threshold = 50
    Chg Current Threshold = 50
    Quit Current = 20
    Dsg Relax Time = 5
    Chg Relax Time = 10
    [State(Gas Gauging)]
    Qmax Cell 0 = 12000
    Qmax Cell 1 = 12000
    Qmax Cell 2 = 12000
    Qmax Cell 3 = 12000
    Qmax Pack = 12000
    Update Status = 06
    Avg I Last Run = -3883
    Avg P Last Run = -5610
    Delta Voltage = 225

    [R_a0(Ra Table)]
    Cell0 R_a flag = 0055
    Cell0 R_a 0 = 57
    Cell0 R_a 1 = 57
    Cell0 R_a 2 = 55
    Cell0 R_a 3 = 64
    Cell0 R_a 4 = 73
    Cell0 R_a 5 = 84
    Cell0 R_a 6 = 97
    Cell0 R_a 7 = 105
    Cell0 R_a 8 = 107
    Cell0 R_a 9 = 110
    Cell0 R_a 10 = 115
    Cell0 R_a 11 = 124
    Cell0 R_a 12 = 136
    Cell0 R_a 13 = 411
    Cell0 R_a 14 = 3308
    [R_a1(Ra Table)]
    Cell1 R_a flag = 0055
    Cell1 R_a 0 = 63
    Cell1 R_a 1 = 63
    Cell1 R_a 2 = 59
    Cell1 R_a 3 = 68
    Cell1 R_a 4 = 76
    Cell1 R_a 5 = 88
    Cell1 R_a 6 = 98
    Cell1 R_a 7 = 108
    Cell1 R_a 8 = 109
    Cell1 R_a 9 = 112
    Cell1 R_a 10 = 116
    Cell1 R_a 11 = 127
    Cell1 R_a 12 = 138
    Cell1 R_a 13 = 339
    Cell1 R_a 14 = 2721
    [R_a2(Ra Table)]
    Cell2 R_a flag = 0055
    Cell2 R_a 0 = 58
    Cell2 R_a 1 = 60
    Cell2 R_a 2 = 58
    Cell2 R_a 3 = 66
    Cell2 R_a 4 = 73
    Cell2 R_a 5 = 84
    Cell2 R_a 6 = 95
    Cell2 R_a 7 = 104
    Cell2 R_a 8 = 106
    Cell2 R_a 9 = 109
    Cell2 R_a 10 = 113
    Cell2 R_a 11 = 122
    Cell2 R_a 12 = 131
    Cell2 R_a 13 = 327
    Cell2 R_a 14 = 2630
    [R_a3(Ra Table)]
    Cell3 R_a flag = 0055
    Cell3 R_a 0 = 58
    Cell3 R_a 1 = 60
    Cell3 R_a 2 = 58
    Cell3 R_a 3 = 64
    Cell3 R_a 4 = 73
    Cell3 R_a 5 = 84
    Cell3 R_a 6 = 95
    Cell3 R_a 7 = 104
    Cell3 R_a 8 = 106
    Cell3 R_a 9 = 109
    Cell3 R_a 10 = 113
    Cell3 R_a 11 = 121
    Cell3 R_a 12 = 131
    Cell3 R_a 13 = 380
    Cell3 R_a 14 = 3054
    [R_a0x(Ra Table)]
    xCell0 R_a flag = 0000
    xCell0 R_a 0 = 57
    xCell0 R_a 1 = 57
    xCell0 R_a 2 = 55
    xCell0 R_a 3 = 64
    xCell0 R_a 4 = 73
    xCell0 R_a 5 = 84
    xCell0 R_a 6 = 97
    xCell0 R_a 7 = 105
    xCell0 R_a 8 = 107
    xCell0 R_a 9 = 110
    xCell0 R_a 10 = 115
    xCell0 R_a 11 = 124
    xCell0 R_a 12 = 130
    xCell0 R_a 13 = 393
    xCell0 R_a 14 = 3162
    [R_a1x(Ra Table)]
    xCell1 R_a flag = 0000
    xCell1 R_a 0 = 63
    xCell1 R_a 1 = 63
    xCell1 R_a 2 = 59
    xCell1 R_a 3 = 68
    xCell1 R_a 4 = 76
    xCell1 R_a 5 = 88
    xCell1 R_a 6 = 98
    xCell1 R_a 7 = 108
    xCell1 R_a 8 = 109
    xCell1 R_a 9 = 112
    xCell1 R_a 10 = 116
    xCell1 R_a 11 = 127
    xCell1 R_a 12 = 129
    xCell1 R_a 13 = 317
    xCell1 R_a 14 = 2544
    [R_a2x(Ra Table)]
    xCell2 R_a flag = 0000
    xCell2 R_a 0 = 58
    xCell2 R_a 1 = 60
    xCell2 R_a 2 = 58
    xCell2 R_a 3 = 66
    xCell2 R_a 4 = 73
    xCell2 R_a 5 = 84
    xCell2 R_a 6 = 95
    xCell2 R_a 7 = 104
    xCell2 R_a 8 = 106
    xCell2 R_a 9 = 109
    xCell2 R_a 10 = 113
    xCell2 R_a 11 = 122
    xCell2 R_a 12 = 127
    xCell2 R_a 13 = 317
    xCell2 R_a 14 = 2550
    [R_a3x(Ra Table)]
    xCell3 R_a flag = 0000
    xCell3 R_a 0 = 58
    xCell3 R_a 1 = 60
    xCell3 R_a 2 = 58
    xCell3 R_a 3 = 64
    xCell3 R_a 4 = 73
    xCell3 R_a 5 = 84
    xCell3 R_a 6 = 95
    xCell3 R_a 7 = 104
    xCell3 R_a 8 = 106
    xCell3 R_a 9 = 109
    xCell3 R_a 10 = 113
    xCell3 R_a 11 = 121
    xCell3 R_a 12 = 125
    xCell3 R_a 13 = 363
    xCell3 R_a 14 = 2914

    [Device Status Data(PF Status)]
    PF Flags 1 = 0080
    Fuse Flag = 00
    PF Voltage = 0
    PF C4 Voltage = 0
    PF C3 Voltage = 0
    PF C2 Voltage = 0
    PF C1 Voltage = 0
    PF Current = 0
    PF Temperature = 0.0
    PF Batt Stat = 00
    PF RC-mAh = 0
    PF RC-10mWh = 0
    PF Chg Status = 0000
    PF Safety Status = 0000
    PF Flags 2 = 0000
    [AFE Regs(PF Status)]
    AFE Status = 00
    AFE Output = 00
    AFE State = 00
    AFE Function = 00
    AFE Cell Select = 00
    AFE OLV = 00
    AFE OLT = 00
    AFE SCC = 00
    AFE SCD = 00

    [Data(Calibration)]
    CC Gain = 5.137
    CC Delta = 5.137
    Ref Voltage = 1224.45
    AFE Pack Gain = 672.91
    CC Offset = -0.276
    Board Offset = -58.3
    Int Temp Offset = 2.1
    Ext1 Temp Offset = -5.0
    Ext2 Temp Offset = 0.0
    [Config(Calibration)]
    CC Current = 3000
    Voltage Signal = 16800
    Temp Signal = 298.0
    CC Offset Time = 250
    ADC Offset Time = 32
    CC Gain Time = 250
    Voltage Time = 1984
    Temperature Time = 32
    Cal Mode Timeout = 300
    [Temp Model(Calibration)]
    Ext Coef 1 = -28285
    Ext Coef 2 = 20848
    Ext Coef 3 = -7537
    Ext Coef 4 = 401.2
    Ext Min AD = 0
    Ext Max Temp = 401.2
    Int Coef 1 = 0
    Int Coef 2 = 0
    Int Coef 3 = -11136
    Int Coef 4 = 575.4
    Int Min AD = 0
    Int Max Temp = 575.4
    [Current(Calibration)]
    Filter = 239
    Deadband = 3
    CC Deadband = 10.0

  • You can't prevent a dff. It means that the IC has a flash memory problem and therefore flash writes have been disabled. It can happen for one of three reasons listed here, bad flash checksum after reset, data flash write not verified, data flash erase not verified. You can try reflashing your fw and seeing if the PF goes away but most likely you have a bad IC.