Skip to main content
SalPaz
Associate II
October 20, 2020
Solved

Findout pin assignments on CubeIDE

  • October 20, 2020
  • 3 replies
  • 5521 views

How can I find out on a written program on CubeIDE that which pin of the microcontroller is used for different peripherals like ADC, Timer, DAC and so on?

This topic has been closed for replies.
Best answer by Markus GIRDLAND

That's done through the CubeMX perspective. If you have generated an MX project in CubeIDE (File -> New -> STM32 Project) then you can double click on the .ioc file in the Project Explorer which will take you to the CubeMX perspective.

If you're new to the tool I would suggest making use of the user guide to help your development. You can find it here.

3 replies

Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
October 20, 2020

That's done through the CubeMX perspective. If you have generated an MX project in CubeIDE (File -> New -> STM32 Project) then you can double click on the .ioc file in the Project Explorer which will take you to the CubeMX perspective.

If you're new to the tool I would suggest making use of the user guide to help your development. You can find it here.

SalPaz
SalPazAuthor
Associate II
October 20, 2020

Thank you for your reply.

I do not have the Cube MX file. Is there any file inside Drivers folder to Core folder that could lead me to this information?

TDK
October 20, 2020

stm32*_hal_msp.c should have pin assignments listed, if it was generated by CubeMX.

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