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.3. Data Read................................................................................................................................ 5-2
5.1.4. Data Write ............................................................................................................................... 5-3
5.1.7. Reset Sequence ....................................................................................................................... 5-5
5.1.8. Clock Control.......................................................................................................................... 5-5
5.1.9. Error Conditions...................................................................................................................... 5-6
5.1.11. Card Lock/Unlock................................................................................................................. 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.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.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
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