standalone usbx host stack support
mendez23 opened this issue · 7 comments
Greetings!
Is USBX host stack supported in standalone mode, i.e, without using Threadx or an RTOS?
Thank you!
Yes it work's for host class hid, storage, cdc acm, printer, hub
@BluesharkPD , thanks for the confirmation.
I have few follow-on questions:
- Is hub class supported as part standalone usbx host stack?
- Is composite hid device as part of device stack supported?
- Since device stack can also be standalone, can both device and host stack be used together as standalone?
- I'm assuming that using other rtos like freertos is still ok, but usbx stack itself is single threaded, correct?
I would really appreciate some clarity here, and thank you in advance!
@mendez23 which mcu are you using??, you need to enchure that usbx controllers support standalone mode
- Yess hub class is supported in standalone mode.
- Most of USBX device class work in standalone.
- I guess yess since otg mode is supported.
- In Rtos mode only thread mx is supported but in standalone mode i suppose that if you put usb process in a thread it it will work fine.
@BluesharkPD thanks for the clarifications! currently using stm32f746 for prototyping -- usbx examples work, but have not tried standalone mode..
As I khnow the last x-cube-azrtos-f7 is not up to date so I recommende to refer to h7 azrtos package it support standalone and update middleware and controllers interface. There's also standalone host and device application. For Stm32h7 and stm32F7 it's the same ip so application could be similar.
@BluesharkPD thanks. Will check them out.