logo资料库

MultiMediaCard Product Manual(MMC卡资料).pdf

第1页 / 共93页
第2页 / 共93页
第3页 / 共93页
第4页 / 共93页
第5页 / 共93页
第6页 / 共93页
第7页 / 共93页
第8页 / 共93页
资料共93页,剩余部分请下载后查看
MultiMediaCard Product Manual This manual covers the SanDisk MultiMediaCard which was developed by SanDisks Design Center located in Tefen, Israel. The MultiMediaCard supports version 1.4 of the MultiMediaCard Specification. ® CORPORATE HEADQUARTERS 140 Caspian Court Sunnyvale, CA 94089-9820 408-542-0500 FAX: 408-542-0503 URL: http://www.sandisk.com
SanDisk¤ Corporation general policy does not recommend the use of its products in life support applications where in a failure or malfunction of the product may directly threaten life or injury. Per SanDisk Terms and Conditions of Sale, the user of SanDisk products in life support applications assumes all risk of such use and indemnifies SanDisk against all damages. The information in this manual is subject to change without notice. SanDisk Corporation shall not be liable for technical or editorial errors or omissions contained herein; nor for incidental or consequential damages resulting from the furnishing, performance, or use of this material. All parts of the SanDisk MultiMediaCard documentation are protected by copyright law and all rights are reserved. This documentation may not, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine readable form without prior consent, in writing, from SanDisk Corporation. SanDisk and the SanDisk logo are registered trademarks of SanDisk Corporation. Product names mentioned herein are for identification purposes only and may be trademarks and/or registered trademarks of their respective companies. ' 1999 SanDisk Corporation. All rights reserved. SanDisk products are covered or licensed under one or more of the following U.S. Patent Nos. 5,070,032; 5,095,344; 5,168,465; 5,172,338; 5,198,380; 5,200,959; 5,268,318; 5,268,870; 5,272,669; 5,418,752; 5,602,987. Other U.S. and foreign patents awarded and pending. Lit. No. 80-13-00089 Rev 1 4/99 Printed in U.S.A. Revision History ¥ Revisions dated before 1/98initial release and general changes. ¥ Revision dated 1/98general editorial changes, manual reorganized, technical changes to reflect support of MultiMediaCard Specification version 1.3, new timing diagrams added. Pin 6 definition changed in SPI mode from SPI select to VSS2 (supply voltage ground). ¥ Revision dated 4/98 changes reflect support of MultiMediaCard Specification version 1.4, updated timing for Multiple Write with no Busy, updated SPI command class definition, added Error Protection section, changed operating temperature specification to -25 to 85 C. ¥ Revision dated 4/28/98Updated C_SIZE and C_SIZE_MULT field definitions. ¥ Revision 1 dated 4/99Added 32 MB MultiMediaCard, general technical and editorial changes, added power up section. 2 SanDisk MultiMediaCard Product Manual © 1999 SANDISK CORPORATION
MultiMediaCard Product Manual 1.5.5.1 Table of Contents 1.0 Introduction to the MultiMediaCard...................................................................7 Scope............................................................................................................................... 8 1.1 Product Models.................................................................................................................8 1.2 1.3 System Features...............................................................................................................8 1.4 MultiMediaCard Standard ..............................................................................................9 Functional Description .....................................................................................................9 1.5 1.5.1 Flash Technology Independence............................................................................9 1.5.2 Defect and Error Management...............................................................................9 1.5.3 Endurance .......................................................................................................... 10 1.5.4 Wear Leveling................................................................................................... 10 1.5.5 Using the Erase Command .................................................................................. 10 Limitations and Issues......................................................................... 10 1.5.6 Automatic Sleep Mode ....................................................................................... 10 1.5.7 Hot Insertion...................................................................................................... 10 1.5.8 MultiMediaCard Mode ...................................................................................... 11 1.5.8.1 MultiMediaCard Standard Compliance............................................... 11 1.5.8.2 Negotiating Operation Conditions....................................................... 11 1.5.8.3 Card Acquisition and Identification..................................................... 11 1.5.8.4 Card Status......................................................................................... 11 1.5.8.5 Memory Array Partitioning................................................................. 11 Read and Write Operations................................................................. 12 1.5.8.6 Data Protection in the Flash Card....................................................... 13 1.5.8.7 1.5.8.8 Erase .................................................................................................. 13 1.5.8.9 Write Protection ................................................................................. 13 1.5.8.10 Copy Bit............................................................................................. 14 1.5.8.11 The CSD Register................................................................................ 14 SPI Mode ........................................................................................................... 14 1.5.9.1 Negotiating Operation Conditions....................................................... 14 Card Acquisition and Identification..................................................... 14 1.5.9.2 1.5.9.3 Card Status......................................................................................... 14 1.5.9.4 Memory Array Partitioning................................................................. 14 Read and Write Operations................................................................. 14 1.5.9.5 Data Transfer Rate ............................................................................. 14 1.5.9.6 Data Protection in the MultiMediaCard.............................................. 14 1.5.9.7 1.5.9.8 Erase .................................................................................................. 14 1.5.9.9 Write Protection ................................................................................. 14 1.5.9 2.0 Product Specifications................................................................................ 15 System Environmental Specifications ............................................................................. 15 System Power Requirements............................................................................................ 15 System Performance ....................................................................................................... 15 System Reliability and Maintenance.............................................................................. 16 Physical Specifications.................................................................................................. 16 2.1 2.2 2.3 2.4 2.5 3.0 Installation ............................................................................................. 18 3.1 Mounting........................................................................................................................ 18 4.0 MultiMediaCard Interface Description.............................................................. 19 SanDisk MultiMediaCard Product Manual © 1999 SANDISK CORPORATION 3
MultiMediaCard Product Manual Table of Contents (continued) 4.3 4.4 4.1 Physical Description...................................................................................................... 19 Pin Assignments in MultiMediaCard Mode.......................................................... 19 4.1.1 4.1.2 Pin Assignments in SPI Mode............................................................................... 19 4.2 MultiMediaCard Bus Topology....................................................................................... 19 4.2.1 Power Protection ................................................................................................ 20 4.2.2 Power Up........................................................................................................... 21 4.2.3 Programmable Card Output Driver..................................................................... 22 SPI Bus Topology............................................................................................................ 22 SPI Interface Concept ......................................................................................... 22 4.3.1 4.3.2 SPI Bus Topology................................................................................................ 22 Electrical Interface ........................................................................................................ 23 Bus Operating Conditions................................................................................... 23 4.4.1 4.4.1.2 Bus Signal Levels................................................................................ 24 4.4.1.2.1 Open-Drain Mode Bus Signal Level.......................................... 25 4.4.1.2.2 Push-Pull Mode Bus Signal Level............................................. 25 Bus Timing .............................................................................. 25 4.4.1.2.3 SPI Mode Bus Operating Conditions.................................................................... 26 4.5 MultiMediaCard Registers............................................................................................. 27 4.5.1 Operating Conditions Register (OCR)................................................................. 27 4.5.2 DSR Register ..................................................................................................... 27 Card Identification (CID) Register..................................................................... 28 4.5.3 4.5.4 CSD Register ..................................................................................................... 28 4.5.5 Status Register................................................................................................... 30 4.5.6 MultiMediaCard Registers in SPI Mode.............................................................. 32 4.4.2 5.0 MultiMediaCard Protocol Description .............................................................. 33 5.1 General.......................................................................................................................... 33 5.2 Card Identification Mode............................................................................................... 34 5.2.1 Reset ................................................................................................................. 34 5.2.2 Operating Voltage Range Validation................................................................. 35 5.2.3 Card Identifcation Process.................................................................................. 35 5.3 Interrupt Mode............................................................................................................... 36 5.4 Data Transfer Mode ....................................................................................................... 36 5.4.1 Data Read Format ............................................................................................. 37 5.4.2 Data Write Format............................................................................................ 38 Clock Control..................................................................................................... 40 5.4.3 Error Conditions................................................................................................. 40 5.4.4 5.4.4.1 CRC and Illegal Command .................................................................. 40 Read, Write and Erase Time-out Conditions......................................... 41 5.4.4.2 5.5 Commands ..................................................................................................................... 41 Command Types................................................................................................. 41 5.5.1 Command Format............................................................................................... 42 5.5.2 5.5.3 Command Classes............................................................................................... 42 5.5.4 Detailed Command Description.......................................................................... 43 5.6 Card State Transition Table ........................................................................................... 48 5.7 Responses....................................................................................................................... 49 5.8 Card Register................................................................................................................. 51 5.8.1 OCR Register..................................................................................................... 51 4 SanDisk MultiMediaCard Product Manual © 1999 SANDISK CORPORATION
MultiMediaCard Product Manual Table of Contents (continued) 5.8.2 5.8.3 5.8.4 CID Register...................................................................................................... 51 CSD Register ..................................................................................................... 52 RCA Register..................................................................................................... 58 5.9 Memory Array Partitioning............................................................................................ 58 5.10 Timings.......................................................................................................................... 60 5.10.1 Command and Response...................................................................................... 60 5.10.2 Data Read......................................................................................................... 61 5.10.3 Data Write........................................................................................................ 62 5.10.4 Timing Values.................................................................................................... 64 5.11 Error Protection.............................................................................................................. 65 5.11.1 Cyclic Redundancy Codes (CRC)......................................................................... 65 6.1 6.2 6.2.2 6.0 SPI Protocol Definition............................................................................... 67 SPI Bus Protocol ............................................................................................................. 67 6.1.1 Mode Selection................................................................................................... 67 Bus Transfer Protection....................................................................................... 68 6.1.2 Data Read.......................................................................................... 68 6.1.2.1 6.1.2.2 Data Write......................................................................................... 69 Erase & Write Protect Management ..................................................... 69 6.1.2.3 Read CID/CSD Registers .................................................................... 70 6.1.2.4 Reset Sequence .................................................................................... 70 6.1.2.5 6.1.2.6 Error Conditions.................................................................................. 70 6.1.3 Memory Array Partitioning................................................................................ 70 SPI Command Set........................................................................................................... 71 Command Format............................................................................................... 71 6.2.1 6.2.1.1 Detailed Command Description........................................................... 72 Responses........................................................................................................... 74 Format R1........................................................................................... 74 6.2.2.1 Format R1b ......................................................................................... 74 6.2.2.2 Format R2........................................................................................... 75 6.2.2.3 6.2.2.4 Data Response .................................................................................... 75 6.2.3 Data Tokens....................................................................................................... 76 6.2.4 Data Error Token................................................................................................ 76 6.3 Card Registers ............................................................................................................... 76 6.4 SPI Bus Timing Diagrams ............................................................................................... 77 6.4.1 Command/Response ........................................................................................... 77 6.4.2 Data Read......................................................................................................... 78 6.4.2.1 Data Write......................................................................................... 78 6.4.3 Timing Values.................................................................................................... 78 SPI Electrical Interface .................................................................................................. 79 SPI Bus Operating Conditions......................................................................................... 79 Bus Timing..................................................................................................................... 79 Error Protection.............................................................................................................. 79 6.5 6.6 6.7 6.8 Ordering Information and Technical Support............................................................. 81 Ordering Information .............................................................................................................. 83 MultiMediaCard ........................................................................................................... 83 Technical Support Services...................................................................................................... 84 SanDisk MultiMediaCard Product Manual © 1999 SANDISK CORPORATION 5
MultiMediaCard Product Manual Table of Contents (continued) Direct SanDisk Technical Support.................................................................................. 84 SanDisk Worldwide Web Site........................................................................................ 84 SanDisk Sales Offices....................................................................................... 85 Limited Warranty ............................................................................................ 89 Appendix MultiMediaCard Connectors................................................................... 91 6 SanDisk MultiMediaCard Product Manual © 1999 SANDISK CORPORATION
MultiMediaCard Product Manual flash 1.0 Introduction to the MultiMediaCard The SanDisk MultiMediaCard is a very small, removable storage device, designed specifically for storage applications that put a premium on small form factor, low power and low cost. Flash ideal storage medium for portable, battery-powered devices. It features low power consumption and is non-volatile, requiring no power to maintain the stored data. It also has a wide operating range for temperature, shock and vibration. is the device and interface configuration data (such as maximum frequency, card identification, etc.) are stored on the card. into any design, The MultiMediaCard interface allows for easy integration regardless of microprocessor used. For compatibility with existing controllers, the MultiMediaCard offers, in addition to the MultiMediaCard interface, an alternate communication protocol which is based on the SPI standard. The MultiMediaCard is well suited to meet the needs of small, low power, electronic devices. With a form factor of 32mm by 24mm and 1.4mm thick, MultiMediaCards are expected to be used in a wide variety of portable devices like mobile phones, pagers and voice recorders. This ultra- small form factor is part of a new, emerging, proposed open standard. To support this wide range of applications, the MultiMediaCard protocol, a high performance seven pin serial for maximum scalability and configurability. All is designed interface, The MultiMediaCard provides up to 32 million bytes of memory using SanDisk Flash memory chips which were designed by SanDisk especially for use in mass storage applications. In addition to the mass storage specific flash memory chip, the MultiMediaCard includes an on-card intelligent controller which manages interface protocols and data storage and retrieval, as well as Error Correction Code algorithms, defect handling and diagnostics, power management and clock control. (ECC) SanDisk Flash Modules SanDisk Single Chip Controller Data In/Out Control MultiMediaCard/SPI Interface SanDisk MultiMediaCard Figure 1-1 MultiMediaCard Block Diagram SanDisk MultiMediaCard Product Manual © 1999 SANDISK CORPORATION 7
MultiMediaCard Product Manual 1.1 Scope 1.2 Product Models This document describes the key features and specifications of the MultiMediaCard, as well as the information required to interface this product to a host system. The MultiMediaCard is available capacities shown in the following table: in the Table 1-1 MultiMediaCard Capacities Model No. Capacities SDMB-2 SDMB-4 SDMB-8 SDMB-16* SDMB-32* 2.0 MB 4.0 MB 8.0 MB 16.0 MB 32.1 MB * Preliminary information. 1.3 System Features ¥ Up to 32 Mbytes of data storage ¥ MultiMediaCard protocol compatible ¥ Supports SPI Mode ¥ Targeted for portable and stationary applications ¥ Voltage range Communication: 2.0 - 3.6V, Memory Access: 2.7 - 3.6V ¥ Maximum data rate with up to 10 cards ¥ Correction of memory field errors ¥ Built-in write protection features (permanent and temporary) ¥ Comfortable erase mechanism ¥ Variable clock rate 0 - 20 Mhz ¥ Multiple cards stackable on a single physical bus The performance of the communication channel is described in the table below: Table 1-2 MultiMediaCard/SPI Comparison MultiMediaCard S P I Three-wire serial data bus (Clock, command, data) Three-wire serial data bus (Clock, dataIn, dataOut) + card specific CS signal. Up to 64k cards addressable by the bus protocol Card selection via a hardware CS signal Easy card identification Error-protected data transfer Not available Optional. A non protected data transfer mode is available. Sequential and single/multiple block oriented data transfer Single block read/write 8 SanDisk MultiMediaCard Product Manual © 1999 SANDISK CORPORATION
分享到:
收藏