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

895132-UL 参数 Datasheet PDF下载

895132-UL图片预览
型号: 895132-UL
PDF下载: 下载PDF文件 查看货源
内容描述: USB微控制器,带有64K字节Flash存储器 [USB Microcontroller with 64K Bytes Flash Memory]
分类和应用: 存储微控制器
文件页数/大小: 182 页 / 1660 K
品牌: ATMEL [ ATMEL ]
 浏览型号895132-UL的Datasheet PDF文件第88页浏览型号895132-UL的Datasheet PDF文件第89页浏览型号895132-UL的Datasheet PDF文件第90页浏览型号895132-UL的Datasheet PDF文件第91页浏览型号895132-UL的Datasheet PDF文件第93页浏览型号895132-UL的Datasheet PDF文件第94页浏览型号895132-UL的Datasheet PDF文件第95页浏览型号895132-UL的Datasheet PDF文件第96页  
Figure 16-15. Data Controller Configuration Flows  
Data Stream  
Data Single Block  
Data Multi-block  
Configuration  
Configuration  
Configuration  
Configure Format  
DFMT = 0  
Configure Format  
DFMT = 1  
MBLOCK = 0  
Configure Format  
DFMT = 1  
MBLOCK = 1  
BLEN3:0 = XXXXb  
BLEN3:0 = XXXXb  
16.6.3  
Data Transmitter  
16.6.3.1  
Configuration  
For transmitting data to the card, user must first configure the data controller in transmission  
mode by setting the DATDIR bit in MMCON1 register.  
Figure 16-16 summarizes the data stream transmission flows in both polling and interrupt modes  
while Figure 16-17 summarizes the data block transmission flows in both polling and interrupt  
modes, these flows assume that block length is greater than 16 data.  
16.6.3.2  
16.6.3.3  
Data Loading  
Data is loaded in the FIFO by writing to MMDAT register. Number of data loaded may vary from  
1 to 16 Bytes. Then if necessary (more than 16 Bytes to send) user must wait that one FIFO  
becomes empty (F1EI or F2EI set) before loading 8 new data.  
Data Transmission  
Transmission is enabled by setting and clearing DATEN bit in MMCON1 register.  
Data is transmitted immediately if the response has already been received, or is delayed after  
the response reception if its status is correct. In both cases transmission is delayed if a card  
sends a busy state on the data line until the end of this busy condition.  
According to the MMC specification, the data transfer from the host to the card may not start  
sooner than 2 MMC clock periods after the card response was received (formally NWR parame-  
ter). To address all card types, this delay can be programmed using DATD1:0 Bits in MMCON2  
register from 3 MMC clock periods when DATD1:0 Bits are cleared to 9 MMC clock periods  
when DATD2:0 Bits are set, by step of 2 MMC clock periods.  
16.6.3.4  
End of Transmission  
The end of data frame (block or stream) transmission is signalled by the EOFI flag in MMINT  
register. This flag may generate an MMC interrupt request as detailed in Section "Interrupt",  
page 96.  
In data stream mode, EOFI flag is set, after reception of the End bit. This assumes user has pre-  
viously sent the STOP command to the card, which is the only way to stop stream transfer.  
In data block mode, EOFI flag is set, after reception of the CRC status token (see Figure 16-4).  
Two other flags in MMSTA register: DATFS and CRC16S report a status on the frame sent.  
DATFS indicates if the CRC status token format is correct or not, and CRC16S indicates if the  
card has found the CRC16 of the block correct or not.  
92  
AT89C5132  
4173E–USB–09/07  
 复制成功!