cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

TaAi_1278401
New Contributor II

Hi

I want to create CYPD3125 used dp dongle project.

My procedure is based on the CY3120DP dongle in the SDK and I'm trying to replace it with CY3125.

I also want  to add the HPI component to use EZ-PD Configuration Utility.

but, Showed build error "Build error: undefined reference to `hpi_pd_event_handler'" and more at notes list.

Is my method wrong?

1. copy HPI component from CYPD3125 notebook SDK.

2.add hpi.h in Header Files

3.HPI enable in config.h

#define CCG_HPI_ENABLE (1u)

#define CCG_HPI_PD_ENABLE (1u)

Best Regard.

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator

Hello ,

The concerned Marco define is:

/* Enable USB-I2C master bridge mode support. */
//#define APP_I2CM_BRIDGE_ENABLE (0u) 

/* Enabling flashing of the device via USB interface. */
#define FLASHING_MODE_USB_ENABLE (0u) 

Best Regards,

Lisa

View solution in original post

0 Likes
3 Replies