2020-06-29 02:04 AM
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
2023-08-16 10:35 AM - edited 2023-08-16 10:37 AM
from SDcard on H743 , its working; 192k/32bit stereo is max. i tried;
on USB host, from the only example from STM ->
the usb dac is not working, seems, STM here can work only with "headset", thats all. useless for me.
maybe i try the AZURE usb audio host on a H563 , seems to be last chance for "me and STM -> audio host".
otherwise i try a raspberry , just to test USB DAC with audio host. (on linux no problem.)
2023-08-23 04:09 AM
STM's USB support is way out of date, one of their Sales Engineers told me there is a beta for a totally new Class 2 USB driver, but it's been 2 weeks and he's not come back to me on availability.
I am really not so impressed with STM support.
2023-08-23 10:09 PM - edited 2023-08-23 10:11 PM
yes, the "AUDIO_standalone" example (= USB audio host on H743-eval) is 2 years old !
and i got info: there is nothing new planned.
last year ->
2023-08-25 01:37 AM
Hi @Robmar , yes 192KHz is supported
2023-08-25 01:39 AM - edited 2023-08-25 01:40 AM
2023-08-26 06:02 PM
I see that the GitHub page has now been updated, but USBX is tied in AZRTOS with many dependencies.
Did anyone bother to make an example of the USB 2.0 Class 2 driver working on HAL, without the RTOS?
Without any bare metal support we're just going to use TinyUSB first, otherwise we'd have to waste many hours trying to patch the driver into HAL, you realise that right?
2023-08-29 08:17 AM
Yes, I confirm that standalone mode (ie. without RTOS) is not supported yet for the audio class. I can't provide a committed plan to offer this option.
2023-08-31 02:32 AM
After a deeper discussion with the team we confirm following points:
2023-08-31 01:32 PM
the only audio host i found is cherryusb ->
https://github.com/CherryUSB/cherryusb_apm32#cherryusb-host-stack-overview
The host mode doesn't have an audio class support either.
2023-09-05 01:48 AM
STM have told me that their USBX driver for AzRTOS can handle USB 2.0 Class 2 as Host and Device, but so far we can't find a single audio streaming example, though strangely there is a video example using AzRTOS+USBX.