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.

Clearing DFETF?

Other Parts Discussed in Thread: BQ20Z45-R1, EV2400, BQ20Z45

Hello,

i have a bit default DFETF (my fuel gauge is a BQ20Z45-r1 in a 4S5P), i would like to know how to clear it (i have not send IT yet).

I changed both mos and now I will wish to reset this flag, I need your help, I have to give this pack to my customer tomorrow.

Thanks by advance.

  • Jean,

    You can send the PF Clear keys to Manufacturer Access to clear a permanent failure. The keys are '2673' followed by '1712' to command '00'.

    Regards
    Tom

  • Thanks Thomas, all is fine now for this bit.

    I have a strange behavior when I want to control the FET.
    With the EV2400 tool when I want to control the FET I send the command 0x46 followed by 0x0006 and it works fine, and if I return 0x0000 FETs turn off.
    But if I send with my μC the same sequence I can only disable the FET, the BQ20Z45 does not react with the command followed by 0x46 0x0006 ...
    Do you have any idea why he accepts a sequence OFF but not ON?
    Thank you in advance

    Here is my code sequence:

    I2C1_Init(100000); // SMBus 100KHz

    I2C1_Start();
         SSPSTAT.F6 = 1;   //SMBUS interface
         I2C1_Wr(0x16);  //BQ20Z45 Slave Address
         I2C1_Wr(0x46);
         I2C1_Wr(0x00);  // MSB Byte
         I2C1_Wr(0x06);  // LSB Byte with FETs on
     I2C1_Stop();

    If I enable in advance with the FET tool EV2400 I can disable them with my μC by sending 0x46 followed by 0x0000 ....

  • Jean,

    The commands look correct. This may be one of those Little Endian situations. You could try sending 0x0600 to see if that helps. You may have to compare the waveforms from the uC to the waveforms from the EV2400.

    Regards
    Tom

  • Great idea!, all is fine with 0x0600, it was in little endian.

    As you know very well this product, I have a few additional questions:
    If I understood correctly, I need to send the IT command (0x0021) after all is correctly configured, but after IT send is it always possible to change a parameter after?
    Should I seal my application, what is the advantage? If I seal my product is it possible to make changes later, if so what is the procedure to recover unsealed?
    My fear is to miss a misconfigured registry, and the BQ20Z45 remains in a locked position, like so unfortunately a flag is set in PF status.
    Last question, I use a PC-type power supply to recharge my pack, the problem is that this power supply is a voltage source type and therefore gets limitation. Is there a way to accept this type to my pack, such as chopping current with DSG FET/CHG FET to generate an acceptable average current?

    Great thanks by advance Thomas.

     

     

  • Jean

    You will need to send the IT Enable command after you have completed setting up the device and you can still change parameters after you send the command. I would hold off on sealing the device until after all development has been completed. You can still change parameters, if you unseal the pack, but it is a real annoyance.

    Are you saying that you power supply will not work in a CC/CV profile? That is the profile that the typically uses.

    Regards
    Tom

  • Thomas, thank you for your quick responses. "sealed" is to prevent inadvertent write to the flash, is that correct? In this case how a permanent fault can it be reset by host controller after recovery, it seems complicated.

    For power supply our client has imposed on us a simple power for PC so without current regulation or voltage regulation. Yesterday I solved this problem, I give here the solution for those who encounter the same problem: I made a hash of the current supplied by the power, acting on the two FET at a frequency of 20 Hz. Without hash, restriction began in about once every second with 0V power output, giving an average current read by BQ20z45 at 300mA with the hash I have 3.5A. Therefore sufficient for our application. Nevertheless we will find a power supply best suited (especially in terms of EMC) ....