SanDisk SDSDB-32-201-80 - Industrial Grade Flash Memory Card Manual Page 100

  • Download
  • Add to my manuals
  • Print
  • Page
    / 119
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 99
SPI Protocol Definition
5-16 SanDisk Industrial Grade SD Product Manual, Rev. 1.0 © 2003 SANDISK CORPORATION
Table 5-4. SPI Bus Timing Abbreviations
H Signal is high (logical ‘1’)
L Signal is low (logical ‘0’)
X Don’t care
Z High impedance state (-> = 1)
* Repeater
Busy Busy Token
Command Command token
Response Response token
Data block Data token
All timing values are defined in Table 5-5. The host must keep the clock running for at least N
CR
clock cycles after
the card response is received. This restriction applied to command and data response tokens.
5.4.1. Command/Response
Host Command to Card ResponseCard is Ready
CS
H H L L L * * * * * * * * * * * * * * * * * * * L L L L H H H
<-N
CS
-> <-N
EC
->
DataIN
X X H H H H 6 Bytes Command H H H H H * * * * * * * * * * * * * * * H H H H X X X
<-N
CR
->
DataOut
Z Z Z H H H H * * * * * * * * H H H H H 1 or 2 Bytes Response H H H H H Z Z
Figure 5-11. Host Command to Card ResponseCard is Ready
Host Command to Card ResponseCard is Busy
The following timing diagram describes the command response transaction for commands when the card responses
which the R1b response type (e.g., SET_WRITE_PROT and ERASE). When the card is signaling busy, the host
may deselect it (by raising the CS) at any time. The card will release the DataOut line one clock after the CS going
high. To check if the card is still busy it needs to be reselected by asserting (set to low) the CS signal. The card will
resume busy signal (pulling DataOut low) one clock after the falling edge of CS.
CS
H L L L * * * * * * * * * * * * * * * * * * * L L L L H H H L L L L L L H H
<-N
CS
-> <-N
EC
-> <-N
DS
-> <-N
EC
->
DataIN
X H H H H 6 Bytes Command H H H H H H H H H H H H H X X X H H H H H H X X
<-N
CR
->
DataOut
Z Z H H H H * * * * * * * * H H H H Card Response Busy L Z Z Z Busy H H H H Z
Figure 5-12. Host Command to Card ResponseCard is Busy
Card Response to Host Command
CS
L L L L L * * * * * * * * * * * * * * * * * * * L L H H H H
DataIN
H H H H H H * * * * * * * * * * * * * H H H H 6 Bytes Command H H H X X X X
<-N
CR
->
DataOut
H H H H H 1 or 2 Bytes Response H H H H * * * * * * * * * * * * * * * * * H H H H Z Z Z
Figure 5-13. Card Response to Host Command
Page view 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 118 119

Comments to this Manuals

No comments