Principle of Operation

The USART uses the following lines for data transfer:

USART data transfer is frame based. A serial frame consists of:

A frame starts with the start bit followed by one character of data bits. If enabled, the parity bit is inserted after the data bits and before the first stop bit. After the stop bit(s) of a frame, either the next frame can follow immediately, or the communication line can return to the idle (high) state. The figure below illustrates the possible frame formats. Brackets denote optional bits.

Figure 1. Frame Formats
St
Start bit. Signal is always low.
n, [n]
Data bits. 0 to [5..9]
[P]
Parity bit. Either odd or even.
Sp, [Sp]
Stop bit. Signal is always high.
IDLE
No frame is transferred on the communication line. Signal is always high in this state.