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

ATMEGA2560 参数 Datasheet PDF下载

ATMEGA2560图片预览
型号: ATMEGA2560
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与256K字节的系统内可编程闪存 [8- BIT Microcontroller with 256K Bytes In-System Programmable Flash]
分类和应用: 闪存微控制器
文件页数/大小: 407 页 / 2985 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA2560的Datasheet PDF文件第191页浏览型号ATMEGA2560的Datasheet PDF文件第192页浏览型号ATMEGA2560的Datasheet PDF文件第193页浏览型号ATMEGA2560的Datasheet PDF文件第194页浏览型号ATMEGA2560的Datasheet PDF文件第196页浏览型号ATMEGA2560的Datasheet PDF文件第197页浏览型号ATMEGA2560的Datasheet PDF文件第198页浏览型号ATMEGA2560的Datasheet PDF文件第199页  
ATmega640/1280/1281/2560/2561  
Serial Peripheral  
Interface – SPI  
The Serial Peripheral Interface (SPI) allows high-speed synchronous data transfer  
between the ATmega640/1280/1281/2560/2561 and peripheral devices or between sev-  
eral AVR devices. The ATmega640/1280/1281/2560/2561 SPI includes the following  
features:  
Full-duplex, Three-wire Synchronous Data Transfer  
Master or Slave Operation  
LSB First or MSB First Data Transfer  
Seven Programmable Bit Rates  
End of Transmission Interrupt Flag  
Write Collision Flag Protection  
Wake-up from Idle Mode  
Double Speed (CK/2) Master SPI Mode  
USART can also be used in Master SPI mode, see “USART in SPI Mode” on page 231.  
The Power Reduction SPI bit, PRSPI, in “Power Reduction Register 0 - PRR0” on page  
54 on page 50 must be written to zero to enable SPI module.  
Figure 79. SPI Block Diagram(1)  
DIVIDER  
/2/4/8/16/32/64/128  
Note:  
1. Refer to Figure 1 on page 2, and Table 39 on page 89 for SPI pin placement.  
The interconnection between Master and Slave CPUs with SPI is shown in Figure 80.  
The system consists of two shift Registers, and a Master clock generator. The SPI Mas-  
ter initiates the communication cycle when pulling low the Slave Select SS pin of the  
desired Slave. Master and Slave prepare the data to be sent in their respective shift  
Registers, and the Master generates the required clock pulses on the SCK line to inter-  
195  
2549A–AVR–03/05  
 复制成功!