cancel
Showing results for 
Search instead for 
Did you mean: 

Activate USB OTG with PA11 PA12 with DK2 possible?

Niklas Voi
Associate II

Hi,

for our testing i want to activate the fullspeed OTG on the Pins PA11,PA12. VBUS_OTG is not routet out the Chip on the DK2.

Is it possbile to use the FS phy on PA11/PA12 on the DK2 board?

Best regards,

Niklas

1 REPLY 1
PatrickF
ST Employee

Hi,

please look at https://wiki.st.com/stm32mpu/wiki/OTG_device_tree_configuration#DT_configuration_example_as_full-speed_OTG-2C_with_micro-B_connector

PA11 and PA12 are available on DK2, but not PA10 (ID) nor VBUS, so depending if you want OTG in host or device mode, you will have to add some DT keys to ignore the pins status.

See https://wiki.st.com/stm32mpu/wiki/How_to_configure_U-Boot_for_your_board#USB_OTG_node

Regards.

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.