background image

 

Getting Started with EZ-

PD™ CCG3PA 

 

www.cypress.com

 

Document No. 002-18179 Rev. ** 

22 

5.3 

Configure CCG3PA Device with Updated Configuration Parameters Using the EZ-PD 
Configuration Utility 

The next step in modifying the CCG3PA device‘s behavior is to replace the firmware that was read from the device 
with the modified firmware from Section 5.2.  Firmware updates of this scale are the most common and can be done 
in the EZ-PD Configuration Utility.  Modifications that will be running new, custom code will require PSoC Creator with 
the CCG SDK 3.0.2 add-on and special CCG3PA supplement (available from your local FAE). 

1. 

If you don‘t have the modified project open from Section 5.2, open the project in the EZ-PD Configuration Utility. 

2.  Ensure that the connection between the CY4532 CCG3PA EVK and the PC running EZ-PD Configuration Utility 

is the same as described in step 1 of Section 5.2.   

3.  Click 

Tools

 > 

Configure device

.  The CCG3PA device should show up 

as ―UFP-AMA‖ under 

Select Target

 in a 

similar fashion as when the configuration was read from the device.   Point to the configuration file saved at the 
end of Step 5 of Section 5.2. Click 

Program;

 the EZ-PD Configuration Utility will load the modified parameters 

onto the device and a message 

Flash updated successfully

‖ will pop up. Recycle power to the CY4532 kit by 

toggling switch SW1 on the power board. 

5.4 

Re-test CY4532 CCG3PA EVK Setup with Modified 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 identically while observing different results.  The different 
voltages advertised should lead to a new voltage being output on the J4 terminal. 

1.  Ensure that the CCG3PA device of the CY4532 CCG3PA EVK has the configuration that was modified in Section 

5.3. Confirm that the jumpers are still correct by consulting the silk screen on the CCG3PA EVK. 

2.  Connect the EVK, EZ-PD Protocol Analyzer, and multimeter similar to how they were configured in Section 5.1. 

Make sure that the MacBook is 

not

 connected via the EZ-PD Protocol Analyzer to the Type-C port yet. 

3.  If it is not already open, launch the EZ-PD Analyzer Utility. Click on the 

Start Capturing

 icon shown in 

Figure 14

 

to start capturing the CC traffic. 

4.  Connect  the  MacBook  to  the  Type-C  receptacle  of  the  CY4500  EZ-PD  Protocol  Analyzer  (see 

Figure  15

)

Observe that the PD traffic is being captured on the EZ-PD Analyzer Utility.  

5.  A successful PD contract can be seen from the PD message sequence. Just as before, the Type-C device used 

in  this  example  is  a  UFP  (Sink/Power  Consumer)  and  the Type-C port  of  the  CY4532  CCG3PA  EVK  is  a  DFP 
(Source/Power Provider). Looking at the ‗VBUS‘ column in 

Figure 19

, it can be seen that the VBUS voltage is set 

to  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. 

Содержание CY4532 EZ-PD CCG3PA

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: