【文件名】:10529@52RD_SD卡手册.rar
【格 式】:rar
【大 小】:1322K
【简 介】:SanDisk Secure Digital Card
【目 录】:1. Introduction to the SD Card ............................................................................................................................... 1-1
1.1. Scope................................................................................................................................................. 1-2
1.2. Product Models ................................................................................................................................. 1-2
1.3. System Features................................................................................................................................. 1-2
1.4. SD Card Standard.............................................................................................................................. 1-3
1.5. Functional Description ...................................................................................................................... 1-3
1.5.1. Flash Technology Independence............................................................................................. 1-4
1.5.2. Defect and Error Management ................................................................................................ 1-4
1.5.3. Copyright Protection ............................................................................................................... 1-4
1.5.4. Endurance ............................................................................................................................... 1-5
1.5.5. Wear Leveling......................................................................................................................... 1-5
1.5.6. Using the Erase Command...................................................................................................... 1-5
1.5.7. Automatic Sleep Mode............................................................................................................ 1-5
1.5.8. Hot Insertion ........................................................................................................................... 1-5
1.5.9. SD Card—SD Bus Mode ........................................................................................................ 1-6
1.5.9.1. SD Card Standard Compliance .............................................................................. 1-6
1.5.9.2. Negotiating Operation Conditions ......................................................................... 1-6
1.5.9.3. Card Acquisition and Identification....................................................................... 1-6
1.5.9.4. Card Status............................................................................................................. 1-6
1.5.9.5. Memory Array Partitioning.................................................................................... 1-7
1.5.9.6. Read and Write Operations.................................................................................... 1-9
1.5.9.7. Data Transfer Rate ................................................................................................. 1-10
1.5.9.8. Data Protection in the Flash Card .......................................................................... 1-10
1.5.9.9. Erase ...................................................................................................................... 1-10
1.5.9.10. Write Protection................................................................................................... 1-10
1.5.9.11. Copy Bit............................................................................................................... 1-10
1.5.9.12. The CSD Register ................................................................................................ 1-10
1.5.10. SD Card—SPI Mode............................................................................................................. 1-11
1.5.10.1. Negotiating Operating Conditions ....................................................................... 1-11
1.5.10.2. Card Acquisition and Identification..................................................................... 1-11
1.5.10.3. Card Status........................................................................................................... 1-11
1.5.10.4. Memory Array Partitioning.................................................................................. 1-11
1.5.10.5. Read and Write Operations.................................................................................. 1-11
1.5.10.6. Data Transfer Rate ............................................................................................... 1-11
1.5.10.7. Data Protection in the SD Card............................................................................ 1-11
1.5.10.8. Erase .................................................................................................................... 1-12
1.5.10.9. Write Protection................................................................................................... 1-12
1.5.10.10. Copyright Protection.......................................................................................... 1-12
2. Product Specifications ........................................................................................................................................ 2-1
2.1. System Environmental Specifications............................................................................................... 2-1
2.2. Reliability and Durability.................................................................................................................. 2-1
2.3. Typical Card Power Requirements.................................................................................................... 2-2
2.4. System Performance.......................................................................................................................... 2-2
2.5. System Reliability and Maintenance ................................................................................................. 2-2
2.6. Physical Specifications...................................................................................................................... 2-3
3. SD Card Interface Description ........................................................................................................................... 3-1
3.1. General Description of Pins and Registers........................................................................................ 3-1
3.1.1. Pin Assignments in SD Card Mode ........................................................................................ 3-1
3.1.2. Pin Assignments in SPI Mode................................................................................................. 3-2
3.2. SD Bus Topology.............................................................................................................................. 3-3
3.2.1. Power Protection ..................................................................................................................... 3-5
3.3. SPI Bus Topology ............................................................................................................................. 3-5
3.3.1. Power Protection ..................................................................................................................... 3-6
3.4. Electrical Interface ............................................................................................................................ 3-6
3.4.1. Power-up ................................................................................................................................. 3-7
3.4.2. Bus Operating Conditions....................................................................................................... 3-8
3.4.3. Bus Signal Line Load.............................................................................................................. 3-8
3.4.4. Bus Signal Levels.................................................................................................................... 3-9
3.4.5. Bus Timing.............................................................................................................................. 3-10
3.5. SD Card Registers ............................................................................................................................. 3-11
3.5.1. Operating Conditions Register (OCR) .................................................................................... 3-11
3.5.2. Card Identification (CID) Register.......................................................................................... 3-12
3.5.3. CSD Register........................................................................................................................... 3-13
3.5.4. SCR Register........................................................................................................................... 3-19
3.5.5. Status Register......................................................................................................................... 3-20
3.5.6. SD Status................................................................................................................................. 3-23
3.5.7. RCA Register .......................................................................................................................... 3-23
3.5.8. SD Card Registers in SPI Mode.............................................................................................. 3-24
3.6. Data Interchange Format and Card Sizes .......................................................................................... 3-24
4. Secure Digital (SD) Card Protocol Description.................................................................................................. 4-1
4.1. SD Bus Protocol................................................................................................................................ 4-1
4.2. Protocol’s Functional Description..................................................................................................... 4-4
4.3. Card Identification Mode .................................................................................................................. 4-5
4.3.1. Reset........................................................................................................................................ 4-6
4.3.2. Operating Voltage Range Validation ...................................................................................... 4-7
4.3.3. Card Identification Process ..................................................................................................... 4-7
4.4. Data Transfer Mode .......................................................................................................................... 4-8
4.4.1. Wide Bus Selection/Deselection ............................................................................................. 4-10
4.4.2. Data Read Format ................................................................................................................... 4-10
4.4.3. Data Write Format .................................................................................................................. 4-11
4.4.4. Write Protect Management ..................................................................................................... 4-13
4.4.4.1. Mechanical Write Protect Switch .......................................................................... 4-13
4.4.4.2. Card’s Internal Write Protection (Optional) .......................................................... 4-13
4.4.5. Application Specific Commands............................................................................................. 4-13
4.5. Clock Control .................................................................................................................................... 4-14
4.6. Cyclic Redundancy Codes (CRC)..................................................................................................... 4-15
4.7. Error Conditions................................................................................................................................ 4-17
4.7.1. CRC and Illegal Command ..................................................................................................... 4-17
4.7.2. Read, Write and Erase Time-out Conditions .......................................................................... 4-17
4.8. Commands......................................................................................................................................... 4-17
4.8.1. Command Types ..................................................................................................................... 4-18
4.8.2. Command Format.................................................................................................................... 4-18
4.8.3. Command Classes ................................................................................................................... 4-18
4.8.4. Detailed Command Description .............................................................................................. 4-20
4.9. Card State Transition Table............................................................................................................... 4-25
4.10. Responses........................................................................................................................................ 4-26
4.11. Timings ........................................................................................................................................... 4-28
4.11.1. Command and Response ....................................................................................................... 4-28
4.11.2. Data Read.............................................................................................................................. 4-29
4.11.3. Data Write............................................................................................................................. 4-30
4.11.4. Timing Values....................................................................................................................... 4-33
5. SPI Protocol Definition ...................................................................................................................................... 5-1
…………
[此贴子已经被作者于2010-5-31 10:38:27编辑过] |