SanDisk SDSDH-1024 Product Manual - Page 100

Index, Argument, Abbreviation, Description

Page 100 highlights

Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual CMD SPI Index Mode Argument CMD13 Yes None CMD14 CMD15 CMD16 Reserved. No --- Yes [31:0] block length CMD17 Yes [31:0] data address CMD18 Yes [31:0] data address CMD19 CMD20 CMD21 ... CMD23 CMD24 Reserved. No --- Reserved. Yes [31:0] data address CMD25 Yes [31:0] data address CMD26 No CMD27 Yes --None CMD28 Yes [31:0] data address Resp Abbreviation SION R2 SEND_STATUS Description stop transmission during a multiple block read operation. Asks the selected card to send its Status Register. --- --- --- R1 SET_BLOCKLEN Selects a block length (in bytes) for all following block commands (read & write).1 R1 READ_SINGLE_ Reads a block of the BLOCK size selected by the SET_BLOCKLEN command.2 R1 READ_MULTIPLE_ Continuously BLOCK transfers data blocks from card to host until interrupted by a STOP_TRANSMISSI ON command. --- --- --- R1 WRITE_BLOCK Writes a block of the size selected by the SET_BLOCKLEN command.3 R1 WRITE_MULTIPLE Continuously writes _BLOCK blocks of data until a stop transmission token is sent (instead of 'start block'). --- --- --- R1 PROGRAM_CSD Programming of the programmable bits of the CSD. R1b SET_WRITE_ PROT If the card has write protection features, this command sets the write protection bit of the addressed group. The properties of write protection are coded in the card specific data 1 The default block length is as specified in the CSD Register. 2 The data transferred must not cross a physical block boundary unless READ_BLK_MISALIGN is set in the CSD Register. 3 The data transferred must not cross a physical block boundary unless WRITE_BLK_MISALIGN is set in the CSD Register. © 2004 SanDisk Corporation 5-10 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 5 – SPI Protocol
Revision 2.2
SD Card Product Manual
© 2004 SanDisk Corporation
5-10
12/08/04
CMD
Index
SPI
Mode
Argument
Resp
Abbreviation
Description
SION
stop transmission
during a multiple
block read operation.
CMD13
Yes
None
R2
SEND_STATUS
Asks the selected
card to send its Status
Register.
CMD14
Reserved.
CMD15
No
---
---
---
---
CMD16
Yes
[31:0] block length
R1
SET_BLOCKLEN
Selects a block length
(in bytes) for all
following block
commands (read &
write).
1
CMD17
Yes
[31:0] data address
R1
READ_SINGLE_
BLOCK
Reads a block of the
size selected by the
SET_BLOCKLEN
command.
2
CMD18
Yes
[31:0] data address
R1
READ_MULTIPLE_
BLOCK
Continuously
transfers data blocks
from card to host until
interrupted by a
STOP_TRANSMISSI
ON command.
CMD19
Reserved.
CMD20
No
---
---
---
---
CMD21
CMD23
Reserved.
CMD24
Yes
[31:0] data address
R1
WRITE_BLOCK
Writes a block of the
size selected by the
SET_BLOCKLEN
command.
3
CMD25
Yes
[31:0] data address
R1
WRITE_MULTIPLE
_BLOCK
Continuously writes
blocks of data until a
stop transmission
token is sent (instead
of ‘start block’).
CMD26
No
---
---
---
---
CMD27
Yes
None
R1
PROGRAM_CSD
Programming of the
programmable bits of
the CSD.
CMD28
Yes
[31:0] data address
R1b
SET_WRITE_
PROT
If the card has write
protection features,
this command sets
the write protection bit
of the addressed
group. The properties
of write protection are
coded in the card
specific data
1
The default block length is as specified in the CSD Register.
2
The data transferred must not cross a physical block boundary unless READ_BLK_MISALIGN is set in the
CSD Register.
3
The data transferred must not cross a physical block boundary unless WRITE_BLK_MISALIGN is set in the
CSD Register.