cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

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

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

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