UART
acronymKept in this browser · My desk
Stands for: universal asynchronous receiver-transmitter
A universal asynchronous receiver-transmitter (UART): the circuit that sends bytes as a timed stream of bits on one wire, with start, stop and optional parity bits, and no shared clock; on embedded boards it usually carries the serial console.
Both ends must agree beforehand on speed, data bits, parity and stop bits, written as a line such as 115200 8N1; nothing is negotiated, which is why a mismatch prints garbage. Texas Instruments' TL16C550D datasheet describes the classic design: characters of 5 to 8 bits, even, odd or no parity, one to two stop bits, a clock divisor of XIN divided by 16 times the baud rate, and the least significant bit sent first. The U-Boot boot loader's default console speed is 115,200 baud.
Levels. A UART pin swings between ground and the chip's supply, often 3.3 volts, while the old RS-232 port used about plus or minus 10 volts; connecting the two directly can damage a board, so adapters translate levels (the Tigard from 1.8 to 5.5 V, the Bus Pirate 5 from 1.2 to 5 V). Wiring. A header needs ground, transmit and receive; the modem-control lines RTS, CTS, DTR, DSR and DCD are optional. Security. ETSI EN 303 645 lists the UART among debug interfaces and requires, in provision 5.6-4, that a physically accessible debug interface be disabled in software; its example is a UART disabled in the boot loader so that no logon prompt or menu appears. An open console that offers a shell or a boot menu is therefore a weakness, not a feature, on a shipped product.
Also known as: universal asynchronous receiver-transmitter, serial console, console serial, 8n1, uart console
Sources
- Texas Instruments, TL16C550D datasheet, SLLS597E, April 2004, revised December 2008 (read 2026-11-17): serial-to-parallel conversion; 5 to 8 data bits, even, odd or no parity, 1, 1.5 or 2 stop bits; divisor = XIN / (baud x 16); bit 0 sent first; output at marking level after reset; character time of start, 8 data and stop bits
- U-Boot, drivers/serial/Kconfig (read 2026-11-17): config BAUDRATE, default 115200
- Hackaday, How-to: The Bus Pirate, Universal Serial Interface, 19 November 2008 (read 2026-11-16): a transceiver converting 3.3 V serial output to +/-10 V RS-232 signals
- ETSI EN 303 645 V2.1.1, June 2020 (read 2026-11-16): debug interface examples include UART; provision 5.6-4, a physically accessible debug interface shall be disabled in software; example 5, a UART disabled in the bootloader with no logon prompt or menu
- Tigard README (read 2026-11-16): UART header pin order VTGT, ground, TX, RX, then RTS, CTS, DTR, DSR, DCD; level shifters 1.8 to 5.5 V