User Manual

SPI Protocol Definition
TriFlash with SD Interface Product Manual (Preliminary), Rev. 1.2 © 2002/2003 SANDISK CORPORATION
5-11
CMD
INDEX
SPI
Mode
Argument Resp Abbreviation Command Description
CMD59 Yes [31:1] do not care
[0:0] CRC option
R1 CRC_ON_OFF Turns the CRC option on or off. A ‘1’ in the CRC
option bit will turn the option on, a ‘0’ will turn it
off.
CMD60-
63
No
Table 5-3 describes all the application specific commands supported or reserved by the TriFlash. All the following
commands should be preceded with APP_CMD (CMD55).
Table 5-3. Application Specific Commands Used or Reserved by the TriFlash SPI Mode
CMD
INDEX
SPI Mode Argument Resp Abbreviation Command Description
ACMD6 No
ACMD13 yes [31:0] stuff bits R2 SD_STATUS Send the TriFlash status. The status fields are given
in Table 3-29.
ACMD17 Reserved
ACMD18 yes -- -- -- Reserved for SD security applications.
10
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
write command). “1”=default (one write block).
11
ACMD24 Reserved
ACMD25 yes -- -- -- Reserved for SD security applications.
ACMD26 yes -- -- -- Reserved for SD security applications.
ACMD38 yes -- -- -- Reserved for SD security applications.
ACMD39
to
ACMD40
Reserved
ACMD41 yes None R1 SEND_OP_
COND
Activates the device’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 device. The pull-up may be
used for card detection.
ACMD43
...
ACMD49
yes -- -- -- Reserved for SD security applications.
ACMD51 yes [31:0] staff bits R1 SEND_SCR Reads the SD Configuration Register (SCR).
10
Refer to SD Memory Card Security Specification for detailed explanation about the SD Security Features.
11
The start address and block length must be set so that the data transferred will not cross a physical block boundary. 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.