cancel
Showing results for 
Search instead for 
Did you mean: 

Config multi USB classes by using STM32CubeMx

YChan
Associate

Hi,

I used STM32CubeMx to config USB VCOM device on STM32F469 discovery kit and it worked well. Then I want to add another class (eg HID\Auddio), but STM32CubeMx only allows config one type of class. If I change the class, then all libraries about the last configured class will be removed.

So, my question is how to config library for multi USB class by using STM32CubeMx?

Good day,

Young

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

CubeMX doesn't support composite USB devices. There are examples online of how to do this, but they will require some effort on your part to adapt the code. Here is one of several hits:

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".

View solution in original post

1 REPLY 1
TDK
Guru

CubeMX doesn't support composite USB devices. There are examples online of how to do this, but they will require some effort on your part to adapt the code. Here is one of several hits:

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".