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
to start capturing the CC traffic.
4. Connect the MacBook to the Type-C receptacle of the CY4500 EZ-PD Protocol Analyzer (see
).
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
, 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.