Tool/software:
I am using a BQ25798 to charge a 3S li-ion pack. My input will be a USB PD source, but as of right now I am working with a standard 5V, 500mA adapter. I am trying to get the system to work as follows:
Battery Connected:
V_SYS ~= V_BAT
Battery Disconnected
V_SYS ~= VBUS
I am running into two problems getting this to work.
1. Setting the Minimal_System_Voltage register to 0x12 does not seem to set the minum V_SYS voltage to 4.5V (to my understanding 5V VBUS > 4.5V VSYSMIN ... no regulation occurs)
this was tested with CE pulled high to avoid any issues with charging
2. IC is not able to properly detect the presence of a battery. Regardless of whether the battery is plugged into the BAT/BATP (via 100Ohm) pins the Charger_Status_2 Register declares VBAT as present.
additionally, I tried with a dummy 10kOhm load, which should've set VBAT to 0V, and the Charge Status register says its in fast charge mode
In the case of #1, the V_SYS voltage is still regulated to the default setting for 3S (9V)
In the case of #2, BATP seems to be regulated to 12.6V for either a CC charge or a taper charge. Since the chip thinks there is a battery, BAT is connected to VSYS which also becomes 12.6V