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.

Battery detection BQ24163

Other Parts Discussed in Thread: BQ24163

Hello all,

I am working on Battery charger BQ24163, I expext to read the status of the battery present or not (Register 02: BATSTAT0 and BATSTAT1), but it is still return 0, eventhough i remove or insert the battery. Could you plesse help me to show the solution. Do i lack off any configuration or initial step. 

Thanks for your help

  • Battery detection is disabled if termination is disabled.  Termination is auto disabled if current limit is 100mA.  Battery detection works by sinking and sourcing into the capacitor on the BAT pin.  The BAT pin should have a square-ish waveform on it.

  • Thank you Mr.Jeff F, for the promptly reply. If you can, please help me for the right way.
    I apply the example schematic (figure 22 in datasheet of BQ24163) for my application.
    1/ In orther to detect battery present or not present, I have set up the BQ24163 as the following step:
    - Set charge voltage V(BATREG) by 4200mV
    - Set termination current by 200mA (50mA offset + 150mA in Reg)
    - Clear the LOW_CHG bit = 0 (Reg 07)
    - Enable termination (Set bit TE = 1 in Reg 02)
    - REMOVE the battery (BAT pin remains connect to capacitor 1uF)
    - Delay a little about 300ms
    - Read the status from the Reg 01: Battery/Supply Status Register at BATSTAT0 & BATSTAT1
    => The result: BATSTAT0 & BATSTAT1 always return 0 (Expected: return 2 - Battery Not Present)
    Is the above steps are right?

    2/ As you say, the BAT pin should have a square wareform, Is it like the figure 16 in section 9.3.16.5 (datasheet of BQ24163)? And Is it always has the square waveform eventhough has or dont has battery plug in pin BAT?

    Thank you very much.

  • By the way, please show me the TS_EN bit in Reg (07) Safety Timer/ NTC Monitor Register that How does TS_EN affect to Battery detection. Because when i disable (write 0) this bit, if i remove the battery i can get the right status from BATSTAT0 & BATSTAT01, but when i enable this bit, i could not get the right one. Please give me explaination


    Thank you all

  • If termination is enabled and charging has not be disabled due to TS pin fault, battery detection should be active. See figure 27 on page 37 for example square-ish waveform. If the capacitor on BAT is too large, it is possible that battery detect will falsely detect a battery.
  • I have tried enable termination and enable charging, but i could not get right status from BATSTAT0 & BATSTAT01

    Could you be more specific What the affect of TS to V(BAT) is ?