USB EZ-PD™ Type-C Forum Discussions
Hello,
I am checking which FW1 and FW2 each is working on CCG3 with Configuration Utility.
I heard if CCG3 is reset or powered on after power off, FW is toggled.
However, on Configuration Utility, my FW is not changed no more even if I reset and power on.
So let me know when the FW is toggled, and let me know the condition of the toggle.
Best regards,
Show LessI'm using a CYPD3135 and PSoC Creator 3. The CCG3 Technical Reference manual mentions that there is an on die temperature sensor embedded in the 8-bit ADC blocks. However, there isn't much documentation around how to use this sensor. Digging around in some of the generated source code, I found references to a temperature fault event as well. How would I go about enabling the internal temp sensor and the fault interrupt?
Thanks!
Show LessCan you give me an answer to the following questions - thank you. Cypress USB3.1. Controller FX3PD, announced on page 2 of the Cypress roadmap Can you tell me how this is? Are the parts released by now? Is there a current data sheet? Are samples or EVAL boards available? Regards Peter
Show Lessi wanted to make a 2 or 3 port usb type-c based on the CCG3PA so i took the schematic from the CCG3PA 18W Power Bank Reference Design using Southchip, as i don't want any usbe A micro usb so i deteleted the things so i wanted to know i could i add one more CCG3PA and SC8913 to have two port ? is this schematic still corret ?
Show Lessi am trying to use a CCG3 (CYPD3123) to monitor/control the power supply for both a USB-C plug to HDMI converter and a USB hub controller circuit. I need to use an external power supply (16vdc) directly connect to the circuit as show below. I do not use the type-c receptacle in this case. Is it allowed with the CCG3?
Show Less
I currently have a PCB hardware design completed using a CYPD2122-20FNXI (BGA) package CCG2 controller.
The trouble comes when I attempt to program the MCU.
The sample program that I am working with and have modified to the specific use case is in the following sdk
CCGx SDK Version 3.0.2, April 10, 2017
The PSoC version is 3.3 (came bundled with this SDK) and I can't seem to program the chip from PSoC creator.
Due to working with another CCG MCU I have upgraded the PSoC Programmer to version 3.27.3.
I am able to erase/program/read the CYPD2122-20FNXI FLASH in this software, but when I attempt to program using the binary generated in PSoC Creator 3.3 I have a device mismatch error since the project was created for CYPD2122-24LQXI.
When attempting to change the MCU used in the project in PSoC creator I can not find the CYPD2122-20FNXI in the device list.
I am thinking to solve this in one of a few ways...
1. Can I add CYPD2122-20FNXI support to the PSoC 3.3... where can I add this data?
2. Use a newer SDK... the newest SDK 3.2.1 appears to have completely removed CCG2 example code completely, can you confirm this?
3. Install the latest SDK, then copy the projects from SDK 3.0.1 into SDK 3.2.1 and attempt to build... is this possible?
Anyway, what I want to do I think is simple... program the example project ()CYPD2122-24LQXI_mobile) created for CYPD2122-24LQXI into the CYPD2122-20FNXI.
What is the best way to accomplish this?
Show LessI am working with the charge through reference design and attempting to base a product design on it. For development I have had the PCB assembled and have worked out the hardware issues, and now working on software issues.
I am providing links to the other discussions related to this topic.
https://community.cypress.com/thread/36338
https://community.cypress.com/thread/35040
The following is a link to the reference design being talked about.
http://www.cypress.com/documentation/reference-designs/ez-pd-ccg3-usb-type-c-charge-through-dongle
I have been struggling with the software end for over a week and would like some assistance with the CCG2 programming.
Which sample code was used for the reference design? I am assuming it was fully tested at Cypress before the reference design files were released.
The closest example I can find to match this reference design is the following two sample code…
CCG2 CYPD2122-24LQXI_notebook
CCG3 CYPD3123-40LQXI_ctd_us
The CCG3 appears to work correctly, but, I am having trouble with the CCG2 firmware. Specifically I am going to list the issues I am having.
+ The notebook example has DP source enabled
+ attempting to disable it by changing usbpd_config.h
+ changing this line #define DISPLAY_PORT_SNK_CONFIGURATION (DISPLAY_PORT_SNK_SUPPORTED)
+ change to #define DISPLAY_PORT_SNK_CONFIGURATION (DISPLAY_PORT_SNK_NOT_SUPPORTED)
+ this results in several linker errors and I do not know how to resolve these…
+ I don’t know where the code is located that I need to remove related to DP
+ I can locate a type_c_manager.h, but not a type_c_manager.c
+ ERROR: L6218E: Undefined symbol dp_source_deinit (referred from type_c_manager.o).
+ ERROR: L6218E: Undefined symbol dp_source_init (referred from type_c_manager.o).
+ ERROR: L6218E: Undefined symbol get_dp_state (referred from usbpd_hpi.o).
+ ERROR: L6218E: Undefined symbol update_dp_config (referred from usbpd_hpi.o).
+ Next, the PDO data from the charger plugged into the CCG2 port (UFP?) is supposed to be relayed to the CCG3 by means of HPI
+ There should be an interrupt triggered from the CCG2, but I don’t believe this is being triggered.
+ I believe this logic is not in the CCG2 notebook example.
+ Next I would like to change the logic of the CCG2 to act as a UFP only.
+ As it is now it acts as a DFP since it is from the notebook example
+ This is the only starting point I can find for this CCG 2122 part, and would like to alter the logic to fit the proper role.
+ Finally, I am a little confused with the best configuration of the jumper positions.
+ The jumpers I am mostly confused with are
+ J1, it connects VSYS to either 3V3, 5V0, or the CCG3 programming VTarg pin
+ J19 connects pull up resistors for system_i2c to either VSYS or CCG3_VDD
+ J18 connects pull up resistors for CCG3_NB_I2C to either CCG_VDD or VSYS
A response from someone familiar with the charge through reference design would be appreciated.
Also, some assistance with altering the CCG2 code to remove the DP components and enable the HPI communication between the CCG2 and CCG3 would be greatly appreciated.
Show LessThis is in reference to the below CCG3 reference design.
http://www.cypress.com/documentation/reference-designs/ez-pd-ccg3-usb-type-c-charge-through-dongle
I have had this PCB assembled and am now in the process of hardware/software troubleshooting to create a development platform with it.
You can see an image of this PCB in the pictures below.
Programming was done with the MiniProg3 programmer included in the CY4501 CCG1 Development Kit.
I have the onboard CCG3 CYPD3123 programmed with the CYPD3123-40LQXI_ctd_us project located in the
CCGx Software Development Kit
Version 3.0.2, April 10, 2017
I have programmed the CCG2 CY2122 with the CYPD2122-24LQXI_notebook project located in the
CCGx Software Development Kit
Version 3.0.2, April 10, 2017
I am attaching a picture of jumper configuration.
The trouble that I see is as follows.
At first nothing is connected to the PCB. It is not powered.
Connect the PCB to the Samsung Galaxy S8, the PCB connects without issue.
C_PLUG_VBUS and C_PLUG_VCONN are lit.
Connect a charger to the USBC receptacle and the two above mentioned LEDs are no longer illuminated.
Disconnecting the Samsung Galaxy S8 and reconnecting yields no response.
The PCB does not recover unless all power is removed and completely reset.
This behavior is not present when connected to a USBC based Apple Macintosh or a different mobile phone.
However, if I place a USBC analysis tool in line with the connection the issue is resolved...
The USBC analysis tool is made by Route... I am attaching image.
Has an issue been reported with compatibility with the Samsung Galaxy S8?
Show LessIn my design I use the billboard controller CY7C65210 to control the HDMI converter but the controller takes DP/DM from one of the output port of the USB hub IC rather than the USB-C connector. will it work?
Show LessI am looking into making an active cable for USB3.1 5Gbps TypeC-to-TypeC, and found in Cypress design document a diagram showing how to use two CCG2 in the cable to communicate and control the redrivers. However, from the picture it is unclear what power supply is used for the redriver, is it VCONN or VBUS? If it is VBUS, how would I deal with the use case of USB PD cause VBUS to increase beyond 5V?
Thank you for your help.
Hao
Show Less