摘要
在工程中需要进行FPGA与上位机的通信,根据现场情况选择了UART的RS-232C接口标准规范和总线标准规范进行驱动设计.驱动主要是针对近距离串口通信设计,采用了异步通信协议,同时利用FCS校验来保证通信数据的完整性和准确性.程序采用VHDL硬件语言进行编写.通过长时间测试,运行稳定可靠,并且能够提供一定的抗干扰能力.驱动的实现为FPGA与上位机的通信提供了一种可靠的方式,具有较强的实用意义.
In the project, the FPGA is required to communicate with the host computer. According to the conditions of the project, RS232C is chosen as a standard bus protocol and interface specification to design the UART driver. The goal of the design is to fulfill the communication in a short range. The design uses asynchronous communication and the FCS to keep the signal integrity and the veracity of the communication data. The software is programmed in VHDL language. Through long time testing, the driver is stable in working in the whole system and owns the capability to correct some errors in the data. The design of the driver provides a reliable means for the communication between the host computer and the FPGA and it is of deep significance.
出处
《中国科学院研究生院学报》
CAS
CSCD
北大核心
2010年第2期199-203,共5页
Journal of the Graduate School of the Chinese Academy of Sciences