cancel
Showing results for 
Search instead for 
Did you mean: 

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.

MHerr.8
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
mohamed.ayed
ST Employee

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

View solution in original post

3 REPLIES 3
Haithem Rahmani
ST Employee

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
Associate

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
ST Employee

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