What is the role of start and stop bits in UART?
Technical Blog / Author: icDirectory United Kingdom / Date: Jun 24, 2024 02:06
UART (Universal Asynchronous Receiver/Transmitter) communication uses start and stop bits to frame each unit of data transmitted between devices. Here's a detailed explanation of their roles:

## Start Bit


- Purpose: The start bit indicates the beginning of a new data frame. It prepares the receiver for incoming data and synchronizes it with the transmitter.
- Duration: Typically, the start bit is one bit time long.
- Signal Level: It is always low (0) to signal the start of data transmission.
- Detection: Receivers monitor the line for transitions from high to low to detect the start of a new data frame.

When data transmission begins, the UART transmitter sends the start bit (0) followed by the data bits (usually 7 or 8 bits representing the actual data) and ends with the stop bit(s).

## Stop Bit(s)


- Purpose: Stop bit(s) indicate the end of a data frame. It allows the receiver to detect when the data transmission has finished.
- Duration: Typically, one or two stop bits are used.
- Signal Level: Stop bit(s) are always high (1).
- Detection: Receivers wait for the line to return to the idle state (high) after the stop bit(s) to prepare for the next start bit of the subsequent data frame.

## Detailed Process


1. Idle State: The UART communication line remains in the idle state (high voltage).

2. Start of Transmission:
- When the transmitter wants to send data, it pulls the line low (start bit).
- The receiver detects this falling edge (low to high transition) as the start of a new data frame.

3. Data Transmission:
- After the start bit, the transmitter sends the data bits sequentially (LSB first).
- Each data bit represents part of the information being transmitted.

4. End of Transmission:
- After sending all the data bits, the transmitter sends one or more stop bits.
- These stop bits are high and provide a margin of time for the receiver to process the received data and prepare for the next frame.

5. Return to Idle State:
- After the stop bit(s), the UART line returns to the idle state (high).
- The receiver waits in the idle state until the start of the next transmission.

## Importance of Start and Stop Bits


- Synchronization: Start bits synchronize the receiver's internal clock with the incoming data stream.
- Frame Detection: Stop bits indicate the end of a data frame, helping the receiver distinguish between consecutive data units.
- Error Detection: The presence of a start bit at the expected time and correct stop bit(s) confirms the integrity of the received data frame. If these are incorrect or missing, it indicates a transmission error.
- Data Rate Flexibility: Asynchronous communication using start and stop bits allows devices to operate at slightly different clock rates without the need for a common clock signal.

In summary, start and stop bits in UART communication play crucial roles in signaling the beginning and end of data transmission frames, ensuring reliable and synchronized communication between devices even when operating asynchronously. Their careful management is essential for accurate data reception and transmission in serial communication protocols.

icDirectory United Kingdom | https://www.icdirectory.co.uk/a/blog/what-is-the-role-of-start-and-stop-bits-in-uart.html
Related Products
XR16C2852CJ-F
XR16C2852CJ-F
MaxLinear
Date: Jun 02, 2026
SC16C2550BIA44,512
SC16C2550BIA44,512
NXP Semiconductors
Date: Jun 01, 2026
XR16C2850CM-F
XR16C2850CM-F
MaxLinear
Date: Jun 01, 2026
XR16C2850IJTR-F
XR16C2850IJTR-F
MaxLinear
Date: Jun 01, 2026
SC16C2550IA44,529
SC16C2550IA44,529
NXP Semiconductors
Date: Jun 01, 2026
SC26C92A1A,529
SC26C92A1A,529
NXP Semiconductors
Date: Jun 01, 2026
XR16C2850CJ-F
XR16C2850CJ-F
MaxLinear
Date: Jun 01, 2026
SC26C92A1B,551
SC26C92A1B,551
NXP Semiconductors
Date: May 31, 2026
CS82C52Z
CS82C52Z
Renesas Electronics
Date: May 31, 2026
XR16C2550IJTR-F
XR16C2550IJTR-F
MaxLinear
Date: May 31, 2026
SC16C2550IA44,518
SC16C2550IA44,518
NXP Semiconductors
Date: May 31, 2026
ST16C1450CJ28TR-F
ST16C1450CJ28TR-F
MaxLinear
Date: May 31, 2026
Technical Blog
  • What is the UART overrun error?
  • How do you calculate the UART baud rate?
  • What is the UART communication data parity bit usage?
  • What is the baud rate in UART communication?
  • What is the UART communication reliability?
  • What is the UART communication data buffering strategy?
  • How do you troubleshoot UART communication issues?
  • What is the UART communication handshaking?
  • What is the UART communication master-slave mode?
  • What is the UART communication data stop bit duration?
  • What is the UART communication data integrity check?
  • What is the UART communication multipoint mode?
  • What is the UART data overrun error?
  • What is the UART communication flow control?
  • How do you configure UART communication?
  • What is the UART communication distance?
  • What is the UART idle line condition?
  • What is the UART communication data word length configuration?
  • What is the UART communication data multiplexing technique?
  • What is the UART break condition?
  • What is the UART communication full-duplex mode?
  • What are the disadvantages of UART communication?
  • What is the UART communication data error detection mechanism?
  • What is the UART communication data framing format?
  • What is the UART communication data integrity?
  • What is the UART data idle line condition?
  • What is the maximum cable length for UART communication?
  • What is the UART data format?
  • What is the UART stop bit?
  • What is the UART data framing error?