Skip to main content
Graduate
December 19, 2019
Question

H743 USB Host

  • December 19, 2019
  • 7 replies
  • 3781 views

I have the Keyboard working,

but when a usb hub is installed the keyboard is not visible

does anyone have some clues to get a usb hub working ?

    This topic has been closed for replies.

    7 replies

    Graduate II
    December 19, 2019

    @Camilo LEMOS​  recurrent issues with ST USB IP and hubs

    Visitor II
    December 19, 2019

    Thanks for letting me know Clive! I have just brought this to our support team (extending to product team as well) to see how we can best address the recurrent issue. I (or another member of the team, with more knowledge than me on this topic) will post back here as soon as we have more info.

    Super User
    December 19, 2019

    > does anyone have some clues to get a usb hub working ?

    On the Segger forum (they sell a commercial USB library) someone reported success connecting a hub to STM32F407 eval.board.

    We could not reproduce this, but this may be our fault.

    YMMV.

    We also started to adapt this hub example to a custom board with STM32F446. It basically worked with a FS hub, but we have not finished this.

    -- pa

    Super User
    December 19, 2019

    > On the Segger forum (they sell a commercial USB library) someone reported success connecting a hub to STM32F407 eval.board.

    Do you have any link?

    JW

    Super User
    April 11, 2023

    Hi @Community member​ ,

    sorry for resurrecting an old thread, but I wonder if you were successful in running hub on the 'H7 USB with internal PHY, i.e. if the Host packet transmission may hang when connecting through a hub to a low-speed device erratum has been fixed for the 'H7.

    Thanks,

    JW

    Graduate
    April 11, 2023

    Hello Jan, Pavel, Clive... long time no see... @Pavel A. @waclawek.jan @Community member​ 

    Jan, no sorry, I never got it going, just too difficult...

    the call stack is the easy bit, making the calls work is where I came unstuck.

    got Host running ok, CDC of course, all DMAs, all easy... but the HUB was just crazy... hoping ST has improved the resources now after a couple of years.. I know Pavel has had some success with that.

    Would like to get it running.

    Willing to try again if you wish... might need support from you guys.

    Got my shiny new STM32U5A9J-DK last week... could try on that if you wish... although the DMA systems are significantly different on this chip.

    Have you seen the spec on this new chip ? 2.5MBytes of Ram... and a 2Lane DSI port...

    still not enough for a decent display size... just cant bring myself to run a small 400x320 display..

    I have many kits here just let me know which one you would like to use..

    the local FAE is saying the chip is going to be very well priced.

    Hey Pavel, which chip are you using for displays ?

    Do you have a HUB solution ?, I could port it over if you would like...

    Nick.

    Super User
    April 11, 2023

    Hi @Community member​ one active project uses the same LCD, or compatible, as on the 32F746GDISCOVERY board. I don't have the exact part ID. Another projects use cheap matrix LCD (not graphics).

    About USB hub, my former customer went for the Segger library and is happy with it AFAIK.

    I have not finished that thing to product state.

    They also told me about their competitor that managed to develop a FS hub support and host driver themselves. Their use case is quite limited though, not pushing the USB to the edge.

    Graduate
    April 11, 2023

    Thanks Pavel, Jan

    Super User
    April 11, 2023

    Oh, so HUB is still no go... Thanks.

    JW

    Graduate
    April 11, 2023

    now that there is 2.5MBytes Ram, it could be useful..

    if you get some work going, please let me know.

    happy to cooperate with someone.