Cypress EZ-PD CCG3PA Getting Started
Hide thumbs Also See for EZ-PD CCG3PA:

Advertisement

Quick Links

Getting Started with EZ-PD™ CCG3PA
AN218179 introduces the USB Type-C EZ-PD™ CCG3PA controller. It provides a brief overview of the CCG3PA
architecture, its features and applications, and covers the evaluation kit in detail along with the development and
debugging tools that can be used. It also references CCG3PA resources to help you ramp up quickly with your
product designs.
Contents
1 Introduction .................................................................. 1
1.1 EZ-PD CCG3PA Features .................................. 1
1.2 CCG3PA Block Diagram ..................................... 3
1.3 Prerequisites ....................................................... 3
1.4 CCG3PA Design Flow ........................................ 4
1.5 CCG3PA Resources ........................................... 5
2 CCG3PA Hardware Details ......................................... 5
2.1 CY4532 EZ-PD CCG3PA EVK ........................... 5
2.2 CY4500 EZ-PD Protocol Analyzer ...................... 7
3.2 Flash Memory Organization ................................ 9
3.3 Firmware Build Environment ............................... 9
3.4 Firmware Configurable Features ....................... 12
3.5 Firmware Operation .......................................... 12
1

Introduction

EZ-PD CCG3PA belongs to Cypress's family of USB Type-C controllers that complies with the latest USB Type-C
and Power Delivery (PD) standards. In addition, with the built-in overvoltage protection (OVP) and overcurrent
protection (OCP), it helps to reduce the need for additional components and the overall cost of a Type-C ecosystem.
Typical applications using CCG3PA include mobile power adapters, PC power adapters, power banks, and car
chargers.
1.1

EZ-PD CCG3PA Features

