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.

TPS65950/TWL4030 - clearing BCI status bits

I am using the TWL4030 to detect a battery temperature out of range fault. I need to handle a battery temperature that will transition in and out of range and take the appropriate action is each case. The TBATOR1 and TBATOR2 bits in BCIMFSTS3 appear to be sticky - once set, they do not clear.

After the temperature has changed to be in range, how do I clear these bits?

Regards,

Greg.

  • Hi Greg,

    These are read only bits and should change with the temparature range.

    Can you confirm if you are using the same thermistor for which the device is calibrated - TH05-3H103F?

    If the thermistor you use is different and the range of corresponding resistance is different then you may not see the bits change. You may want to try to disable and enable the MADC monitoring bits - TBATOR1EN and TBATOR2EN. I dont expect this will make any difference, however, you can check.

    You can check the temperature by calculating the voltage in register BCITBAT. Please refer to the description in TRM in section  7.5.9. This will tell you if the temperature read by the device is changing or not.

    Hope this helps in debugging this problem.

     

    Regards,

    Gandhar.