Skip to main content
AAzhi.1
Associate
August 10, 2021
Question

Cannot configure pin PA for USB OTG FS

  • August 10, 2021
  • 5 replies
  • 1724 views

Hey ,

In the OTG block diagram (attached below ) pin PA11 and PA12 can be configured as OTG_FS but using CubeMx we can't set the functionality of these pins.0693W00000D24X5QAJ.jpg0693W00000D24YNQAZ.png

This topic has been closed for replies.

5 replies

AAzhi.1
AAzhi.1Author
Associate
August 10, 2021

Is there any way to configure these pins?

TDK
Super User
August 10, 2021

What chip?

"If you feel a post has answered your question, please click ""Accept as Solution""."
AAzhi.1
AAzhi.1Author
Associate
August 10, 2021

STM32MP1

TDK
Super User
August 10, 2021

> STM32MP1

That's not a chip number. There are 48 different chips within that family. Which one are you using? Seems like they all don't have USB FS.

"If you feel a post has answered your question, please click ""Accept as Solution""."
PatrickF
Technical Moderator
September 6, 2021

Hi,

I confirm this is a limitation of CubeMX, you should leave them untouched in CubeMX and edit manually your Device Tree.

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

and 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 '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.NEW ! Sidekick STM32 AI agent, see here