STM32G0B1KEU6 USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-29 6:40 AM
Hello,
I am in an Internship and I got to make communicate a board using a STM32G0B1KEU6 with a PC.
The pin PA12 is configured to be USB_DP and the pin PA11 is configured to be USB_DN.
I don't know how to configure the others parameters and I haven't find any examples for my case.
I can't use others PINs for the communication with the PC so if you have any advices or examples, I will be pleased to receive them.
Thanks
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-05 8:43 AM
Thank you for your responses.
I have found this tuto and it works for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-29 6:47 AM
PA12/PA11 are the correct pins to use. What other parameters are you trying to configure?
There are examples for USB in the CubeMX repository. Here is one of them. You may need to adapt them to your particular hardware:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-29 6:59 AM
@nono wrote:a board using a STM32G0B1KEU6
What board, exactly?
Do you have to do this using the native USB?
A UART and a USB-to UART adaptor would be simpler ...
Even if your end goal is native USB, I would suggest that you start by getting the basic UART link working first - it will be invaluable for debugging, and will help you get to grips with the chip, the tools, etc ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-05 8:43 AM
Thank you for your responses.
I have found this tuto and it works for me.
