摘要
提出了一种实现单片机之间通信的方法.本方法是利用单片机的通用I/O口,通过软件编程,实现单片机之间的串行通信,传输速度可通过软件控制.此串行通信的方法与单片机的专用串行通信口相比,它传输的帧长度可变,而且,不需要启始位与停止位等开销.增加了单片机的通信能力.
A method of carrying out serial communication among single-chip computers using the common ports is presented. In this method, serial communications among single-chip computers are carried out using the common ports, and the rate of transmission can be determined by the software program. Compared with the method of serial communication using special ports, this method has some advantages, such as changed frame length, no start bit and stop bit, so the communication ability of the communication system improved greatly.
出处
《河北大学学报(自然科学版)》
CAS
北大核心
2005年第4期431-433,共3页
Journal of Hebei University(Natural Science Edition)
关键词
通用I/O口
单片机
串行通信口
信息传输
common I/O port
single-chip
serial communication port
information transmission