TIDUEY1C November 2020 – June 2025 BQ25798
On power-up, the TPS25751D configures the BQ25798 over I2C, configuring the charge current, pre-charge current, termination current, charge voltage, and control settings. These initial writes are based on the answers provided in the Web-based Application Customization Tool. When a 5V sink PDO Contract is negotiated, the PD controller sets up the buck-boost battery charger BQ25798 for a VIN of 5V and charging the battery at1A based on this particular configuration.
Figure 3-8 Power On Reset (POR) Commands
Figure 3-9 Example of a 5V Sink Contract Charging a
Battery
Figure 3-10 20V Sink Charging at 1ASimilarly, when a 20V sink PDO contract is negotiated, the same behavior can be seen where the PD controller sets up VIN at 20V this time, while maintaining charging at 1A.
Figure 3-11 Sourcing 5V With BQ25798 in OTG ModeWhen the TPS25751D negotiates a source PDO contract, the device configures the BQ25798 to operate in OTG mode so that the battery can source the power needed for the port partner. In this case, the BQ25798 needs to boost up the battery voltage up to 5V to source power to the other device.
Figure 3-12 Sourcing 20V With BQ25798 in OTG ModeThe same behavior can be observed when the port partner and the TPS25751D negotiate a 20V contract using the TPS25751D as a source.
One feature of USB Type-C PD is the ability to perform power role swaps. Figure 3-13 shows a power role swap from source to sink.
Figure 3-13 Power Role Swap from 20V Source to 20V
SinkTIDA-050047 is initially sourcing 20V on VBUS. A power role swap is initiated, and VBUS transitions to 0V as the port stops sourcing. The far-end USB-C port becomes the new power source, and a 20V PD contract is negotiated, with TIDA-050047 now acting as the power sink. Once the power role swap has successfully completed, the TPS25751D configures the BQ25798 for charging mode.
Similarly, Figure 3-14 shows a power role swap from sink to source can occur.
Figure 3-14 Power Role Swap from 20V Sink to 20V
Source