background image

 

Getting Started with EZ-

PD™ CCG3PA 

 

www.cypress.com

 

Document No. 002-18179 Rev. ** 

The hardware flow includes building reference schematics based on the end application and doing the board design 
to get a few prototypes ready for the next phase. These reference schematics can be based on the reference designs 
available on 

Cypress‘s CCG3PA 

webpage

The application development flow can get started using the 

CY4532 EZ-PD CCG3PA Evaluation Kit (EVK)

 so that it 

can  proceed  in  parallel  with  hardware  development.  The 

EZ-PD  Configuration  Utility

  can  be  used  to  make  most 

updates to the configuration table of the CCG3PA device (for example, changing PDOs and Vendor IDs). For making 
application-specific  modifications,  you  can  use  the  custom  CCG3PA  FW  Package  in  the 

EZ-PD  CCGx  Software 

Development Kit

 (SDK). 

The  EZ-PD  CCGx  SDK  (referred  to  as  CCGx  SDK  through  the  rest  of  the  document)  along  with  PSoC  Creator 
(version 4.1 or later) can be used when necessary to build the source projects and create firmware binary files.  The 
SDK is only required when source code modification is necessary.  Most projects will not require using PSoC Creator. 

Once  either  configuration  changes  (using  the  EZ-PD  Configuration  Utility)  or  firmware  changes  (using  the  CCGx 
SDK) are made, the 

EZ-PD Configuration Utility

 can be used to update the modified configuration table or to program 

the CCG3PA device. More information on which tool can be used for what purpose is covered in detail in 

Table 2

. 

Once the hardware and application development flows are completed, the existing system design is ready for the test 
and  validation  cycle.  The 

CY4500  EZ-PD  Protocol  Analyzer

  can  be  used  for  testing,  firmware  debugging,  and 

performance  analysis.  Mass  production  and  manufacturing  can  start  once  test  and  validation  is  complete  and  the 
system design is final.  

1.5 

CCG3PA Resources 

Table 1

 lists the web resources available to help you design end applications using CCG3PA devices. 

Table 1. CCG3PA Design Resources

 

Category  

Available Resources 

Datasheet 

CCG3PA datasheet 

Hardware 

CY4532 CCG3PA EVK

 

– Contains documentation and design files 

Programming Specifications 
Document 

Programming specifications 

– Provides guidelines on how to program the flash memory of 

CCG3PA devices (Contact Cypress)

 

Host PC Software 

EZ-PD CCGx SDK 

 

Host PC Software 

Debugging Tools 

EZ-PD Configuration Utility

 1.1 or later (GUI-based Windows application to help you configure 

CCGx controllers ) 

PSoC Creator

 4.1 or later (firmware development tool) 

PSoC Programmer

 3.26 or later (firmware programming tool) 

CY4500 EZ-PD

TM

 Protocol Analyzer

 

– Includes EZ-PD Analyzer Utility and documentation 

Videos 

USB Type-C Essentials

USB Type-C 101 Video Training Series

 

Other Collateral 

CCG3PA specific Knowledge Base Articles

 

Reference Designs 

CCG3PA Datasheet and Reference Designs

 

CCG3PA Hardware Details 

This section discusses the hardware to be used for getting started with the CCG3PA device family. It focuses on the 
CY4532 EZ-PD CCG3PA EVK and the CY4500 EZ-PD Protocol Analyzer. 

2.1 

CY4532 EZ-PD CCG3PA EVK 

The CY4532 EZ-PD CCG3PA EVK consists of a power board and a main board. The CCG3PA device is mounted on 
the  main  board,  which  is  connected  to  the  power  board  to  enable  the  CCG3PA 

device‘s  Type-C  port  functionality. 

Figure 3

 shows a block diagram of the CY4532 EZ-PD CCG3PA EVK architecture. 

Summary of Contents for CY4532 EZ-PD CCG3PA

Page 1: ...Firmware in CCG3PA Devices 12 4 Software Tools for CCG3PA Application Firmware Development and Debugging 13 4 1 EZ PD Configuration Utility 13 4 2 EZ PD Analyzer Utility 15 5 CCG3PA Configuration Par...

Page 2: ...voltage mode Supports low side current sensing for constant current control System Level Fault Protection On chip OVP OCP UVP under voltage protection and SCP short circuit protection Supports OTP one...

Page 3: ...re and software required to get started with CCG3PA devices 1 3 1 Hardware CY4532 EZ PD CCG3PA Evaluation Kit EVK PC with Windows 7 or later and at least one Type A USB port Type C power sink that sup...

