SanDisk SDSDB-32-201-80 - Industrial Grade Flash Memory Card Product Manual page 5

Secure digital card
Table of Contents

Advertisement

4.11.3. Data Write ............................................................................................................................. 4-29
4.11.4. Timing Values....................................................................................................................... 4-32
5. SPI Protocol Definition ...................................................................................................................................... 5-1
5.1. SPI Bus Protocol ............................................................................................................................... 5-1
5.1.1. Mode Selection ....................................................................................................................... 5-1
5.1.2. Bus Transfer Protection .......................................................................................................... 5-2
5.1.3. Data Read................................................................................................................................ 5-2
5.1.4. Data Write ............................................................................................................................... 5-3
5.1.5. Erase and Write Protect Management..................................................................................... 5-4
5.1.6. Read CID/CSD Registers........................................................................................................ 5-4
5.1.7. Reset Sequence ....................................................................................................................... 5-5
5.1.8. Clock Control.......................................................................................................................... 5-5
5.1.9. Error Conditions...................................................................................................................... 5-6
5.1.9.1. CRC and Illegal Commands .................................................................................. 5-6
5.1.9.2. Read, Write and Erase Time-out Conditions ......................................................... 5-6
5.1.10. Memory Array Partitioning................................................................................................... 5-8
5.1.11. Card Lock/Unlock................................................................................................................. 5-8
5.1.12. Application Specific Commands........................................................................................... 5-8
5.1.13. Copyright Protection Commands .......................................................................................... 5-8
5.2. SPI Command Set ............................................................................................................................. 5-8
5.2.1. Command Format.................................................................................................................... 5-8
5.2.2. Command Classes ................................................................................................................... 5-9
5.2.2.1. Detailed Command Description............................................................................. 5-9
5.2.3. Responses................................................................................................................................ 5-12
5.2.3.1. Format R1 .............................................................................................................. 5-13
5.2.3.2. Format R1b ............................................................................................................ 5-13
5.2.3.3. Format R2 .............................................................................................................. 5-13
5.2.3.4. Format R3 .............................................................................................................. 5-14
5.2.3.5. Data Response ....................................................................................................... 5-15
5.2.4. Data Tokens ............................................................................................................................ 5-15
5.2.5. Data Error Token .................................................................................................................... 5-16
5.2.6. Clearing Status Bits................................................................................................................. 5-16
5.3. Card Registers ................................................................................................................................... 5-16
5.4. SPI Bus Timing Diagrams................................................................................................................. 5-16
5.4.1. Command/Response................................................................................................................ 5-17
5.4.2. Data Read................................................................................................................................ 5-18
5.4.3. Data Write ............................................................................................................................... 5-18
5.4.4. Timing Values......................................................................................................................... 5-19
5.5. SPI Electrical Interface...................................................................................................................... 5-19
5.6. SPI Bus Operating Conditions .......................................................................................................... 5-19
5.7. Bus Timing........................................................................................................................................ 5-19
Appendix A. Application Note............................................................................................................................... A-1
Timing ...................................................................................................................................................... A-1
Timing specifications ............................................................................................................................... A-1
Read access and program times................................................................................................................ A-1
Interface.................................................................................................................................................... A-2
Read/Write Mode Selection ..................................................................................................................... A-4
Power and Clock Control ......................................................................................................................... A-4
Initialization Algorithm............................................................................................................................ A-5
SanDisk Secure Digital (SD) Card Product Manual, Rev. 1.9 © 2003 SANDISK CORPORATION
Table of Contents
v

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SDSDB-32-201-80 - Industrial Grade Flash Memory Card and is the answer not in the manual?

Questions and answers

Table of Contents