SanDisk SDSDH-1024 Product Manual - Page 108

Reading the CSD Register

Page 108 highlights

Revision 2.2 Chapter 5 - SPI Protocol SD Card Product Manual Host Command to Card Response-Card is Busy CS Data In Data Out HL L L L L L L HHHLL L L L L HH NCS XHHHH 6 byte cmd Z Z H H H H ******** NEC NDS NEC HHHHHHHHHHHHH X X X HH HHHHX X NCR H H H H Card resp. Busy L Z Z Z Busy H H H H Z Card Response to Host Command CS L L L L L Data In Data Out H H H H H H H H H H H 1 or 2 byte resp. HHHH NCR HHHH 6-byte command L L HHHH HHHX X X X HHHHZ Z Z 5.23.3 Data Read The following timing diagram describes all single block read operations with the exception of SEND_CSD command. Single Block Read Timing CS Data In Data Out HL L L NCS X H H H H Read Command H H H H H Z Z H H H H ******** NCR H H H H Card resp. NAC H H H H Data Block L L L HHHH NEC HHHXXXX HHHHZ Z Z The following figure describes a Stop Transmission operation in case Multiple Block Read occurs. Multiple Block Read Timing CS L L L L NCS Data In X H H H H stop tran cmd H H H H H NCR Data Out data transfer to host HH card response H Reading the CSD Register The following timing diagram describes the SEND_CSD command bus transaction. The timeout values for the response and the data block are NCR (because the NAC is still unknown). Reading the CSD Register CS Data In HL L L NCS XHHHH read command Data Out Z Z H H H H ********** HHHHH NCR NCX H H H H card response H H H H data blk LL L HHHH NEC HHHX X X X HHHHZ Z Z © 2004 SanDisk Corporation 5-18 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-18
12/08/04
Host Command to Card Response—Card is Busy
Card Response to Host Command
5.23.3
Data Read
The following timing diagram describes all single block read operations with the exception
of SEND_CSD command.
Single Block Read Timing
The following figure describes a Stop Transmission operation in case Multiple Block Read
occurs.
Multiple Block Read Timing
Reading the CSD Register
The following timing diagram describes the SEND_CSD command bus transaction. The
timeout values for the response and the data block are N
CR
(because the N
AC
is still
unknown).
Reading the CSD Register
X
H
H
H
Z
Z
H
H
H
H
L
L
*******************
6 byte cmd
H
H
H
H
H
H
H
H
********
H
H
X
X
X
H
H
Card resp.
L
Z
Z
Z
H
L
L
L
L
L
H
H
N
CS
N
EC
N
CR
CS
Data In
Data Out
L
L
L
H
H
H
L
L
H
H
H
H
H
H
H
H
H
Busy
Busy
H
H
H
X
X
H
H
H
H
Z
L
N
DS
N
EC
H
H
H
H
H
H
H
H
L
L
L
*******************
****************
H
H
H
1 or 2 byte resp.
*********************
H
H
H
L
H
H
H
H
N
CR
CS
Data In
Data Out
L
H
H
H
X
X
X
X
H
H
Z
Z
Z
L
H
6-byte command
H
H
H
H
H
H
L
X
H
H
H
Z
Z
H
H
H
H
L
L
***************************************
Read Command
H
H
H
H
H
H
H
H
********
H
Card resp.
H
H
H
L
L
L
H
H
H
H
N
CS
N
CR
CS
Data In
Data Out
L
H
H
H
H
X
X
X
X
H
H
Z
Z
Z
N
EC
***********************
Data Block
H
H
H
H
N
AC
X
H
H
H
H
L
L
L
*******************
stop tran cmd
H
H
H
H
H
***************
data transfer to host
card response
H
N
CS
N
CR
CS
Data In
Data Out
L
H
H
<2clk>
X
H
H
H
Z
Z
H
H
H
L
L
*******************
read command
**********
card response
H
H
H
L
H
H
H
H
N
CR
CS
Data In
Data Out
L
H
H
X
X
X
X
H
H
Z
Z
Z
L
*********************
H
H
H
H
H
H
L
H
H
H
H
H
H
H
H
H
data blk
H
N
CS
N
CX
N
EC