An FPGA-Based Adaptive Solution for Synchronous Configuration in UART Communication

Authors

  • Ziyi Shao

DOI:

https://doi.org/10.54097/hcjhsh19

Keywords:

UART, FPGA, parameter adaptation, baud rate, Verilog.

Abstract

To address the challenges associated with data reception failures, which arise due to abrupt alterations in the baud rate and the data format of the transmission signal in traditional Universal Asynchronous Receiver-Transmitter (UART) scenarios, this study presents an adaptive UART parameter solution underpinned by Field-Programmable Gate Array (FPGA) technology. Initially, this manuscript elucidates the underlying principles of UART communication and delineates the pivotal constituents of the UART protocol. Subsequently, it offers an in-depth analysis, from the transmission perspective, of how specific parameters influence the effectiveness of the UART protocol. Based on the software and hardware embodiments associated with the dual primary functions – baud rate adaptation and data format adaptation – this paper extensively details the flow chart for baud rate adaptation, the circuitry for edge detection, methodologies for baud rate computation, and the parameter eigenvalue approach. Following this, Verilog, a hardware description language, is employed for coding and subsequent simulation within the Quartus II environment. Empirical evidence corroborates the efficacy of the proposed design in achieving synchronous configuration between the baud rate and the data format. The findings of this research bear substantial implications for augmenting both the adaptability and dependability of UART communication systems.

Downloads

Download data is not yet available.

References

Dawoud D S, Dawoud P. Serial communication protocols and standards[M]. CRC Press, 2022.

Wu Zhaohui, Qu Liguo. FPGA Design Algorithm and implementation of UART Baud rate detection circuit. Modern Electronic Technology, 2022, 45(20): 41⁃44.

Sun Fuwen, Zheng Caijun, Liu Xinzhuo et al. Based on the FPGA serial port baud rate adaptive function. The design and implementation of electronic design engineering, 2019, 27(9): 69-73.

Wei Zhenyi, Yang Jiang. An Automatic Detection Method for Modbus Communication Parameters. Industrial Control Computer, 2004(07): 32-33.

Liu Pingfan, Zou Fang, He Zhaoyan, et al. Development of Edge Controller Digital IO Extension function Board. Automation Expo, 2023, 40(2):67-71.

Zhang Bin. Research and implementation of intelligent Sensing system based on UART serial port. Chang 'a university, 2020.

Yang Yang, He Lei, Wang Xu et al. UART serial communication parameters adaptive based on FPGA design and implementation of. Journal of electronic design engineering, 2021, 29(16): 21-25.

Chen Hu. Baud Rate automatic detection technology of asynchronous serial Communication based on FPGA. Applied Science and Technology, 2019, 50(02): 60-65.

Qi Xiaolei, Cai Xueliang, Sun Dewei. Principles and methods of FPGA design with Verilog HDL. Electronic Testing, 2008(03): 67-71.

Wang Laihua. Hierarchical digital logic circuit design Method based on Quartus II. Electronic Technology, 2018, 47(11): 89-90+86.

Downloads

Published

26-01-2024