![SanDisk SDSDB-32-201-80 - Industrial Grade Flash Memory... Скачать руководство пользователя страница 79](http://html1.mh-extra.com/html/sandisk/sdsdb-32-201-80-industrial-grade-flash-memory/sdsdb-32-201-80-industrial-grade-flash-memory_product-manual_4068376079.webp)
Secure Digital (SD) Card Protocol Description
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
4-29
<----- Host command ----->
<-N
CR
cycles->
<-------- Response --------->
CMD
S T
content
CRC E Z Z P * * * P S T
content
CRC E
<-------
N
AC
cycles ------->
<- Read Data
DAT
Z Z Z * * * * Z Z Z Z Z Z P
* * * * * * * *
P S D D D * * *
Figure 4-16. Timing of Single Block Read
Data transmission from the card starts after the access time delay N
AC
beginning from the end bit of the read
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 --->
<-N
CR
cycles->
<---- Response ------>
CMD S T content CRC E Z Z P * P S T
content CRC E Z Z P P P P P P P P P P P P P
<---
N
AC
cycles ---->
<-- Read Data -->
<- N
AC
cycles ->
<- Read Data ->
DAT
Z Z Z * * * Z Z Z Z Z Z P * * * * * *
P S
content
CRC E P * * * * * *
P S D D D D D
Figure 4-17. Timing of Multiple Block Read Command
<----- Host command ----->
<-N
CR
cycles->
<-------- Response --------->
CMD
S T
content
CRC E Z Z P * * * P S T
content
CRC E
DAT
D D D
* * * * * * *
D D D E Z Z
* * * * * * * * * * * * * * * * * *
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
WR
clock cycles after the card response was received.
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‘).