UART Serial Protocol

A UART (universal asynchronous receiver-transmitter) sends serial data one character at a time with no clock line: each frame is a start bit, 5 to 9 data bits, an optional parity bit and one or two stop bits, at a baud rate both ends agree in advance. To watch a link, use a line monitor such as the Lineeye LE-120SA, which captures RS-232C and TTL-level UART with timestamps, or a logic analyser with an asynchronous serial decoder. A UART is the hardware; RS-232, RS-485 and TTL serial are the electrical layers it most often drives.

2 wires plus groundTX and RX, crossed between devices
AsynchronousNo clock; timing comes from the agreed baud rate
8N1The most common frame: 8 data bits, no parity, 1 stop
Idle highA start bit pulls the line low
LSB firstLeast significant data bit sent first
Point to pointOne transmitter per line

How a UART Link Is Wired

Each device has a transmit output and a receive input. TX of one goes to RX of the other, and both share ground. Getting TX and RX the wrong way round is the most common wiring mistake, and usually nothing is damaged at logic level, though the two TX outputs then drive each other; the link simply stays silent. Optional RTS and CTS lines add hardware flow control, letting a receiver pause the sender when its buffer is full.

UART wiring: two devices, crossed TX and RX, common groundDevice A transmit (TX) connects to device B receive (RX), and device B TX connects to device A RX. Both share ground. There is no clock line. A line monitor taps both data lines and ground and only listens.Device AMCU UARTDevice BGPS, modem, PC adapterA TXB RXA RXB TXGNDGNDLine monitorlistens, never drivesNo clock: both ends must be set to the same baud rate and frame format
TX and RX cross between devices, with a common ground. A line monitor taps both directions and ground.

At the chip, a UART uses logic levels: 3.3 V or 5 V for a 1, 0 V for a 0, sometimes called TTL serial. RS-232 inverts and shifts those levels to roughly ±5 V to ±15 V for cables between equipment, and RS-485 sends the same frames differentially over long multi-drop lines. Connecting an RS-232 port straight to a 3.3 V UART pin can damage the pin.

How a UART Frame Works

UART frame for the character A (0x41), 8 data bits, no parity, 1 stop bitThe line idles high. A start bit pulls it low for one bit time. Eight data bits follow, least significant bit first: 1, 0, 0, 0, 0, 0, 1, 0, which is 0x41. A stop bit returns the line high, ready for the next start bit.IdleStartD0D1D2D3D4D5D6D7StopData 0x41, least significant bit first
The character A (0x41) in 8N1 format. The start bit marks the beginning of the frame; the receiver samples each bit near its centre, timed from that edge.
  1. Idle: the line sits high (mark) when nothing is being sent.
  2. Start bit: the transmitter pulls the line low for one bit time. The receiver detects the falling edge and starts its own timer.
  3. Data bits: 5 to 9 bits, least significant first. The receiver samples each one near the middle of its bit time, using its own clock.
  4. Parity (optional): one bit set so the count of 1s is even or odd, which catches single-bit errors.
  5. Stop bit: the line returns high for one or two bit times before the next start bit can begin.

Because each frame resynchronises on its start bit, the two clocks only need to agree for about ten bit times. A mismatch of a few percent is tolerated; beyond that the last bits are sampled in the wrong place and framing errors appear.

Common Settings

SettingTypical ValuesNotes
Baud rate9600, 19200, 38400, 57600, 115200, 230400, 460800Both ends must match; 115200 is the usual default for consoles
Data bits8 (sometimes 7, rarely 5, 6 or 9)7 data bits with parity is common on older industrial kit
ParityNone, Even, OddShown as N, E or O in shorthand such as 8N1 or 7E1
Stop bits1 or 21.5 exists for 5-bit data
Flow controlNone, RTS/CTS, XON/XOFFXON/XOFF uses characters in the data stream, so it is unsuitable for binary data

