2026-04-28 1:25 PM
Greetings,
I am working on testing a STM32H573 based HW design, which uses an external 4-port USB-2.0 Hub.
I plan on using USB Flash drives, and read/write files to them as a diagnostic test.
I will instantiate the STM32H573 USB interface as Host-mode, and have it discover
the USB hub, and enumerate the downstream devices (flash drives/sticks).
Our current SW base is using the FreeRTOS OS.
Should I switch to Azure ThreadX? I have heard that the USBX ThreadX library is
the way to go?
Can I run USBX under FreeRTOS, or does it require ThreadX?
Thanks for any guidence!
Ken Carlson
Draeger Medical Systems Inc.
2026-04-29 2:55 AM
Hello @microcoder
Thank you for your question.
Can I run USBX under FreeRTOS, or does it require ThreadX?
Yes, you can run USBX under FreeRTOS. You may also find this article helpful:
How to add USBX to an STM32 FreeRTOS™ project - STMicroelectronics Community
Also, for USB Host HUB, we have an application example that can be used as a reference. It is implemented with ThreadX:
with regards