Skip to main content
MHerr.8
Associate
April 4, 2023
Solved

Since the usb stack generated by CubeMX is not Hub compliant, I want to use tinyUSB. Are there any experiences with this stack? The migration with the current version seems not straight forward.

  • April 4, 2023
  • 3 replies
  • 1452 views

..

This topic has been closed for replies.
Best answer by mohamed.ayed

Hi @MHerr.8​ i recommande to use AzureRtos USBX stack which support Hub class driver, you can take a look to this Ux_Host_HUB_HID_MSC application with STM32U5x9J-DK;

https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U5x9J-DK/Applications/USBX/Ux_Host_HUB_HID_MSC

3 replies

Haithem Rahmani
ST Employee
April 5, 2023

Hi @MHerr.8​,

welcome to our community :smiling_face_with_smiling_eyes:.

Could you please provide more details on which STM32 are you working?

thanks & regards

Haithem.

MHerr.8
MHerr.8Author
Associate
April 5, 2023

Hi,

yes of course. I work on an STM32H753IIT6 on a self designed board. The software components are taken from CubeMX (freertos, USB Drivers and so on). Also the usb stack was taken from there until I found out, that this stack does not support Hubs. The external Hub is a tusb4020 from TI.

Thanks a lot.

Best regards

Martin

mohamed.ayed
mohamed.ayedBest answer
ST Employee
April 5, 2023

Hi @MHerr.8​ i recommande to use AzureRtos USBX stack which support Hub class driver, you can take a look to this Ux_Host_HUB_HID_MSC application with STM32U5x9J-DK;

https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U5x9J-DK/Applications/USBX/Ux_Host_HUB_HID_MSC