English
Language : 

MC56U032DCCA Datasheet, PDF (49/64 Pages) Samsung semiconductor – Dual Voltage MultiMediaCard Specification
MultiMediaCardTM
Figure 4-5 Multiple Block Read Operation
The basic unit of data transfer is a block whose maximum size is defined in the CSD (READ_BL_LEN). A
16-bit CRC is appended to the end of each block ensuring data transfer integrity (also refer to chapter
“Cyclic Redundancy Check (CRC)”). CMD17 (READ_SINGLE_BLOCK) initiates a single block read.
CMD18 (READ_MULTIPLE_BLOCK) starts a transfer of several consecutive blocks. Two types of
multiple block read transactions are defined (the host can use either one at any time):
* Open-ended Multiple block read
The number of blocks for the read multiple block operation is not defined. The card willcontinuously
transfer data blocks until a stop transmission command is received.
* Multiple block read with pre-defined block count
The card will transfer the requested number of data blocks, terminate the transaction and return to
transfer state. Stop command is not required at the end of this type of multiple block read, unless
terminated with an error. In order to start a multiple block read with pre-defined block count, the host
must use the SET_BLOCK_COUNT command (CMD23) immediately preceding the
READ_MULTIPLE_BLOCK (CMD18) command. Otherwise the card will start an open-ended multiple
block read which can be stopped using the STOP_TRANSMISSION command.
The host can abort reading at any time, within a multiple block operation, regardless of the its type.
Transaction abort is done by sending the stop transmission command.
In case of a data retrieval error, the card will not transmit any data. Instead, a special data error token will
be sent to the host. Figure “Read Operation-Data Error” shows a data read operation which terminated
with an error token rather than a data block.
Figure 4-6 Read operation – Data Error
4.10.4 Data Write Overview
The SPI mode supports single block and Multiple block write commands. Upon reception of a valid write
command (CMD24 or CMD25), the card will respond with a response token and will wait for a data block
49