Skip to main content
Associate III
Feb 12, 2025 6:53 AM UTC
Solved

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

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

This topic has been closed for replies.
kps98Best answer
Associate III
Feb 14, 2025 12:45 AM UTC

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

3 replies

TDK
Feb 12, 2025 1:22 PM UTC

Probably a bad cable or bad port.

"If you feel a post has answered your question, please click ""Accept as Solution""."
kps98Author
Associate III
Feb 12, 2025 11:16 PM UTC

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

kps98AuthorBest answer
Associate III
Feb 14, 2025 12:45 AM UTC

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