Product Manual
Page 4
Revision 2.2 SanDisk SD Card Product Manual 5.5 Data Write 5-3 5.6 Erase and Write Protect Management 5-4 5.7 Read CID/CSD Registers 5-5 5.8 Reset Sequence 5-5 5.9 Clock Control 5-5 5.10 Error Conditions 5-6 5.11 Memory Array Partitioning 5-7 5.12 Card Lock/Unlock 5-7 5.13 Application-specific Commands 5-7 5.14 Copyright Protection Commands 5-7 5.15 Switch Function Command 5-7 5.16 High-speed Mode (25MB/sec interface speed 5-7 5.17 SPI Command Set 5-8 5.18...
Revision 2.2 SanDisk SD Card Product Manual 5.5 Data Write 5-3 5.6 Erase and Write Protect Management 5-4 5.7 Read CID/CSD Registers 5-5 5.8 Reset Sequence 5-5 5.9 Clock Control 5-5 5.10 Error Conditions 5-6 5.11 Memory Array Partitioning 5-7 5.12 Card Lock/Unlock 5-7 5.13 Application-specific Commands 5-7 5.14 Copyright Protection Commands 5-7 5.15 Switch Function Command 5-7 5.16 High-speed Mode (25MB/sec interface speed 5-7 5.17 SPI Command Set 5-8 5.18...
Product Manual
Page 6
...E-mail: [email protected] URL: http://www.sdcard.org © 2004 SanDisk Corporation 1-2 12/08/04 Introduction SanDisk SD Card Product Manual 1.2 Features SanDisk SD Card features include: ►Up to 2-GB of data storage ►SD-protocol compatible ►Supports SPI mode ► Targeted for portable and stationary... Variable clock rate 0-25 MHz (default), 0-50MHz (high-speed) ►Data transfer rate Up to 50 MB/sec data transfer rate (using 4 parallel data lines) Maximum data rate with up to 10 cards ►Correction of memory-field errors ►Copyrights Protection mechanism...
...E-mail: [email protected] URL: http://www.sdcard.org © 2004 SanDisk Corporation 1-2 12/08/04 Introduction SanDisk SD Card Product Manual 1.2 Features SanDisk SD Card features include: ►Up to 2-GB of data storage ►SD-protocol compatible ►Supports SPI mode ► Targeted for portable and stationary... Variable clock rate 0-25 MHz (default), 0-50MHz (high-speed) ►Data transfer rate Up to 50 MB/sec data transfer rate (using 4 parallel data lines) Maximum data rate with up to 10 cards ►Correction of memory-field errors ►Copyrights Protection mechanism...
Product Manual
Page 30
... 3-8 Bus Timing Parameter Values (high-speed) Parameter Symbol Min Max Unit Clock (CLK) - SD Card Interface Description SD Card Product Manual Parameter Symbol Min Max Clock (CLK) - VIL Output delay time during Data tOSU 0 14 Transfer mode Output delay time during Data tODLY --- 14 ns Transfer mode Remark © 2004 SanDisk Corporation 3-10 12/08/04...
... 3-8 Bus Timing Parameter Values (high-speed) Parameter Symbol Min Max Unit Clock (CLK) - SD Card Interface Description SD Card Product Manual Parameter Symbol Min Max Clock (CLK) - VIL Output delay time during Data tOSU 0 14 Transfer mode Output delay time during Data tODLY --- 14 ns Transfer mode Remark © 2004 SanDisk Corporation 3-10 12/08/04...
Product Manual
Page 33
... 5F5 Ah 9h 1b 0b 0b 0b 00b F24h F22h F1Eh F13h F03h EDFh 74Bh 383h 111b 110b Card command classes Max. read current @VDD © 2004 SanDisk Corporation 3-13 12/08/04 In Table 3-11, the Cell Type column defines the CSD field as...103:96] Default 25MHz High-speed 50MHz [95:84] All (inc. read allowed Write block misalignment Read block misalignment DSR implemented Reserved Device size Max. Max. Table 3-11 CSD Register Fields Field CSD_ STRUCTURE --- SD Card Interface Description SD Card Product Manual 3.5.3 Card Specific Data Register The Card Specific Data (CSD) Register ...
... 5F5 Ah 9h 1b 0b 0b 0b 00b F24h F22h F1Eh F13h F03h EDFh 74Bh 383h 111b 110b Card command classes Max. read current @VDD © 2004 SanDisk Corporation 3-13 12/08/04 In Table 3-11, the Cell Type column defines the CSD field as...103:96] Default 25MHz High-speed 50MHz [95:84] All (inc. read allowed Write block misalignment Read block misalignment DSR implemented Reserved Device size Max. Max. Table 3-11 CSD Register Fields Field CSD_ STRUCTURE --- SD Card Interface Description SD Card Product Manual 3.5.3 Card Specific Data Register The Card Specific Data (CSD) Register ...
Product Manual
Page 34
... format --CRC7 1b Reserved CRC Not used, always "1" © 2004 SanDisk Corporation 3-14 12/08/04 SD Card Interface Description SD Card Product Manual Field Width Cell Type CSD Slice CSD Value VDD_W_ 3 R... [55:53] 100 mA CURR_MIN VDD_W_ 3 R [52:50] 80 mA CURR_MAX C_SIZE_ 3 R [49:47] 2G=2048 MULT 1G=1024... --- --- [0:0] --- Revision 2.2 Chapter 3 - write data block length Partial blocks for MMC compatibility Write speed factor Ah 9h 0 00000b 0b Max.
... format --CRC7 1b Reserved CRC Not used, always "1" © 2004 SanDisk Corporation 3-14 12/08/04 SD Card Interface Description SD Card Product Manual Field Width Cell Type CSD Slice CSD Value VDD_W_ 3 R... [55:53] 100 mA CURR_MIN VDD_W_ 3 R [52:50] 80 mA CURR_MAX C_SIZE_ 3 R [49:47] 2G=2048 MULT 1G=1024... --- --- [0:0] --- Revision 2.2 Chapter 3 - write data block length Partial blocks for MMC compatibility Write speed factor Ah 9h 0 00000b 0b Max.
Product Manual
Page 49
...values for the start-bit of the card's current state. SD Card Protocol Description SanDisk SD Card Product Manual Figure 4-7 SD Memory Card State Diagram-Card Identification Mode SPI Operation Mode CMD0 CS Asserted (0) Power On Idle State (idle) Card is the software-reset command that were... voltage between VDD-min and VDD-max to establish communication with a default relative card address (RCA=0x0000) and a default driver-stage-register setting (lowest speed, highest driving current capability). 4.3.2 Operating Voltage Range Validation The physical specification standard,...
...values for the start-bit of the card's current state. SD Card Protocol Description SanDisk SD Card Product Manual Figure 4-7 SD Memory Card State Diagram-Card Identification Mode SPI Operation Mode CMD0 CS Asserted (0) Power On Idle State (idle) Card is the software-reset command that were... voltage between VDD-min and VDD-max to establish communication with a default relative card address (RCA=0x0000) and a default driver-stage-register setting (lowest speed, highest driving current capability). 4.3.2 Operating Voltage Range Validation The physical specification standard,...
Product Manual
Page 63
...following command as they were defined in SanDisk's SD Card, but new commands may not be easily defined and tailored for ACMD7. Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.4.9 new SD card-specific commands, the SD Card uses the application-specific commands feature ... Function command (CMD6) is that are two function groups defined. • Card Access Mode: 12.5MB/sec interface speed (default) or 25MB/sec interface speed (high-speed) • Card Command System: Standard Command set (default), eCommerce Command set, or Vendor-specific...
...following command as they were defined in SanDisk's SD Card, but new commands may not be easily defined and tailored for ACMD7. Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual 4.4.9 new SD card-specific commands, the SD Card uses the application-specific commands feature ... Function command (CMD6) is that are two function groups defined. • Card Access Mode: 12.5MB/sec interface speed (default) or 25MB/sec interface speed (high-speed) • Card Command System: Standard Command set (default), eCommerce Command set, or Vendor-specific...
Product Manual
Page 66
...Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Vendor specific High-speed Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved © 2004 SanDisk Corporation 4-22 12/08/04 It is accomplished by performing the...Table 4-9 Functions Arg. The response to be 0xF. − Maximum current consumption under the selected functions. SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is the result of function will keep the current function that need...
...Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Vendor specific High-speed Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved © 2004 SanDisk Corporation 4-22 12/08/04 It is accomplished by performing the...Table 4-9 Functions Arg. The response to be 0xF. − Maximum current consumption under the selected functions. SD Card Protocol Description SanDisk SD Card Product Manual Mode 1 Operation-Set Function CMD6 is the result of function will keep the current function that need...
Product Manual
Page 69
Figure 4-12 Switch Function Flow Start Spec 1.0-1.10 Card version no.? Spec 1.10 or higher func SD Card Protocol Description SanDisk SD Card Product Manual Switch Function Flow Example The host is recommended to take the following flow for switching the function. Revision 2.2 Chapter 4 -
Figure 4-12 Switch Function Flow Start Spec 1.0-1.10 Card version no.? Spec 1.10 or higher func SD Card Protocol Description SanDisk SD Card Product Manual Switch Function Flow Example The host is recommended to take the following flow for switching the function. Revision 2.2 Chapter 4 -
Product Manual
Page 70
...(0x0) Switch example : command system : For eC => Default, access mode : Default => High-speed Case (3) - Revision 1.10 (and greater) SD cards can be placed in Default Speed mode. Check function with no error CMD6 argument = '1000 0000 1111 1111 1111 1111 0000 0001'...0s) 4.4.11 Error High-speed Mode19 (25MB/sec interface speed) Although revision 1.01 of the SD Physical Layer Specification supports up , the SD Card is necessary to support increasing performance needs of the host and because of growing memory size. SD Card Protocol Description SanDisk SD Card Product Manual Case (2) ...
...(0x0) Switch example : command system : For eC => Default, access mode : Default => High-speed Case (3) - Revision 1.10 (and greater) SD cards can be placed in Default Speed mode. Check function with no error CMD6 argument = '1000 0000 1111 1111 1111 1111 0000 0001'...0s) 4.4.11 Error High-speed Mode19 (25MB/sec interface speed) Although revision 1.01 of the SD Physical Layer Specification supports up , the SD Card is necessary to support increasing performance needs of the host and because of growing memory size. SD Card Protocol Description SanDisk SD Card Product Manual Case (2) ...
Product Manual
Page 71
... and High-Speed). After issuing command ACMD41, either of the SD Card specification. 4.5 Clock Control The host can be polled by the Switch Function command (CMD6). 4.4.12 Command System SD Card commands CMD34-37, CMD50, CMD57 are meaningless. A few restrictions the host must be changed at less than 50-msec intervals. © 2004 SanDisk Corporation 4-27...
... and High-Speed). After issuing command ACMD41, either of the SD Card specification. 4.5 Clock Control The host can be polled by the Switch Function command (CMD6). 4.4.12 Command System SD Card commands CMD34-37, CMD50, CMD57 are meaningless. A few restrictions the host must be changed at less than 50-msec intervals. © 2004 SanDisk Corporation 4-27...
Product Manual
Page 97
...2004 SanDisk Corporation 5-7 12/08/04 It applies to calculate the typical block program time obtained by multiplying the read command and the start bit of the two times given by this factor. SPI Protocol SD Card Product Manual recover (e.g., reset the card, power cycle, reject). These card parameters... the operation by the block write delay. 5.11 Memory Array Partitioning See SD Card Bus Mode. 5.12 Card Lock/Unlock Usage of the CMD0 command R1 response. 5.16 High-speed Mode (25MB/sec interface speed) Not available in SPI mode. 5.14 Copyright Protection Commands All the special...
...2004 SanDisk Corporation 5-7 12/08/04 It applies to calculate the typical block program time obtained by multiplying the read command and the start bit of the two times given by this factor. SPI Protocol SD Card Product Manual recover (e.g., reset the card, power cycle, reject). These card parameters... the operation by the block write delay. 5.11 Memory Array Partitioning See SD Card Bus Mode. 5.12 Card Lock/Unlock Usage of the CMD0 command R1 response. 5.16 High-speed Mode (25MB/sec interface speed) Not available in SPI mode. 5.14 Copyright Protection Commands All the special...
Product Manual
Page 119
... products that the product time-out value is due to the card may be controllable by MultiMediaCard and SD Card Associations. This is not set below the maximum specification. © 2002 SanDisk Corporation 3 9/30/02, Lit# 80-11-00160 These can run at the maximum clock speed. Once the MultiMediaCard completes the initialization process, the...
... products that the product time-out value is due to the card may be controllable by MultiMediaCard and SD Card Associations. This is not set below the maximum specification. © 2002 SanDisk Corporation 3 9/30/02, Lit# 80-11-00160 These can run at the maximum clock speed. Once the MultiMediaCard completes the initialization process, the...
Product Manual
Page 120
... the NSAC factor has units of customer brand. The SPI bus is a read-to make the design compatible with the SD Card and MultiMediaCard depends on the clock speed and bus mode. The MultiMediaCard also supports the 1-bit bi-directional MMC bus mode that includes bus pins DATin, DATout,...the data transfer rate between the card's buffer and host. © 2002 SanDisk Corporation 4 9/30/02, Lit# 80-11-00160 A design engineer can be read directly from the CSD register to -write factor and has no units. The SD Card also supports a 4-bit and a 1-bit SD bi-directional bus mode. The...
... the NSAC factor has units of customer brand. The SPI bus is a read-to make the design compatible with the SD Card and MultiMediaCard depends on the clock speed and bus mode. The MultiMediaCard also supports the 1-bit bi-directional MMC bus mode that includes bus pins DATin, DATout,...the data transfer rate between the card's buffer and host. © 2002 SanDisk Corporation 4 9/30/02, Lit# 80-11-00160 A design engineer can be read directly from the CSD register to -write factor and has no units. The SD Card also supports a 4-bit and a 1-bit SD bi-directional bus mode. The...
Product Manual
Page 121
... data from a MultiMediaCard or SD Card internal buffer using different bus modes. MultiMediaCard and SD Card Clock Speed and Transfer Time Product MultiMediaCard SPI Bus mode MMC 1-bit mode SD Card SPI Bus mode SD 1-bit mode SD 4-bit mode Maximum Clock Speed and Time Req. MultiMediaCard and SD Card Clock Speed and Burst Rate Product MultiMediaCard...write and read throughput rates of data to move 512 bytes Clock Speed Time 20 MHz 204.8 us 20 MHz 204.8 us 25 MHz 25 MHz 25 MHz 163.8 us 163.8 us 41 us © 2002 SanDisk Corporation 5 9/30/02, Lit# 80-11-00160 Host Design ...
... data from a MultiMediaCard or SD Card internal buffer using different bus modes. MultiMediaCard and SD Card Clock Speed and Transfer Time Product MultiMediaCard SPI Bus mode MMC 1-bit mode SD Card SPI Bus mode SD 1-bit mode SD 4-bit mode Maximum Clock Speed and Time Req. MultiMediaCard and SD Card Clock Speed and Burst Rate Product MultiMediaCard...write and read throughput rates of data to move 512 bytes Clock Speed Time 20 MHz 204.8 us 20 MHz 204.8 us 25 MHz 25 MHz 25 MHz 163.8 us 163.8 us 41 us © 2002 SanDisk Corporation 5 9/30/02, Lit# 80-11-00160 Host Design ...
Product Manual
Page 122
...a busy state by forcing the DAT line low when the first block buffer is full and remains busy until all MultiMediaCards or SD Cards. However, if speed is not critical-for example, a data-logger design that records only 512 bytes of data every minute-Singleblock mode is more ...Revision 1.0 Read/Write Mode Selection Another major MultiMediaCard and SD Card design consideration is the use of the extra RAM. Power and Clock Control Power control should be lowered to have the ability to turn power to the card's maximum. © 2002 SanDisk Corporation 6 9/30/02, Lit# 80-11-00160...
...a busy state by forcing the DAT line low when the first block buffer is full and remains busy until all MultiMediaCards or SD Cards. However, if speed is not critical-for example, a data-logger design that records only 512 bytes of data every minute-Singleblock mode is more ...Revision 1.0 Read/Write Mode Selection Another major MultiMediaCard and SD Card design consideration is the use of the extra RAM. Power and Clock Control Power control should be lowered to have the ability to turn power to the card's maximum. © 2002 SanDisk Corporation 6 9/30/02, Lit# 80-11-00160...