USB EZ-PD™ Type-C Forum Discussions
我们在开发CCG5的时候遇到一个问题,请求各位帮助。
问题是这样的:
我们的CCG5定义了一个I2C master,需要与外部IC通信。我们不确定I2C读写操作相关代码应该放在哪里执行?
1、我们放在main函数中执行,虽然I2C读写操作成功了。但导致TYPE-C口的PD协商失败了。
2、我们放在app_event_handler的APP_EVT_PD_CONTRACT_NEGOTIATION_COMPLETE事件中执行,I2C读写失败了。
Show Less请教个问题,怎么在CCG5中的UART的RX获取外部发来的数据?
我启用了internal interrupt,然后在代码中添加了如下code:
void uart_debug_rx_isr(void){
G20_origin_led_Write(a);
}
UART_DEBUG_Start();
UART_DEBUG_EnableInt();
UART_DEBUG_SetCustomInterruptHandler(uart_debug_rx_isr);
不仅G20_origin_led_Write(a);没有起作用,串口还会crash。
Show Less
Could you provide the DSN file and reference desgin for CCG7,CCG8,PMG1-S3 ?
Hi,
We have a project that was created by ModusToolbox and is based on the MCU (CYPM1322-97BZXIT).
This project is already in production.
Now, we want to have hardware changes and transfer this project to another MCU (CYPM1311-48LQXI).
How can we perform this transfer?
Thanks
Ryan Chu
Show LessHello
I have a question about CCG7x programming using CLI command with miniprog4.
Can we program multiple CCG7x devices using multiple miniprog4 (for example, 3~4) at the same time in parallel using CLI command?
if yes, could you please let me know details how to implement with CLI command and any macro?
Regards,
Jake
The original engineer of my project lost the source code. Currently, there is only an IIC document. After the PCB was changed, it doesn't adapt to the original IIC file. I wonder if I can change the IFCONFIG content of the IIC file? Mainly BIT7 0 to 1. If possible, please tell me which byte was changed in the IIC file, please help me, thank you!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/USB-EZ-PD-Type-C/CY7C68013A-II2-%E9%97%AE%E9%A2%98/td-p/670369
Show LessHi, I am in the process of adding DP output functionality based on the CTD US example code provided by cypress.
Currently, in most cases, everything is working as intended, both the output and the PD nego.
However, when I reboot the tablet providing the data for the DP while viewing the DP, the DP output does not work.
Unplugging and plugging the DP cable doesn't fix it, but if I flip the type c connector between the tablet and the ccg3, the DP output becomes normal.
Do you have any idea why this is happening?
The only modification I've made to the DP is setting values to the mux after negotiation to use 2k,usb.
Additionally, could you briefly explain what happens in the ctd solution after the DP altmode command flow, if possible?
Many thanks,
Show Less