User Manual

SPI Protocol Definition
TriFlash with SD Interface Product Manual (Preliminary), Rev. 1.2 © 2002/2003 SANDISK CORPORATION
5-17
Device Response to Host Command
CS
L L L L L * * * * * * * * * * * * * * * * * * * L L H H H
DataIN
H H H H H H * * * * * * * * * * * H H H H 6 Bytes Command H H H H X X X
<-N
CR
->
DataOut
H H H H H 1 or 2 Bytes Response H H H H * * * * * * * * * * * * * * * * * H H H H H Z Z
Figure 5-13. Device Response to Host Command
5.4.2. Data Read
The following timing diagram describes all single block read operations with the exception of SEND_CSD
command.
CS
H L L L * * * * * * * * * * * * * * * * * * * * * * * * * * * * L L L H H H H
<-N
CS
-> <-N
EC
->
DataIN
X H H H H Read Command H H H H H * * * * * * * * * * * * * * * * * * * * * * * * * H H H X X X X
<-N
CR
-> <-N
AC
->
DataOut
Z Z H H H H * * * * * * * * H H H H Card Response H H H H Data Block H H H H Z Z Z
Figure 5-14. Single Block Read Operations
The following diagram describes Stop transmission operation in case of Multiple Block Read.
CS L L L L * * * * * * * * * * * * * * * * * * * *
<-NCS->
DataIN X H H H H Stop Tran command H H H H H * * * * ** * * *
<-NCR->
DataOut Data Transfer to host H H Card Response H
<2clk>
Figure 5-15. Stop Transmission Operation
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
(since the N
AC
is still unknown).
CS H L L L * * * * * * * * * * * * * * * * * * * L L L H H H H
<-N
CS
-> <-N
EC
->
DataIN X H H H H Read Command H H H H H * * * * * * * * * * * * * * * H H H X X X X
<-N
CR
-> <-N
CX
->
DataOut Z Z H H H H * * * * * * * * H H H H Card Response H H H H Data Block H H H H Z Z Z
Figure 5-16. SEND_CDS Command Bus Transaction
5.4.3. Data Write
The host may deselect a device (by raising the CS) at any time during the device busy period (refer to the given
timing diagram). The device will release the DataOut line one clock after the CS goes high. To check if the device is
still busy, it needs to be re-selected by asserting (set to low) the CS signal.