stm32h573RIv Datasheet and CubeMX not matching with pin alternate functions
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
