为了提高单片机与计算机之间的数据传输速度,设计了基于CH372芯片的USB通信技术来实现单片机与计算机之间的数据通信。采用CH372芯片与单片机AT89C52配合的方法设计了单片机端的硬件电路,开发了CH372芯片基于汇编语言平台的单片机端的数据收发程序和基于Visual Basic语言平台的计算机端的命令、数据收发程序。试验结果表明,该系统设计能够很好地实现单片机与计算机之间的数据传输。
- Abstract:
- In order to improve the data transmitting speed between computer and singlechip, the paper designed a USB communication technique to achieve data transwitting between computer and singlechip by using CH372 chip. CH372 chip and AT89C52 singlechip were adopt in the design of the singlechips hardware. The data sending and receiving procedure of single chip based on assemble language, and the command and data sending and receiving procedure of computer based on Visual Basic language were explored independently. Finally, the result of the experiment proves that the design in the paper can carry out the data communication between the computer and singnlechip
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