AT91RM3400-DK Atmel, AT91RM3400-DK Datasheet - Page 378

KIT DEV FOR AT91RM3400

AT91RM3400-DK

Manufacturer Part Number
AT91RM3400-DK
Description
KIT DEV FOR AT91RM3400
Manufacturer
Atmel
Series
AT91SAM Smart ARMr
Type
MCUr
Datasheets

Specifications of AT91RM3400-DK

Contents
Evaluation Board, Software and Documentation
Processor To Be Evaluated
AT91RM3400
Data Bus Width
32 bit
Interface Type
RS-232, USB
For Use With/related Products
AT91RM3400
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Transfer
Operation
378
AT91RM3400
command requires a response, it can be read in the MCI response register (MCI_RSPR). The
response size can be 48 bits up to 136 bits according to the command. The MCI embeds an
error detection to prevent any corrupted data during the transfer.
The following flowchart shows how to send a command to the card and read the response if
needed. In this example, the status register bits are polled but setting the appropriate bits in
the interrupt enable register (MCI_IER) allows using an interrupt method.
Figure 158. Command/Response Functional Flow Diagram
Note:
The MultiMedia Card allows several read/write operations (single block, multiple blocks,
stream, etc.).
These operations can be done using the Peripheral Data Controller (PDC) features. If the
PDCMODE bit is set in MCI_MR, then all reads and writes use the PDC facilities. In all cases,
the block length must be defined in the mode register.
1. If the command is SEND_OP_COND, the CRC error flag is always present (refer to R3
response in the MultiMediaCard specification).
Check error bits in the
Wait for command
status register
ready status flag
(1)
Set the command argument
MCI_ARGR = Argument
Read response if required
MCI_CMDR = Command
Status error flags?
Set the command
Read MCI_SR
RETURN OK
CMDRDY
1
(1)
RETURN ERROR
Yes
0
1790A–ATARM–11/03

Related parts for AT91RM3400-DK