Skip to main content
Stabilo
Associate III
September 16, 2021
Question

Multiple USB class on same device

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

This topic has been closed for replies.

2 replies

TDK
September 16, 2021

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

"If you feel a post has answered your question, please click ""Accept as Solution""."
Stabilo
StabiloAuthor
Associate III
September 22, 2021

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