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

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.

主站蜘蛛池模板: 柳河县| 满洲里市| 嘉义市| 万州区| 永福县| 土默特左旗| 小金县| 仪征市| 衡阳市| 江北区| 久治县| 元氏县| 江源县| 盐边县| 湘乡市| 荔波县| 嵊州市| 大足县| 哈巴河县| 宣汉县| 鄂托克旗| 刚察县| 顺平县| 苍南县| 习水县| 武宁县| 多伦县| 柳州市| 金坛市| 英吉沙县| 图们市| 固镇县| 全南县| 恩施市| 大关县| 全椒县| 扎赉特旗| 泰顺县| 会宁县| 杭锦后旗| 益阳市|