Skip to main content
sirius506
Associate III
October 13, 2021
Solved

Is there any USBX Host Class - Audio/Video example?

I'd like to develop USB host application with Audio and/or Video class.

Is there any working example project or code snippet?

I checked STM32 HCD driver file - -ux_hcd_stam32_periodic_schedule.c, but it always generates EP_TYPE_INTR packet. How can I send audio/video ISOC packets?

Regards,

This topic has been closed for replies.
Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
October 13, 2021

Hello @sirius506​ 

Actually we provide an audio example for isochronous OUT transfer to stream audio from PC to STM32.

Check the following example and try to adapt it to your use case :

  • Path: Projects\STM32H743I-EVAL\Applications\USB_Host\AUDIO_Standalone

This could help you.

BeST Regards,

Walid

4 replies

Walid ZRELLI
Visitor II
October 13, 2021

Hello @sirius506​ 

Unfortunately, there is no plan to provide USBX Host Class Audio/Video examples until today.

Thank you for your comprehension.

BeST Regards,

Walid

sirius506
sirius506Author
Associate III
October 13, 2021

OK, I can live without examples.

But, how can I send out ISOC audio stream packets?

Do you mean that you don't have any plan to support ISOC packets?

I can't find the HCD driver code which send out ISOC packets.

Regards,

Walid ZRELLI
Walid ZRELLIBest answer
Visitor II
October 13, 2021

Hello @sirius506​ 

Actually we provide an audio example for isochronous OUT transfer to stream audio from PC to STM32.

Check the following example and try to adapt it to your use case :

  • Path: Projects\STM32H743I-EVAL\Applications\USB_Host\AUDIO_Standalone

This could help you.

BeST Regards,

Walid

sirius506
sirius506Author
Associate III
October 13, 2021

Yes, I know.

I understand that you DON'T support ISOC out with Azure-RTOS/USBX and

I have to make it work by myself.

Thanks for your answer.