CG3PA Control of "VBUS_P_CTRL" in PSoC Creator

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
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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
1 Solution
HirotakaT_91
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

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
2 Replies
HirotakaT_91
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

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

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

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