Firmware for STM32 USB composite device(HID+ADC, CDC+ADC)

Job ID: 30760704

Budget: $750 – $1,500 USD

Hello, I am developing a new USBC headset. I have a few problems. What I wanted was to simultaneously implement the functionality of serial data communication and audio/MIC between all phones and headset boards.
An STM32L432 MCU is used for the serial data interface and an audio codec IC is used for the audio streaming data interface.
STM32 MCU and audio codec IC connected to USBC connector via USB HUB.
I designed the hardware with STM32 and wrote the firmware for HID.
When I connected the board to my Samsung phone, I was able to see the VID and PID of the two USB interfaces (audio codec IC and HID on STM32) on the phone.
However, the functions of serial data communication and audio/MIC between all phones and headset board did not work at the same time. They worked separately.
I think it's because of the USBC interface characteristics of Samsung phones.
I've heard good news from some phone manufacturers that they have special headsets that can implement HID and audio device classes at the same time. They said a STM32 MCU was used as the microcontroller.
I'm not sure how to implement a USB composite device class for HID+ADC in STM32.
In conclusion I need a keil source for HID+ADC.
Since I have the hardware, I can test it with your firmware here.
As soon as the tests are finished, the milestones will be released and a new task will be started. Who can help me? There are many projects after this has been successful.
I hope a wise engineer will solve this problem first. Thank you.
Related categories: Electronics Microcontroller Firmware STM32