How to send VDM Discovery Identity request command and capture device information of port partner?

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
MaLi_3529141
Level 3
Level 3
25 replies posted 25 sign-ins 10 replies posted

Dear,

1. How to send VDM Discovery Identity request command?

I use dpm_pd_command() to send a VDM_CMD_DSC_IDENTITY Request to port1, but I don't see a message sent from the CC analyzer.

VDM.JPG

 

2. How to capture device VDM Discovery ack information of port partner?

For device VDM Discovery ack information, please refer to the figure below.

HP AC.JPG

Best Regards,
Manu Lin

0 Likes
1 Solution
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Please refer to Section 6.3.7.3 in Power SDK User Guide to send DISCOVER_ID VDM. 

https://community.cypress.com/gfawx74859/attachments/gfawx74859/USBEZPDTypeC/3695/3/CCGx_Power_SDK_U...

Best regards,
Pranava

View solution in original post

0 Likes
4 Replies
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Please refer to Section 6.3.7.3 in Power SDK User Guide to send DISCOVER_ID VDM. 

https://community.cypress.com/gfawx74859/attachments/gfawx74859/USBEZPDTypeC/3695/3/CCGx_Power_SDK_U...

Best regards,
Pranava
0 Likes
MaLi_3529141
Level 3
Level 3
25 replies posted 25 sign-ins 10 replies posted

Dear Pranava,

Thank you, using this method solved my problem.

But I have another question:

I want to copy the Discovery ID message read by Port 1 to Port 0.

What should I do to modify the Discovery ID information of Port 0?

 

Best Regards,
Manu Lin

0 Likes
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi Manu,

I did not understand your question completely. You want to send DISCOVER_ID message from Port 1 and receive response from port partner, then treat the response as if it was received by Port 0. Please provide the clarification regarding the same so that I can help better.

Best regards,
Pranava
0 Likes
MaLi_3529141
Level 3
Level 3
25 replies posted 25 sign-ins 10 replies posted

Dear Pranava,

I found a place from pd_command_cb() to grab the Discovery ID message from port parnet.

This issue has been resolved.

Thank you very much for your assistance.

 

Best Regards,
Manu Lin

0 Likes