2021-05-28 10:42 AM
Hello,
When I connect USB-C source power to our device, PD sniffer shows Source:DFP sends DR_Swap message to our device, which has a STUSB4500 PD controller. However, our device(Sink:UDP) always sends Reject command.
My questions are:
Thanks,
Winston
Solved! Go to Solution.
2021-06-02 11:23 PM
Hello,
No the STUSB4500 doesn't support the DataRole_Swap message.
The STUSB4500 role is a Power Sink. And following the USB PD specification, a Power Sink always start as UFP (Device).
If you want to change the default role, you need indeed to send a PowerRole_Swap or DataRole_swap command. But these commands are not supported by STUSB4500.
To send DR_Swap command, you need to use a USB PD solution which implement this optional command, like:
- STM32F0 + STUSB1602
- or STM32G0 + TCPP01
2021-06-02 11:23 PM
Hello,
No the STUSB4500 doesn't support the DataRole_Swap message.
The STUSB4500 role is a Power Sink. And following the USB PD specification, a Power Sink always start as UFP (Device).
If you want to change the default role, you need indeed to send a PowerRole_Swap or DataRole_swap command. But these commands are not supported by STUSB4500.
To send DR_Swap command, you need to use a USB PD solution which implement this optional command, like:
- STM32F0 + STUSB1602
- or STM32G0 + TCPP01