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

ATMEGA16M1-15MZ 参数 Datasheet PDF下载

ATMEGA16M1-15MZ图片预览
型号: ATMEGA16M1-15MZ
PDF下载: 下载PDF文件 查看货源
内容描述: [IC MCU 8BIT 16KB FLASH 32QFN]
分类和应用: 微控制器
文件页数/大小: 318 页 / 7595 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第136页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第137页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第138页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第139页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第141页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第142页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第143页浏览型号ATMEGA16M1-15MZ的Datasheet PDF文件第144页  
15.3 Data Modes  
There are four combinations of SCK phase and polarity with respect to serial data, which are determined by control bits  
CPHA and CPOL. The SPI data transfer formats are shown in Figure 15-3 and Figure 15-4. Data bits are shifted out and  
latched in on opposite edges of the SCK signal, ensuring sufficient time for data signals to stabilize. This is clearly seen by  
summarizing Table 15-2 and Table 15-3, as done below:  
Table 15-5. CPOL Functionality  
Leading Edge  
Sample (rising)  
Setup (rising)  
Sample (falling)  
Setup (falling)  
Trailing eDge  
Setup (falling)  
Sample (falling)  
Setup (rising)  
Sample (rising)  
SPI Mode  
CPOL=0, CPHA=0  
CPOL=0, CPHA=1  
CPOL=1, CPHA=0  
CPOL=1, CPHA=1  
0
1
2
3
Figure 15-3. SPI Transfer Format with CPHA = 0  
SCK (CPOL = 0)  
mode 0  
SCK (CPOL = 1)  
mode 2  
SAMPLE I  
MOSI/MISO  
CHANGE 0  
MOSI PIN  
CHANGE 0  
MISO PIN  
SS  
MSB first (DORD = 0) MSB  
LSB first (DORD =1) LSB  
Bit 6  
Bit 1  
Bit 5  
Bit 2  
Bit 4  
Bit 3  
Bit 3  
Bit 4  
Bit 2  
Bit 5  
Bit 1  
Bit 6  
LSB  
MSB  
Figure 15-4. SPI Transfer Format with CPHA = 1  
SCK (CPOL = 0)  
mode 1  
SCK (CPOL = 1)  
mode 3  
SAMPLE I  
MOSI/MISO  
CHANGE 0  
MOSI PIN  
CHANGE 0  
MISO PIN  
SS  
MSB first (DORD = 0)  
LSB first (DORD =1)  
MSB  
LSB  
Bit 6  
Bit 1  
Bit 5  
Bit 2  
Bit 4  
Bit 3  
Bit 3  
Bit 4  
Bit 2  
Bit 5  
Bit 1  
Bit 6  
LSB  
MSB  
140  
ATmega16/32/64/M1/C1 [DATASHEET]  
7647O–AVR–01/15  
 复制成功!