基于USB接口的单片机与PC机通信摘 要:安装USB设备不需要用户自己设置硬件与软件的选项,USB接口的传输速度要比计算机传统的串行口和并口快的多,所以USB设备已经广泛应用
由于协议的复杂性,在系统中实现USB主机功能的实例还不是很多
因此本文没有从复杂的USB总线协议入手,而是选择了南京沁恒公司出产的USB接口芯片CH375
其具有内置固件模式和可编程的2311外部固件模式,可以根据需要任意选择工作模式
关键词:单片机;CH375;USB;协议The Design of the communication between MCU and PC which is based on USB interfaceAbstract: USB device does not require users to install their own set of hardware and software options, and computer transmission speed faster than the traditional serial and parallel port , so USB devices have been widely used
Because of the complexity of the agreement, in the system of USB host function realization example is not a lot
Therefore this article does not starting with the complex USB agreement, but chose the USB interface chip CH375 which produced by Nanjing Qin Heng comp