基于C8051F020的USB OTG通信系统的设计与实现
发布时间:2018-08-27 09:47
【摘要】:为满足便携式设备脱离PC的点对点USB互连的市场需求,USB标准协议的补充规范—USB OTG技术适时诞生。USB OTG技术只针对全速、高速和超高速的USB设备提出,该技术因其便捷性逐渐成为移动式设备不可或缺的接口与功能。 本文针对这一发展趋势,基于MCU+USB的设计思路,实现了一套以SiliconLaboratory公司的C8051F020为处理器,以Philips公司的ISP1362为USB处理芯片的USBOTG通信系统,调研并分析市场主流需求,,提供了在脱离PC的情况下支持OTG设备之间内部文件数据互操作的功能。文中详细论述了USB OTG接口设备从硬件设计到软件实现的开发流程。在硬件设计方面,给出了控制模块、USB模块、系统存储模块和其他辅助模块的原理图。着重分析了USB OTG功能设备系统软件的设计与实现,根据模块化和层次化思想,给出了系统软件的结构,包括系统应用模块、OTG驱动模块、主机功能模块和外设功能模块,同时介绍了各个功能模块的程序设计思路,并分析了系统的运行结果,给出了部分调试数据,通过实际的调试测试工作验证了系统的各项功能。 通过C8051F020和ISP1362构建的开发平台,研究了USBOTG协议、MassStorage设备类协议、UFI子类协议以及FAT32文件系统协议,并在文末提出了设计USBOTG通用协议栈的思想,该协议栈具有良好的跨平台移植功能和强大的任务挂载接口,可以方便的服务于其他项目需求。
[Abstract]:In order to meet the market demand of portable devices from the point-to-point USB interconnection of PC, it is proposed that -USB OTG technology be born in good time only for USB devices with full speed, high speed and super high speed. The technology has become an indispensable interface and function for mobile devices because of its convenience. Aiming at this development trend, based on the design idea of MCU USB, this paper implements a set of USBOTG communication system with C8051F020 of SiliconLaboratory Company as processor and ISP1362 of Philips Company as USB processing chip, and investigates and analyzes the mainstream demand of the market. Provides the ability to support interoperation of internal file data between OTG devices without PC. The development process of USB OTG interface equipment from hardware design to software implementation is discussed in detail. In the aspect of hardware design, the schematic diagram of control module USB module, system storage module and other auxiliary modules is given. The design and implementation of USB OTG functional equipment system software are analyzed emphatically. According to the idea of modularization and hierarchy, the structure of the system software is given, including the system application module, the main machine function module and the peripheral function module. At the same time, the program design idea of each function module is introduced, the running result of the system is analyzed, some debugging data are given, and the functions of the system are verified by the actual debugging and testing work. Based on the development platform of C8051F020 and ISP1362, this paper studies the USBOTG protocol and FAT32 file system protocol. At the end of this paper, the idea of designing USBOTG general protocol stack is put forward. The protocol stack has good cross-platform porting function and powerful task mount interface, which can easily serve other project requirements.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP334.7
[Abstract]:In order to meet the market demand of portable devices from the point-to-point USB interconnection of PC, it is proposed that -USB OTG technology be born in good time only for USB devices with full speed, high speed and super high speed. The technology has become an indispensable interface and function for mobile devices because of its convenience. Aiming at this development trend, based on the design idea of MCU USB, this paper implements a set of USBOTG communication system with C8051F020 of SiliconLaboratory Company as processor and ISP1362 of Philips Company as USB processing chip, and investigates and analyzes the mainstream demand of the market. Provides the ability to support interoperation of internal file data between OTG devices without PC. The development process of USB OTG interface equipment from hardware design to software implementation is discussed in detail. In the aspect of hardware design, the schematic diagram of control module USB module, system storage module and other auxiliary modules is given. The design and implementation of USB OTG functional equipment system software are analyzed emphatically. According to the idea of modularization and hierarchy, the structure of the system software is given, including the system application module, the main machine function module and the peripheral function module. At the same time, the program design idea of each function module is introduced, the running result of the system is analyzed, some debugging data are given, and the functions of the system are verified by the actual debugging and testing work. Based on the development platform of C8051F020 and ISP1362, this paper studies the USBOTG protocol and FAT32 file system protocol. At the end of this paper, the idea of designing USBOTG general protocol stack is put forward. The protocol stack has good cross-platform porting function and powerful task mount interface, which can easily serve other project requirements.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP334.7
【相似文献】
相关期刊论文 前10条
1 李相方,马秀军,孙成堂,梁之跃;便携式计算机实时数据采集接口设计[J];石油大学学报(自然科学版);1992年05期
2 姜铭仁;;美国通用电气公司可编程序控制器[J];电气传动;1987年06期
3 陈次白;微型计算机双屏异码显示[J];南京理工大学学报(自然科学版);1993年05期
4 傅凌才;KX-P1121打印机与MCS51系列单片机的接口和编程[J];湖南农业大学学报;1995年04期
5 哈宏疆;;DiiVA:不仅仅是接口[J];电视技术;2010年01期
6 柏松;绘图仪控制器的微机化[J];石油大学学报(自然科学版);1986年04期
7 李柱吉;董明亮;芦宜;;Z-80单板机群控系统接口设计[J];郑州大学学报(工学版);1991年01期
8 朱红;PCI总线接口设备的开发[J];空间电子技术;2001年03期
9 魏明;伍文平;;基于无线电台的电话延伸系统[J];现代电子技术;2007年13期
10 ;极速先锋 技嘉GA-P55A-UD3R主板[J];电脑迷;2009年24期
相关会议论文 前10条
1 张珏;张s
本文编号:2206905
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2206905.html