Skip to main content
Explorer
February 7, 2025
Solved

STM32F405 using dual USB host

  • February 7, 2025
  • 3 replies
  • 1071 views

Hi,
I'm new to the ST32 world and would like to know if this is possible before I start experimenting with an STM32F405:

Is it possible to use both USB interfaces as a USB host at the same time (only full speed and low speed, no high speed is required)
For example, to connect a mouse to one USB port and a keyboard to the other USB port.

If so, can I just use D+/D- of the ports, or do you need additional external components for the high-speed port also when I use it in HS/LS mode?

If that works, is there any example software to use 2 HID hosts in parallel? Is there an evaluation board that has USB ports?

    This topic has been closed for replies.

    3 replies

    Super User
    February 7, 2025
    Explorer
    February 7, 2025

    Perfect, thanks!

    Technical Moderator
    February 10, 2025

    Hi @Lowlanders 

    It is not possible to connect more than one device to the same USB port configured as a host. Actually, hub operation is not supported.

    Explorer
    February 10, 2025

    Yes, I know. One device per USB port. So I should be able to connect a total of 2 devices to the ST32F405.
    This's all I want. And I hope that I can connect LS and FS devices without any problems.