Skip to main content
Visitor II
February 18, 2025
Solved

Processor pin assignments

  • February 18, 2025
  • 2 replies
  • 722 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

     

     

     

    2 replies

    Super User
    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.

    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

     

     

     

    SoCalJimAuthor
    Visitor II
    February 18, 2025

    Thanks! :)

    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