2023-06-05 07:32 PM
Does the latest version of the driver of STM32F103 supporting USB audio and CDC composite device functionality?
I want to use the USB interface of STM32F103 to develop the functions of USB audio and CDC composite devices.I have a question, is the latest version of the driver supporting USB audio and CDC composite device functionality? If supported,please let us know how to implement it.Thank you。
2023-07-07 05:56 AM
Hello,
As of today, STM32CubeMX doesn't support the USB Device composite configuration (neither does the STM32 USB Device Middleware stack).
Also STM32F103 Firmware package doesn't include support of Audio class. (It is supported on other devices like STM32H7, STM32F7, ...)
So, in order to develop USB Audio-CDC composite, you need to develop it manually. You can find a hopefully helpful code examples for composite here : GitHub . It contains the modified STM32 USB Device library supporting the composite feature and multiple examples showing how to use it. (it is based on STM32H7, so a customization for STM32F1 is needed)
I hope it helps.