Hello,
I've been trying to get the battery charger interface working and the results are less than amazing. The schematic is identical to the one in the datasheet. It is the dual path (AC and USB) with CV mode possible and the 850mA current limit at startup circuit. There's no deviation from the design. BCIAUTO has a 162K ohm resistor to ground which should allow CVM and auto charging in hardware. ADCIN0 is grounded and ADCIN1 can be connected to a thermistor.
On some previous board revisions, I did manage to get the full 1.7A to pass (power supply reported it as 1.78A) through the FETs which was divided up between the running system (about 450mA) and the battery (the balance of 1.33A to the battery). Those results were on some 4030 samples and we now use the 65950 part but I still have boards with both and it doesn't make any difference. Obviously I don't want that much current going to the battery and I want to be able to restrict it to about 800mA maximum.
On more recent boards, the charger will not activate in hardware at all with the thermistor attached. I have to float ADCIN1 in order to get the charger to activate at all. Without the thermistor I can get about 700mA or so to go to the battery when the cell voltage is quite low. As the battery charges, the current keeps dropping. With the battery at 3.3V, I saw 1.4A of charge current. At 3.7V it was 1.1A. At 3.8V it was 1A and then it starts dropping much faster. By 3.9V it is down to 0.4A. At 3.935V the charge current was 241mA. It then just keeps plummeting down to 70mA at 3.98V.
The charger doesn't really make sense to me. First with the thermistor and second I thought the charger was supposed to be constant current until the voltage is at the cell maximum (4.2V) and then it switches to constant voltage which shuts off when the current level goes below the cutout threshold. I'm not the software guy so I don't know exactly what all of the registers should be doing but I had imagined the hardware more was more predictable.
Are the results I am seeing accurate and we must get software going to handle proper battery charging for the entire cycle? What happens if the processor locks up during charging? I want to rely on the hardware much more than I do the software. What could be going on with the thermistor? It is the standard 10K NTC type and I think it is very close to the one used in the default tables.
Thanks!