资源描述:
《测控技术与仪器毕业论文范文——usbrs232接口转换器设计》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、USB/RS232接口转换器设计摘要在过去的很长时间内,RS232串行接口方式是诸多仪器仪表、控制终端、远程终端等设备的主流通讯方式之一,与现在流行的上位机(如PC等)的USB(UnivesralSerialBus)总线接口方式不相适应。为解决这一矛盾,本文设计了USB-RS232接口转换器。在它的支持下,这些传统的设备能通过其原有的RS232接口与上位机的USB总线接口实现双向数据传输。木文叙述了开发该USB-RS232接口转换器所涉及到的基础知识,硬件和软件设计,以及性能测试等内容:1•课题的背景介绍;2.与本课题相关USB接口规范介绍;3.USB-RS232接口转换器硬件设计细节;4.
2、USB-RS232接口转换器软件设计细节;木课题附带的效益是,该USB-RS232接口转换器开发中所总结的技术资料以及开发经验.词:USB,RS232,EZ-USBFX2芯片,HID,接口转换USB/RS232InterfaceConverterABSTRACTAsoneofmaincornrnunicationmodes,RS232serialintcrfacehasbeenaPPliedinmanytypesofequiPments,suchasinsurtments,conrtoIlersaadremotetemrinals,forlongtime.Fortheseequipmengt
3、scouldbeusedinthefuture,thisstatusmangynotmatchwiththepopularUSB(UniversalSerialBus)businterfacewell.Inthisdissertation,anUSB-RS232conunutatorisdesignedandrealizedtosolvethisproblem.Byusingthiscommutator.thosetraditiormlequipmentsconrealizebidirectinaldatatransmitionwithUSBbusinterfacethroughtherie
4、xistingRS232interface.ThisdissertationfucsedonthetoPicsas:therelatedknowledgesofUSBinterfacespecification,hdarwareandsotfwaredesingoftheUSB-RS232commutator,anditsperofmrnacctcsts.Thedisscrta’tionprosentsthefllowingaspects:1.ntroductionforthebakegroundofthistask;2.IntroduetionfortheUSBinterafeespeci
5、ficationrelatedwiththistask;3.DctailofthehadrwaredesignoftheUSB-RS232commutator;4.Detai1ofthesoftwaredesignoftheHostandSlave;FromthePerofomaneetests,itisknowmthatthedesignachievestheanticipatedobjectives.Thosetechniqueresultsanddevelopingexperiences,summarizedfromthisUSB-RS232commutatordesing,areva
6、lubalebenefits,suchthatcouldbehelpfultodevelopsomenewinstrumcntswihtUSBintcrfaccinthefuture.Keywards:USB,RS232,EZ-USBFX2chip,HID,interfacetransform1诸论1.1USB及其应用内外的研究现状USB是由Compaq>DEC>IBM、Intel、Mcriosotf>NEC和NohrtenTelecom等七家赞助商联合1996年1月提出的计算机串行接口总线标准-USB1.E1997年开始出现了真正符合USB技术标准的外设。1999年初在Intel的开发者论
7、坛大会上,与会者介绍了USB2.0规范,该规范的支持者除了原有的Compaq>Intel>Mcriosotf和NEC四个成员外,还有惠普、朗讯和飞利浦三个新成员。USB2.0向下兼容USB1.1,数据的传输率将达到120Mbps-240Mbps,述支持宽带宽数字摄像设备及下一代扫描仪、打印机及存储设备。现在,支持USB的PC及外设越来越多,在软件上USB也已成为Windows98及以上等高版本操作系统的一个关