- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
.
..
基于Freescale MCU的USB接口的硬件实现
【摘要】 随着电脑外设和数码产品的不断发展,各种设备之间的接口和互连成为当前开发各类数码电子产品非常重要的问题。通用串行总线(USB)支持即插即用和热插拔等特性,传输速率较高且价格低廉,因而逐渐成为PC外围设备的接口标准,并在各种数码产品中得到了广泛的应用,在通讯和工业控制领域也有着美好的应用前景。但目前开发的USB设备多集中在鼠标、键盘等少数几类设备上,诸如USB 手写板等设备就是在国外也很少见。国内近年来计算机非键盘输入技术发展很快,在汉字、英文和数字的手写识别方面已有相当基础。
本文的目的,就是采用USB接口硬件和Freescale微控制器的先进技术与上海景格汽车科技有限公司的软件技术相结合,设计生产出自己的新一代USB接口系统。由于驱动程序已由公司自行编写好了,故本文主要是USB接口的硬件设计。其方案是以Freescale 微控制器(MCU)中具有USB模块的MC68HC05JB4的芯片为例,进行USB接口设计实现,重点论述了MC68HC05JB4芯片、USB总线协议以及USB接口的硬件的设计与实现方法。
此USB接口系统,采用“汉王”公司的传感器获得输入信息,传给微控制器MC68HC05JB4,经过整理后通过USB总线发送到PC,再由编写好驱动程序接收,最终转给“汉王”公司的文字识别软件识别。
【关键词】MCU USB接口 总线协议 调试
【Abstract】Along with the continuous development of computer peripherals and digital products, the interface and interconnection among various devices become the most important issue in the development of digital electronic products. USB, which supports the plug and play and hot swap and has a high transfer rate and low price, gradually becomes the interface standard for PC peripherals, and has been widely applied in various digital products. Also, USB has a bright prospect in the communication and industry control fields. However, the USB products available on the market mostly focus on a small range of devices such as the mouse and keyboard, and the writing board with USB is seldom sold on the oversea market. The input technique not based on the keyboard is developed rapid in China, and has establishes the foundation in the aspect of distinguishing the handwritten characters, letters, and numbers.
The objective of this essay is directed to combine the USB interface hardware and the superior technique of FREESCALE microcontroller with the software of Shanghai Jingge Auto Technology Co.,Ltd. to design and produce a new generation USB interface system. Since the driver has been programmed by the company, and only the design of hardware of the USB interface is presented here. In this technical scheme, the MC68HC05JB4 chip that incorporates the Freescal
文档评论(0)