Skip to main content
Associate II
August 14, 2026
Question

STM32H573VITxQ USB Not working

  • August 14, 2026
  • 2 replies
  • 23 views

Hi ,

I am using STM32H573VIT3Q MCU, I need USB so i am using internal PHY. I configured all in cubeMx all other things are working well only problem is with USB. I have tried both Host and Device modes but nothing works. Then i created a test project only for USB in device mode, I have connected the logic analyser on USB pins to see the data , but no single pulse is there if i plug/ unplug the usb cable to PC. I have attached this full project as well for your reference. I have tried GPIO toggle to confirm all connection are ok and well soldered. Here is my circuit diagram of MCU.

I have also attached my IOC files. Please help me to solve this error. Thanks

2 replies

AScha.3
Super User
August 14, 2026

Hi,

where is the USB plug in your circuit ?  I see only usb for ESP32 .

+

>the logic analyser on USB pins to see the data , but no single pulse is there if i plug/ unplug the usb cable to PC.

Until you have usb device enabled and running, nothing can happen.

If device mode active,you should see it even with DMM or scope : Dp pulled high, this is the signal for PC : “here is a full speed device” ; Dn pulled high , signals low speed device, afair.

So check this first.

If you feel a post has answered your question, please click on " Best Answer ".
ST Technical Moderator
August 14, 2026

Hi ​@Harwinder2312 

Checking your IOC file, USB clock should be configured to 48 MHz. Can you provide more details about your application so that we can help you further or suggest your knowledge base article?

 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL