SanDisk SDSDH-1024 Product Manual - Page 82

Card State Transition

Page 82 highlights

Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual ACMD Index ACMD42 Type Argument Resp. ac [31:1] stuff R1 bits [0] set_cd Abbreviation SET_CLR_CARD_DETECT ACMD43 ACMD49 ACMD51 --- --- --- adtc [31:0] stuff R1 bits --SEND_SCR Command Description Connect[1]/Disconnect[0] the 50KOhm pull-up resistor on CD/DAT3 (pin 1) of the card. Reserved for SD security applications. Reads the SD Configuration Register (SCR). 4.9 Card State Transition Table 4-18 defines the SD card state-transition (dependent on the received command). The SD Card application-specific command state-transitions can be found in Class 8. Table 4-18 Card State Transition Table Current Status idle ready ident stby tran data rcv prg dis ina State Change Trigger Changes to Class Independent "Operation --- --- --- --- --- --- --- tran stby --- complete" Class 0 CMD0 idle idle idle idle idle idle idle idle idle --- CMD2 --- ident --- --- --- --- --- --- --- --- CMD3 --- --- stby stby --- --- --- --- --- --- CMD4 --- --- --- stby --- --- --- --- --- --- CMD7, card is --- --- --- tran --- --- --- --- prg --- addressed CMD7, card is --- --- --- stby stby stby --- dis --- --- not addressed CMD9 --- --- --- stby --- --- --- --- --- --- CMD10 --- --- --- stby --- --- --- --- --- --- CMD12 --- --- --- --- --- tran prg --- --- --- CMD13 --- --- --- stby tran data rcv prg dis --- CMD15 --- --- --- ina ina ina ina ina ina --- Class 2 CMD16 CMD17 CMD18 --- --- --- --- tran --- --- --- --- --- --- --- --- --- data --- --- --- --- --- --- --- --- --- data --- --- --- --- --- Class 4 CMD16 see class 2 © 2004 SanDisk Corporation 4-38 12/08/04

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123

Chapter 4 – SD Card Protocol Description
Revision 2.2
SanDisk SD Card Product Manual
© 2004 SanDisk Corporation
4-38
12/08/04
ACMD Index
Type
Argument
Resp.
Abbreviation
Command Description
ACMD42
ac
[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.
ACMD43
ACMD49
---
---
---
---
Reserved for SD security
applications.
ACMD51
adtc
[31:0] stuff
bits
R1
SEND_SCR
Reads the SD
Configuration Register
(SCR).
4.9
Card State Transition
Table 4-18 defines the SD card state-transition (dependent on the received command).
The
SD Card application-specific command state-transitions can be found in Class 8.
Table 4-18
Card State Transition Table
Current Status
idle
ready
ident
stby
tran
data
rcv
prg
dis
ina
State Change
Trigger
Changes to
Class
Independent
“Operation
complete”
---
---
---
---
---
---
---
tran
stby
---
Class 0
CMD0
idle
idle
idle
idle
idle
idle
idle
idle
idle
---
CMD2
---
ident
---
---
---
---
---
---
---
---
CMD3
---
---
stby
stby
---
---
---
---
---
---
CMD4
---
---
---
stby
---
---
---
---
---
---
CMD7, card is
addressed
---
---
---
tran
---
---
---
---
prg
---
CMD7, card is
not addressed
---
---
---
stby
stby
stby
---
dis
---
---
CMD9
---
---
---
stby
---
---
---
---
---
---
CMD10
---
---
---
stby
---
---
---
---
---
---
CMD12
---
---
---
---
---
tran
prg
---
---
---
CMD13
---
---
---
stby
tran
data
rcv
prg
dis
---
CMD15
---
---
---
ina
ina
ina
ina
ina
ina
---
Class 2
CMD16
---
---
---
---
tran
---
---
---
---
---
CMD17
---
---
---
---
data
---
---
---
---
---
CMD18
---
---
---
---
data
---
---
---
---
---
Class 4
CMD16
see class 2