Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AT89C5132-ROTUL Datasheet(PDF) 92 Page - ATMEL Corporation

Part # AT89C5132-ROTUL
Description  USB Microcontroller with 64K Bytes Flash Memory
PDF  181 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89C5132-ROTUL Datasheet(HTML) 92 Page - ATMEL Corporation

Back Button AT89C5132-ROTUL Datasheet HTML 88Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 89Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 90Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 91Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 92Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 93Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 94Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 95Page - ATMEL Corporation AT89C5132-ROTUL Datasheet HTML 96Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 92 / 181 page
background image
92
4173D–USB–02/06
AT89C5132
Figure 16-15. Data Controller Configuration Flows
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
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.
16.6.3.3
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 N
WR 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.
Data Single Block
Configuration
Data Stream
Configuration
Configure Format
DFMT = 0
Data Multi-block
Configuration
Configure Format
DFMT = 1
MBLOCK = 1
BLEN3:0 = XXXXb
Configure Format
DFMT = 1
MBLOCK = 0
BLEN3:0 = XXXXb



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com