节点文献
USB通信芯片CH375在数据交换中的应用
The Application of USB Communication Chip CH375 in Data Exchange
【摘要】 针对传统的单片机系统数据存储和传输的不便之处,以考勤机为例,设计了一种在原来的考勤机系统中增加一片USB总线接口芯片CH375进行USB通信的方案,实现了考勤机与U盘/PC机之间的数据通信,既方便管理部门利用U盘来完成考勤数据的便捷存取,特别适用于数据量大,采集周期长的环境,又能实现考勤机系统通过USB数据线完成与PC机交换数据的功能。介绍了考勤机系统和CH375的硬件接口电路及其工作原理,给出了CH375作为主机以及从设备时的工作原理、主从模式切换以及软件流程。
【Abstract】 In the light of disadvantage that traditional MCU system in data storage and exchange,this paper takes the work-checking system for example,present a new design scheme that using the CH375 chip to realize the data communication between work-checking system and U-disk or PC.It is convenient for management to store the data by U-disk,especially accommodates the circumstances of huge data and long-working cycle,and also the connection of MCU and computer can be realized.This paper describes interface of the MCU and CH375,operating principles for host/slave mode switching as well as relative software.
【Key words】 data exchange; work-checking system; CH375; U-disk; USB interface;
- 【文献出处】 电子工程师 ,Electronic Engineer , 编辑部邮箱 ,2007年10期
- 【分类号】TP368.1;TP336
- 【被引频次】21
- 【下载频次】469