Skip to main content
Visitor II
March 28, 2024
Solved

Subject: STM32H753ZI cannot control PC02 as GPIO or SPI2_MISO functionality.

  • March 28, 2024
  • 3 replies
  • 5995 views

Hi expert, our project is currently in the development stage. We are using the NUCLEO-H753ZI Development Kit for firmware development while awaiting the arrival of our custom board from the manufacturer. The dev-kit employs the STM32H753ZI (LQFP144), which has a slightly different pin configuration compared to the MCU on our custom board STM32H753ZI (LQFP100).

During our development process, we encountered an issue with using PC2_C to control SPI2 (SPI2_MISO), where it consistently pulls low. Despite extensive debugging efforts, including configuring the pin as GPIO and measuring with a logic analyzer, the issue persisted. Upon researching similar cases on the ST Community forum STM32H735V (LQFP100) PC2_C and PC3_C speed and FAQ: Default State of STM32H7 switches connecting Pxy_C and Pxy pads, we realized it might be related to a known issue in the STM32H7 family, specifically a bug in the silicon regarding the PC02 pin.

QuocBui_0-1711609550750.png

 

After reviewing the documentation and conducting tests on our end, we observed that while PC3_C can be controlled as expected, PC2_C cannot be controlled even when manipulating the external pad switches using the provided code:

HAL_SYSCFG_AnalogSwitchConfig(SYSCFG_SWITCH_PC2, SYSCFG_SWITCH_PC2_CLOSE);
HAL_SYSCFG_AnalogSwitchConfig(SYSCFG_SWITCH_PC3, SYSCFG_SWITCH_PC3_CLOSE);

  1. We would appreciate confirmation regarding whether this issue is indeed related to the chip itself.
  2. Additionally, our custom board utilizes the STM32H753ZI (LQFP100) package, which differs slightly from the package used in the NUCLEO-H753ZI. We would like to know if this package also experiences the same issue.

Thank you in advance for your assistance.

    This topic has been closed for replies.
    Best answer by mƎALLEm

    From my side I probed CN11/35 on the NUCLEO-H753ZI and there is no issue: PC2_C is toggling.

    Could you please check the continuity between CN11 connector PC2_C pin and pin28 of the chip? The continuity test should be done on the connector and not on the PCB.

    Are you sure the IO is not damaged by a previous usage?

     

    3 replies

    Technical Moderator
    March 28, 2024

    Hello,

    Did you face the described issue on the NUCLEO-H753ZI (LQFP144)?

    PS:

    PA0, PA1, PC2_C and PC3_C pins are available on all packages.

    PC2, PC3, PA0_C and PA1_C pins are available only on the TFBGA240+25

     

    QuocBuiAuthor
    Visitor II
    March 28, 2024

     

     

    Hi, @mƎALLEm,

    "Did you encounter the described issue on the NUCLEO-H753ZI (LQFP144)?"

    -> Yes, we're experiencing an issue with the development kit (PC2_C Pin). However, our custom board is incoming (expected in a few weeks or more). We'll be utilizing the STM32H753ZI (LQFP100) instead of the STM32H753ZI (LQFP144) on NUCLEO-H753ZI. I want to confirm whether it has the same issue as the STM32H7 family or not?

    Technical Moderator
    March 28, 2024

    During our development process, we encountered an issue with using PC2_C to control SPI2 (SPI2_MISO), where it consistently pulls low.

     If I understand well the issue, you cannot even toggle PC2_C GPIO pin with NUCLEO-H753ZI. Could you confirm?

    QuocBuiAuthor
    Visitor II
    March 28, 2024

    Hi @mƎALLEm , Yes, correct. We cannot toggle the PC2_C GPIO pin with NUCLEO-H753ZI, and the issue is the same as what was discussed in the ST Community forum "Regarding STM32H735V (LQFP100) PC2_C and PC3_C speed, as well as the FAQ regarding the default state of STM32H7 switches connecting Pxy_C and Pxy pads". Could you help me confirm whether the issue lies with a bug in the silicon regarding the PC2_C pin, or if it's something else?

    Technical Moderator
    March 28, 2024

     

    Hi @mƎALLEm , Yes, correct. We cannot toggle the PC2_C GPIO pin with NUCLEO-H753ZI


    I will check on NUCLEO-H743ZI.

     


    and the issue is the same as what was discussed in the ST Community forum "Regarding STM32H735V (LQFP100) PC2_C and PC3_C speed, as well as the FAQ regarding the default state of STM32H7 switches connecting Pxy_C and Pxy pads". Could you help me confirm whether the issue lies with a bug in the silicon regarding the PC2_C pin, or if it's something else?

    I don't think it's the same issue. 

    Your are not arriving to toggle the IO while for the other threads the subject is related to timing issue. Which is already known.

    QuocBuiAuthor
    Visitor II
    April 3, 2024

    Hi @Andreas Bolsch, FYI, here is the chip information on NUCLEO-H753ZI Dev-Kit:

    QuocBui_0-1712134618735.png

    Technical Moderator
    April 3, 2024
    • As I've already suggested, you need to check the continuity.
    • You need to confirm if PC2_C was not previously used and therefore broken.

    PS: there is no difference between different silicon revisions in term of PC2_C pin.