欢迎访问ic37.com |
会员登录 免费注册
发布采购

ATMEGA64A-AU 参数 Datasheet PDF下载

ATMEGA64A-AU图片预览
型号: ATMEGA64A-AU
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有64K字节的系统内可编程闪存 [8-bit Microcontroller with 64K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 7964 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA64A-AU的Datasheet PDF文件第203页浏览型号ATMEGA64A-AU的Datasheet PDF文件第204页浏览型号ATMEGA64A-AU的Datasheet PDF文件第205页浏览型号ATMEGA64A-AU的Datasheet PDF文件第206页浏览型号ATMEGA64A-AU的Datasheet PDF文件第208页浏览型号ATMEGA64A-AU的Datasheet PDF文件第209页浏览型号ATMEGA64A-AU的Datasheet PDF文件第210页浏览型号ATMEGA64A-AU的Datasheet PDF文件第211页  
ATmega64A  
Figure 21-7. Typical Data Transmission  
Addr MSB  
Addr LSB  
R/W  
ACK  
Data MSB  
Data LSB  
ACK  
SDA  
SCL  
1
2
7
SLA+R/W  
8
9
1
2
7
8
9
START  
Data Byte  
STOP  
21.5 Multi-master Bus Systems, Arbitration and Synchronization  
The TWI protocol allows bus systems with several masters. Special concerns have been taken  
in order to ensure that transmissions will proceed as normal, even if two or more masters initiate  
a transmission at the same time. Two problems arise in multi-master systems:  
• An algorithm must be implemented allowing only one of the masters to complete the  
transmission. All other masters should cease transmission when they discover that they have  
lost the selection process. This selection process is called arbitration. When a contending  
master discovers that it has lost the arbitration process, it should immediately switch to Slave  
mode to check whether it is being addressed by the winning master. The fact that multiple  
masters have started transmission at the same time should not be detectable to the slaves  
(i.e., the data being transferred on the bus must not be corrupted).  
• Different masters may use different SCL frequencies. A scheme must be devised to  
synchronize the serial clocks from all masters, in order to let the transmission proceed in a  
lockstep fashion. This will facilitate the arbitration process.  
The wired-ANDing of the bus lines is used to solve both these problems. The serial clocks from  
all masters will be wired-ANDed, yielding a combined clock with a high period equal to the one  
from the master with the shortest high period. The low period of the combined clock is equal to  
the low period of the master with the longest low period. Note that all masters listen to the SCL  
line, effectively starting to count their SCL high and low Time-out periods when the combined  
SCL line goes high or low, respectively.  
207  
8160C–AVR–07/09  
 复制成功!