Data Write - SanDisk SDSDB-32-201-80 - Industrial Grade Flash Memory Card Product Manual

Secure digital card
Table of Contents

Advertisement

<----- Host command ----->
CMD
S T
content
DAT
Z Z Z
* * * *
Data transmission from the card starts after the access time delay N
command. After the last data bit, the CRC check bits are suffixed to allow the host to check for transmission errors.
Multiple Block Read
In multiple block read mode, the card sends a continuous flow of data blocks following the initial host read
command. The data flow is terminated by a stop transmission command (CMD12). Figure 4-17 describes the timing
of the data blocks and Figure 4-18 describes the response to a stop command. The data transmission stops two clock
cycles after the end bit of the stop command.
<-- Host command --->
CMD
S T
content
CRC E Z Z P * P S T
DAT
Z Z Z * * * Z Z Z Z Z Z P
<----- Host command ----->
CMD
S T
content
DAT
D D D
* * * * * * *
Figure 4-18. Timing of Stop Command (CMD12, Data Transfer Mode)

4.11.3. Data Write

Single Block Write
The host selects one card for data write operation by CMD7. The host sets the valid block length for block-oriented
data transfer by CMD16.
The basic bus timing for a write operation is given in Figure 5-20. The sequence starts with a single block write
command (CMD24) that determines (in the argument field) the start address. It is responded by the card on the
CMD line as usual. The data transfer from the host starts N
The data is suffixed with CRC check bits to allow the card to check it for transmission errors. The card sends back
the CRC check result as a CRC status token on the DAT0 line. In the case of transmission error the card sends a
negative CRC status ('101'). In the case of non-erroneous transmission the card sends a positive CRC status ('010')
and starts the data programming procedure. When a flash programming error occurs the card will ignore all further
data blocks. In this case no CRC response will be sent to the host and, therefore, there will not be CRC start bit on
the bus and the three CRC status bits will read ('111').
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
<-N
cycles->
CR
CRC E Z Z P * * * P S T
<------- N
cycles ------->
AC
Z Z Z Z Z Z P
* * * * * * * *
Figure 4-16. Timing of Single Block Read
<-N
cycles->
<---- Response ------>
CR
content
<--- N
cycles ---->
AC
* * * * * *
P S
Figure 4-17. Timing of Multiple Block Read Command
<-N
cycles->
CR
CRC E Z Z P * * * P S T
D D D E Z Z
Secure Digital (SD) Card Protocol Description
<-------- Response --------->
content
CRC E
<- Read Data
P S D D D * * *
beginning from the end bit of the read
AC
CRC E Z Z P P P P P P P P P P P P P
<-- Read Data -->
<- N
content
CRC E P
<-------- Response --------->
content
CRC E
* * * * * * * * * * * * * * * * * *
clock cycles after the card response was received.
WR
cycles ->
<- Read Data ->
AC
* * * * * *
P S D D D D D
4-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents