cancel
Showing results for 
Search instead for 
Did you mean: 

USB Communication shuts down after a few ms when type C to type C cable is used.

kps98
Associate III

Hi, 

I have developed a circuit using STM32h755zi, i am sending some serial data from a custom board to PC using USB CDC class. It works fine when i use a Type C to Type A cable but when i try to run the board using a Type C to Type C cable it only runs for a few ms, where my PC detect the device, after this the communication shuts down. It can even send some characters before shutting down. My microcontroller is still running as i can still make LEDs blink after the communication shutdown. I am running USB in FS mode. What might be the reason for this behaviour.

Thanks,

Kiran

1 ACCEPTED SOLUTION

Accepted Solutions
kps98
Associate III

I had a STUSB4500 chip and i had to configure it to get it working.

View solution in original post

3 REPLIES 3
TDK
Guru

Probably a bad cable or bad port.

If you feel a post has answered your question, please click "Accept as Solution".
kps98
Associate III

I tried 4 different cables, and tried the same on two different boards. I tried the same cable with some other devices and it works fine. The port on my board works with a USB C to USB A cable and the port on my computer works with everything else. Is there anything specific that i need to do for USB type C

kps98
Associate III

I had a STUSB4500 chip and i had to configure it to get it working.