MultiMediaCard Product Manual
SanDisk MultiMediaCard Product Manual Rev. 2 © 2000 SANDISK CORPORATION
66
6.2.1.1
Detailed Command Description
The following table provides a detailed
description of the SPI bus commands. The
responses are defined in section 6.2.2. This table
below lists all MultiMediaCard commands. A
“yes” in the SPI mode column indicates that the
command is supported in SPI mode. With these
restrictions, the command class description in the
CSD is still valid. If a command does not require
an argument, the value of this field should be set
to zero. The reserved commands are reserved in
MultiMediaCard mode as well.
The binary code of a command is defined by the
mnemonic symbol. As an example, the content of
the
Command
field for CMD0 is (binary) ‘000000’
and for CMD39 is (binary) ‘100111.’
Table 6-1 Description of SPI Bus Commands
CMD
I N D E X
S P I
M o d e
Argument
R e s
p
Abbreviation
Command Description
CMD0
Yes
None
R1
GO_IDLE_STATE
Resets the MultiMediaCard
CMD1
Yes
None
R1
SEND_OP_COND
Activates the card’s initialization
process.
CMD2
No
CMD3
No
CMD4
No
CMD5
reserved
CMD6
reserved
CMD7
No
CMD8
reserved
CMD9
Yes
None
R1
SEND_CSD
Asks the selected card to send its card-
specific data (CSD).
CMD10
Yes
None
R1
SEND_CID
Asks the selected card to send its card
identification (CID).
CMD11
No
CMD12
No
CMD13
Yes
None
R2
SEND_STATUS
Asks the selected card to send its status
register.
CMD14
No
CMD15
No
CMD16
Yes
[31:0] block
length
R1
SET_BLOCKLEN
Selects a block length (in bytes) for all
following block commands (read and
write).
1
CMD17
Yes
[31:0] data
address
R1
READ_SINGLE_
BLOCK
Reads a block of the size selected by the
SET_BLOCKLEN command.
2
1)
The only valid block length for write is 512 bytes. The valid block length for read is 1 to 512 bytes. A set block
length of less than 512 bytes will cause a write error. The card has a default block length of 512 bytes. CMD16 is
not mandatory if the default is accepted.
2)
The start address and block length must be set so that the data transferred will not cross a physical block
boundary.
Содержание SDMB-16
Страница 6: ...MultiMediaCard Product Manual SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 6 ...
Страница 74: ...MultiMediaCard Product Manual SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 74 ...
Страница 76: ...76 SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION ...
Страница 79: ...SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 79 SanDisk Sales Offices ...
Страница 80: ...SanDisk Worldwide Sales Offices SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 80 ...
Страница 82: ...SanDisk Worldwide Sales Offices SanDisk MultiMediaCard Product Manual Rev 2 2000 SANDISK CORPORATION 82 ...