cancel
Showing results for 
Search instead for 
Did you mean: 

Combined UAC + HID functionality with STM32L452RE

bntess
Associate

Hello,

I am new to the forums here! Can STM32L452RE support a combination class of HID and USB Audio Class over USB 2.0 Fullspeed?

Ideally, I'd like to read and send microphone data (or any sensor data for that matter) connected to STM32L452RE over USB to a host computer. At the same time, I would like to send USB audio data for playback through speakers connected to STM32L452RE (via serial audio interface).

I am yet to buy the development board but would like to confirm before committing to the purchase. Thank you!

1 REPLY 1
TDK
Guru

STM32 supports a composite USB device. The HAL/USB libraries have some support for it, but it's not as common as singular devices and you probably won't find an example that does exactly what you want, but it is possible to implement given enough expertise and time.

There are composite USB device examples with code that will turn up in a Google search that you could use as a starting point.

 

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