Where UARTs Are Used

  • Debug consoles: boot logs and shells on microcontrollers, Linux boards and routers, usually 115200 8N1 at 3.3 V.
  • Modules: GPS receivers, cellular and Bluetooth modules driven by AT commands or binary protocols.
  • Industrial and legacy equipment: RS-232 and RS-485 ports on instruments, PLCs, barcode readers, POS terminals and Modbus RTU networks.
  • Bootloaders: many microcontrollers accept firmware over a UART from the factory ROM bootloader.

Common UART Faults and How to Find Them

SymptomLikely CauseWhat to Check
Nothing received at allTX and RX not crossed, or no common groundCheck with a monitor that data appears on the line you expect, and that grounds are joined
Random characters, mostly garbageBaud rate mismatchMeasure one bit time on a scope or analyser: 115200 baud is about 8.68 µs per bit
Occasional framing or parity errorsClock error near the limit, or a wrong frame format such as 7E1 against 8N1Compare the measured bit time with the nominal one; confirm data bits, parity and stop bits at both ends
Data lost at high ratesReceiver buffer overrun with no flow controlEnable RTS/CTS, or look for gaps where the sender ignores CTS
Inverted or no data on an RS-232 portLogic-level UART connected directly to RS-232 levelsFit an RS-232 transceiver; never connect ±12 V to a 3.3 V pin

Tools for Analysing and Decoding UART

Watch tools listen to an existing link and record traffic in both directions with timestamps. For a line monitor or analyser, the key questions are the electrical levels it accepts and the highest baud rate you need.

Line Monitor

ProductRoleCapabilityPrice ex VAT
Lineeye LE-120SA Line MonitorWatchHandheld monitor for RS-232C and 1.8 V, 2.5 V, 3.3 V and 5 V TTL UART, to 921.6 kbit/s (firmware 1.05 or later), with timestamps and triggers£625

For RS-232, RS-422 and RS-485 links between equipment, see the RS-232 and RS-485 pages, which cover the multi-protocol Lineeye analysers.

Logic Analysers and Oscilloscopes with UART Decoding

ProductRoleCapabilityPrice ex VAT
Saleae Logic 8WatchAsynchronous serial decoder in the Logic 2 software; decodes several UARTs at once£405
Saleae Logic Pro 8WatchHigher sample rates for fast baud rates; same decoder£830
Saleae Logic Pro 16Watch16 channels for several links plus control lines£1,245
Micsig TO Series tablet oscilloscopeWatchUART decoding as standard, so you see edge quality and decoded characters togetherFrom £520

Accessories

  • Lineeye LE-5LS 5-Wire TTL Cable With Probes (£90): IC-clip probe leads for the TTL/external I/O port on the LE-3500R, LE-2500R and LE-1500R, and the LE-3500XR and LE-2500XR; on the LE-120SA it fits the external signal I/O port.

Browse every tool in our protocol decoders and logic analysers collections. Tell us the voltage level and baud rate and we will recommend one.

Frequently Asked Questions

What Is the Difference Between UART and RS-232?

UART is the frame format and the hardware block that sends it. RS-232 is an electrical standard for carrying those frames between equipment, with inverted levels of several volts either side of zero. The same UART frame can also travel at logic level or over RS-485.

How Do I Find an Unknown Baud Rate?

Capture the line and measure the shortest pulse, which is one bit time. Divide one by it: 8.68 µs gives 115200 baud, 104 µs gives 9600. Logic analysers and line monitors can also try common rates until the decode makes sense.

Why Do I See Garbage When the Device Boots?

Many chips print boot messages at a different baud rate from the application, or the line floats during reset and the receiver sees false start bits. Capture from power-on with a monitor to see both.

Is UART the Same as USART?

A USART can also run synchronously, with a clock line, as well as in the usual asynchronous mode. In asynchronous mode it behaves exactly like a UART.

Can Several Devices Share One UART Line?

Not at logic level, because only one transmitter can drive a line. For multi-drop networks, use RS-485 transceivers and a protocol such as Modbus RTU that addresses each device.

Where to Start with UART

More Protocols

By John Legg CEng, Director, Debug Store. Updated 3 November 2026.