What is UART Protocol? UART Communication Explained

Universal asynchronous receiver-transmitter (UART) is one of the simplest and oldest forms of device-to-device digital communication. You can find UART devices as a part of integrated circuits (ICs) or as individual components. UARTs communicate between two separate nodes using a pair of wires and a common ground.

UART Protocol Guide

As a “universal” setup, we can configure UART to work with many different types of serial protocols.  UART was adapted into single-chip units in the early 1970s, starting with Western Digital’s WD1402A.

In a UART communication scheme:

1. One chip’s Tx (transmit) pin connects directly to the other’s Rx (receive) pin and vice versa. Commonly, the transmission will take place at 3.3 or 5V. UART is a single-master, single-slave protocol, where one device is set up to communicate with only one partner.

2. Data travels to and from a UART in parallel to the controlling device (e.g., a CPU).

3. When sending on the Tx pin, the first UART translates this parallel information into serial and transmits it to the receiving counterpart.

4. The second UART receives this data on its Rx pin and transforms it back into parallel to communicate with its controlling device.

UARTs transmit data serially, in one of three modes:

- Full duplex: Simultaneous communication to and from each master and slave

- Half duplex: Data flows in one direction at a time

- Simplex: One-way communication only

Data transmission takes place in the form of data packets, beginning with a start bit, where the ordinarily high line is pulled to ground. After the start bit, five to nine data bits transmit in what is known as the packet’s data frame, followed by an optional parity bit to verify proper data transmission. Finally, one or more stop bits are transmitted where the line is set to high. This ends a packet.

As an asynchronous protocol— no clock line regulates data transmission speed— users must set both devices to communicate at the same speed. This speed is known as the baud rate, expressed in bits per second, or bps. Transmission speeds vary dramatically, from the typical 9600 baud setting to 115200 and beyond.

While something of an “ancient” protocol, and one that can only communicate between a single master and slave, UART is well known, easy to set up, and extremely versatile. As such, you’re likely to encounter this system when working with microcontroller projects. UARTs may be a part of systems that you use every day, whether you realize it or not.

최신 뉴스

Sorry, your filter selection returned no results.

개인정보 보호정책이 업데이트되었습니다. 잠시 시간을 내어 변경사항을 검토하시기 바랍니다. 동의를 클릭하면 Arrow Electronics 개인정보 보호정책 및 이용 조건에 동의하는 것입니다.

당사의 웹사이트에서는 사용자의 경험 향상과 사이트 개선을 위해 사용자의 기기에 쿠키를 저장합니다. 당사에서 사용하는 쿠키 및 쿠키 비활성화 방법에 대해 자세히 알아보십시오. 쿠키와 추적 기술은 마케팅 목적으로 사용될 수 있습니다. '동의'를 클릭하면 기기에 쿠키를 배치하고 추적 기술을 사용하는 데 동의하는 것입니다. 쿠키 및 추적 기술을 해제하는 방법에 대한 자세한 내용과 지침을 알아보려면 아래의 '자세히 알아보기'를 클릭하십시오. 쿠키 및 추적 기술 수락은 사용자의 자발적 선택이지만, 웹사이트가 제대로 작동하지 않을 수 있으며 사용자와 관련이 적은 광고가 표시될 수 있습니다. Arrow는 사용자의 개인정보를 존중합니다. 여기에서 당사의 개인정보 보호정책을 읽을 수 있습니다.