cancel
Showing results for 
Search instead for 
Did you mean: 

USB Audio Device/Host Class 2.0 Middleware support?

Joyabb
Associate II

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

43 REPLIES 43
Imen.D
ST Employee

Hello @Joyabb​ ,

Our team is currently working on the next version of X-CUBE-USB-AUDIO that support USB AUDIO CLASS 2.0.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Joyabb
Associate II

@Imen DAHMEN​  Is there a timeline available? This will help us plan a tentative project schedule.

Hi @Joyabb​ ,

It’s still under dev for the moment. I can't give you any target date for the moment.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Robmar
Senior III

Very poor support from STM, they still don't have USB 2.0 class 2 support now in 2023, unlike NXP

Piranha
Chief II

Just drop the broken bloatware and start using a decent software developed by people, who actually know what they are doing:

https://github.com/hathach/tinyusb

Post edited to adhere community guidelines.

...but also no audio host !

AScha3_0-1691823666527.png

on tinyusb.

the only audio host i found is cherryusb ->

https://github.com/bouffalolab/bouffalo_sdk/blob/master/components/usb/cherryusb/class/audio/usbh_audio.c

https://github.com/CherryUSB/cherryusb_apm32

for STM : https://github.com/CherryUSB/cherryusb_stm32

 

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

USB Audio UAC 2.0 is supported in USBX class in both Device and Host modes (GitHub or from X-CUBE-AZRTOS package, or from STM32U5/STM32H5 CubeFW packages or STM32CubeMX).

Latest version (6.2.1) of USBX Middleware available here: USBX GitHub 

btw, USB Audio UAC2.0 (Device only) available also on Classic CoreMW USB class (legacy) on X-CUBE-USB-AUDIO

Right, I have read that TinyUSB is 2.0 class 2, and that it supports H7.  STM staff have just told me that "no one in STM knows about TinyUSB", but have you used it and got it working at the 192 KHz rate or higher for audio streaming on an H-series?

I looked now at that page, the readme has one line, not exactly encouraging.  Have you got it working on an H-series for 192KHz+ audio streaming?