cancel
Showing results for 
Search instead for 
Did you mean: 

Processor pin assignments

SoCalJim
Associate III

Given an MCU (say an STM32H755ZIT) and a function (say SPI2_MOSI), how can you find which pins may be configured as SPI2_MOSI, short of clicking on every pin in the Pinout View of the MX Device Configuration Tools?

4 REPLIES 4
TDK
Guru

Two ways:

On the bottom right, you can search pins by function. Typing in "SPI2_MOSI" will have all pins that can be configured as that flash. Typing in "SPI2" will flash all pins with an SPI2 function.

TDK_0-1739838022387.png

 

It's also listed in the datasheet where you could Ctrl+F to search for it.

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

The Datasheet has a table which tells you what alternate functions are mapped to each pin.

For the case of STM32H755ZIT:

AndrewNeil_0-1739838195873.png

https://www.st.com/resource/en/datasheet/stm32h755zi.pdf#page=61

For how to select each Alternate Function, see:

AndrewNeil_1-1739838286998.png

 

 

 

Thanks! :)

You're welcome.

It it's answered your question, please mark the solution:

https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256