作者:马惠锋, 韩震宇
作者单位:四川大学制造科学与工程学院, 四川成都 610065
关键词:单片机; TWI通信; 主机; 从机
摘要:
功能所需,本广播发射机微控制器应用了多片AVR单片机和片外EEPROM,单片机之间、单片机与外部EEPROM之间的通信,采用了两总线串行通信接口(TWI)。本文对TWI通信接口作了概述,重点论述了TWI通信接口在本微控制器中的应用,包括主机与从机的通信过程,主机读写片外EEPROM的工作过程。
Application of TWI in the controller of broadcast transmitter
MA Hui-feng, HAN Zhen-yu
School of Manufacturing Science and Engineering, Sichuan University, Chengdu 610065, China
Abstract: The controller of Broadcast Transmitter uses some AVR microcontrollers and the serial EEPROM in order to meet the demands.TWI is used in the communications among devices.This paper discusses the application of TWI in the microcontroller, including the communications between master and slave, between the microcontroller and the serial EEPROM.
Keywords: Microcontroller; TWI communications; Master; Slave
2005, 31(2): 98-100 收稿日期: 2004-8-31;收到修改稿日期: 2004-10-16
基金项目:
作者简介:
参考文献
[1] 马潮, 詹卫前, 耿德松.Atmega8原理及应用手册[M].北京:清华大学出版社, 2003.
[2] 孙涵芳.MCS-57/96系列单片机原理及应用[M].北京:北京航空航天大学出版社, 1996.
[3] 宋坚华.实用微机测控应用技术[M].广州:广东科技出版社, 1991, 11.
[4] 潘应和.未来广播发展之思考[J].广播与电视技术, 2001, 1.