Skip to main content
matt-crc
Senior III
March 7, 2025
Question

Feature Request - Pin selection - CubeMx

  • March 7, 2025
  • 2 replies
  • 473 views

Hello,

When a user adds a peripheral (for example I2c),  CubeMx picks some default and/or available pins for the device.

mattcrc_0-1741334003863.png

It would be really nice if CubeMX can list all the Alternative pins that this peripheral can use.  So by right clicking on "I2C_SCL" in the image above, a popup can appear with a list of possible pins [ PB6 (green) because it is selected, PA0 (possibly yellow) because it is used by another peripheral, and PF6).  Then the user can click on the new pin in the popup list and change the pin number.  In my opinion, this would make pin selection a lot easier.

Thanks

Matthew

2 replies

Ghofrane GSOURI
Technical Moderator
March 7, 2025

Hello @matt-crc 

Thanks a lot for your contribution.

I have been  raised your request to dev team for feasibility check.(Internal number ticket 204828)

 

BR,

Ghofrane

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.
TDK
Super User
March 7, 2025

In case you didn't already know, You can search for "I2C1_SCL" on the bottom right of the pinout view, or ctrl+click on the pin to see alternatives.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Pavel A.
Super User
March 7, 2025

Yes  ctrl+click on the pin in the pinout view shows alternatives. Access to this directly from the component options view can save time.