Skip to main content
Visitor II
June 29, 2020
Question

USB Audio Device/Host Class 2.0 Middleware support?

  • June 29, 2020
  • 13 replies
  • 25344 views

Hi,

I am using STM32H743 nucleo board. I am looking to configure the USB interface as Audio Class 2.0 device. Is there any middleware available to achieve this?

Does STM has any plan to support Audio Class 2.0 middleware? Current middleware only supports Audio Class 1.0.

Thanks,

Joyab

    This topic has been closed for replies.

    13 replies

    ST Employee
    August 1, 2024

    Hi guys,

    One solution has been integrated in X-CUBE-AUDIO-KIT.

    It supports UAC2.0 and has been used in the context of a composite device with midi, cdc, hid classes.

    Graduate II
    August 2, 2024

    You had me hoping but sadly, as usual with STM software, it's useless, a crippled UAC 2.0 that runs at only 48 Khz, and no mention of USB support!

    "Framework to support audio processing data flow

    • Up to 48 kHz

    "

    It forces developers to install Microsoft RTOS, which takes a lot of the limited MCU memory, and it is RTOS that has a more complete USB implementation.

    Personally as a developer I am not keen on installing an OS owned by Microsoft.

    Raspberry PI's industrial platform or ESP looks more attractive every day.

    ST Employee
    August 2, 2024

    Hi,

    This package is not a USB only solution. It supports other features and has globally been validated up to 48 kHz for now. It is not a USB limitation.

    By the way, this solution is not based on AzureRtos, neither USBX.

    best regards

    Graduate II
    August 9, 2024

    Is it really ST's job to provide complete solutions for all and everything?
    For lots of possible applications, ST provides at least a base to start from.

    What are the competitors doing? Do they offer the complete "click-plug-play" package for everything?

    Graduate II
    August 9, 2024

    You're joking right?  That STM have no viable USB driver for their MCU's without pushing people into the arms of the Microsoft, is like an electrical appliance manufacturer not using a standard power connector, and not selling that connector!

    Don't you understand that if every developer has to waste time developing their own USB drivers the industry loses thousands or more hours of dev time every year for nothing.

    Doing a version of TinyUSB might be a better option for STM than pushing the code heavy RTOS down clients' throats, but clearly STM do not value their MCU business, and at the rate of growth of other ARM MCU board offers, including the industrial Raspberry market, I suspect STM won't be in the market by 2030, IMHO.

    Graduate
    February 27, 2025

    Hello from 2025

    Do we have 192KHz support on STM32? Using any other libraries mentioned outside ST?