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.
Perhaps the PCB has been overworked. Interestingly, the problem seems to follow the board and not the IC, so it sounds like a problem with the board.
I might recommend that you do use the solderwick and clean the IC's footprint with alcohol before trying to re-solder. After cleaning it, inspect for any damaged or shorted pads.
Your general soldering procedure sounds good since you are able to solder reliably onto one of the boards.
For your next design, I recommend you put some test points or a header footprint on DVCC, SDA, SCL, and GND. You should also put footprints for pull-up resistors from SDA/SCL to DVCC. You don't need to populate these footprints on your final design, but it won't cost you anything to just add them and they will help for debugging.
I tried yesterday again with a fresh board but the same IC that worked on another board and it still didn't work.
It actually started charging at some point then it stopped. Felt like moving around the board made it work. I tried connecting Vin and Battery closer to the pins but didn't help. You would suspect a loose connection but then I connect the same leads of VIN and battery to the working board and it works straight away.
Its so strange because the older version board works but the layout its very similar.
I will try testing by connecting I2C. I will try today by just cutting the pads and connecting the tiny wires and will design a new PCB.
Do I need to use a SMBALERT pin?
I managed to break the pads and connect I2C to micro.
I've got the values below.
I'm still not sure what is wrong with my board. Could you please check the values? The charge status indicates that there is a fault but it doesn't say what fault. The voltage readings are correct.
Is there anything else I could read?
Good info, thanks. Here's some info on ilim_reg_active (more info in the alert description than elsewhere):
You should inspect the connections around that sense resistor. Perhaps one of the sense lines was cut or not connected properly on that particular PCB.
I found what the issue was. I moved Vout capacitor closer to the pins by soldering directly on long pads I had and it is charging now!
I had long pads and components a bit further away to make soldering easier. I didn't expect this IC is so sensitive to layout. But it works now and we starting using I2C which is great to read voltages and currents.
Can you please tell me the accuracy of the voltage reading? At the moment we use ADS1115 to read the voltages.
That's great. Comparatively, it is not so sensitive to layout, but all switchers are to an extent.
For the ADC accuracy, refer to the Telemetry A/D Measurement Subsystem section of the spec table (page 5).