Section 31 Multimedia Card Interface (MMCIF)
Rev. 1.00 Oct. 01, 2007 Page 1333 of 1956
REJ09B0256-0100
(5) Commands with Read Data
Flash memory operation commands include a number of commands involving read data. Such
commands confirm the card status through the command argument and command response, and
receive card information and flash memory data from the MMC_DAT pin.
In multiblock transfer, there are two methods of transfer: the open-ended and pre-defined methods.
The open-ended method suspends operation at each block transfer and waits for an instruction as
to whether to continue the command sequence. The pre-defined method starts transferring with the
block number set beforehand.
When the FIFO is full between blocks in multiblock transfer, the command sequence is
suspended. Once the command sequence is suspended, any necessary processing of the data in
FIFO must be done before the command sequence is continued.
Figures 31.7 to 31.9 show examples of the command sequence for commands with read data.
Figures 31.10 to 31.12 show the operational flows for commands with read data.
•
Create settings to issue the command, and clear FIFO.
•
Set the START bit in CMDSTRT to 1 to start command transmission.
•
Command transmission completion can be confirmed through the command transmit end
interrupt (CMDI).
•
The command response is received from the card.
•
If the card returns no command response, the command response is detected through the
command timeout error (CTERI).
•
Read data is received from the card.
•
The inter-block suspension in multiblock transfer and suspension due to FIFO full are detected
through the data transfer end interrupt (DTI) and FIFO full interrupt (FFI), respectively.
To continue the command sequence, the RD_CONTI bit in OPCR should be set to 1. To end
the command sequence, the CMDOFF bit in OPCR should be set to 1, and CMD12 should be
issued. Unless the sequence is suspended in a pre-defined multiblock transfer, CMD12 is not
needed.
•
The end of the command sequence is detected by poling the BUSY flag in CSTR or the data
transfer end interrupt (DTI).
Summary of Contents for SH7763
Page 2: ...Rev 1 00 Oct 01 2007 Page ii of lxvi ...
Page 122: ...Section 2 Programming Model Rev 1 00 Oct 01 2007 Page 56 of 1956 REJ09B0256 0100 ...
Page 144: ...Section 3 Instruction Set Rev 1 00 Oct 01 2007 Page 78 of 1956 REJ09B0256 0100 ...
Page 170: ...Section 4 Pipelining Rev 1 00 Oct 01 2007 Page 104 of 1956 REJ09B0256 0100 ...
Page 282: ...Section 7 Caches Rev 1 00 Oct 01 2007 Page 216 of 1956 REJ09B0256 0100 ...
Page 378: ...Section 9 Interrupt Controller INTC Rev 1 00 Oct 01 2007 Page 312 of 1956 REJ09B0256 0100 ...
Page 514: ...Section 12 DDR SDRAM Interface DDRIF Rev 1 00 Oct 01 2007 Page 448 of 1956 REJ09B0256 0100 ...
Page 630: ...Section 13 PCI Controller PCIC Rev 1 00 Oct 01 2007 Page 564 of 1956 REJ09B0256 0100 ...
Page 710: ...Section 16 Clock Pulse Generator CPG Rev 1 00 Oct 01 2007 Page 644 of 1956 REJ09B0256 0100 ...
Page 732: ...Section 17 Watchdog Timer and Reset WDT Rev 1 00 Oct 01 2007 Page 666 of 1956 REJ09B0256 0100 ...
Page 752: ...Section 18 Power Down Mode Rev 1 00 Oct 01 2007 Page 686 of 1956 REJ09B0256 0100 ...
Page 772: ...Section 19 Timer Unit TMU Rev 1 00 Oct 01 2007 Page 706 of 1956 REJ09B0256 0100 ...
Page 824: ...Section 21 Compare Match Timer CMT Rev 1 00 Oct 01 2007 Page 758 of 1956 REJ09B0256 0100 ...
Page 1124: ...Section 26 I 2 C Bus Interface IIC Rev 1 00 Oct 01 2007 Page 1058 of 1956 REJ09B0256 0100 ...
Page 1350: ...Section 30 SIM Card Module SIM Rev 1 00 Oct 01 2007 Page 1284 of 1956 REJ09B0256 0100 ...
Page 1484: ...Section 33 Audio Codec Interface HAC Rev 1 00 Oct 01 2007 Page 1418 of 1956 REJ09B0256 0100 ...
Page 1560: ...Section 35 USB Host Controller USBH Rev 1 00 Oct 01 2007 Page 1494 of 1956 REJ09B0256 0100 ...
Page 1720: ...Section 37 LCD Controller LCDC Rev 1 00 Oct 01 2007 Page 1654 of 1956 REJ09B0256 0100 ...
Page 2025: ......
Page 2026: ...SH7763 Hardware Manual ...