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.

TPS65217 Battery Status

Other Parts Discussed in Thread: TPS65217

I'm reading the datasheet "SLVSB64F – NOVEMBER 2011 – REVISED APRIL
2013" for the TPS65217 Power Management chip. Is this the latest version?


Is there a register(s) which can be read in order to prove that the
battery is connected to the chip?

Can I assume that one of the following bits in TPS65217_REG_CHGCONFIG0
will ALWAYS be set provided a battery is connected.
TPS65217_CHGCONFIG0_TERMI BIT(4)
TPS65217_CHGCONFIG0_ACTIVE BIT(3)
TPS65217_CHGCONFIG0_BATTEMP BIT(0)

 

  • Simon,

    As long as the battery thermistor is connected/disconnected with the battery CHGCONFIG0[0] (BATTEMP) will show if a battery is connected.

    This is also mentioned on page 27 of the datasheet:

    "When the battery is removed from the system the charger will also flag a BATTEMP error indicating that the TS

    input is not connected to a thermistor."

  • I had assumed that this bit was set if the Battery temperature went out of range during charging.

    Your answer raises another question

    Qu: What is the "allowed range for charging" as opposed to the "valid range fro charging"?

    Page 45:        BAT TEMP/NTC ERROR

            0 – battery temperature is in the allowed range for charging
    BATTEMP
            1 – no temperature sensor detected or battery temperature outside valid charging range
            NOTE: This bit does not indicate that the battery temperature is within the valid range for charging.
  • The BATTEMP bit shows '1' if the thermistor is not attached or too high in resistance for proper operation. As long as the voltage at the TS pin is less than 1.8V, BATTEMP = 0 indicating that a thermistor is attached and in a valid range for measuring temperature.

    If TS voltage is between 1,8V and 1.66V or below 0.86V/0.622V (depending on selecting temp range) BATTEMP will still show 0 indicating that a thermistor is attached and in a measurable range. However the TSUSP bit will be '1'  indicating that the battery temperature is not in an accpetable range for charging.

  • Greg,

    Thank you for this.

    I had missed the significance of the "measurable range" refered to on this page.

    Simon