cancel
Showing results for 
Search instead for 
Did you mean: 

USART configuration problem

Shiina
Associate III

Version: 1.14.1

MCU package: STM32CubeF1 Firmware Package V1.8.0 / 26-June-2019

Shiina_0-1706153797998.png

The GPIO Settings of the USART auto configuration are incorrect.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

The decades-old STM32F1 series handles pin functions differently than other series. Since USART_RX is an input to the microcontroller, input mode is correct and appropriate here.

TDK_0-1706154716500.png

AF is used for outputs and bidirectional pins.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Guru

The decades-old STM32F1 series handles pin functions differently than other series. Since USART_RX is an input to the microcontroller, input mode is correct and appropriate here.

TDK_0-1706154716500.png

AF is used for outputs and bidirectional pins.

If you feel a post has answered your question, please click "Accept as Solution".
Shiina
Associate III

Thanks