We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!

What Is Universal Asynchronous Receiver and Transmitter (UART)?


UART, also known as Serial Communications Interface (SCI), is a simple, single-host serial protocol. This protocol is asynchronous, which means there are no shared clock lines between host and target devices. However, the baud rates between each device must be matched within 10% of each other to prevent data loss. UART peripherals on select PIC® and AVR® microcontrollers (MCUs) also feature additional capabilities to implement protocols commonly found in automotive and intelligent lighting systems such as:

  • LIN host and client
  • DMX controller and receiver
  • DALI control gear and control device
  • One-wire mode
  • IrDA®-compliant pulse modulation/demodulation
  • RS-485 mode

Why Use UART?


UART uses two wires for full duplex asynchronous communication between devices. Its simple implementation makes it useful for debugging projects in development and its supported protocols make it ideal for wireless communications such as Bluetooth®.

Peripheral Support


  • UART
  • UART with Protocol Support
  • USART
  • EUSART

Applications


UART is a powerful and effective tool for debugging during the development process and paired with the built-in data visualizer of MPLAB® X Integrated Development Environment (IDE), you can view UART outputs within MPLAB X IDE or your preferred terminal emulator. Bluetooth communication utilizes the UART protocol extensively and our RN4870RN4871 and RN4678 modules include the UART peripheral for quick and easy implementation of Bluetooth in your next project.

Documentation


Title
Getting Started With UART Using EUSART on PIC18 Download
Basic Operation of UART with Protocol Support Download
DMX-512 using the UART with Protocol Support Download
UART with DALI Protocol Technical Brief Download