Skip to main content
Associate III
February 18, 2025
Solved

Processor pin assignments

  • February 18, 2025
  • 4 replies
  • 775 views

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.
Best answer by Andrew Neil

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

 

 

 

4 replies

TDK
February 18, 2025

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
February 18, 2025

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
February 18, 2025

Thanks! :)

Andrew Neil
Super User
February 18, 2025

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.