›› 2016, Vol. 29 ›› Issue (7): 106-.

• 论文 • 上一篇    下一篇

基于FPGA的串口通信电路设计与实现

党俊博1,李哲1,李雅俊2   

  1. (1 西安邮电大学 电子工程学院,陕西 西安 710061 ;2 西安北方捷瑞光电科技有限公司,陕西 西安 710111)
  • 出版日期:2016-07-15 发布日期:2016-07-15
  • 作者简介:党俊博(1989-),男,硕士研究生。研究方向:通信电路与系统。李哲(1963-),男,教授。研究方向:嵌入式系统和激光陀螺。

Design and Implementation of Serial Communication Circuits Based on FPGA

DANG Junbo1, LI Zhe1, LI Yajun2   

  1. (1.School of Electronic Engineering, Xi’an University of Posts and Telecommunications, Xi’an 710061, China;
     2. North Jierui Photoelectric Technology Ltd, Xi’an 710111, China)
  • Online:2016-07-15 Published:2016-07-15

摘要:

针对计算机与基于FPGA控制系统需要进行数据通信的需求,采用有限状态机设计了一种串口通信电路。该电路实现了控制系统与计算机之间的通信,包括计算机发送给控制系统的控制命令和参数;控制系统发送到计算机的运行状态信息。使用ISE软件中的嵌入式逻辑分析仪Chipscope对通信电路进行测试,结果表明,该电路工作稳定可靠,能够完成数据传输的功能。

关键词: 串口通信, FPGA, UART, 通信协议

Abstract:

A serial communication circuit is designed by finite state machine for the requirement of data communication between computer and control system based on FPGA. The circuit realizes the communication between the control system and the computer, including the control commands and parameters the computer sends to the control system and the status information the control system sends to the computer. The communication circuit is tested by the embedded logic analyzer Chipscope in the ISE software. The results show that the circuit is stable and reliable, and can complete the function of data transmission.

Key words: serial communication, FPGA, UART, communication protocol

中图分类号: 

  • TN79+1