Tool/software:
I have previously used the BQ25798 in a float standby application with a LiFePo cell using backup mode. This is working fine as backup mode is enabled while under external power.
I now have an application for portable battery powered equipment with USB charging using the same battery and charger.
In both cases, we are using the Figure 10-2.configuration with the load on PMID. The second one does not have the ship FET fitted. It also has a diode from the battery itself to the PMID to allow the processor to remain powered - this may be the issue although it is putting less than 3V
As before, it works fine when powered externally and switches automatically to battery power when the USB is removed. However, if the chip is switched off via I2C as follws:
WriteRegister(0x0F, 0xAE); // clear backup mode
WriteRegister(0x12, 0x00); // and OTG mode
WriteRegister (0x11, 5); // ship mode
it powers down and draws very low current.
If I try to re-enable with:
WriteRegister (0x11, 0); // ship mode off.
WriteRegister (0x10, 0xF0); // set Vindpm as threshold to start backup
WriteRegister(0x0F, 0x83); // enable backup mode
WriteRegister(0x12, 0x40); // and OTG mode
It does not start boosting the PMID output.
From reading elsewhere it would appear that backup mode cannot be set under battery power, only with external power available.
Reading the registers afterwards confirms that REG0F EN_BACKUP is still zero however REG12 EN_OTG is set and REG1C VBUS_STAT is 7 i.e. OTG mode.
The Vsys voltage is below 3V, well below the enable OTG threshold set by REG10 and default Vindpm.
Is this chip designed to be able to go from a low power ship mode to providing a boosted PMID output under battery power alone ?
Are there any examples of this I can use as a base for settings ?