STUSB4700QTR powersource and datasink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-31 12:20 AM - edited ‎2024-10-31 12:23 AM
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
- Labels:
-
DC-DC Conversion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 5:15 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 6:43 AM
Do you have a suggestion on how to fix this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 6:52 AM
Apologize, the STUSB4700QTR can not provide properly support Data swap messages
without conflicting internal states machines
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-25 6:53 AM
Thank you for your answer.
Do you maybe know a solution with your products so i can make my idea work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 12:39 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 12:45 AM - edited ‎2024-11-27 12:48 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 8:35 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-27 8:51 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-29 12:32 AM
Hello
As mentioned by my colleague before, there is no dataswap possible with stusb4700
BEst regards
