CCG2/3 Simple USB-C sink application

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
RoLa_1225936
Level 1
Level 1
First like received First like given

The application should cause a power bank to output 5V or 12V depending on whether an external resistor is equipped or not.The application is very price sensitive.

Which controller should I prefer CCG2 or CCG3?

What is the best starting point for the firmware?

How can I influence the PDOs in the source code to switch between 5V and 12V?

Beste regards

Robert

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Robert,

1. The controller I'd like to recommend is CYPD3177 (BCR) for sink only. You can get the datasheet and EVK as below link:

Datasheet: https://www.cypress.com/products/ez-pd-barrel-connector-replacement-bcr

EVK: https://www.cypress.com/CY4533

2. CYPD3177 BCR products do not need firmware customize, you just need hardware design is enough for control fixed PDO with 5V. 9V request. Details information can get it from https://www.cypress.com/file/460541/download

3. If you insist to customize firmware by yourself, CCG2 or CCG3 or CCG4 or CCG3PA can be selected by you. You can start from EZ-PD CCGx SDK. Download link:

https://www.cypress.com/documentation/software-and-drivers/ez-pd-ccgx-power-software-development-kit

https://www.cypress.com/documentation/software-and-drivers/ez-pd-software-development-kit

4. You can mask 12V if you just want to have 5V request by function:

/**

* @brief This function updates the sink PDO mask at runtime thereby

* overriding the sink PDO mask specified in the config table.

* @param port Port index.

* @param mask PDO mask.

* @return CCG_STAT_SUCCESS if operation is successful, CCG_STAT_BAD_PARAM

* otherwise.

*/

ccg_status_t dpm_update_snk_cap_mask(uint8_t port, uint8_t mask);

Best Regards,

Lisa

View solution in original post

3 Replies
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Robert,

1. The controller I'd like to recommend is CYPD3177 (BCR) for sink only. You can get the datasheet and EVK as below link:

Datasheet: https://www.cypress.com/products/ez-pd-barrel-connector-replacement-bcr

EVK: https://www.cypress.com/CY4533

2. CYPD3177 BCR products do not need firmware customize, you just need hardware design is enough for control fixed PDO with 5V. 9V request. Details information can get it from https://www.cypress.com/file/460541/download

3. If you insist to customize firmware by yourself, CCG2 or CCG3 or CCG4 or CCG3PA can be selected by you. You can start from EZ-PD CCGx SDK. Download link:

https://www.cypress.com/documentation/software-and-drivers/ez-pd-ccgx-power-software-development-kit

https://www.cypress.com/documentation/software-and-drivers/ez-pd-software-development-kit

4. You can mask 12V if you just want to have 5V request by function:

/**

* @brief This function updates the sink PDO mask at runtime thereby

* overriding the sink PDO mask specified in the config table.

* @param port Port index.

* @param mask PDO mask.

* @return CCG_STAT_SUCCESS if operation is successful, CCG_STAT_BAD_PARAM

* otherwise.

*/

ccg_status_t dpm_update_snk_cap_mask(uint8_t port, uint8_t mask);

Best Regards,

Lisa

Hi Lisa,

thanks for the reference to the CYPD3177, I didn't have it on my screen yet, maybe because the datasheet still has PRELIMINARY status.

Shouldn't all 0 ohms in the resistance table on page 9 be open and vice versa?

pastedImage_1.png

I ordered the development board and will play around with it.

Best regards

Robert

0 Likes

Hi Robert,

0 on pull-down side = ground to GND.

0 on pull-down side = short to VDDD.

OPEN is not connected.

Best Regards,

Lisa

0 Likes