2022-06-20 12:17 AM
Hello,
I'm using STM32G0B1-Nucleo (with no USB user connector), and I am trying to program USB device (I tried virtual COM, HID and MSC separately).
I'm using the STM32CubeMx with STM32CubeG0 FW V1.5.1 to generate the configuration with PA12 and PA11 for D+ and D-.
But after plugging into PC it is detected (after a while) with "Unknown device (device descriptor request failed)" error. (see img bellow)
Notes:
1- I have used the same USB Wire to connect the board with the PC on STM32L476-Nucelo (with no USB user connector also) and STM32F4 Disco and it works fine for both, so I don't think it is related to the wire or the configuration I'm using.
2- The STM32G0B1 Nucleo I'm using is a new one, I just purchased it for this application.
3- I have tried to use the STM32G0C1-EV application provided in the Cube FW but with no success.
Please find attached the .ioc file and the main.c of my project.
Any Idea about this issue and how to fix it please?
Thanks.
Solved! Go to Solution.
2023-12-18 04:59 AM