2024-09-05 11:34 PM
HI,
I want to implement the USB middleware on the STM32G0B1RCT6 to use the CDC class for opening a virtual COM port. Can someone provide an example driver?
Solved! Go to Solution.
2024-09-11 03:52 AM - edited 2024-09-11 03:57 AM
Hi @Berlin-raj123 ,
Sorry for the delayed reply on this.
Please have a look at this article on How to implement step-by-step the USB Communication Device Class (CDC)
How to implement USB Communication Device Class (C... - STMicroelectronics Community
2024-09-06 12:49 AM
2024-09-06 01:34 AM
Hello @Berlin-raj123 ,
Make sure that all the drivers are installed and that USB connections are correctly made: PA11 (USB_DM) and PA12 (USB_DP) should be connected properly.
Make sure to configure the system clock to the correct frequency.
Did you try to follow and test the USB CDC example project provided in the STM32CubeG0 firmware package:
Please have a look at this FAQ, this may help you: USB device not recognized - STMicroelectronics Community
2024-09-08 09:18 PM
HI @Imen.D It's not helpful for me. When I merge your code, I find a lot of mistakes. So, I would like to know the step-by-step process. Could you provide something else?
2024-09-11 03:09 AM
Si, i am waiting for your response.
2024-09-11 03:52 AM - edited 2024-09-11 03:57 AM
Hi @Berlin-raj123 ,
Sorry for the delayed reply on this.
Please have a look at this article on How to implement step-by-step the USB Communication Device Class (CDC)
How to implement USB Communication Device Class (C... - STMicroelectronics Community