Skip to main content
Explorer II
March 24, 2024
Solved

How many GPIO pins can be used on H563ZI

  • March 24, 2024
  • 2 replies
  • 1611 views

I am a new user of H563ZI, and I have read the datasheet. I wonder if all pins that can be viewed in cubeIDE can be used as a GPIO pin?

For example, as mentioned in the datasheet, PB2 is used as QSPI_CK when solder bridge configurations are not changed. Can I use it as GPIO_OUTPUT pin by just configuring it in cubeIDE without modifying the solder bridges?

hchienti_0-1711242665854.png

If not, then the actual numbers of pins that can be used is just as many as the Arduino pins? I am quite confused.

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @hchienti and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    First what you arr reading is not the datasheet of the MCU. Is just the user manual of the board NUCLEO-H563ZI which is based on the STM32H563ZIT6 MCUs. To understand the Pins available and How they can be configured to do, You should take a look at the Table 13 and Table 14 of the DS14258. The user manual of  the Nucleo board (UM3115) will guide you on how to map you pins for example on your case. You can use the PB2 as a gpio or any other fonction that it can support but the signal will be mapped on the pin13 of CN9 , pin15 of CN10 or a pin on the CN12 (you can find it on the CN12 pinout) depending on the configuration of SB61 and SB66.

    Best Regards.

    STTwo-32 

    2 replies

    STTwo-32Answer
    Technical Moderator
    March 24, 2024

    Hello @hchienti and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    First what you arr reading is not the datasheet of the MCU. Is just the user manual of the board NUCLEO-H563ZI which is based on the STM32H563ZIT6 MCUs. To understand the Pins available and How they can be configured to do, You should take a look at the Table 13 and Table 14 of the DS14258. The user manual of  the Nucleo board (UM3115) will guide you on how to map you pins for example on your case. You can use the PB2 as a gpio or any other fonction that it can support but the signal will be mapped on the pin13 of CN9 , pin15 of CN10 or a pin on the CN12 (you can find it on the CN12 pinout) depending on the configuration of SB61 and SB66.

    Best Regards.

    STTwo-32 

    hchientiAuthor
    Explorer II
    March 24, 2024

    @STTwo-32 Thanks for reply!

    So if I just need a GPIO functionality(for example, controlling a motor), I can just ignore the alternate functions of those pins, and configure them as GPIO OUTPUT?

    The solder bridge seems only impact the pin mapping and the alternate functions.

    Technical Moderator
    March 24, 2024

    Exactly.

    Best Regards.

    STTwo-32