cancel
Showing results for 
Search instead for 
Did you mean: 

USB microphone example with USBX

ERROR
Senior

Hi,

Could you please let me know if you’re planning to provide an example of a USB Audio device based on USBX in the near future?

By the way, the ST X-CUBE-AUDIO package is based on TinyUSB that is not officially supported. I’m wondering whether it’s feasible to implement a USB microphone using USBX instead.

Regards.

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

Hi @ERROR 

X-CUBE-AUDIO-Kit is supporting TinyUSB and USBX including usbCls : 

  • usbCls_audio_play() to read speaker data from USB.
  • usbCls_audio_rec() to write microphone data to USB.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


View solution in original post

2 REPLIES 2
FBL
ST Employee

Hi @ERROR 

X-CUBE-AUDIO-Kit is supporting TinyUSB and USBX including usbCls : 

  • usbCls_audio_play() to read speaker data from USB.
  • usbCls_audio_rec() to write microphone data to USB.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


ERROR
Senior

Hi @FBL ,

Thank you indeed for your swift and precise answer!

Regards.