cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD™ Type-C

Geromino
Contributor II

CCG3PA Power Adapter with Direct Feedback Control    example   from PSoC  creator   build falied  when use  below function

how  set  high/low  VBUS_C_CTRL  pin  which  API shuld use ?

pd_internal_cfet_off(0, false);

pd_internal_cfet_on(0, false);

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator

Hello,

The API you have used for VBUS_P_CTRL is fine. The problem is in the design of your network.

You can connect a pull-up resistor between the base of NPN and 9V, else as per your design the pin will remain at High Z or Low.

An alternative is replacing NPN with PNP but the first one would be easier to do.

Best Regards,

Mallika

Mallika

View solution in original post

0 Likes
4 Replies
PranavaYN
Moderator
Moderator

Hi,

VBUS_C_CTRL is a dedicated pin used to control Consumer FETs. Since you are using Power Adapter application, and Consumer FET is not used in your design you can not use the mentioned API.

VBUS_C_CTRL can not be used as a general GPIO. This pin should not be used in Power Adapter application.

Regards,

Pranava

Best regards,
Pranava
0 Likes
MallikaK_22
Moderator
Moderator

Hello,

VBUS_C_CTRL is a gate driver pin for the consumer FET.

Since you are using the Power Adapter project, consumer FET is not required in your design and thus cannot be used.

For Power Adapter applications, VBUS_C_CTRL pin can be left unconnected.

VBUS_C_CTRL is a simple pull-down switch where it pulls the line LOW to turn ON the FET and stays at High-Z to turn OFF the FET.

Best Regards,

Mallika

Mallika
0 Likes
Geromino
Contributor II

in our application  we  implement  VBUS_C_CTRL  as  LED control via FET

see attached image  ( it  is  example  which resemble to FET )

which API  from power SDK   we shall use  in order VBUS_C_CTRL   low/high

or please provide  example

addtional issue  with VBUS_P_CTRL  which API   we could use in order low/high

i try  to use  this function    inside   led_timer_cb   priod of 1 sec

pd_internal_pfet_off(0, false);

pd_internal_pfet_on(0, false);

is there additional  condition  in which  above  API  should use   like check  condition id pdm or app_status ?

in DEBUG CONNECTOR  pin 8,9  are VBUS_P_CTRL   and VBUS_C_CTRL   i connect wire  and connect to scope i didnt see any changes on these pins

0 Likes
MallikaK_22
Moderator
Moderator

Hello,

The API you have used for VBUS_P_CTRL is fine. The problem is in the design of your network.

You can connect a pull-up resistor between the base of NPN and 9V, else as per your design the pin will remain at High Z or Low.

An alternative is replacing NPN with PNP but the first one would be easier to do.

Best Regards,

Mallika

Mallika

View solution in original post

0 Likes