Skip to main content
Visitor
September 14, 2026
Question

STM32H757AIIx, UFBGA169 - PC2_C - SPI2_MISO

  • September 14, 2026
  • 3 replies
  • 16 views

Hi, I want to use SPI2 on the STM32H757AIIx, the UFBGA169 package. STM32CubeMX allocates PC2_C pin as SPI2_MISO, but the datasheet only shows ADC2_INN1, ADC3_INP0 as additional functions. SPI2_MISO is not defined on that pin (K13). Which one is correct ? Datasheet or STM32CubeMX ?

 

3 replies

mƎALLEm
ST Technical Moderator
September 14, 2026

Hello ​@L.T. and welcome to the ST community,

No error neither on the datasheet nor in the CubeMx.

That UFBGA169 package doesn’t have PC2 GPIO, but PC2_C. All the alternate functions available on PC2 are available on PC2_C over the analog switch.

The analog switch that connects the internal PC2 (the IO which is not exposed externally to the package) is closed by default so it connects to PC2_C.

See note 3 under the Table 8. STM32H757xI pin/ball definition in the DS12931:

So in your case configure SPI IO on PC2_C in CubeMx and ensure you keep the analog switch closed.

You can also refer to this knowledge base article: FAQ: Default State of STM32H7 switches connecting Pxy_C and Pxy pads

Hope that helps.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
L.T.Author
Visitor
September 15, 2026

Thanks a lot for the fast and precise answer. It helps :)

mƎALLEm
ST Technical Moderator
September 15, 2026

Hello ​@L.T. 

Glad to know it helped. If your question has been answered by my previous post, please accept it as Best Answer.

Help others to solve their issues

Thank you.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.