2021-09-16 06:10 AM
Dear support team,
Is it possible to run multiple USB class on a same device (STM32F7).
I would like to use 3 class: CDC, audio and MSC. Is it possible ?
Thank you
2021-09-16 06:39 AM
It is possible to have a composite USB device which contains multiple devices within it. You need to change the USB descriptors accordingly and implement classes so they all run simultaneously. It is not a trivial thing to do.
This appears to be a good overview:
https://sudonull.com/post/68144-CDC-MSC-USB-Composite-Device-on-STM32-HAL
2021-09-22 01:36 AM
Thank you for your answer.
I got another question: is there an example application of a USB microphone (using the ST audio class library) ?
Thanks