摘要
在由单片机构成的多机应用系统中,单片机串行通信起着重要的作用。在单片机串行通信系统设计时,在不同环境条件下,单片机通信速率要求是有所不同的,双方通信速率的设定十分重要。研究一种在单片机通信系统中,在不增加任何外部器件的情况下,利用单片机内部定时器,实现通信波特率可在一个较宽范围内调节,通过实验表明,此方法简便可行,具有可操作性和实际意义。
In MCU application system, serial communication plays an important role. In the serial communication system design, under different environmental conditions, The MCU communication rate requirement requirement is different is different, the communication speed setting is very important. Study of MCU communication system, without any increase in the case of external devices, using MCU internal timer, to achieve communication baud rate can be obtained in a wide frequance range of adjustment, experiments show that, this method is simple and feasible, workable and practical significance.
出处
《电子设计工程》
2012年第15期154-158,共5页
Electronic Design Engineering
关键词
单片机
异步通信
波特率
程序设计
MCU
asynchronous communication
baud rate
program designing