cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

YuMa_3698771
New Contributor

Hello Expert

         I'm using CYPD4226-40LQXIT.But I wonder which one can be used as GPIO?which one is special function pad? Is there any document giving detailed description about each pad function and alt function?

Thanks and Best regards

Mayue

0 Likes
1 Solution
YiZ_31
Moderator
Moderator

Hi Mayue,

You can take a look at the pin diagram in PSoC Creator. All the blue pins can be modified. You can set VBUS_DISCHARGE_P1 function to other pin and assign new function to Pin 2[5].

搜狗截图20190911102731.png

Regards,
Eddie

View solution in original post

0 Likes
3 Replies
YiZ_31
Moderator
Moderator

Hi Mayue,

You can refer to the Pinouts of CCG4 datasheet:

https://www.cypress.com/documentation/datasheets/ez-pd-ccg4-datasheet-usb-type-c-port-controller

All the pins in VBUS Control, VCONN ControlOvervoltage Protection (OVP) and GPIOs and Serial Interfaces can be configured as common GPIO. And their function in default firmware are listed in Description column.


Regards,

Eddie

0 Likes
YuMa_3698771
New Contributor

Hi Eddie

    Thank you for support!  I'm going to use PIN20 VBUS_DISCHARGE_P1 as a GPIO. I want to know if it can do and If it has interrupt function? Who will control 6 PINs of VBUS control ? How do they work? May I change their function?

Thanks and Best regards

Mayue

0 Likes
YiZ_31
Moderator
Moderator

Hi Mayue,

You can take a look at the pin diagram in PSoC Creator. All the blue pins can be modified. You can set VBUS_DISCHARGE_P1 function to other pin and assign new function to Pin 2[5].

搜狗截图20190911102731.png

Regards,
Eddie

View solution in original post

0 Likes