2025-02-07 03:21 AM
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?
Solved! Go to Solution.
2025-02-07 03:37 AM
AN4879, Introduction to USB hardware and PCB guidelines using STM32 MCUs:
via: https://www.st.com/en/microcontrollers-microprocessors/stm32f405zg.html#documentation
2025-02-07 03:37 AM
AN4879, Introduction to USB hardware and PCB guidelines using STM32 MCUs:
via: https://www.st.com/en/microcontrollers-microprocessors/stm32f405zg.html#documentation
2025-02-07 06:58 AM
Perfect, thanks!
2025-02-10 05:29 AM
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.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-02-10 06:01 AM
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.