Other Parts Discussed in Thread: TPS26750, BQ25792, BQ25756,
Tool/software:
Hello,
Is it possible to do Power role swaps and data role swaps with TPS25751?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Erwin,
Yes, TPS25751 is capable of performing power role and data role swap either automatically or through MCU. For automatic power/data role swap refer to register Port Control (0x29) as shown below:
For MCU control, refer to these 4CC commands:
Let us know if you have any further questions or concerns!
Thanks and Regards,
Raymond Lin
Hello,
Thank you for your really fast response!
My device has the following situation: I have my PCB which contains a USB 3.0 HUB onto which a device will be connected via USB-C. The thing is that the device must be the DFP, but needs to sink power from my PCB. so i need to make a swap. Would this IC be suitable?
EDIT: I also found this IC: TPS26750
Hi Erwin,
Yes TPS25751 will be suitable for your application. You can configure TPS25751 to automatically become the DFP/Sink by enabling both Initiate Swap to DFP [15] and Initiate Swap to Sink [5] so that whenever TPS25751 is the UFP and/or Source, it will automatically send a DR_Swap (data role swap) or PR_Swap (Power role swap) to assume the DFP/sink role.
TPS26750 is the EPR (Extended Power Range) version of TPS25751, supporting up to 240W (48V/5A) capabilities for sourcing and sinking. TPS25751 only supports up to 100W (20V/5A) sourcing and sinking capabilities.
Let us know if you have any further questions or concerns!
Thanks and Regards,
Raymond Lin
Hello,
Maybe a silly question but i cannot find the information you have provided in the screenshots, in the datasheet of the TPS25751. Am i not looking correct or is your information from another source?
Hi Erwin,
The register mapping for TPS25751/TPS26750 are located in the Technical Reference Manual, here is the direct link to the TPS25751 Technical Reference Manual: https://www.ti.com/lit/ug/slvucr8a/slvucr8a.pdf?ts=1736967079537&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTPS25751
Let us know if you have any further questions or concerns!
Thanks and Regards,
Raymond Lin
So TPS25751 can automatically do a role swap. Can TPS25751 also communicate with the device about its power wishes and as a result give the device the power he wants. How would TPS25751 control this power source?
Say for example my device wants 12V instead of 5V or 9V, how would TPS25751 control some sort of powersupply to change its voltage and send it to the device.
I used a STUSB4700QTR before. this PD controller talks with device about power negotiation. after negotiation it sets some GPIO pins which changes the feedback network of a buck converter, which in result gives the confirmed power
In summary, how would TPS25751 do something like this?
Hi Erwin,
TPS25751 has integrated I2C control for specific BQ devices such as BQ25792/8 and BQ25756 to list two of them. During operation, TPS25751 will automatically set the output voltage/current through I2C without the need of a MCU configuring these BQ257xx parts.
If you're using separate DCDC, you can also utilize the GPIO pins of TPS25751 to control the FB of a buck converted. In the TPS25751 GUI you can configure GPIO(s) to be tied to a specific event such as SourcePDOxContract to toggle when a specific source PDO is negotiated, see screenshot below (the description for SourcePDO3Contract and SourcePDO4Contract should refer to PDO3/4 has been negotiated):
Let us know if you need further clarification!
Thanks and Regards,
Raymond Lin
So if i have a PDO contract going on and this results in a 9V demand, i can use this event to turn on or off a GPIO which results in a different feedback loop, which results in the negotiated output voltage. Besides that, is it also possible for TPS25751 to send out a 1 or 0 depending on the cable orientation. this 1 or 0 would select a MUX for data direction.
Hi Erwin,
Raymond is out of office for this week, so we have other engineers helping cover his threads.
While sourcing, yes there are "GPIO events" for specific PDOs that will assert when one is negotiated. In addition, there is a GPIO event for cable orientation as well. Please see the TRM GPIO Events section for a full list of the events.
When sinking power, you may need to use an I2C controller to read a register that reports the active rdo to determine which contract has been negotiated.
Thanks and Regards,
Chris
So just for clarity, i can use this construction where i control the feedback loop of a buck converter with GPIO pins,
Example: I have a negotiation going on which results in a 12V demand, so after the PDO contract is confirmed, GPIOs toggle and set feedback loop of a buck converter to output 12V on VBUS. WIll this work? These GPIOS toggle on a 'SourcePDOxContract ' event
Hi Erwin,
So just for clarity, i can use this construction where i control the feedback loop of a buck converter with GPIO pins,
Yes, you can use these GPIO events to control the feedback loop of a buck converter. Although the TPS25751EVM does not use these, you can see the TPS65987EVM for an example of how to do it. The same GPIO events are used for the TPS25751.
Example: I have a negotiation going on which results in a 12V demand, so after the PDO contract is confirmed, GPIOs toggle and set feedback loop of a buck converter to output 12V on VBUS. WIll this work? These GPIOS toggle on a 'SourcePDOxContract ' event
Yes
Thanks and Regards,
Chris