Skip to main content
ykn
Associate III
December 5, 2021
Solved

where i can get "selecting an alternate function for STMH7"

  • December 5, 2021
  • 3 replies
  • 905 views

I am very new in STM32, earlier i tried it on CubeMX but no use of it.

now i want o start code on register base. like below

like, https://controllerstech.com/how-to-setup-uart-using-registers-in-stm32/

but i am not getting where is alternate function chart ,there i can assigned UART to GPIO.

thanking you

This topic has been closed for replies.
Best answer by TDK

The datasheet has the mapping between pins and each AF mode.

0693W00000HnZh1QAF.png 

If you want to use direct register access, also get familiar with the reference manual.

3 replies

ykn
yknAuthor
Associate III
December 5, 2021

Actually on USART is working with help of CubeMX but i want to do it with help of register ,

so that I can get idea what is happening in Cubemx

TDK
TDKBest answer
December 5, 2021

The datasheet has the mapping between pins and each AF mode.

0693W00000HnZh1QAF.png 

If you want to use direct register access, also get familiar with the reference manual.

"If you feel a post has answered your question, please click ""Accept as Solution""."
ykn
yknAuthor
Associate III
December 5, 2021

Thank you very much. i have to go through number of datasheet.