摘要
针对传统通信系统中芯片I/O口数量紧张、系统规模庞大、系统更改和扩充较为复杂的问题,以代表性器件ZLG7290和PCF8574为例,提出一种以AVR单片机ATmega16为平台的基于TWI接口的通信系统的实现方法,给出了系统的硬件原理图和部分软件设计程序,通过与传统通信系统的比较,表明TWI通信方式对于简化系统规模、增强系统可靠性以及提高系统可扩展性是可行的。
In order to solve the problems that exist in traditional communication system such as the lack of I/O ports of chips, huge system scale, the complexity in improving and expanding the system and so on,in this paper, by taking typical I2C device ZLG7290 and PCF8574 as an example, the design of communication system for AVR mierocontroller based on Two-wire Serial Interface on the platform of ATmega16 is proposed. The hardware principle schematic and part of the software program of the system are presented. Comparison between the proposed system and the traditional one shows that it is feasible to simplify the system scale, to improve system reliability and to increase system scalability with Two-wire Serial communication method.
出处
《北京信息科技大学学报(自然科学版)》
2009年第4期66-68,86,共4页
Journal of Beijing Information Science and Technology University
基金
北京市人才强教计划─创新团队资助项目(51052019)