作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (17): 176-178.

• 论文 • 上一篇    下一篇

计算机与多单片机系统间串行通信的实现

颜廷勇,林锦国,陶玲   

  1. 南京工业大学自动化学院,南京工业大学自动化学院,南京航天航空大学自动化学院 南京 210009, 南京 210009;
  • 发布日期:2003-09-15

Implementation of Serial Communication Between Computer and Multi-singlechip System

YAN Tingyong1, TAO Ling2, LIN Jinguo1   

  1. (1. College of Automatization,Nanjing University of Industry, Nanjing 210009; 2. College of Automatization, Nanjing University of Aeronautics and Astronautics, Nanjing 210014)
  • Published:2003-09-15

摘要: 提出了一种计算机和多单片机系统传输速率高、可靠性强的串行通信的新方法。基于32位Windows环境,采用多线程技术实现串行通信的实时性,有效地解决了传统串行通信中的迟滞性和不可靠性,提出多线程技术下上位机和196系列多单片机系统通过RS-485总线实时远程通信的新手段,给出完整规范的通信协议及相应的软硬件实现。

关键词: 多线程, 同步事件, 多单片机通信, RS-485

Abstract: The article puts forward a new way of high transmission velocity and better reliability of serial communication between computer and multi-singlechip system.Based on the 32 bit Windows environment,multithreading technology is adopted so as to realize serial communications real time character.Slow-moving character and uncertainty character in traditional serial communication are solved effectively.A new real-time and long-distance communication means between epigyny computer and 196-series multi-singlechip system is put forwarded.It is realized with RS-485 bus way.A full communication protocols and relevant software and hardware realization are presented.

中图分类号: