摘要USB通信技术具有通信安全可靠、传输速度快、易扩展等优点。本文针对特殊的项目需求环境,开展了基于USB通信技术的板间通信系统设计。
本系统以ARM7微处理器LPC2148作为核心控制器,基于其内部USB设备控制器模块,设计了基于USB中断、批量端点的数据通信程序。其次,将批量通信程序移植到μC/OS-Ⅱ操作系统上进行任务调度和资源管理,并使用MFC在PC计算机上设计了与LPC通信的软件,实现了USB数据通信功能。再次,基于在PC机上的软件开发基础,在安卓手机上设计通信APP,实现了手机与LPC间的USB板间通信。最后,对通信系统的性能进行测试,测试结果表明,本系统数据通信速度较快,通信可靠性高,错误少,综合性能优良。81749
毕业论文关键词 USB通信 μC/OS-Ⅱ操作系统 MFC编程 安卓手机
毕业设计说明书外文摘要
Title Design and Implementation of Inter-Board Communication System Based on USB
Abstract The USB communication technology is safe and reliable communication, transmission speed, easy extension, etc。 In view of the specific project requirements of the environment, this paper has carried out based on USB communication technology between communication system design。
This system with ARM7 LPC2148 microprocessor as the core controller, based on its internal USB device controller module, the design based on USB interrupt, bulk endpoint data communication program。 Second, transplanting the mass communication program to mu C/OS - Ⅱ on the operating system, task scheduling and resource management and the use of MFC design on PC computer and LPC communication software, USB data communication function is realized。 Again, based on the PC software development base, design communication APP on android phones, mobile phones and USB communication between plate between the LPC。 Finally, to test the performance of communication system, the test results show that the system data communication faster, communication reliability and less error, excellent comprehensive performance。
Keywords The USB communication C/OS -Ⅱ operating system MFC programming The android mobile phone
目 次
1 引言 1
1。1 研究背景与意义 1
1。3 本文主要结构 2
2 系统方案设计 4
2。1 系统控制器特性 4
2。2 系统架构设计 5
2。3 本章小结 8
3 系统实现 9
3。1 USB协议分析 9
3。2 通信系统设计实现 10
3。3 通信系统的移植 18
3。4 Android软件设计 21
3。5 本章小结 23
4 系统调测 24
4。1 连通测试 24
4。2 性能测试 25
结 论 27
致 谢 28
参 考 文 献