cancel
Showing results for 
Search instead for 
Did you mean: 

How to produce list of pin assignments?

KevinZ
Associate III

Hello, all,

I'm using STM32CubeIDE to design my first STM32 micro-controller circuit. I've used the tool to assign functions to about 20 pins on the micro-controller so far. Now, I'm at the stage where I'm creating the schematic and connecting external circuitry to the micro-controller pins.

Is there an easy way to get a list of the pins I've assigned so far, along with User Labels, so I can go right down the list and wire up the circuits? What I'm doing so far is to keep the STM32CubeIDE open on one monitor and view the pin-out view, and work my way around the chip, wiring pins as I go. Is this the most efficient way to work? Is this how most others do it? I wondered if I was overlooking some built-in function of STM32CubeIDE to perform this task.

Thanks for your advice and suggestions.

-Kevin

 

1 ACCEPTED SOLUTION

Accepted Solutions
BTurc.2
Senior

Hello Kevin,
Personally, when I'm wiring my project in KiCad, for example, I have both STM32CubeIDE and KiCad open. However, if you want to have an Excel spreadsheet with the pinout, you can do the following:
Go to .ioc->Pinout->Export Pinout without Alt. Functions
Captura pantalla.png

 

And you will have an .csv file like this one:
Exel.png

I hope this is what you were searching for.

Have a nice day!

 

View solution in original post

3 REPLIES 3
BTurc.2
Senior

Hello Kevin,
Personally, when I'm wiring my project in KiCad, for example, I have both STM32CubeIDE and KiCad open. However, if you want to have an Excel spreadsheet with the pinout, you can do the following:
Go to .ioc->Pinout->Export Pinout without Alt. Functions
Captura pantalla.png

 

And you will have an .csv file like this one:
Exel.png

I hope this is what you were searching for.

Have a nice day!

 

halfordC
Associate II

STM32CubeMX has a tool that exports a schematic symbol of your pin assignments. 
You can check section 4.17 of the CubeMX Manual: 
https://www.st.com/resource/en/user_manual/um1718-stm32cubemx-for-stm32-configuration-and-initialization-c-code-generation-stmicroelectronics.pdf

I've had varying degrees of success with larger pinout chips, but I think smaller projects should work just fine. 

KevinZ
Associate III

@BTurc.2and @halfordC , thank you both for your helpful replies.

@BTurc.2, that was exactly what I was asking for. Thanks, also, for describing how you work efficiently.

@halfordC, thanks about the schematic output. I'm using KiCAD and might try this, just to experiment. I would have never learned about this on my own.

-Kevin