Other Parts Discussed in Thread: BQ25792,
Tool/software:
I am using TPS25751 & BQ25792 to implement type-c charger for 4-cell battery package.
I have a 3v3 bus that is connected to external LDO on board. There is a switch circuit between VBAT & 3V3 circuit LDO. The problem is that this schematic works and charges the battery only if the 3V3 voltage was not applied before connecting charging cable (VBUS). If the 3V3 voltage was applied before VBUS (e.g. device was first powered on & then charging cable inserted) there is only 5V on VBUS rail instead of 20V when it operates correctly.
I measured LDO_3V3 voltage, when only VIN_3V3 voltage is applied, it's okay, there are 3.3V.
I assume the problem might be because BQ charger is not powered at the moment when TPS is, if only 3V3 power is provided.
Or because I connected PP5V to GND. I used that guide to implement sink only mode. But I am not sure what exactly causes the issue.
Can you please help with any advice, how to get the charger working even if it is powered after the 3V3 is applied.