FPGA与USB主机控制器通信系统的设计与实现
发布时间:2018-01-06 22:04
本文关键词:FPGA与USB主机控制器通信系统的设计与实现 出处:《西安电子科技大学》2013年硕士论文 论文类型:学位论文
更多相关文章: FPGA SOPC系统 HPI通信 USB主机控制器
【摘要】:随着FPGA嵌入式应用的发展和USB通信协议的日趋成熟,微处理器之间的通信技术已经深入到航空航天、电信设备、家用电器等各个领域。基于FPGA的SOPC嵌入式系统以微处理器为核心,以计算机技术为基础,其主要特点是实时性强。通用串口总线USB具有高速度、低成本、低功耗、即插即用和使用方便等特点;同时,USB OTG技术的诞生,使得两USB设备在没有PC参与的情况下进行数据传输成为可能。因此本文将FPGA嵌入式应用和USB技术结合起来,设计并实现了一套FPGA和USB主机控制器通信的嵌入式系统。 本文在分析了基于XC5VLX110T芯片的Micro Blaze软核处理器及其外围设备的组成结构和特点的基础上,研究了USB主机控制器CY7C67300通信的固件实现方式,,建立了FPGA与USB主机控制器的通信系统。测试表明,本系统的FPGA与USB主机控制器通信速率高,平均速率可达1.67MB/s,数据传输过程和固件下载过程稳定,USB数据通信最高可达到全速1.5MB/s,达到了预期效果。 首先,本文根据FPGA与外部处理器通信的功能,按照HPI通信的原理给出了FPGA的硬件设计方案,其中最为重要的EPC模块是完成HPI通信的关键,利用Xilinx公司的EDK软件完成Micro Blaze系统的搭建和IP核的参数配置,然后添加了FPGA外围的串口测试电路,使用ISE12.2软件进行系统的硬件综合。其次,基于Micro Blaze处理器设计了FPGA端的应用程序,用来完成FPGA和USB主机控制器的HPI通信。最后,为了协同FPGA和USB主机通信系统工作,针对PC机和USB键盘,分别设计了两套USB通信的固件程序进行系统测试。
[Abstract]:With the development of FPGA embedded application and the maturity of USB communication protocol, the communication technology between microprocessors has been deeply into aerospace and telecommunication equipment. The SOPC embedded system based on FPGA is based on microprocessor and computer technology. The general serial bus USB has the characteristics of high speed, low cost, low power consumption, plug and play and easy to use. At the same time, the birth of OTG technology. This makes it possible for two USB devices to transmit data without PC. So this paper combines FPGA embedded application with USB technology. An embedded system for communication between FPGA and USB host controller is designed and implemented. This paper analyzes the structure and characteristics of Micro Blaze soft core processor and its peripheral devices based on XC5VLX110T chip. The firmware implementation of CY7C67300 communication for USB host controller is studied, and the communication system between FPGA and USB host controller is established. The communication rate between the FPGA and the USB host controller is high, the average rate can reach 1.67MB / s, and the process of data transmission and firmware download is stable. The USB data communication can reach up to 1.5MB / s at full speed, which achieves the expected effect. Firstly, according to the function of communication between FPGA and external processor, according to the principle of HPI communication, this paper gives the hardware design scheme of FPGA. The most important EPC module is the key to complete HPI communication. The EDK software of Xilinx Company is used to build the Micro Blaze system and configure the parameters of IP core. Then add the FPGA peripheral serial port test circuit, using ISE12.2 software for the system hardware synthesis. Secondly. Based on Micro Blaze processor, the application program of FPGA terminal is designed, which is used to complete the HPI communication between FPGA and USB host controller. Finally. In order to work together with FPGA and USB host communication system, two sets of firmware programs for USB communication are designed for PC and USB keyboard.
【学位授予单位】:西安电子科技大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP332;TN914
【参考文献】
相关期刊论文 前2条
1 李俊艳;高杨;刘婷婷;陈营端;白竹川;贺光维;;U盘唯一性标识信息的构建与识别方法[J];电子技术应用;2009年03期
2 张利;冯志江;王巧玲;;基于XILINX-FPGA的信号发生器实验设计[J];中国电力教育;2012年13期
相关硕士学位论文 前2条
1 李明;基于SOPC的网络视频监控系统的设计与实现[D];大连理工大学;2006年
2 刘万杰;基于EZ-USB的便携式心电仪设计[D];哈尔滨工程大学;2009年
本文编号:1389704
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1389704.html