USB EZ-PD™ Type-C Forum Discussions
Hi,
So we are testing a lot of devices and have made some simple Power Roll (PR swap) requests and it seems different devices respond differently to the same code
Most Samsung Phones work, LG and MOTO phones do not work, Apple devices do not, HP devices work and so on
Our Design is based around CCG3 3171, used as a DRP for a USB HUB UFP port, we are requesting PR swap from connected devices that Require a Sink Connection prior to a SRC connection.
Any and All Help Greatly Appreciated
Show LessCC channel polarity. • CC1 = 0 • CC2 = 1
we are using CC polarity in along with the new Power SDK, and it seems there is an issue with Sleep/Wakeup and or Hanging code
our application is quite simple and has been posted here before with no reply, so here it goes again
CCG3PA 3171 or 3175 used in DFP or UFP application that requires MUX control based on CC line Polarity, seems to work great wth PD core engaged but with type A to C cable that has a pull up to Vbus of 56K (all A to C certified cables have this for legacy support) Code hangs and PlugEvent does not happen (we use plug event to reset HUB ic)
it was completely by accident tht we found out that when first powered up CCG functions correctly and after a while it simply no longer identifies cable direction and plug/unplug event
Here is our video showing Two Led's, that we use as a debug indicating direction of C cable CC line connection (CC1 vs CC2)
Please someone Help as this is delaying our release of our Gen2 8 port power PD hub
1. is it going to sleep and that is why its not working after a while?
2. is it hanging in the code and simply stops responding to new events?
we are not sure
Show LessHi Lisa,
As you recommended, I changed the SYS_DEEPSLEEP_ENABLE as 0
#define SYS_DEEPSLEEP_ENABLE (0u)
but the cypress board still VBUS keep crashing to 0.
I'll attach the image.
Magenta is vbus, green is cc2 and light green is cc1 which dose pd communication.
Please take a look at this issue.
Thanks
Show Less您好,
目前存在CCG2 SDK代码在充电头识别不良的问题。问题描述如下:
首先,该批次的充电头是正常工作的,用其他触发器是可以正常触发。但CCG2在触发该批次充电头时存在只识别到5V,不能切换充电头的电压输出。
在连接不能切换电压的充电头后,输出5V正常。get_src_pdo_count()返回了5个PDO,也符合该充电头的PDO描述。
然后我用get_pe_state()去获取 CCG2的运行状态,发现一直停留在 PE_SNK_GET_SRC_CAP 这个状态,没有回到PE_READY状态(在连接能正常触发的充电头时,加电识别完成后都能回到该状态)。也不能触发充电头的电压切换(使用handle_sink_pdo_reg_write代码)。用逻辑分析仪抓CC 线上的数据包,发现CCG2没发出电压切换请求数据包(换能正常触发的充电头,该代码是能发出请求切换电压的数据包)。
下图是在初始连接通讯时,CC数据线上电压不同,正常识别的,CC线默认是高电平;不能识别的,CC线是低电平,不知有何影响。
谢谢!
Show LessHi,
Need to understand how HPD IRQ bit status field will be used from DFP side application code to generate HPD signal.
Is this bit important to trigger the HPD signal? or just HPD status is enough.
Thank you,
Show LessHi. I am developing a handheld instrument that has a battery in it. The battery is to be charged by a Type-C USB charger. I use a CYPD3120. It just has to negotiate 5V/3A, 9V/3A, 12V/3A, 15V/3A, 20V/3A (or, more or less any voltage and any amperage). NOTHING ELSE. Is there somewhere an example configuration for this really basic application? I have never used this family of chips and I am feeling overwhelmed with all the possibilities and options that I do not want to explore.
Also, can I just call it a firmware update and download it directly to the device that is already on the PCB?
Thanks a lot.
Steve
Show LessWe have two board designs verified by cypress where we are using the CCG5 as a DFP and UFP respectively. We have the MUXes external to the CCG5 and can be manually controlled using jumper settings. We want to establish Display Port (DP) connection over the boards. We were using the Notebook example that comes with the SDK. We just change the macro configs in config.h to differentiate bw the DFP and UFP boards.
While running and debugging the code the app handler can reach only 2 states "started" and "attach". We feel it is not able to establish a proper connection that is why it is retrying. What might be the problem and how do we approach to solve this problem?
Show LessHello,
I'm having an issue using the CCG3PA Eval kit (CY4532) to charge certain devices. Under normal operating conditions, and using the latest stock Power Adapter firmware, I am unable to charge Apple Mac laptops. The issue appears to stem from a USB-C negotiation error, although I can't be certain.
I am monitoring the voltage of the Type-C VBUS line, and (when the USB Type-C connector is plugged in) the voltage seems to endlessly cycle between 0V and 5V. While the Apple computer recognizes there IS a charger plugged in, it will not draw any power from the device (0 watts). However, if I use a USB-A to USB-C adapter connected to the USB-A port, I can charge the laptop with about 5W. It's only when using the Type-C port on the CCG3PA EVK Main Board that I cannot charge the computer.
The CCG3PA will charge a Google Pixel 2 XL phone with no issue; monitoring the same Voltage test point, it cycles between 0V and 5V once, and then remains at a steady-state voltage of 9V.
I am running the latest firmware (3.1.2), with the CYPD3171-24LQXQ_cla_3_1_2_1511_0_0_0_pa.cyacd firmware file.
Does anyone have any suggestions or have seen this issue before?
-Jake
Show LessOn Client side of CCG1 kit I am unable to read device detail from EZPD Configuration tool, after connection if i read device below error is seen.
Configuration read over I2C interface succeeded
Error: Configuration table signature is not valid
Let me know,Do i need to flash the firmware. Where can i find default firmware for CCG1 kit or I can we use default configuration table and restore data back. Pl let me know the procedure so that, I can able to read back the device detail about PDO...SVID.. on client side.
Tool shows below info on client side.
CYPD1121-40LQX1
Monitor
Firmware Base: 1.0.0.329
APP:0.1
Thank you,
Show LessHello,
In CYPD3125-40LXQI, when VBUS is directly ant unfortunately provide from internal system power source, can we open VSYS pin?
In that case, when we try to debug our software through SWD, do we need any especial sequence which is difference in a case of providing VSYS from VTARG?
Best regards,
Show Less