2025-03-07 12:02 AM
Hello,
When a user adds a peripheral (for example I2c), CubeMx picks some default and/or available pins for the device.
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
2025-03-07 12:31 AM - edited 2025-03-07 12:35 AM
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
2025-03-07 6:48 AM
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.
2025-03-07 8:09 AM - edited 2025-03-07 8:10 AM
Yes ctrl+click on the pin in the pinout view shows alternatives. Access to this directly from the component options view can save time.