cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple USB class on same device

Stabilo
Associate III

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

2 REPLIES 2
TDK
Guru

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
Associate III

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