Hello everybody,
I am working on a PCB that has an USB-C port designed as a power delivery port and a data transfert bus. I put resistors values of 10K on the CC1 and CC2 pins to enable enough current throught the USB port. The issue I have is about having both the PD activated while receiving or sending data from this USB port. I have either the charging mode, or the data delivery mode. When not using any OTG cable, I only have my phone being charged from the PCB, when I am using OTG cable, depending of the side that I plug, I have either data transfert or PD.
The USB-C port is a 2.0 USB-C connector so it should work properly, but I miss something here.
If you need the schematics I can provide the schematic of the USB-C port, I can do the same for the code. I am using an USB-UART driver FT231XS-R to switch differential data signals from USB to UART.
I am working on a PCB that has an USB-C port designed as a power delivery port and a data transfert bus. I put resistors values of 10K on the CC1 and CC2 pins to enable enough current throught the USB port. The issue I have is about having both the PD activated while receiving or sending data from this USB port. I have either the charging mode, or the data delivery mode. When not using any OTG cable, I only have my phone being charged from the PCB, when I am using OTG cable, depending of the side that I plug, I have either data transfert or PD.
The USB-C port is a 2.0 USB-C connector so it should work properly, but I miss something here.
If you need the schematics I can provide the schematic of the USB-C port, I can do the same for the code. I am using an USB-UART driver FT231XS-R to switch differential data signals from USB to UART.