Skip to main content
sirius506
Associate III
Oct 13, 2021 6:27 AM UTC
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
Oct 13, 2021 1:34 PM UTC

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
Oct 13, 2021 9:30 AM UTC

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
Oct 13, 2021 12:13 PM UTC

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
Oct 13, 2021 1:34 PM UTC

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
Oct 13, 2021 1:43 PM UTC

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.