Page 4: ...Z PD Configuration Utility to make updates to Configuration Table eg PDO changes Vendor ID etc Use EZ PD Configuration Utility to update the modified configuration table or program CCG3PA device Start...

Page 5: ...eady for the test and validation cycle The CY4500 EZ PD Protocol Analyzer can be used for testing firmware debugging and performance analysis Mass production and manufacturing can start once test and...

Page 6: ...tended as an evaluation vehicle for USB Host systems that house a Type C connector Refer to the CY4532 EZ PD CCG3PA EVK Guide for in depth information about EVK use cases The CY4532 Main Board consist...

Page 7: ...EZ PD Analyzer Utility for running the analyzer required drivers and all relevant documentation An overview of this utility is provided in the EZ PD Analyzer Utility section 3 CCG3PA Firmware Details...

Page 8: ...e policy manager is designed to allow all policy decisions to be made at the application level either on an external Embedded Controller EC or in the CCG3PA firmware itself Application Layer This is t...

Page 9: ...e beginning of the firmware binary Many configuration parameters can be updated by modifying this table using the EZ PD Configuration Utility An overview of this utility is provided in the EZ PD Confi...

Page 10: ...e C and USB PD specification along with the necessary drivers and software interfaces required to implement applications using CCG controllers The CCGx SDK also includes reference projects implementin...

Page 11: ...PSoC Creator workspace file structure for a CCG3PA device based power adapter application PSoC Creator generates bootloadable cyacd files and a Cypress format hex file every time a project is success...

Page 12: ...T VIA SRAM FLAG DEVICE RESET LOW POWER MODE ENTER LOW POWER MODE CONFIGURE WAKEUP SOURCES WAIT FOR INTERRUPT DEEP SLEEP MODE DISABLE WAKEUP SOURCES EXIT LOW POWER MODE INITIALIZATION CONFIGURE PERIPHE...

Page 13: ...ported from version 4 1 or later As described in the Firmware Build Environment section PSoC Creator is used to modify debug and program the firmware into the CCG3PA device This option is required onl...

Page 14: ...w for configuring any CCGx device is completed in three stages 1 Create configuration Create a new configuration from the File menu of the utility or read an existing configuration to be modified 2 Se...

Page 15: ...al 4 2 EZ PD Analyzer Utility The EZ PD Analyzer Utility is a software application that is run along with a CY4500 EZ PD Protocol Analyzer When this utility is run it shows PD messages over CC for exa...

Page 16: ...a simple example of a Type C ecosystem to describe how to change the configuration parameters using the EZ PD Configuration Utility and how to verify the changes using the CY4500 EZ PD TM Protocol Ana...

Page 17: ...e MacBook Since the CCG3PA device is configured for a limited set of PDOs which may or may not be supported by the MacBook a power contract negotiation is required In this case the power adapter will...

Page 18: ...ocol Analyzer and capturing a CC trace 5 Disconnect the MacBook from the EVK and connect CY4500 EZ PD Protocol Analyzer to the PC USB Host using a Micro USB cable 6 Connect the Type C plug of the CY45...

Page 19: ...milar to that in Figure 16 Figure 15 Connecting CY4500 EZ PD Protocol Analyzer to CY4532 CCG3PA EVK MacBook Header Connection J1 1 2 J2 2 3 J5 1 2 J3 NC J6 NC Host PC Micro USB Cable 9 A successful PD...

Page 20: ...t to 4 8 V at the end of the power contract negotiation This confirms that at the initial stage of the setup the power contract of 4 8 V is established between the CY4532 CCG3PA EVK and the Type C dev...

Page 21: ...file PDOs under CCGx Configuration Port 0 PDO Source PDO Click on the Add button in the upper left and configure the new source PDO to be fixed supply Peak current 0 Voltage mV 12000 and maximum curre...

Page 22: ...ied Configuration and Type C Device This section is very similar to the steps taken in Section 5 1 Some of the details will be removed to avoid redundancy but the exercise should be performed almost i...

Page 23: ...Getting Started with EZ PD CCG3PA www cypress com Document No 002 18179 Rev 23 Figure 19 Establishing a Connection with the New 12 V PDO 12 50 V 12 5V SRC PDO3 12V 1A...

Page 24: ...com Document No 002 18179 Rev 24 Document History Document Title AN218179 Getting Started with EZ PD CCG3PA Document Number 002 18179 Revision ECN Orig of Change Submission Date Description of Change...

Page 25: ...t are infringed by the Software as provided by Cypress unmodified to make use distribute and import the Software solely for use with Cypress hardware products Any other use reproduction modification t...

Reviews: