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.

BQ40Z50-R1: XCHD/XDSG

Part Number: BQ40Z50-R1
Other Parts Discussed in Thread: BQ4050, , BQSTUDIO, BQ40Z50

Dear Ti Support!

Designed a PCB with BQ4050, the guage, PACK+ output and protections worked well.

The BQ4050 is out of stock now and replaced the BQ4050 to BQ40Z50-R1 on the PCB.

Set the settings in BqStudio similar to BQ4050.

Now my pack+ output is not switching on.

I did the followings:

- set NR bit in DA config

- double checked the fuse pin soldering, its connected to gnd, do not use the chem fuse option

- switched off every protection and permanent fail

- changed FET_EN to 0, and switched on the outputs manually, I could charge and discharge the battery

Do you have any idea what can be the problem?

Attached the screenshots from the BqStudio and the gg file.

Thank you

Best Regards,  bq40z50_v2.gg.csv

Gábor

  • Hi Gabor,

    Please refer to the TRM, the triggers for XCHG and XDSG are explained.

    BR,

  • Dear Nick!

    Thank you for the answer, checked the doc.

    The protections and permanent fails are switched off , thats why do not understand the XCHG and XDSG flags.

    Could you check it for me please?

    Thank you

    Gábor

  • Hi Gabor,

    You may try a reset() command, if that does not work please upload a log after sending a reset().

    Thanks,

  • Hi Nick!

    Tried the reset allready, do not helped.

    Please find the attached log file, hope it can help

    Thank you

    Gábor

    bq40z50-r1_1.log
    Wed Feb 17 14:46:53 CET 2021
    
    Device Name = bq40z50R1
    Firmware Version = V1_06_BLD0036
    
    Design Capacity = 10200
    Design Voltage = 12600
    Specification Info = 0x0031
    Manufacturer Date = 1980-1-1
    Serial Number = 0x0001
    Manufacturer Name = Texas Instruments
    Device Name = bq40z50-R1
    Device Chemistry = LION
    
    Sample,DateTime,ElapsedTime,ManufAccess,RemCapAlarm,RemTimeAlarm,BattMode,@Rate(@),@TimeFull,@TimeEmpty,@RateOK,Temperature,Voltage,Current,AvgCurr,MaxErr,RSOC,ASOC,RemCap,FullChgCap,RunTimeEmty,RunTimeEmty,AvgTimeFull,ChgCurr,ChgVolt,BattStat,CycleCnt,TurboPwr,TurboCurr,SoH,OpStatA,OpStatB,TempRange,ChgStat,GaugeStat,ITStat,MfgStat,SafetyAlertAB,SafetyStatAB,SafetyAlertCD,SafetyStatCD,PFAlertAB,PFStatAB,PFAlertCD,PFStatCD,CellVolt1,CellVolt2,CellVolt3,CellVolt4,vBAT,vPACK,CellCurr1,CellCurr2,CellCurr3,CellCurr4,CellPower1,CellPower2,CellPower3,CellPower4,Power,AvgPow,IntTemp,TS1Temp,TS2Temp,TS3Temp,TS4Temp,CellTemp,FETTemp,FltRemQ,FltRemE,FltFullChgQ,FltFullChgE,NoLoadRemCap,TrueRemQ,TrueRemE,InitialQ,InitialE,TrueFullChgQ,TrueFullChgE,T_sim,T_ambient,RaScale1,RaScale2,RaScale3,RaScale4,CompRes1,CompRes2,CompRes3,CompRes4,PackGrid,LStatus,CellGrid1,CellGrid2,CellGrid3,CellGrid4,StateTime,DOD0_1,DOD0_2,DOD0_3,DOD0_4,DOD0 Passed Q,DOD0 Passed E,DOD0 Time,DODEOC_1,DODEOC_2,DODEOC_3,DODEOC_4,QMax1,QMax2,QMax3,QMax4,QMaxDOD0_1,QMaxDOD0_2,QMaxDOD0_3,QMaxDOD0_4,QMaxPassedQ,QMaxTime,Tk,Ta,RawDOD_1,RawDOD_2,RawDOD_3,RawDOD_4,CBTime1,CBTime2,CBTime3,CBTime4,CBDOD_1,CBDOD_2,CBDOD_3,CBDOD_4,CBTotalDODChg,SOH_FC_Q,SOH_FC_E,LogRowTime(ms),LogStatus
    1,2021-02-17 14:46:57,4.007,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11615,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11649,0,0,0,0,0,0,0,0,0,0,0,23.8,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,2,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,947,SUCCESS
    2,2021-02-17 14:47:01,8.016,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11614,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3876,3869,0,11646,0,0,0,0,0,0,0,0,0,0,0,23.7,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,6,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,968,SUCCESS
    3,2021-02-17 14:47:05,12.025,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11614,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11646,4,0,0,0,0,0,0,0,0,0,0,23.7,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,10,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,958,SUCCESS
    4,2021-02-17 14:47:09,16.036,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11614,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11647,0,0,0,0,0,0,0,0,0,0,0,23.8,24.1,24.1,23.1,23.0,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,14,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,980,SUCCESS
    5,2021-02-17 14:47:13,20.045,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11614,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11646,2,0,0,0,0,0,0,0,0,0,0,23.7,24.1,24.1,23.1,23.2,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,18,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,1016,SUCCESS
    6,2021-02-17 14:47:17,24.049,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11614,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11648,2,0,0,0,0,0,0,0,0,0,0,23.8,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,22,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,967,SUCCESS
    7,2021-02-17 14:47:21,28.050,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11615,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11647,0,0,0,0,0,0,0,0,0,0,0,23.8,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,26,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,966,SUCCESS
    8,2021-02-17 14:47:25,32.062,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11614,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11647,0,0,0,0,0,0,0,0,0,0,0,23.8,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,30,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,1001,SUCCESS
    9,2021-02-17 14:47:29,36.071,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11614,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3870,0,11646,5,0,0,0,0,0,0,0,0,0,0,23.7,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,34,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,960,SUCCESS
    10,2021-02-17 14:47:33,40.074,0x6101,0,10,0x6081,0,65535,65535,1,23.1,11615,0,0,196,61,17,1672,2774,65535,65535,65535,0,0,0x00C0,0,-10058,-11169,27,0x6101,0x0000,0x08,0x0004,0xD0,0x0014,0x0018,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,3870,3875,3869,0,11647,2,0,0,0,0,0,0,0,0,0,0,23.7,24.1,24.1,23.1,23.1,23.1,-273.2,1672,1714,2774,2972,0,1672,1714,1102,1258,2774,2972,23.1,23.1,1000,1000,1000,0,0,0,0,0,0,4,0,0,0,0,38,5424,5312,5440,0,0,0,0,0,0,0,0,3400,3400,3400,3400,0,0,0,0,0,0,1.0,1000,5424,5312,5440,0,0,0,0,0,0,0,0,0,0,2790,2996,989,SUCCESS
    

  • Gha,

    I am sorry to say there is nothing in your screen shots that would indicate why the FET's would be off. I recommend you enable the protections and PF's to see if any flags come on. Some of our protections are hardware based. You cannot actually disable them, but rather just disable the flag update to tell you that it is happening. 

    Thanks,

    Eric Vos

  • Hi Eric,

    Enabled the protection but do not helped.

    For now we suspended the BQ40z50 becuase the BQ4050 arrived, maybe I will continue this topic later.

    Thank you for the help.

    Best Regards,

    Gábor

  • Gabor,

    If you do resume this debug effort please let me know. I think the next step would be to setup a quick call to live debug the setup. I will make this thread closed for now. 

    Thanks,

    Eric Vos