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

Table of Contents
Inputs
This block has no inputs.
Outputs
This block has no outputs.
Block Parameters
| Parameter | Description |
|---|---|
| Module number | Number of the USART/UART module. |
| Module type | Peripheral interface type:UART/USART - UART or USART interfaceLPUART - LPUART interface |
| Size of tx buffer | Transmit buffer size (in bytes). |
| Size of rx buffer | Receive buffer size (in bytes). |
| Disable IT on errors | Disables the interrupt interface on errors. |
| Initialize Rx in loop | Initializes the receive buffer in a loop. |
| Sample time | Function refresh period. |

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