摘要
为了便于实现电子设备由RS232串行接口向USB接口升级,本文采用USB2.0控制芯片CY7C68013设计了一种RS232-USB转换器。在简要介绍系统结构后,重点叙述了固件和驱动程序开发方法。在固件设计中,利用数据缓冲技术解决了速度匹配问题。通过计算机模拟RS232串口设备,与具有USB2.0接口的上位机通信对RS232-USB转换器进行测试,结果表明,该转换器运行稳定可靠,其设计方法也可为其他USB设备开发提供参考。
In order to upgrade the interface of electronic device from RS232 to USB, a USB-RS232 converter based on CY7C68013 was designed. The frame of system was briefly described. The firmware and driver programme were introduced in details. Data buffering technology for speed matching between RS232 and USB was used in the design of firmware. Using one compute simulating RS232 device to communicate with the other with USB2. 0, the experimental tests proved that the device was feasible and stable. Furthermore, the design supplied a reference for development of other USB devices.
出处
《电子测量技术》
2007年第11期139-141,共3页
Electronic Measurement Technology
基金
国家自然科学基金重点资助项目(50337020
60532020)
国家自然科学基金资助项目(60301008
60672076
60472077)
作者简介
王超,男,1973年4月22日出生,副教授,硕士生导师。主要研究方向为生物信息检测与处理,过程参数检测与控制,嵌入式系统开发。E-mail:wangchao@tju.edu.cn