cancel
Showing results for 
Search instead for 
Did you mean: 

Hi , we are using STM32MP157 and want to enable the USB1 port for connecting the peripheral. Can i get some reference on this ??, there are lot of reference for USB2 OTG port but could find much on USB (ehci) port 1.

rahuj.1
Associate II
 
3 REPLIES 3
PatrickF
ST Employee

Hi @rahuj.1​ 

USBH could use port0(USB_DP1/DM1 pins), this is the case on our EV1 and DK2 boards, and in addition also on port1 (USB_DP2/DM2 pins).

Please refer to https://wiki.st.com/stm32mpu/wiki/USBH_device_tree_configuration#DT_configuration_when_using_port0

or

https://wiki.st.com/stm32mpu/wiki/USBH_device_tree_configuration#DT_configuration_when_using_the_two_physical_ports

Note that OTG cannot be 'routed' on port0 (USB_DP1/DM1 pins). OTG high-speed is only possible on port1 (USB_DP2/USBDM2 pins) which is mandatory for flashload (e.g. with CubeProgrammer)

For possible HW choices around USB, please refer to AN5031.

Regards,

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order 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.
rahuj.1
Associate II

thanks @PatrickF​ . this was really helpful

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order 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.