首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于CY7C68013的单片机USB2.0接口设计
引用本文:王银,李国柱.基于CY7C68013的单片机USB2.0接口设计[J].西安文理学院学报,2009,12(2):85-88.
作者姓名:王银  李国柱
作者单位:王银,WANG Yin(西安文理学院,机械电子工程系,陕西,西安,710065;西安电子科技大学,研究生院,陕西,西安,710071);李国柱,LI Guo-zhu(西安文理学院,机械电子工程系,陕西,西安,710065)  
基金项目:西安文理学院专项科研基金 
摘    要:以EZ—USBFX2为基础设计了一种单片机的USB接口方式.该设计应用EZ-USBFX2芯片构建单片机和主机的数据管道,接口符合USB2.0协议.EZ-USBFX2芯片工作在从属FIFO方式下,通过适当的配置与单片机方便地进行连接,单片机可以象访问外部存储器一样访问FX2的端点.主机应用程序通过USB接口向单片机发送相应的命令,并能够接收单片机上传的数据.该设计硬件连接方便、编程简单.文中详细介绍了该设计的硬件组成和软件设计,包括FX2的固件程序和主机用户程序.

关 键 词:FX2  Slave  FIFO  USB  接口

A Design of Single-Chip' s USB2.0 Interface Based on CY7C68013
WANG Yin,LI Guo-zhu.A Design of Single-Chip'' s USB2.0 Interface Based on CY7C68013[J].Journal of Xi‘an University of Arts & Science:Natural Science Edition,2009,12(2):85-88.
Authors:WANG Yin  LI Guo-zhu
Institution:1. Department of Mechanical and Electronic Engineering, Xi' an University of Arts and Science, Xi' an 710065, China; 2. Graduate School, Xidian University, Xi' an 710071, China)
Abstract:A single-chip USB interface method is designed based on the USB interface chip EZ-USB FX2 in this paper. The design uses EZ-USB FX2 chip to form the data pipeline between microprocessor and computer. The interface conforms to the USB2. 0 protocol. EZ-USB FX2 chip works in the Slave FIFO way. The chip can be connected with microprocessor conveniently by suitable configure. The microprocessor can access to FX2' s endpeint by the same way as access to external memory. Through the USB interface, the user application program can send corresponding order to the microprocessor and receive data from the micro- processor. To the design, the connection of hardware is convenient and the programming is simple. In this paper, beth the hardware design and the software design are discussed in great detail, including the firmware of the FX2 and the user application program of the computer side.
Keywords:FX2  Slave FIFO  USB
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号