cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot configure pin PA for USB OTG FS

AAzhi.1
Associate II

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

5 REPLIES 5
AAzhi.1
Associate II

Is there any way to configure these pins?

TDK
Guru

What chip?

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

STM32MP1

TDK
Guru

> 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
ST Employee

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.