Responses - SanDisk SDSDB-32-201-80 - Industrial Grade Flash Memory Card Product Manual

Secure digital card
Table of Contents

Advertisement

SPI Protocol Definition
Table 5-3 describes all the application specific commands supported or reserved by the 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
SPI Mode
INDEX
ACMD6
No
ACMD13
Yes
[31:0] stuff bits
ACMD17
ACMD18
Yes
ACMD19
to
ACMD21
ACMD22
Yes
[31:0] stuff bits
ACMD23
Yes
[31:23] stuff bits
[22:0]Number of blocks
ACMD24
ACMD25
Yes
ACMD26
Yes
ACMD38
Yes
ACMD39
to
ACMD40
ACMD41
Yes
ACMD42
Yes
[31:1] stuff bits
ACMD43
Yes
...
ACMD49
ACMD51
Yes
[31:0] staff bits
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.
5-12
Argument
Resp
R2
--
--
R1
SEND_NUM_WR_ BLOCKS
R1
--
--
--
--
--
--
None
R1
R1
[0]set_cd
--
--
R1
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
Abbreviation
SD_STATUS
Send the SD Card status. The status fields are
given in Table 4-21
Reserved
--
Reserved for SD security applications1
Reserved
Send the numbers of the well-written (without
errors) blocks. Responds with 32bit+CRC data
block.
SET_WR_BLK_
Set the number of write blocks to be pre-erased
ERASE_COUNT
before writing (to be used for faster Multiple Block
WR command). "1"=default (one wr block)(2).
Reserved
--
Reserved for SD security applications1
--
Reserved for SD security applications1
--
Reserved for SD security applications1
Reserved
SEND_OP_
Activates the card's initialization process.
COND
SET_CLR_CARD_
Connect[1]/Disconnect[0] the 50KOhm pull-up
DETECT
resistor on CD/DAT3 (pin 1) of the card. The pull-up
may be used for card detection.
--
Reserved for SD security applications.
SEND_SCR
Reads the SD Configuration Register (SCR).
Command Description
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents