Skip to main content
Associate III
January 25, 2024
Solved

USART configuration problem

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.

    This topic has been closed for replies.
    TDK
    TDKBest answer
    January 25, 2024

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

    2 replies

    TDK
    TDKBest answer
    January 25, 2024

    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""."
    ShiinaAuthor
    Associate III
    January 25, 2024

    Thanks