STM32CubeF4
STM32CubeF4 copied to clipboard
USB Composite Device: USB CDC + USB MSC (or other combinations) (Feature Request)
Hi,
can you add composite USB (for example USB MSC + USB CDC) driver to the Middlewares?
I am sure many users will appreciate this. There are only few and mostly outdated/incomplete examples how to get USB MSC + USB CDC working as a composite device.
Regards
Hi @jrahlf,
Please excuse the delay we may take sometimes to reply. Regarding your request, I let @CHAMSTM comment.
With regards,
Hi @jrahlf ,
A USB Device Composite example can be constructed based on today's available library and applications provided by ST through some rework. But in order to provide a "clean" and generic support of composite devices, a major change is required on USB Device library. We are currently working on this major change and will be releasing it on GitHub as soon as it is ready.
Kind Regards,
Any progress on this? Maybe an estimate as to when it will be available? We're at a crossroads right now and having MSC+VCP USB interface would save us a lot of work and save a connector in the finished product.
A reference or link to the "library/applications provided by ST" that we could re-work would be helpful.
In the meantime, you can see how to do it with the existing stack as an example. https://github.com/alambe94/I-CUBE-USBD-Composite
@alambe94 That looks awesome, is it still experimental?
Hi,
The request has been internally logged and forwarded to our USB team. We will get back to you once there is something new.
@alambe94, thank you for the proposal.
With regards,
ST Internal Reference: 126915
Any update? Looking for dual cdc, dfu, and hid.
Has there been any progress on this feature?
Hi there,
Hope you all are doing well. Just to let you know that composite classes are now supported by ST's USB Device library since version 2.10.0. This version has been integrated into version 1.27.0 of the STM32CubeF4 firmware.
A couple of examples have been published within the STM32CubeH7 firmware on a specific branch of the repo. You can refer to this post for more details.
Hope this addresses you request. Thank you again for having raised the point.
With regards,
Thank you for letting me know. Unmodified the USB code for support a while back. Perhaps in the future I'll have an opportunity to try the official support.
All the best
E
On Tue, Apr 4, 2023, 6:26 AM Ali LABBENE @.***> wrote:
Hi there,
Hope you all are doing well. Just to let you know that composite classes are now supported by ST's USB Device library since version 2.10.0. This version has been integrated into version 1.27.0 of the STM32CubeF4 firmware.
A couple of examples have been published within the STM32CubeH7 firmware on a specific branch of the repo. You can refer to this https://github.com/STMicroelectronics/STM32Cube_MCU_Overall_Offer/discussions/18 post for more details.
Hope this addresses you request. Thank you again for having raised the point.
With regards,
— Reply to this email directly, view it on GitHub https://github.com/STMicroelectronics/STM32CubeF4/issues/47#issuecomment-1495721028, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMVUHWFLBNYPMSO6G5M4OLW7PZMBANCNFSM4SQVMNXQ . You are receiving this because you commented.Message ID: @.***>