cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

NaMe_2085021
New Contributor II

Hi everyone,

I use  SDK CYPD3120-40LQXI_dp_dongle and want a little change  your code with help PSoC Creator 3.3.  But I don't now how. Could you help me?.

So, my question sounds that:

How to disable alternate mode and connect USB USB interface to control device from computer?

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator

Hi ,

Please disable macro define

/* Enable Alternate mode support as UFP. */

#define UFP_ALT_MODE_SUPP                           (0u)

/* Enable DP Alternate mode support in UFP mode. */

#define DP_UFP_SUPP                                 (0u)

/* Enable HPD receive functionality. */

#define CCG_HPD_RX_ENABLE                           (0u)

/* Enable DP Sink mode as a C-DP Dongle. */

#define DP_UFP_DONGLE                               (0u)

in the example firmware.

Best Regards,

Lisa

View solution in original post

0 Likes
5 Replies
ShifangZ_26
Moderator
Moderator

Hi ,

Please disable macro define

/* Enable Alternate mode support as UFP. */

#define UFP_ALT_MODE_SUPP                           (0u)

/* Enable DP Alternate mode support in UFP mode. */

#define DP_UFP_SUPP                                 (0u)

/* Enable HPD receive functionality. */

#define CCG_HPD_RX_ENABLE                           (0u)

/* Enable DP Sink mode as a C-DP Dongle. */

#define DP_UFP_DONGLE                               (0u)

in the example firmware.

Best Regards,

Lisa

View solution in original post

0 Likes
NaMe_2085021
New Contributor II

Hi Lisa,

When I disabled macro define, I had error: arm-none-eabi-gcc.exe' failed with exit code '1'.

Best regards,

Nazar Melnichek

0 Likes
ShifangZ_26
Moderator
Moderator

Hi Nazar,

Could you please screen shot the output of error? Or attach your firmware project in this threads?

Best Regards,

Lisa

0 Likes
NaMe_2085021
New Contributor II

Hi Lisa,

Attached the project.

Best regards,

Nazar

0 Likes
ShifangZ_26
Moderator
Moderator

Hi Nazar,

Please kindly use attached project.

Best Regards,

Lisa

0 Likes