Skip to main content
Graduate II
October 29, 2025
Solved

USB microphone example with USBX

  • October 29, 2025
  • 2 replies
  • 235 views

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.

    This topic has been closed for replies.
    Best answer by FBL

    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.

    2 replies

    FBLAnswer
    Technical Moderator
    October 29, 2025

    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.
    ERRORAuthor
    Graduate II
    October 30, 2025

    Hi @FBL ,

    Thank you indeed for your swift and precise answer!

    Regards.