Datasheet
SAM9261 [DATASHEET]
Atmel-6062O-ATARM-SAM9261-Datasheet_21-Jun-16
554
Figure 34-7. Command/Response Functional Flow Diagram
Note: If the command is SEND_OP_COND, the CRC error flag is always present (refer to R3 response in the MultiMedia
Card specification).
RETURN OK
RETURN ERROR
(1)
RETURN OK
Set the command argument
MCI_ARGR = Argument
(1)
Set the command
MCI_CMDR = Command
Read MCI_SR
CMDRDY
Status error flags?
Read response if required
Ye s
Wait for command
ready status flag
Check error bits in the
status register
(1)
0
1
Does the command involve
a busy indication?
No
Read MCI_SR
0
NOTBUSY
1