- Embedded Systems Architecture
- Daniele Lacamera
- 217字
- 2021-06-25 21:54:59
Asynchronous UART-based serial communication
Asynchronous communication is provided by the Universal Asynchronous Receiver-Transmitter (UART). These kind of interfaces, commonly simply known as serial ports, are called asynchronous because they do not need to share a clock signal to synchronize the sender and the receiver, but rather work on pre-defined clock rates that can be aligned while the communication is ongoing. Microcontrollers may contain multiple UARTs that can be attached to a specific set of pins upon request. Asynchronous communication is provided by UART as a full-duplex channel, through two independent wires, connecting the RX pin of each endpoint to the TX pin on the opposite side.
To properly understand each other, the systems at the two endpoints must set up the UART using the same parameters. This includes the framing of the bytes on the wire, and the frame rate. All of these parameters have to be known in advance by both endpoints in order to correctly establish a communication channel. Despite being simpler than the other types of serial communication, UART-based serial communication is still widely used in electronic devices, particularly as an interface toward modems and GPS receivers. Furthermore, using TTL-to-USB serial converters, it is easy to connect a UART to a console on the host machine, which is often handy for providing log messages.
- Designing Purpose:Built Drones for Ardupilot Pixhawk 2.1
- FreeRTOS實時內核應用指南
- 構建可擴展分布式系統:方法與實踐
- Android物聯網開發細致入門與最佳實踐
- AWS Development Essentials
- AutoCAD 2014中文版從入門到精通
- ElasticSearch Cookbook
- Windows 8實戰從入門到精通(超值版)
- Windows 7使用詳解(修訂版)
- 鴻蒙操作系統設計原理與架構
- μC/OS-III內核實現與應用開發實戰指南:基于STM32
- Linux網絡操作系統項目教程(RHEL 7.4/CentOS 7.4)(第3版)(微課版)
- 應急指揮信息系統設計
- Less Web Development Essentials
- 基于Arduino的嵌入式系統入門與實踐