Product manual
SPI Protocol Definition
SanDisk Industrial Grade SD Product Manual, Rev. 1.0 © 2003 SANDISK CORPORATION -5-11
Table 5-3 describes all the application specific commands supported or reserved by the Industrial Grade SD Card.
All the following commands should be preceded with APP_CMD (CMD55).
Table 5-3. Application Specific Commands Used or Reserved by the SD Card–SPI Mode
CMD
INDEX
SPI Mode Argument Resp Abbreviation Command Description
ACMD6 No
ACMD13 Yes [31:0] stuff bits
R2 SD_STATUS
Send the SD Card status. The status fields are
given in Table 4-21
ACMD17 Reserved
ACMD18 Yes -- -- -- Reserved for SD security applications1
ACMD19
to
ACMD21
Reserved
ACMD22 Yes [31:0] stuff bits
R1 SEND_NUM_WR_ BLOCKS Send the numbers of the well-written (without
errors) blocks. Responds with 32bit+CRC data
block.
ACMD23 Yes [31:23] stuff bits
[22:0]Number of blocks
R1 SET_WR_BLK_
ERASE_COUNT
Set the number of write blocks to be pre-erased
before writing (to be used for faster Multiple Block
WR command). “1”=default (one wr block)(2).
ACMD24 Reserved
ACMD25 Yes -- -- -- Reserved for SD security applications1
ACMD26 Yes -- -- -- Reserved for SD security applications1
ACMD38 Yes -- -- -- Reserved for SD security applications1
ACMD39
to
ACMD40
Reserved
ACMD41 Yes None R1 SEND_OP_
COND
Activates the card’s initialization process.
ACMD42 Yes [31:1] stuff bits
[0]set_cd
R1 SET_CLR_CARD_
DETECT
Connect[1]/Disconnect[0] the 50KOhm pull-up
resistor on CD/DAT3 (pin 1) of the card. The pull-up
may be used for card detection.
ACMD43
...
ACMD49
Yes -- -- -- Reserved for SD security applications.
1
ACMD51 Yes [31:0] staff bits R1 SEND_SCR Reads the SD Configuration Register (SCR).
NOTES: (1) Refer to “SD Card Security Specification” for detailed explanation about the SD Security Features
(2) Command STOP_TRAN (CMD12) shall be used to stop the transmission in Write Multiple Block whether the pre-
erase (ACMD23) feature is used or not.
5.2.3. Responses
There are several types of response tokens. As in the SD Card mode, all are transmitted MSB first.