Please help me as I'm stuck!
I use LTC4162-L to charge a lithium battery and it works great!. I had a few prototype boards and every time I solder it myself. I've been having issues with the latest boards and the design and layout is the same as previous ones! It gives an output but it doesn't charge the battery. I tried resoldering a few boards multiple times but still haven't fixed it. Sometimes charging turns on but it turns off next time I plug in.
I took the good working board and non charging board and swapped all the components one by one and still good working board worked meaning that there wasn't a component issue.
I tried measuring the voltages around the IC to spot the difference and I noticed that pin 11 is 1.01V for a good working board and pin 11 oscillates from 0V to 2.4V slowly maybe once per second. What does it mean?
What are the other reasons for this IC not to charge? I use it standalone design without a micro so I can't debug it. Maybe its a thermal issue, I'm not sure.
I resoldered it multiple times now and its the same issue. The output still works even when I plug in the battery. Its just doesn't charge. I had a few times charging while testing so its not like it doesn't work all the time. Also the battery I'm using is low so it should charge. I also tried leaving it for like half an hour.
When you say that you swapped all components, do you mean all components besides the LTC4162? If that's the case, I would assume that the non-working unit has been damaged somehow and I would suspect that replacing it with a fresh unit would fix what you are seeing.
The RT pin should not be oscillating like that for any reason. Is there a valid resistor on it?
Just a quick update.
I tried by physically removing all the components from the non-working board that not part of the charging circuit and didn't help.
I tried swapping the ICs again with a working board and still working board works and non-working board doesn't charge.
If there is no battery installed when VIN is applied, you should see the bat_missing_fault. However, if the battery is removed after it has already been detected, the charger has no way of knowing this. From the charger's perspective, it just stops pulling current and that causes the charge voltage to pop up to the target charge voltage. The charger will go into CV mode as you are seeing now.
If you were to toggle suspend_charger it would go back to battery detection and realize that the battery is missing. If you are using a battery with a thermistor, you can use that connection to determine whether it is present or not.
I tried restarting the IC and it still thinks that the battery is connected. Also it reads 4.2V sometimes 4.3V.
Do you think I have an issue with my design?
I use 10k resistors instead of thermistor.
The 10k resistors sound fine.
That's pretty strange. Do you have multiple boards behaving like this?
Yes, I tested the new board with I2C built in and it works the same way.
What can I do to the board to find the issue?
Catch the battery detection function on a scope. Upon power-up, monitor the voltage on the battery node. If you have a demo board, you can see an example of what it does: the LTC4162 will source/sink a small amount of current from the battery node. Normally, this will look like the battery node popping up to the float voltage when the LTC4162 sources current. In your case, something must be holding the battery node at a voltage.
I tested the board by turning on Vin and monitoring Vbat and I can see that Vbat starts with 0 V, then goes up to 2.3 V 2.9 V and stops at 4.2V. It takes about 2 seconds from 0 V to 4.2V. What does it mean?
Do you think that I have some resistance Vbat to ground? I measured 5.5 Mohms when its off.
I had a potential divider used for ADC chip but I tested without it and it is still the same. It still thinks that the battery is connected.
I don't have a demo board.
I tried removing Vbat capacitor and it is reading now 3V battery voltage but it still thinks that battery is connected.
Can you capture a plot of the BAT voltage during battery detection and send it here? You shouldn't need to remove the capacitor.
Please see the image below. It stays around 3V for 2.4 seconds.Battery was not connected. Vin is 8V and I turned it on and triggered Vbat rise.
Is the ~2 second event when VIN is plugged in? In other words, does VBAT immediately jump up to 3V when VIN is applied? Or is there some delay?
Can you check for a leakage path from VIN to the battery node? I only have the charger section of your schematic, so I can't see if there's another possible leakage path. Feel free to send your full schematic privately.
The battery node is also going too high. You are configured for 1 Li-Ion cell, right? That might be another indication that something is pulling up the battery node externally.