User Manual

Table of Contents
iv TriFlash with SD Interface Product Manual (Preliminary), Rev. 1.2 © 2002/2003 SANDISK CORPORATION
3.4.2. Bus Operating Conditions....................................................................................................... 3-8
3.4.3. Bus Signal Levels.................................................................................................................... 3-9
3.4.4. Bus Timing.............................................................................................................................. 3-10
3.4.5. TriFlash-Specific Functions.................................................................................................... 3-12
3.4.5.1. Ready/Busy Function [Output].............................................................................. 3-12
3.4.5.2. Write Protect Function [Input + Pullup] ................................................................ 3-12
3.4.5.3. Reset Function [Input + Pullup]............................................................................. 3-12
3.5. TriFlash Registers ............................................................................................................................. 3-12
3.5.1. Operating Conditions Register (OCR) .................................................................................... 3-12
3.5.2. Card Identification (CID) Register.......................................................................................... 3-14
3.5.3. CSD Register........................................................................................................................... 3-14
3.5.4. SCR Register........................................................................................................................... 3-21
3.5.5. Status Register......................................................................................................................... 3-22
3.5.6. SD Status................................................................................................................................. 3-24
3.5.7. RCA Register .......................................................................................................................... 3-25
3.5.8. TriFlash Registers in SPI Mode .............................................................................................. 3-25
3.6. Standard Data Interchange Format and Card Sizes........................................................................... 3-25
3.6.1. Data Interchange Format and Card Sizes with Optional Security........................................... 3-25
4. Secure Digital (SD) Bus 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. Device Identification Process.................................................................................................. 4-8
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. Device’s Internal Write Protection (Optional)....................................................... 4-13
4.4.5. Card Lock/Unlock................................................................................................................... 4-13
4.4.6. 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-24
4.10. Responses........................................................................................................................................ 4-26
4.11. Timings ........................................................................................................................................... 4-27
4.11.1. Command and Response ....................................................................................................... 4-27
4.11.2. Data Read.............................................................................................................................. 4-28
4.11.3. Data Write............................................................................................................................. 4-29
4.11.4. Timing Values....................................................................................................................... 4-31