A Comparative Analysis of Synchronous USART And Asynchronous UART Communication Protocols

Authors

  • Meiting Dong

DOI:

https://doi.org/10.54097/hm6hre11

Keywords:

Stm32f103zet6 microcontroller, USART, UART, Serial communication.

Abstract

In contemporary applications, the integration of the STM32F103ZET6 microcontroller with various peripherals is indispensable, emphasizing the critical role of serial communication in data transmission between the microcontroller and these peripherals. This study delineates the distinctions between Universal Synchronous Asynchronous Receiver-Transmitter (USART) and Universal Asynchronous Receiver-Transmitter (UART) within the context of USART synchronous communication. The superiority of USART is underscored by its utilization of a uniform clock and identical baud rate for simultaneous and synchronous transmission, enhancing data transfer efficiency significantly. This methodology facilitates the transmission of larger data quantities concurrently and mitigates data loss during prolonged transmission, a prevalent issue in UART asynchronous communication. Additionally, USART preserves essential functionalities such as the detection of data boundaries, automatically discerning the initiation and termination of individual data frames, which guarantees the uninterrupted reception and transmission of data. This analysis is pivotal for professionals seeking optimized communication protocols in microcontroller-based systems.

In contemporary applications, the integration of the STM32F103ZET6 microcontroller with various peripherals is indispensable, emphasizing the critical role of serial communication in data transmission between the microcontroller and these peripherals. This study delineates the distinctions between Universal Synchronous Asynchronous Receiver-Transmitter (USART) and Universal Asynchronous Receiver-Transmitter (UART) within the context of USART synchronous communication. The superiority of USART is underscored by its utilization of a uniform clock and identical baud rate for simultaneous and synchronous transmission, enhancing data transfer efficiency significantly. This methodology facilitates the transmission of larger data quantities concurrently and mitigates data loss during prolonged transmission, a prevalent issue in UART asynchronous communication. Additionally, USART preserves essential functionalities such as the detection of data boundaries, automatically discerning the initiation and termination of individual data frames, which guarantees the uninterrupted reception and transmission of data. This analysis is pivotal for professionals seeking optimized communication protocols in microcontroller-based systems.

Downloads

Download data is not yet available.

References

Di Giusto C, Guizouarn L G, Lozes E. Multiparty half-duplex systems and synchronous communications. Journal of Logical and Algebraic Methods in Programming, 2023, 131: 100843.

Akhoury A, Birla K, Sarkar R, et al. Design and analysis of RTOS and interrupt-based data handling system for nanosatellites. 2019 IEEE Aerospace Conference. IEEE, 2019: 1-9.

Duesterberg D. Circuit for generating a sampling signal for a UART interface, and by comparing values stored in peripheral clock memory: U.S. Patent 10,705,991. 2020-7-7.

Jin H, Sun X. Design of the Brushless DC Motor Driving System Based on STM32. Open Access Library Journal, 2017, 4(6): 1-9.

La X. Research on Key Technologies and Innovative Development of Electronic Communication System Based on Serial Communication. Journal of Physics: Conference Series. IOP Publishing, 2020, 1549(5): 052068.

Chang S, Yang J, Yang J, et al. The experimental research of UV communication. Wireless Communications and Networks. SPIE, 2004, 5284: 344-348.

Mejia-Alvarez P, Leyva-del-Foyo L E, Diaz-Ramirez A. Interrupt Handling Schemes in Operating Systems. Springer International Publishing, 2018.

Oh, S W, Seo Y S, Da In I M. Semiconductor apparatus capable of synchronizing command signal and clock signal, and operation method thereof: U.S. Patent 10,796,737. 2020-10-6.

Shi G. Method, client device and data forwarding device for transmitting data through serial port: U.S. Patent 10,346,344. 2019-7-9.

Son S C, Kim N W, Lee B T, et al. A time synchronization technique for coap-based home automation systems. IEEE Transactions on Consumer Electronics, 2016, 62(1): 10-16.

Downloads

Published

26-01-2024

How to Cite

Dong, M. (2024). A Comparative Analysis of Synchronous USART And Asynchronous UART Communication Protocols. Highlights in Science, Engineering and Technology, 81, 567-574. https://doi.org/10.54097/hm6hre11