CCG6 DisplayPort Responder NAK

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
lock attach
Attachments are accessible only for community members.
heathholcomb
Level 3
Level 3
10 sign-ins 5 replies posted 5 sign-ins

I have a UFP (sink) design that uses the CCG6 (CYPD6125) that connects to a LCD and to a HX3 (USB 2&3) hub. I need to configure the CCG6 to connect in type-c DisplayPort alt mode. When trying to enter the DisplayPort alt mode the board sends a "Responder NAK".

heathholcomb_0-1620249166545.png

 

0 Likes
1 Solution
heathholcomb
Level 3
Level 3
10 sign-ins 5 replies posted 5 sign-ins

I was able to get past the NAK issue by doing to things.

1 - Set SVID to C0045
2 - Create a Base Alternate Mode, and give is a value of FF01 (the SVID displayport number)

heathholcomb_0-1620421450564.pngheathholcomb_1-1620421463185.png

 

 

 

View solution in original post

0 Likes
2 Replies
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hello,

 

CCG6 CYPD6125 example firmware is not enabled UFP_D by default. You could see that the concerned define is 

/* Disable alternate mode support when device is UFP. */
#define UFP_ALT_MODE_SUPP (0u)

I have noticed that you have enabled this in the config.h. Only enable this is not enough for enable all process of Alternate Mode UFP. Please kindly refer below content and check the code on your hand have been added in your code or not.

https://community.cypress.com/t5/Resource-Library/CONFIG-CCGx-FIRMWARE-FOR-DISPLAYPORT-SOURCE-AND-SI... 

And then, test it, if the NAK still here, you need check API :static void dp_ufp_run(uint8_t port)

case DP_STATE_CONFIG: 

And then, change the condition here:

if (
((is_config_correct(port)) &&
(dp_config & dp[port].partner_dp_pins_supp)) ||
(dp_get_vdo(port)->dp_cfg_vdo.sel_conf == USB_CONFIG_SELECT)
)

 

Best Regards,

Lisa

0 Likes
heathholcomb
Level 3
Level 3
10 sign-ins 5 replies posted 5 sign-ins

I was able to get past the NAK issue by doing to things.

1 - Set SVID to C0045
2 - Create a Base Alternate Mode, and give is a value of FF01 (the SVID displayport number)

heathholcomb_0-1620421450564.pngheathholcomb_1-1620421463185.png

 

 

 

0 Likes