cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

MaMi_1205306
Honored Contributor

Hi,

We are considering CYPD3175 of CCG3PA.

We have confirmed the CYPD3175 sample project of "EZ-PD CCGx Power SDK" from PSoC Creator.

So we have confirmed the function of "VBUS_P_CTRL".
We have confirmed various .c and .h files, but can't find them.

Please tell us where it is listed?

Regards,

0 Likes
Reply
1 Solution
HirotakaT_91
Moderator
Moderator

Hello,

You can refer to following definition on config.h

#define APP_VBUS_SRC_FET_ON_P1()                    pd_internal_pfet_on(0, false)

#define APP_VBUS_SRC_FET_OFF_P1()                  pd_internal_pfet_off(0, false)

These definition calls pd_internal_pfet_on/off() function.

These functions are described on pdss_mx_hal.c

These functions usage can refer to pdss_hal.h or CCGx_Power_SDK_API_Guide.pdf

Best regards,

Hirotaka Takayama

View solution in original post

0 Likes
Reply
2 Replies
HirotakaT_91
Moderator
Moderator

Hello,

You can refer to following definition on config.h

#define APP_VBUS_SRC_FET_ON_P1()                    pd_internal_pfet_on(0, false)

#define APP_VBUS_SRC_FET_OFF_P1()                  pd_internal_pfet_off(0, false)

These definition calls pd_internal_pfet_on/off() function.

These functions are described on pdss_mx_hal.c

These functions usage can refer to pdss_hal.h or CCGx_Power_SDK_API_Guide.pdf

Best regards,

Hirotaka Takayama

View solution in original post

0 Likes
Reply
MaMi_1205306
Honored Contributor

Takayama-san,

Thank you for presenting the material.
I will try to read and understand the "CCGx Power SDK API Guide.pdf"t.

Regards,

0 Likes
Reply