cancel
Showing results for 
Search instead for 
Did you mean: 

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

ykn
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

3 REPLIES 3
ykn
Senior

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
Guru

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".

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