- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
Solved! Go to Solution.
- Labels:
-
USB EZ-PD Type-C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)