Does STM32U585 support USB Device Library for baremetal? Or is there only a library for ThreadX? If such - do ST plans implement a USB Device library (Middleware) for bare metal applications?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-26 8:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-30 2:26 AM
HI @Community member
Yes, STM32U585 support UBS Device libray for Baremetal but not for all classes. For the moment the list of supported classes is not yet available. Can you give me your use case so that I can check if it is supported or not.
Regards
DianeP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-30 2:31 AM
Hello @Diane POMABIA
Could you, please, help with it: provide some guide or instructions how to use it?
Because in Cube configuration in middlewares there is only USBX (based on threadx rtos) realization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-30 2:44 AM
@Community member
This is the link to access to baremetal example that we have delivered for STM32H7. You can adapt it for STM32U585:
Regards
Diane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-06-26 7:14 PM
Hello Diane,
Are there examples for standalone CDC ACM?
Thank you,
Du
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-06-27 9:39 AM
I suggest to use tinyusb library. I tried it with STM32U585 and everything works fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-06-27 9:42 AM - edited 2023-06-27 9:43 AM
Thank you for the suggestion. I'll try it out. I tried adapting the USBX from the example above, but it keeps crashing at:
dcd -> ux_slave_dcd_function(dcd, UX_DCD_TASKS_RUN, UX_NULL);
In ux_device_stack_tasks_run.c line 87 of version 6.1.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-15 10:47 AM
Hi, I would also need a bare-metal CDC implementation for STM32U5. I would prefer to use something supported by ST than going with an unsupported open source library.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-12 9:18 AM
Same problem here!
@Du1, have you been able to fix it?
From the debug I've been able to carry out, the pointer to dcd -> ux_slave_dcd_function is NULL, but I've not been yet able to determine where it should be initialized...
A complete CubeMX working example for Ux_Device_CDC_ACM_Standalone would greatly help!!!
Thanks
JyLo
