STM32G0B1RE USB_DRD_FS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-11 12:50 AM
Hi everyone,
I am currently working on a project involving the STM32G0B1RE microcontroller and had encountered an issue while configuring the USB_DRD_FS (Dual Role Device Full Speed) in Device mode using STM32CubeIDE.
Here are the steps I followed:
- I selected the USB_DRD_FS peripheral and set it to Device mode.
- I configured the USB_Device in CDC (Communications Device Class) mode under Middleware.
After completing these configurations, I noticed that the GPIO pins associated with the USB_DRD_FS peripheral didn't appear in the generated code or usbd_conf.c
Best regards,
Sravani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-12 4:56 AM
Checked in All .c files , couldn't generate gpio pins of USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-12 4:59 AM
is it(Usb-PD) need for USB_DRD_FS in Device mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-12 5:01 AM
am not using USB-PD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-12 5:10 AM
But you set/enable USB in Cube ? see the pins...and pin settings ?
(+ debug enabled... ! )
+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-12 10:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-12 11:22 PM
Good.
+ gen. code + compile : no errors/warnings ?
Then it should work.
+
you checked:
Sure about (2x green wire) DP+/- ? If puzzeled, it never works.
+
Connected...can see in system (Windows? -> ding dong or so) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-13 1:56 AM
Am not getting GPIO pins of USB in PCD_Msp_Init
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-13 2:05 AM - edited ‎2024-07-13 2:06 AM
Forget it - i cannot find the usb pins also. But it works !
+
not answer my questions - so dont want help ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-13 2:49 AM
I am testing USB_OTG_FS in device mode on an STM32H7. The USB pins were successfully generated in PCD_MSP_Init.
However, when I attempt to run USB_DRD_FS in device mode on an STM32G0 using the same configuration, the USB pins are not generating.
Please see the attached file for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-13 2:50 AM
Hi,
I am testing USB_OTG_FS in device mode on an STM32H7. The USB pins were successfully generated in PCD_MSP_Init.
However, when I attempt to run USB_DRD_FS in device mode on an STM32G0 using the same configuration, the USB pins are not generating.
Please see the attached file for more details.
