CCG2 development environment - What is the process to setup?

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
lock attach
Attachments are accessible only for community members.
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

Having difficulty setting up the development environment to program CCG2 components.

It appears the EZ-PD Configuration Utility is only capable of changing configuration settings in the CCG parts and not adding logic for additional GPIO.

Documentation points to PSoC Creator for adding logic and pin functionality.

If so, what is the process to enable CCGx support in PSoC Creator?

Attached are screen shots of PSoC Creator with and without CCGx support.

How do I enable CCGx support to the PSoC Creator installation that doesn't currently show that support?

Greg

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

Hi Greg,

1. Since you have been attached the screen shots of PSoC Creator with and without CCGx support, I have to request you supply the PSoC Creator revision for reference. Below revision information for your reference.

a. For EZ-PD CCGx SDK, below version is best version for it. Of course, if you installed later version also can use it.

pastedImage_0.png

b. For EZ-PD CCGx HOST SDK and EZ-PD CCGx POWER SDK, the best practice version is below:

pastedImage_1.png

2. You are correct that the Ez-PD configuration Utility cannot configure a GPIO function. The firmware customer shall be completed by add GPIO operation in PSoC Creator. If you want to know how to add a GPIO into the example project, below link can be reference. This is Application Notes of PSoC4. It is same usage of CCGx devices.

https://china.cypress.com/documentation/application-notes/an86439-psoc-4-using-gpio-pins

Since CCGx is ARM M0+ MCU, so that CCGx is not create duplicate documentation for it.

3. To enable CCGx device, the best way is install concerned SDK. The download link is below:

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

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

Best Regards,

Lisa

0 Likes

Lisa,

Thanks for your quick response.

The rough version of Creator in the pictures attached is noted in the top left corner as 4.2.

The About screens do show the Installed Products.

The installation I have of PSoC Creator 4.2 that has CCG support shows CCG EVK is installed

pastedImage_0.png

The installation of PSoC Creator with NO CCG support  also shows CCG2 EVK is installed

pastedImage_6.png

What needs to be done to allow CCG2 to show up as an option on the Target Device selection screen in PSoC Creator?

pastedImage_7.png

We've loaded “Download CCGx SDK v3.0.2 Only (Firmware stack and examples)” from https://www.cypress.com/documentation/software-and-drivers/ez-pd-sdk-v302-ccg2-all-applications-ccg3...

Is there something else needed?

Greg

0 Likes

Hi Greg,

From the screen shot you shared above, the CCG2 is showed up. May I know what's your question? I guess I am confused now.

Best Regards,

Lisa

0 Likes

Lisa,

The CCG options don't initially show up when PSoC Creator is installed.

My question is:

- What are the specific steps to add CCG capability to PSoC Creator?

I’m guessing it involves downloading one of the SDKs and some files  from one of the CCG kits webpages.

I just kept downloading files and programs until I finally saw the CCG options pop up. I don’t know which files were necessary.

Here’s some of the files and programs I installed after installing PSoC Creator:

- Load the “Download CCGx SDK v3.0.2 Only (Firmware stack and examples)” from https://www.cypress.com/documentation/software-and-drivers/ez-pd-sdk-v302-ccg2-all-applications-ccg3...

- Download and Run “CY4502 EZ PD CCG2 Development Kit Setup Package” from the website CY4502 EZ-PD™ CCG2 Development Kit @ https://www.cypress.com/documentation/development-kitsboards/cy4502-ez-pd-ccg2-development-kit?sourc...

- Download and Run “CY4521 EZ-PD CCG2 Setup” from the website CY4521 EZ-PD™ CCG2 Evaluation Kit @ https://www.cypress.com/documentation/development-kitsboards/cy4521-ez-pd-ccg2-evaluation-kit?source...

I also checked:

If CCG2 projects were loaded to the default location on the computer, they should be @

C:\Program Files (x86)\Cypress\EZ-PD CCGx SDK\CCG2\Firmware\projects\

There should be three example directories:

- Mobile

- Notebook

- Power_Adapter

Verify there’s a “CCGx SDK Files” option in the Windows Start options. If it’s there, does opening that up lead to a CCG2 director that contains both Documentation and Firmware?

If the above instructions are all that's needed, we can mark this as "Correct Answer". If there's additional files or programs required to be able to program CCG2 or any other CCG offerings within PSoC Creator, pleas add that information here.

Thanks for your support.

My question is:

  • What are the specific     steps to add CCG capability to PSoC Creator?

I’m guessing it involves downloading one of the SDKs and some files  from one of the CCG kits webpages.

I just kept feeding the customer more files to download and programs to install until he finally saw the CCG options pop up. We don’t know which files were necessary.

Here’s some of the files and programs I instructed him to install:

I also asked him to check:

If CCG2 projects were loaded to the default location on your computer, they should be @

C:\Program Files (x86)\Cypress\EZ-PD CCGx SDK\CCG2\Firmware\projects\

There should be three example directories:

-          Mobile

-          Notebook

-          Power_Adapter

Verify there’s a “CCGx SDK Files” option in the Windows Start options. If it’s there, does opening that up lead to a CCG2 director that contains only Documentation and no Firmware?

0 Likes

Hi Greg,

One package to help you add all of CCG2 into PSoC Creator, Download CCGx SDK v3.0.2 Installer (PSoC Creator, EZ-PD Configuration Utility, Firmware stack and ex...

Best Regards,

Lisa

0 Likes