cancel
Showing results for 
Search instead for 
Did you mean: 

Have two USB Audio Device Class

TLest.2
Associate II

I have a STM32F446 MCU. I want to use the two USB ports featured by the MCU and have a single Audio Device Class on each USB but once one is selected in the CubeMX, the other is greyed out.

6 REPLIES 6
TLest.2
Associate II

CubeMX returns the information: The USB AUDIO share the same audio frequency

 
_legacyfs_online_stmicro_images_0693W00000biaF8QAI.png

AScha.3
Chief III

Cube tries to tell you : this is impossible, it cannot work.

 you want two steering wheels in one car.

so what you want to do with it ?

If you feel a post has answered your question, please click "Accept as Solution".
TLest.2
Associate II

Thanks for your reply, but Cube does not tell me it is not possible.

There is also plenty of things that can be done outside of Cube (multiple class driver is one example) that is why I'm asking if there is actually something that prevents this implementation or a limitation that I might bypass with a custom implementation.

Pavel A.
Evangelist III

Unfortunately Cube does not support this "as is", but it can be fixed manually in the code.

Try to create two Cube projects, each one with one USB instance, then merge. (or two USB instances with different classes).

TLest.2
Associate II

Pavel, thanks for your reply. Will definitly try this and let the community know.

TLest.2
Associate II

I confirm this worked out just fine.