Dynamic Power Role Swapping

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
beyuc_3712261
Level 3
Level 3

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
Moderator
10 likes given 250 sign-ins 1000 replies posted

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