USBX Standalone CustomHID Implementation on the STM32U5G7VJT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-06 2:51 AM - last edited on ‎2025-03-06 1:10 PM by Pavel A.
Hello everyone,
I already asked similar question but I got no sensible answer yet. I am trying to implement the Custom HID drivers in the STM32UG7VJT microcontroller, in standalone mode, so no RTOS. The only thing that I can find from STM32 is this example https://github.com/STMicroelectronics/stm32-usbx-examples/blob/main/Projects/STM32H743I-EVAL/Applications/USBX/Ux_Device_CustomHID that uses the RTOS. I am trying to remove the RTOS from it but until now I didn't even manage to get the descriptors right. The device is enumerated but not recognized. So does anyone have any idea on how to make this work? I already looked at all the tutorials available, they don't fit my case, all of them are based on the H7 family which seems to have different architecture for the USB.
Thank you in advance
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-06 1:15 PM - edited ‎2025-03-06 1:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-10 4:05 AM
So, you are telling me that I should completely ignore the whole STM32CUbeMX, steps and just add and adapt files in my project? There is no other way? What's even the point of the USBX options there? Just for show?
I am sorry but I have been chewing on this thing for more than one month now and it's kind of disappointing that this is the only way to proceed.
I'll keep looking into it and see if I manage to get it work.
