CYPD 3171 + SC8815 Software solutions?

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
Kennedy
Level 1
Level 1
First question asked Welcome!

Hello, I am currently developing a USB PD power bank that utilizes bi-directional 60W input and 100W output. My plan is to use SC8815 I2C bidirectional buck-boost controller for Power and CYPD 3171 as the PD controller. I want to use CYPD3171 to control SC8815 over I2C to configure SC8815 modes(input and output) as well as output and charging voltage, etc. I also want CYPD3175 to inform the main MCU of PD modes, voltages, currents etc. My question is that what is the best way to achieve this functionality? Should I use EZ-PD config utility or PSOC programmer to write the code? Also, how should I upload the program onto CYPD3175, can I use an ST-Link, or use another MCU over I2C? Can someone recommend me a software and programmer combo? I saw this reference design using sc8915 which is extremely similar to my application, and I think I am going to reference the schematic, but I don't see where the code is located, could someone also inform me of where it is located so I can use it as a reference if possible? I am new to the CCG3 ecosystem, thank you very much!

 

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

>> To get started with the firmware development you can download the Power SDK : https://www.cypress.com/documentation/software-and-drivers/ez-pd-ccgx-power-software-development-kit

In the SDK, you can begin with the CYPD3171-24LQXQ_pb and then customize the firmware as per your requirements. The default SDK code is based on the CY4532 kit (https://www.cypress.com/documentation/development-kitsboards/cy4532-ez-pd-ccg3pa-evaluation-kit). You can customize the firmware as per the schematic of your reference design and add I2C functionalities.

>> For programming firmware onto the CCG3PA chip, please refer to Q1 under SOFTWARE in this KBA: https://community.cypress.com/t5/Knowledge-Base-Articles/CCG3PA-Hardware-and-Software-FAQs-KBA231523...

CCG3PA devices can be programmed using the SWD interface and CC interface. CY8CKIT-002 and PSoC Programmer are required for SWD programming. It can program the flash as well as the application firmware. Generally, the CCG3PA devices are programmed over SWD interface only during the development phase. Once the end product is manufactured, the CCG3PA's application firmware can be upgraded via the CC bootloader interface. For this you need cc bootloading hardware like the CY4532 power board and EZ PD Configuration Utility.

 

Please let me know if you face any issues on this.

Best Regards,

Mallika

 

View solution in original post

0 Likes
1 Reply
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

>> To get started with the firmware development you can download the Power SDK : https://www.cypress.com/documentation/software-and-drivers/ez-pd-ccgx-power-software-development-kit

In the SDK, you can begin with the CYPD3171-24LQXQ_pb and then customize the firmware as per your requirements. The default SDK code is based on the CY4532 kit (https://www.cypress.com/documentation/development-kitsboards/cy4532-ez-pd-ccg3pa-evaluation-kit). You can customize the firmware as per the schematic of your reference design and add I2C functionalities.

>> For programming firmware onto the CCG3PA chip, please refer to Q1 under SOFTWARE in this KBA: https://community.cypress.com/t5/Knowledge-Base-Articles/CCG3PA-Hardware-and-Software-FAQs-KBA231523...

CCG3PA devices can be programmed using the SWD interface and CC interface. CY8CKIT-002 and PSoC Programmer are required for SWD programming. It can program the flash as well as the application firmware. Generally, the CCG3PA devices are programmed over SWD interface only during the development phase. Once the end product is manufactured, the CCG3PA's application firmware can be upgraded via the CC bootloader interface. For this you need cc bootloading hardware like the CY4532 power board and EZ PD Configuration Utility.

 

Please let me know if you face any issues on this.

Best Regards,

Mallika

 

0 Likes