How disable alternate mode in CYPD3120?

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
NaMe_2085021
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked

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
Moderator
10 likes given 250 sign-ins 1000 replies posted

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
Moderator
10 likes given 250 sign-ins 1000 replies posted

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

0 Likes

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

Hi Nazar,

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

Best Regards,

Lisa

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Lisa,

Attached the project.

Best regards,

Nazar

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Nazar,

Please kindly use attached project.

Best Regards,

Lisa

0 Likes