Skip to Content
Block descriptionsUSARTUSART Setup

USART Setup Block Description

This block allows you to configure the USART peripheral interface in STM microcontrollers.



USART Setup block

Table of Contents

Inputs

This block has no inputs.

Outputs

This block has no outputs.

Block Parameters

ParameterDescription
Module numberNumber of the USART/UART module.
Module typePeripheral interface type:
UART/USART - UART or USART interface
LPUART - LPUART interface
Size of tx bufferTransmit buffer size (in bytes).
Size of rx bufferReceive buffer size (in bytes).
Disable IT on errorsDisables the interrupt interface on errors.
Initialize Rx in loopInitializes the receive buffer in a loop.
Sample timeFunction refresh period.


Block parameters for USART

CubeMX Configuration for a Given MCU Model

The interface configuration instructions are located on the subpage CubeMX Configuration for a Given MCU Model.

See Also

Last updated on