| Electronic Components Datasheet Search |
|
AT89C5132-ROTIL Datasheet(PDF) 89 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89C5132-ROTIL Datasheet(HTML) 89 Page - ATMEL Corporation |
|
89 / 181 page ![]() 89 4173D–USB–02/06 AT89C5132 Figure 16-12. Command Line Controller Block Diagram 16.5.1 Command Transmitter To send a command to the card, the user must load the command index (1 byte) and argument (4 Bytes) in the command transmit FIFO using the MMCMD register. Before starting transmis- sion by setting and clearing the CMDEN bit in MMCON1 register, the user must first configure: • RESPEN bit in MMCON1 register to indicate whether a response is expected or not. • RFMT bit in MMCON0 register to indicate the response size expected. • CRCDIS bit in MMCON0 register to indicate whether the CRC7 included in the response will be computed or not. In order to avoid CRC error, CRCDIS may be set for responses that do not include CRC7. Figure 16-13 summarizes the command transmission flow. As soon as command transmission is enabled, the CFLCK flag in MMSTA is set indicating that write to the FIFO is locked. This mechanism is implemented to avoid command over-run. The end of the command transmission is signalled by the EOCI flag in MMINT register becoming set. This flag may generate an MMC interrupt request as detailed in Section "Interrupt", page 96. The end of the command transmission also resets the CFLCK flag. The user may abort command loading by setting and clearing the CTPTR bit in MMCON0 regis- ter which resets the write pointer to the transmit FIFO. CTPTR MMCON0.4 CRPTR MMCON0.5 MCMD CMDEN MMCON1.0 TX COMMAND Line Finished State Machine Data Converter // -> Serial 5-byte FIFO MMCMD TX Pointer RFMT MMCON0.1 CRCDIS MMCON0.0 RESPEN MMCON1.1 Data Converter Serial -> // RX Pointer 17-byte FIFO MMCMD CFLCK MMSTA.0 CRC7 Generator RX COMMAND Line Finished State Machine CRC7 and Format Checker CRC7S MMSTA.2 RESPFS MMSTA.1 EOCI MMINT.5 EORI MMINT.6 Command Transmitter Command Receiver Write Read |
|
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 |
| 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 |