cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h573RIv Datasheet and CubeMX not matching with pin alternate functions

A_Bit_More
Associate III

Good morning all!

I'm using the stm32h573RI chip with the packaging of LQFP64. I'm trying to setup pin PB5 and PB6 for UART5 using the CubeMX, however it's not working. I was reviewing the datasheet and the Alternate function it states is different than what CubeMX has. 

CubeMX has both PB5/6 with an alternative function of 14, but in the Datasheet in table 15 page 103 it states it at AF12. (when counting from 0). However, in Table 16 page 119 it does have both listed with AF14. 

Which is right? and what's the difference between table 15 and 16, when would I use the other and vice-verse?
sources: 
datasheet:  Datasheet - STM32H573xx - Arm<Sup>®</Sup> Cortex<Sup>®</Sup>-M33 32-bit MCU + TrustZone<Sup>®</Sup> + FPU, 375 DMIPS, 250 MHz, 2-Mbyte flash memory, 640-Kbyte RAM, cryptography

4 REPLIES 4
ELABI.1
ST Employee

Hi @A_Bit_More,

I confirm that pins PB5 and PB6 have alternate function 14, not 12. This information is found only in Table 17 Alternate functions AF8 to AF15, which is aligned with STM32CubeMX. No information about alternate function in table 15.

Thanks,

ELABI.1

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

A_Bit_More
Associate III

@ELABI.1 
It does have alternate functions in Table 15 : 

A_Bit_More_0-1756387333547.png

or what do you mean by " there are no more info about alternate function"

Hi @A_Bit_More,

In this table, it's not mentioned that pins PB5 and PB6 have the alternate function AF12.

When did you find this information?

ELABI.1

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.