Skip to main content
Pavel A.
May 5, 2019
Solved

Does Linux on STM32MP support connection of USB hubs and OTG ?

  • May 5, 2019
  • 2 replies
  • 1123 views

Is the USB controller in MP chips same as in F7 (Tensilica) or compatible?

Does it support connection of devices thru a full speed hub?

Does it support OTG mode?

Thanks,

Pavel A.

This topic has been closed for replies.
Best answer by PatrickF

In STM32MP1, there is two USB controllers with up to three ports with embedded PHY in total:

  • a full EHCI/OHCI USB Host controller (acronym: USBH) with 2 High-Speed ports and embedded PHY wich fully support Hub (as example, you have one external Hub on STM32MP1 Discovery and Evaluation boards). This is only a Host controller, and so, does not support OTG.
  • an OTG High-Speed controller, similar the the one used on other STM32 MCUs (like STM32H7 series) which support Host or Device mode. Supports OTG (altough now superseded by USB Type-C Dual Role Port. for Type-C, see Discovery board for example, and this post. The OTG IP share one High-Speed PHY with second port of USBH controller or could have dedicated Full-Speed PHY.

Notice that in STM32MP1, our SW delivery support USBH and OTG on Linux (Cortex-A7) only.

2 replies

PatrickF
PatrickFBest answer
ST Employee
May 6, 2019

In STM32MP1, there is two USB controllers with up to three ports with embedded PHY in total:

  • a full EHCI/OHCI USB Host controller (acronym: USBH) with 2 High-Speed ports and embedded PHY wich fully support Hub (as example, you have one external Hub on STM32MP1 Discovery and Evaluation boards). This is only a Host controller, and so, does not support OTG.
  • an OTG High-Speed controller, similar the the one used on other STM32 MCUs (like STM32H7 series) which support Host or Device mode. Supports OTG (altough now superseded by USB Type-C Dual Role Port. for Type-C, see Discovery board for example, and this post. The OTG IP share one High-Speed PHY with second port of USBH controller or could have dedicated Full-Speed PHY.

Notice that in STM32MP1, our SW delivery support USBH and OTG on Linux (Cortex-A7) only.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Pavel A.
Pavel A.Author
May 6, 2019

Thank you, @PatrickF for the explanation.

-- pa