Skip to main content
Visitor II
January 27, 2021
Question

Activate USB OTG with PA11 PA12 with DK2 possible?

  • January 27, 2021
  • 1 reply
  • 722 views

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

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    January 27, 2021

    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.