User Manual

Secure Digital (SD) Bus Protocol Description
4-20 TriFlash with SD Interface Product Manual (Preliminary), Rev. 1.2 © 2002/2003 SANDISK CORPORATION
4.8.4. Detailed Command Description
Tables 4-4 through 4-10 define in detail the SD Bus commands.
Table 4-4. Basic Commands (Class 0 And Class 1)
Cmd
Index
Type Argument Resp Abbreviation Command Description
CMD0 bc [31:0] Stuff Bits=‘0’ - GO_IDLE_STATE Resets all devices to Idle State.
CMD1 Reserved
CMD2 bcr [31:0] Stuff Bits=‘0’ R2 ALL_SEND_CID Asks any device to send their CID numbers on
the CMD line. (Any device that is connected to the
host will respond.)
CMD3 bcr [31:0] Stuff Bits=‘0’ R6 SEND_RELATIVE_
ADDR
Asks the device to publish a new relative address
(RCA).
CMD4
2
Not Supported
CMD5 Reserved
CMD6 Reserved
CMD7 ac [31:16] RCA
[15:0] Stuff Bits=‘0’
R1
(only
from the
selected
device)
SELECT/DESELECT_
CARD
Command toggles a device between the Stand-by
and Transfer states or between the Programming
and Disconnect state.
In both cases the device is selected by its own
relative address and deselected by any other
address; address 0 deselects all. When the RCA
equals 0, the host may do one of the following:
—use other RCA number to perform device
deselection or
—resend CMD3 to change its RCA number to
other then 0 and then use CMD7 with RCA=0 for
device de-selection.
CMD8 Reserved
CMD9 ac [31:16] RCA
[15:0] Stuff Bits=‘0’
R2 SEND_CSD Addressed device sends its card-specific data
(CSD) on the CMD line.
CMD10 ac [31:16] RCA
[15:0] Stuff Bits=‘0’
R2 SEND_CID Addressed device sends its card identification
(CID) on the CMD line.
CMD11 Reserved
CMD12 ac [31:0] Stuff Bits=‘0’ R1b
3
STOP_
TRANSMISSION
Terminates a multiple block read/write operation.
CMD13 ac [31:16] RCA
[15:0] Stuff Bits=‘0’
R1 SEND_STATUS Addressed device sends its status register.
CMD14 Reserved
CMD15 ac [31:16] RCA
[15:0] Stuff Bits=‘0’
- GO_INACTIVE_
STATE
Sets the device to inactive state.
2
The DSR option (as well as the SET_DSR command) is not supported by the SanDisk TriFlash.
3
The device may become busy after this command. Refer to Figure 4-25 for more details.