Other Parts Discussed in Thread: TPS65987
Our board uses the TPS65987DDH to negotiate a USB-C power/data connection between a tablet and the board. The board is powered by a battery when the battery is inserted (source), but is powered by the tablet via VBUS when the battery is disconnected (sink). The tablet should be charged by the board when the battery is connected.
When disconnecting the battery with the tablet still connected, the board successfully swaps to a sink and lets the tablet provide 5V power over VBUS. However, we are unable to swap back to the source power role when reconnecting the battery. VBUS power is still provided by the tablet even though PP_HV2 on the TPS65987DDH is now available to source power to VBUS again. However, if we unplug and replug the USB-C connection to the tablet while in this state, it appears to renegotiate the connection and properly source VBUS from the board and charge the tablet again. We do not want to have to unplug and replug the USB-C connection for this use case and would ideally just be able to disconnect and reconnect the battery.
Our configuration file is set for preferring power source: Cayetano_TPS65987_Firmware_PowerSwap.pjt
We have tried various configurations with the configuration tool without success. We are also observing this behavior on the TPS65987EVM board.
What could be the cause of this issue?
Thanks for any help you can give.