Tutorials

Learn More

UART sends data in frames. A frame is usually one character or byte plus framing bits.

Generic UART frame

UART Frame Format

For the common 8N1 format:

  • 8: 8 data bits
  • N: no parity
  • 1: 1 stop bit

Example 8N1 frame

UART_8N1_Frame_Example

The UART line is normally idle in the mark state, the start bit is the active low/space state, stop bits are mark state, and bits are commonly transmitted least-significant bit first. Microchip’s generic asynchronous UART documentation describes NRZ mark/space behavior, idle mark state, start/stop bits, bit period, and LSb-first transmission for asynchronous UART operation.

Frame Fields

FieldTypical valuePurpose
IdleLogic 1 / markLine state when no frame is active
Start bitLogic 0 / spaceTells receiver a new frame has started
Data bitsCommonly 7 or 8; implementation-dependent options may varyPayload bits
Parity bitOptionalSimple error detection
Stop bit(s)Logic 1 / markConfirms frame end and gives receiver recovery time

Note: UART endpoints must agree on baud rate, number of data bits, parity mode, and stop-bit setting. A mismatch can produce corrupted data or framing/parity errors.