Skip to main content
Associate III
Feb 18, 2025 12:10 AM UTC
Solved

Processor pin assignments

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?

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
Feb 18, 2025 12:25 AM UTC

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

 

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.

4 replies

TDK
Feb 18, 2025 12:21 AM UTC

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""."
Andrew Neil
Andrew NeilBest answer
Super User
Feb 18, 2025 12:25 AM UTC

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

 

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
SoCalJimAuthor
Associate III
Feb 18, 2025 12:57 AM UTC

Thanks! :)

Andrew Neil
Super User
Feb 18, 2025 1:32 AM UTC

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 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.