Type-C Support and USB-PD Support
Supports USB PD 3.0 spec including Programmable Power Supply Mode
Configurable Resistors R
Supports one USB Type-C port and one Type-A port
www.cypress.com
Associated Software:
Related Application Notes:
and R
P
D
Document No. 002-18179 Rev. **
Author: Benjamin Avery
Associated Part Family: CYPD317x
TM
EZ-PD
Firmware Development and Debugging .................... 13
4.1 EZ-PD Configuration Utility ............................... 13
4.2 EZ-PD Analyzer Utility ...................................... 15
Modification Example ................................................ 16
Power Sink (Apple MacBook) ........................... 17
EZ-PD Configuration Utility ............................... 20
EZ-PD Configuration Utility ............................... 22
AN218179
Configuration Utility
AN210403, AN200210
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EZ-PD CCG3PA and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress EZ-PD CCG3PA

  • Page 1: Table Of Contents

    3.6 Programming Firmware in CCG3PA Devices ... 12 Introduction EZ-PD CCG3PA belongs to Cypress‘s family of USB Type-C controllers that complies with the latest USB Type-C and Power Delivery (PD) standards. In addition, with the built-in overvoltage protection (OVP) and overcurrent protection (OCP), it helps to reduce the need for additional components and the overall cost of a Type-C ecosystem.
  • Page 2 ± 8-kV Contact Discharge and ± 15-kV Air Gap Discharge based on IEC61000-4-2 level 4C  Packages  24-pin QFN and 16-pin SOIC  Supports extended industrial temperature range (-40° C to +105° C) www.cypress.com Document No. 002-18179 Rev. **...
  • Page 3: Ccg3Pa Block Diagram

    This section lists the hardware and software required to get started with CCG3PA devices. 1 . 3 . 1 H a r d w a r e  CY4532 EZ-PD CCG3PA Evaluation Kit (EVK)  PC with Windows 7 or later and at least one Type-A USB port ...
  • Page 4: Ccg3Pa Design Flow

    EVK OR use custom prototype hardware Build reference schematic based on application. (Refer to CCG3PA datasheet, reference design CCG3PA Minor page, or contact Cypress for Modifications? reference design schematics) Use EZ-PD Start with CCGx SDK. Do board design & build Configuration Make application prototypes for test &...
  • Page 5: Ccg3Pa Resources

    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.
  • Page 6 Type-C interface. The kit is intended 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.
  • Page 7: Cy4500 Ez-Pd Protocol Analyzer

    It performs nonintrusive probing, and captures accurate protocol messages on the CC line. This analyzer consists of Cypress‘s programmable MCU (PSoC 5LP), which monitors the data on the CC line and sends the data to the host application over a USB interface. The Type-C plug and Type-C receptacle on this analyzer provide a pass-through for the Power Delivery (PD) packets transmitted between each Type-C PD connection.
  • Page 8: Ccg3Pa Firmware Architecture Overview

    External Hardware Control: This is a hardware-design-dependent module that controls external hardware blocks such as FETs, regulators, and Type-C switches. Solution-specific tasks: This is an application layer module where any custom tasks required by the user solution can be implemented. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 9: Flash Memory Organization

    7. The PSoC Creator compiler tool chain is ® Creator™ for ARM GCC (build 493, provided along with the PSoC Creator build). Refer to the Help file in PSoC more details on the PSoC Creator build environment. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 10 (SDK) is a PSoC Creator project that allows you to harness the capabilities of Cypress‘s CCG families of Type-C Controllers. It provides a firmware stack compliant with Type-C and USB-PD specification along with the necessary drivers and software interfaces required to implement applications using CCG controllers.
  • Page 11 Figure 8 shows the 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 successfully compiled and built. In every PSoC Creator project, a chip-level design schematic diagram is included. This schematic is located in the TopDesign.cysch file.
  • Page 12: Firmware Configurable Features

    Programming Firmware in CCG3PA Devices There are two methods to program CCG3PA devices:  Using the EZ-PD Configuration Utility (utilizing the bootloader)  Using a MiniProg3 device and PSoC Creator or PSoC Programmer software (utilizing the SWD interface) www.cypress.com Document No. 002-18179 Rev. **...
  • Page 13: Software Tools For Ccg3Pa Application Firmware Development And Debugging

    You can download and install this tool from the Cypress website. After installation, launch the utility from the following location in the Windows Start Menu: All Programs > Cypress > EZ-PD Configuration Utility > EZ-PD Configuration Utility. Figure 10 shows the utility running on a Windows machine.
  • Page 14 Device configuration: Program the device flash using the Configure Device option. See the EZ-PD Configuration Utility User Manual for more details on firmware update and configuration of the device, found in the application‘s Help menu. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 15: Ez-Pd Analyzer Utility

    PD messages over CC (for example, PR_SWAP, DR_SWAP, and PDOs) as shown in Figure 12 while the CCG3PA device is establishing a PD contract with the connected Type-C device. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 16: Ccg3Pa Configuration Parameter Modification Example

    Update the configuration parameters (add a sink PDO supported by the device such as 14.8 V, 2 A) by using the EZ-PD Configuration Utility. Transmit the updated configuration parameters into the CCG3PA device by using the EZ-PD Configuration Utility and verify. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 17: Test Cy4532 Ccg3Pa Evk Setup With The Default Configuration And Type-C Power Sink (Apple Macbook)

    DC power jack (J3) of the power board and move switch SW1 to the ON position. Verify that a 5.0 V contract has been established by measuring the voltage on the power output header J4 of the CCGPA baseboard using a multimeter. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 18 Connect the Type-C plug of the CY4500 EZ-PD Protocol Analyzer to the Type-C port of the CCG3PA EVK. Launch the EZ-PD Analyzer Utility from Windows > All Programs > Cypress > EZ-PD Analyzer Utility > EZ-PD Analyzer Utility and click on the Start Capturing icon shown in...
  • Page 19 CCG3PA EVK is a DFP (Source/Power Provider). Looking at the ‗VBUS‘ column in Figure 16, it can be seen that the VBUS voltage is still set to 5 V at the end of the power contract negotiation. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 20: Modify Configuration Parameters Using Ez-Pd Configuration Utility

    Open the EZ-PD Configuration Tool. The GUI should report one device connected in the status bar of the GUI. Go to File > Read from device. Ensure that the 'UFP-AMA' device is selected and then click Read. The EZ-PD GUI will be populated with the firmware settings read from the CCG3PA device. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 21 PDO to be fixed supply, Peak current 0, Voltage (mV) 12000, and maximum current (mA) 1000. See Figure 18 for an example. Figure 18. Configuring a Third PDO to Offer MacBook's Ideal Power Profile Save your project somewhere that is easy to remember. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 22: Configure Ccg3Pa Device With Updated Configuration Parameters Using The Ez-Pd Configuration Utility

    12 V at the end of the power contract negotiation as a result of the added PDO being accepted. Thus, a successful power contract is established at 12-V between the CY4532 CCG3PA EVK and the Type-C device. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 23 Getting Started with EZ-PD™ CCG3PA Figure 19. Establishing a Connection with the New 12-V PDO 12.50 V 12.5V SRC PDO3: 12V, 1A www.cypress.com Document No. 002-18179 Rev. **...
  • Page 24 Getting Started with EZ-PD™ CCG3PA Document History Document Title: AN218179 – Getting Started with EZ-PD™ CCG3PA Document Number: 002-18179 Revision Orig. of Submission Description of Change Change Date 5721256 BARS 5/17/2017 New application note. www.cypress.com Document No. 002-18179 Rev. **...
  • Page 25 Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products.

Table of Contents