cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

beyuc_3712261
New Contributor II

Hi,

In my project I need to request the Samsung phone to change its power role from source to sink a few seconds after it is plugged in the USB-C connector and starts sending data stream to the usb port and a Dp-to-HDMI converter.

what code should be added in the reference SDK project CYPD3120-40LQXI_dp_dongle to send the USB Power Delivery messaging?

Thanks,

Derong Yuan

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator

Hi Derong Yuan,

We have already shared the example code in the threadCCG3 charge through dongle firmware The attached file is for initial PR_SWAP and DR_SWAP to make sure CCG3 is target for Power source and Data device. You need check the conditions you are looking for and the conditions we was gated and define which one should be kept , whether any condition should be added, and which one should be removed.

Best Regards,

Lisa

View solution in original post

0 Likes
1 Reply
ShifangZ_26
Moderator
Moderator

Hi Derong Yuan,

We have already shared the example code in the threadCCG3 charge through dongle firmware The attached file is for initial PR_SWAP and DR_SWAP to make sure CCG3 is target for Power source and Data device. You need check the conditions you are looking for and the conditions we was gated and define which one should be kept , whether any condition should be added, and which one should be removed.

Best Regards,

Lisa

View solution in original post

0 Likes