UART stands for Universal Asynchronous Receiver/Transmitter. It is one of the first modes of communication to computers: it goes back to 1960, when it was used to connect minicomputers for teletypewriter machines (teletypes). The main purpose of UARTs is to transmit and receive the serial data just like a standalone integrated circuit; it is not a protocol as SPI (Serial Peripheral Interface) or I2C (Inter-Integrated circuit). It is typically used by manufacturers to connect microcontrollers to store and load programs. Every UART device has its own advantages and disadvantages. The following are the advantages of UART:
- Two wires only, so pretty straightforward one is transmit (TX) and another is Receive (RX)
- There is no need for a clock signal
- Error checking can be performed by parity bit
- If both sides are set up then the structure of the data packet can be changed ...