Design for USB interface of data acquisition system based on EZ-USB FX2
王东,李公平,潘小东,方登富
DOI: https://doi.org/10.3969/j.issn.1004-373X.2015.04.020
2015-01-01
Abstract:Taking EZ?USB FX2 interface chip as an example,several aspects involved with USB interface design of indus?trial CT data acquisition system are introduced in detail in this paper. In this design,Slave FIFO is used in EZ?USB chip to im?prove the speed of data transmission. In this way, the USB kernel is not involved in the data transmission. Inside the CY7C68013A chip,4 kB configurable endpoint buffer is contained. It is the large capacity data transmission terminal,which can be configured to fulfill high?speed data transmission with peripheral circuit,but does not need 8051 firmware program to join with. The basic framework is contained in the EZ?USB firmware program development kit provided by CYPRESS company. In this paper,the structure and characteristics of the CY7C68013A chip are introduced,the EZ?USB FX2 firmware frame is ana?lyzed,the firmware example code is given,the firmware code loading way is described,and the interface between application program and driver is illustrated. With USB interface developed by means of EZ?USB chip,the development difficulty was great?ly reduced,and the development efficiency was improved.