摘要
介绍一种基于双单片机技术的数据通信模块,他主要由2个AT89C2051单片机,调制解调芯片和RS485总线接口芯片构成。该模块通过普通铁路电话线实现了车站信号的接力式传输,通过软件模拟SPI总线实现了两单片机之间的数据通信。该设计方法不仅简化了系统结构,分散了单片机的工作任务,而且增强了系统的实时性和可靠性,提高了通信效率。
A kind of data communication module based on double SCM(single chip microcontroller) is introduced,which is made up of two SCM,MODEM chip and interface chip of RS485 Bus. It realized relay transmission of signals between stations by common telephone line and serial data communication between two SCM by simulated SPI Bus. This design not only simplifies system configuration and decentralizes assignment of SCM,but also boosts up real -time performance and reliability of the system,thus it improves communication efficiency.
出处
《现代电子技术》
2005年第23期76-77,84,共3页
Modern Electronics Technique
关键词
单片机
SPI总线
数据通信
调制解调
SCM
SPI Bus
data communication
modulation and demodulation