摘要
为了实现FPGA与USB之间的数据传输,介绍了USB2.0通信接口的硬件设计,USB固件程序的编写以及利用MFC编写上位机程序。通过把FPGA存储的数据用USB接口传输给上位机并保存,采用了USB的同步Slave FIFO的接口模式和Bulk的传输模式来传输数据。实验结果表明基于FPGA开发的USB2.0接口工作正常,满足USB2.0接口规范和设计要求。
To achieve the data transfer between the FPGA and USB, this paper introduces a USB2. 0 communication hardware interface design, prograrning of USB firmware and writing Windows programs using MFC. Data stored in the FPGA is transferred with USB interface to the host computer and saved, using the synchronous Slave FIFO interface mode and Bulk transfer mode. The experimental results show that it can work properly and it can meet the USB specification and design requirements.
出处
《信息技术》
2014年第12期81-84,共4页
Information Technology
基金
科技部重大项目(2013YQ23057504)