Skip to main content
SalPaz
Associate II
Oct 20, 2020 1:08 PM UTC
Solved

Findout pin assignments on CubeIDE

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.
Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
Oct 20, 2020 1:32 PM UTC

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
Oct 20, 2020 1:32 PM UTC

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
Oct 20, 2020 3:06 PM UTC

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
Oct 20, 2020 9:52 PM UTC

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""."