摘要
文章分析了USB通用串行总线协议,并使用当今主流的USB芯片完成了USB数据通信的一个方案,验证了数据通信传输的正确性。文章首先简要介绍了USB协议以及其基本架构,解释了USB设备通过端点和管道与PC连接的方式,并详细分析了在USB总线协议中控制传输、同步传输、中断传输、批传输这四种传输方式各自的具体工作步骤和流程,并列表详细比较了它们各自的特点和使用情况。最后,使用CY7C68013芯片设计了验证电路,通过CPLD发出数据,进行了USB接口通信的测试和试验,验证了数据的准确性和该方案的可行性。
This paper analyzes the USB universal serial bus protocol. Completed a USB data communication scheme by using today's dominant USB chip and verified the correctness of the data. The USB protocol and the architecture is reviewed simply first. Explained how the USB devices connect with the PC through the endpoint and pipe. And introduce work processes and flows of the four transfers, control transfer, isochronous transfers, interrupt transfers and bulk transfer, also listed a detailed comparison of their respective characteristics and using situations. Designed the verification circuit by using the CY7C68013 chip. Tested and experimented the USB interface Communications with the data out of CPLD. Verified the accuracy of the data and the feasibility of the scheme.
出处
《电子与封装》
2010年第3期14-18,共5页
Electronics & Packaging