cancel
Showing results for 
Search instead for 
Did you mean: 

STUSB4700QTR powersource and datasink

Erwin_N
Associate II

I have the following situation:

I have a custom PCB with a 4 port HUB ic on it (TUSB8041IRGCR). The UFP of the hub is connected to  my phone and there are 4 DFP.
My phone negotiates with the PD controller via CC lines about what voltage it wants when phone is connected. The datalines of the usb port go to the hub. The thing is that the phone does not see the hub. If i completely ignore the USB PD negotiation and connect the UFP to my PC, the PC sees the hub.


is there some sort of setting i have to set  in STUSB4700QTR to let my phone know that it sinks power but sources data to the hub? I have no option to program the STUSB4700QTR

9 REPLIES 9
MiBA
ST Employee

Hi , STUSB4700QTR is not able to act as DRD (dual Role Data ) , it does not support any Data role swap messages , so even if you controler is device capable le link will stay host

BR 

 

Do you have a suggestion on how to fix this issue?

Apologize, the STUSB4700QTR can not provide properly support Data swap messages 

without conflicting internal states machines 

BR 

 

Erwin_N
Associate II

Thank you for your answer.
Do you maybe know a solution with your products so i can make my idea work?

Hello

STUSB4700 is Source/DFP.
May I know what is Sink/.UFP ?

To work properly both Sink/UFP and Source/DFP should advise to be data capable is their message.

There is no need to do dataswap on a hub but each brick need to be 'data capable'.

Best regards

Nathalie

 

The device connected to the STUSB4700 USB connection is a Phone.  My phone is charging fine when connecting, due to PD negotiating with STUSB4700, but that usb connection is also connected to the UFP port of a  HUB IC. only the CC pins go to STUSB4700 and datalines go to UFP port of hub. So i have the case where my phone sinks power, but sources data. So my phone is the sink (power wise, and DFP datawise).  which is not working because the hub does not see the phone now. I think i need to do some data role swapping. i dont get it because the STUSB4700 doesnt do anything with my datapins

Hello,

During the first explicit contract, Source is DFP, sink is UFP. Both Sink and Source should advise to be data capable.

To have a working setup with source/ufp and sink/DFP, a data-swap shall be send and accepted so that in further USBPD message, data role is aligned to data controller role.
Currently there is no dataswap. So the phone is still sink/UFP and when you connect the Hub-UFP port, nothing occurs.

Do you use a 'Y' cable ?

Best regards

Nathalie

 

Hello,

What you say is indeed the situation. I need to make a dataswap to get "DFP/sink" I need to tell my phone that it will be a DFP instead of a UFP

I just use a normal USB-C to USB-C cable.

 

is there a way to make this dataswap in my current setup with the STUSB4700?

 

 

Thanks

Hello

As mentioned by  my colleague before, there is no dataswap possible with stusb4700

BEst regards