官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 临清市| 雅安市| 珲春市| 岫岩| 满城县| 辽中县| 忻州市| 塔城市| 邵东县| 达州市| 永嘉县| 盐池县| 济源市| 扬州市| 金乡县| 洮南市| 鱼台县| 民乐县| 潼关县| 修水县| 靖远县| 顺昌县| 宁阳县| 青川县| 桐庐县| 双城市| 汪清县| 西贡区| 合川市| 明星| 同心县| 紫云| 洮南市| 西丰县| 苗栗县| 思茅市| 锡林浩特市| 德州市| 浮梁县| 若尔盖县| 鹤壁市|