Skip to main content
JLemi
Associate III
March 16, 2021
Solved

Mcu.PinXXX parameters - What do they represent? And are they documented?

  • March 16, 2021
  • 2 replies
  • 1210 views

Hello,

Doing a "git diff" on my project IOC file notably highlights these changes:

-Mcu.Pin6=PA2

-Mcu.Pin7=PA3

+Mcu.Pin6=PA0

+Mcu.Pin7=PA1

Looking at the IOC file, I do not think that these Mcu.PinXXX parameters define the actual pin name associated with a physical pin number.

So I am wondering what these Mcu.PinXXX parameters represent. And an even more important question: where are all STM32CubeMX IOC file parameters documented by ST? Googling them leads to no results.

Thanks!

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hello @JLemi​ ,

Thanks for your question,

In fact, the Mcu.PinX=PA2 represents the assignment order of this pin to the signal chosen, for example if you create a new empty project then you have set the PA2 to GPIO_Output , you will get Mcu.Pin0=PA2 in your ioc file, etc..

Actually, there is no document that explains these details, but don't hesitate to give your suggest about this regards under the Idea Zone, we even encourage you to come up with any idea that suits you and that you think is missing in ST Tools, your ideas are always interesting and welcome :)

Hope my answer helped you, When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thanks for your contribution, Khouloud

2 replies

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
March 16, 2021

Hello @JLemi​ ,

Thanks for your question,

In fact, the Mcu.PinX=PA2 represents the assignment order of this pin to the signal chosen, for example if you create a new empty project then you have set the PA2 to GPIO_Output , you will get Mcu.Pin0=PA2 in your ioc file, etc..

Actually, there is no document that explains these details, but don't hesitate to give your suggest about this regards under the Idea Zone, we even encourage you to come up with any idea that suits you and that you think is missing in ST Tools, your ideas are always interesting and welcome :)

Hope my answer helped you, When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thanks for your contribution, Khouloud

JLemi
JLemiAuthor
Associate III
March 16, 2021

Many thanks. The naming "Mcu.PinXXX" seems rather poorly chosen for what you describe. Best regards.