cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD™ Type-C

Raro_2284361
New Contributor II

https://www.cypress.com/documentation/reference-designs/ez-pd-ccg3-usb-type-c-charge-through-dongle

https://www.cypress.com/knowledge-base-article/ccg3-charge-through-dongle-kba216840

Its Super Nice to give us examples of hardware design yet there is no code available for CCG3, (there is not even an example code in this project) we have built this PCB and it appears that standard Host SDK does not support data transfer and Power Sourcing simultaneously  . We are using this with Mobile devices and if we sink at 5V to the reference board we have data pass through if however we set the configuration to be a source it provides PD power but no data pass through. It seems that a sink request needs to happen to place the mobile device into OTG mode and than do a PR swap to provide power, not sure how this is done as the SDK does not provide this info (or at least we are unable to decipher it)

How do we resolve this issue, Any and All Help Please

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator

Hi Rad,

1. CCG3 Charge through Dongle Firmware (PsoC project files) is available on https://www.cypress.com/documentation/software-and-drivers/ez-pd-sdk-v302-ccg2-all-applications-ccg3...

The firmware name is: CYPD3123-40LQXI_ctd_us

2. For PR_SWAP request example code, You can refer my customize code for your reference. The file is aims for initial PR_SWAP and DR_SWAP to make sure Type-C port which is controlled by CCG3 is Power Source and Data Device (USB Device or DisplayPort sink).

You just need add them into CYPD3123-40LQXI_ctd_us project with PSoC Creator and call it as below in main.c.

pastedImage_0.png

Best Regards,

Lisa

View solution in original post

0 Likes
5 Replies
HirotakaT_91
Moderator
Moderator

Hello,

I will clarify your concerns.

- Firmware does not include core part of PD contract as a source code.

- CCG3 CYPD3123 is factory pre-programmed.

- Application Firmware sample is available on https://www.cypress.com/documentation/software-and-drivers/ez-pd-sdk-v302-ccg2-all-applications-ccg3...

PR_Swap means that swap Source (Rp) and Sink (Rd). For more information, kindly refer to Type-C Spec.

If you have PD protocol analyzer (e.g., CY4500​​), it would be helpful to comprehend what happened on the procedure.

May I ask you some questions? since I would like to clarify your issue.

Are you connecting Mobile devices instead of Notebook?

Do mobile devices correspond to PD? Are these DRP devices?

Best regards,

Hirotaka Takayama

0 Likes
Raro_2284361
New Contributor II

Hi,

We are running many tests on market available devices like Nexus, Apple, Samsung, Hp, Asus etc.

All devices in our tests are DRP capable and comply to USB PD specification

Our request is for API support with available PSOC SDK code so we can build one firmware to provide data access while charging at the same time across all devices

Rad

Sent from Rads iPhone

0 Likes
Raro_2284361
New Contributor II

Please let us know what SDK was used for this code and if possible provide us with the PsoC project files

0 Likes
ShifangZ_26
Moderator
Moderator

Hi Rad,

1. CCG3 Charge through Dongle Firmware (PsoC project files) is available on https://www.cypress.com/documentation/software-and-drivers/ez-pd-sdk-v302-ccg2-all-applications-ccg3...

The firmware name is: CYPD3123-40LQXI_ctd_us

2. For PR_SWAP request example code, You can refer my customize code for your reference. The file is aims for initial PR_SWAP and DR_SWAP to make sure Type-C port which is controlled by CCG3 is Power Source and Data Device (USB Device or DisplayPort sink).

You just need add them into CYPD3123-40LQXI_ctd_us project with PSoC Creator and call it as below in main.c.

pastedImage_0.png

Best Regards,

Lisa

View solution in original post

0 Likes
Raro_2284361
New Contributor II

Thank YOU, we will try now

0 Likes