How does UFP handle multi modes in same SVID

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
Anonymous
Not applicable

In the sample code, it only exist one mode in one svid. for example. 0XFF01 only have one mode with VDO = 0x1005.

but if I want to add two more mode in one SVID , how could I do? 0xFF01/0x0405 and 0xFF01/0X0805.

Is there any sample code for reference?

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Chenglei,

1. You shall add Mode with meaningful value and follow DisplayPort Alt Mode. If Mode with 0x0405 and 0x0805 is what you are going to support. You could add them into configuration table with Ez-PD configuration Utility.

2.  How to do it? You just need click the button + on the right top of SVID tap, the new mode will be added below Mode 0, you could edit it as per your SPEC. And the generated config table, update it into firmware project file config.c.

3. All of firmware example code can be availed if you download CCGx SDK from link: http://www.cypress.com/documentation/software-and-drivers/ez-pd-software-development-kit?source=sear...

Best Regards,

Lisa

View solution in original post

0 Likes
1 Reply
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Chenglei,

1. You shall add Mode with meaningful value and follow DisplayPort Alt Mode. If Mode with 0x0405 and 0x0805 is what you are going to support. You could add them into configuration table with Ez-PD configuration Utility.

2.  How to do it? You just need click the button + on the right top of SVID tap, the new mode will be added below Mode 0, you could edit it as per your SPEC. And the generated config table, update it into firmware project file config.c.

3. All of firmware example code can be availed if you download CCGx SDK from link: http://www.cypress.com/documentation/software-and-drivers/ez-pd-software-development-kit?source=sear...

Best Regards,

Lisa

0 Likes