SanDisk SDSDH-1024 Product Manual - Page 75
Command Format, Command Classes
UPC - 710348911073
View all SanDisk SDSDH-1024 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 75 highlights
Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.8.2 Command Format The command length shown in Figure 4-15 is 48 bits. Figure 4-15 Format (1.92 µs @ 25 MHz) 0 1 bit 5....bit 0 bit 31....bit 0 bit 6....bit 0 start bit host command argument CRC7 Commands and arguments are listed in Table 4-13. 7-bit CRC Calculation: G(x) = x7+ x3+ 1 M(x) = (start bit)*x39 + (host bit)*x38 +...+ (last bit before CRC)*x0 CRC[6...0] = Remainder[(M(x)*x7)/G(x)] 1 end bit 4.8.3 Command Classes The command set of the SD Card is divided into several classes (refer to Table 4-15). Each class supports a set of card functions. The supported Card Command Classes (CCC) is coded as a parameter in the CSD Register data of each card, providing the host with information on how to access the card. Table 4-15 Card Command Classes Class CMD CMD0 CMD2 CMD3 CMD4 CMD5 CMD620 CMD7 CMD9 CMD10 CMD12 CMD13 CMD15 CMD16 CMD17 CMD18 CMD24 CMD25 CMD27 0 Basic 1 2 R Block Read 34 R Block Write + + + + 5 Erase 6 Write Protec tion 7 8 Lock AppCard Specific 9 I/O Mode + + + + + + + + + + + + + + + 10 11 Switch R + 20 This command is newly defined in SD Card Physical Description Spec. v1.10 © 2004 SanDisk Corporation 4-31 12/08/04