Skip to main content
Associate
May 21, 2025 1:44 PM UTC
Solved

STM32G0B1KC USB device non recognized

Hi, I am using STM32G0B1KC ad usb device. I will show you all the conficuration for USB_DRD_FS and USB_DEVICE middleware.

albvella_0-1747834958407.png

albvella_1-1747835003419.png

I am using the internal HSI48 for the USB clock.

When I connect the device to my PC, the device is not recognized.

Can anyone help me?
Thank you

 

This topic has been closed for replies.
albvellaBest answer
Associate
May 22, 2025 2:31 PM UTC

Hi, I solved the issue. It was an hardware problem. During soldering, D+ and D- were shorted. Thank you

2 replies

ST Technical Moderator
May 22, 2025 2:29 PM UTC

Hi @albvella 

Have you selected the USB middleware class to be imported? ST classic middleware or USBX ?

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
albvellaAuthorBest answer
Associate
May 22, 2025 2:31 PM UTC

Hi, I solved the issue. It was an hardware problem. During soldering, D+ and D- were shorted. Thank you