Skip to main content
ABasi.2
Senior
October 12, 2026
Question

problem with STM32H563zi USBX audio class

  • October 12, 2026
  • 0 replies
  • 6 views

Hi

i’m triyng to use USBX audio class on nucleo-h563zi.

 

i have succed to make PC to recognise the board like a controller audio but windows have problem to start the device (error code 10), problem 0xA status:  0xC0440027

i’m stuck at this fase unfortunately

 

also i think there are some missing files in the middleware directory, in the example provided by ST UX_Device_Audio2.0_Playback 

(not sure is related to the error to start device)

there is this code: 

VOID USBD_AUDIO_PlaybackStreamChange(UX_DEVICE_CLASS_AUDIO_STREAM *audio_play_stream,
ULONG alternate_setting)
{
/* USER CODE BEGIN USBD_AUDIO_PlaybackStreamChange */

/* Do nothing if alternate setting is 0 (stream closed). */
if (alternate_setting == 0)
{
return;
}

BufferCtl.state = PLAY_BUFFER_OFFSET_UNKNOWN;

/* Start reception (stream opened). */
ux_device_class_audio_reception_start(audio_play_stream);

/* USER CODE END USBD_AUDIO_PlaybackStreamChange */

return;
}

the function ux_device_class_audio_reception_start(audio_play_stream);

is located in ux_device_class_audio_reception_start.c

that i’m not able to find in the files generated by cube MX for my project

 

any idea?

 

best reguards!