MX53L00401LC-50 [Macronix]

Flash Card, 64MX1, CARD-7;
MX53L00401LC-50
型号: MX53L00401LC-50
厂家: MACRONIX INTERNATIONAL    MACRONIX INTERNATIONAL
描述:

Flash Card, 64MX1, CARD-7

时钟 内存集成电路
文件: 总53页 (文件大小:246K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
MX53L00401  
ROM MultiMediaCard  
1.General Description  
technology. It has been developed to provide an  
inexpensive, mechanically robust storage medium in  
card form for multimedia consumer applications.  
MultiMediaCardallowsthedesignofinexpensiveplayers  
and drives without moving parts. A low power  
consumption and a wide supply voltage range favors  
mobile, battery-powered applications such as audio  
players, organizers, palmtops, electronic books,  
encyclopediaanddictionaries.Usingveryeffectivedata  
compression schemes such as MPEG, the  
MultiMediaCardwilldeliverenoughcapacityforallkinds  
of multimedia data: software/programs, text, music,  
speech, images, video etc.  
TheMultiMediaCardMX53L00401isahighlyintegrated  
readonlymemory(ROM)withserialandrandomaccess  
capability using an innovative ultra high density cell  
design in the memory array. It is accessible via a  
dedicated serial interface optimized for fast and reliable  
datatransmission.Thisinterfaceallowsseveralcardsto  
be stacked by connecting their peripheral contacts. The  
MX53L00401 is fully compatible to a new consumer  
standard, called the MultiMediaCard system standard  
defined in the MultiMediaCard system specification [1].  
The MultiMediaCard system is a new mass-storage  
system based on innovations in semiconductor  
2. FEATURES  
• High speed serial interface with random access in  
block or serial mode  
• 8 MByte memory capacity  
- Payload: 4,194,304 Bytes  
- Byte addressable memory  
- up to 10 stacked card @ 20MHz @ 2.7-3.6V  
- up to 30 stacked card @ 5MHz @ 2.7-3.6V  
- Access time < 15 us @ 20MHz @ 2.7-3.6V, random  
byte access  
• Small card-sized package: 24x32x1.4 mm (WxLxH)  
• MultiMediaCard system standard compatibility  
- Sequential and block read supported (Command  
classes 0, 1 and 2)  
• Low power dissipation  
-Blocksizefreeprogrammablebetween1~2048byte  
in MMC mode, 1~512 byte in SPI mode  
- Multiple block mode supported in MMC mode  
- CRC protected data communication  
- 2.0V to 3.6V operation voltage range of  
communication  
- High speed: < 126 mW @ 20MHz @ 3.6V  
- Low power: < 13.5 mW @ 100kHz@ 2.7V  
-Powersave:<0.27mW@0Hz@2.7V(instbystate)  
- 2.7V to 3.6V operation voltage range of memory  
access  
- Damage free powered card insertion and removal  
- MMC and SPI mode available  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
1
MX53L00401  
3.OVERVIEW  
The following diagram shows an overview of the MX53L00401 internal architecture:  
2
4
5
7
1
3
6
VDD  
CMD  
CLK  
DAT  
MODE_SEL  
Interface driver  
VDD  
CID[127:0]  
RCA[15:0]  
CSD[127:0]  
MultiMediaCard  
interface  
reset  
controller  
reset  
Memory core interface  
Memory core  
Figure 1 : MX53L00401 architecture  
All controllers in the MX53L00401 are clocked by the interface signal CLK. The card is controlled by the three line  
MultiMediaCard interface containing the signals: CMD, CLK, DAT (see "Chapter 4: Inter-face" for more details). For  
the identification of the MX53L00401 in a stack of MultiMediaCards a card identification register (CID) and a relative  
card address register (RCA) is foreseen. An additional register contains different types of operation parameters. This  
registeriscalledcardspecificdataregister(CSD).ThecommunicationusingtheMultiMediaCardlinestoaccesseither  
the memory field or the registers is defined by the MultiMediaCard standard (see "Chapter 6: Communication").  
Thecardhasitsownpowerondetectionunit.Noadditionalmasterresetsignalisrequiredtosetupthecardafterpower  
on. ItisprotectedagainstshortcutduringinsertionandremovalwhiletheMulti-MediaCardsystemispoweredup(see  
"Chapter 9: Power supply").  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
2
MX53L00401  
4. INTERFACE  
In the MX53L00401 all data is transferred over a minimal number of lines:  
CLK: with each cycle of this signal a one bit transfer on the command and data lines is done. The frequency may vary  
between zero and the maximum clock frequency. The MultiMediaCard bus master is free to generate these cycles  
without restrictions in the range of 0-20MHz.  
CMD: is a bidirectional command channel used for card initialization and data transfer commands. The CMD signal has  
two operation modes: open drain for initialization mode and push pull for fast command transfer. Commands are sent  
from the MultiMediaCard bus master to the MX53L00401 and responses vice versa.  
DAT: is a data channel with a width of one line. The DAT signal of the MX53L00401 operates in push pull mode.  
ROD  
RDAT  
RCMD  
CMD  
DAT  
CLK  
MultiMediaCard  
Host  
1 2 3 4 5 6 7  
MX53L00801  
Figure 2: MX53L00401 interface  
All MultiMediaCards are connected directly to the lines of the MultiMediaCard bus. The following  
table defines the card contacts.  
Pin No.  
Name  
NC  
Type1  
Description  
1
2
3
4
5
6
7
--  
not connected  
Command/Response  
Supply voltage ground  
Supply voltage  
Clock  
CMD  
VSS1  
VDD  
CLK  
I/PP/OD  
S
S
I
VSS2  
DAT  
S
Supply voltage ground  
Data output  
PP  
Table 1: MX53L00401 pad definition  
1 S: power supply; I: input; PP: push pull output; OD: open drain output  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
3
MX53L00401  
Pin 1 is not connected in the MX53L00401  
DAT  
VSS2  
CLK  
VDD  
VSS1  
CMD  
bus-mode  
enable  
Interface driver  
Figure 3: MX53L00401 I/O-drivers  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
4
MX53L00401  
5 Registers  
The MX53L00401 has the following information registers:  
Name  
Width  
Type  
Description  
CID  
128  
Mask programmable,  
read only for user  
Programmed during  
initialization, not readable  
Read only  
Card identification number, card individual number for  
identification.  
RCA  
CSD  
16  
Relative card address, local system address of a card,  
dynamically assigned by the host during initialization.  
Card specific data, information about the card operation  
conditions.  
128  
Table 2: MX53L00401 registers  
CID and RCA are used for identifying and addressing the MX53L00401. The third register contains the card specific  
data record. This record is a set of information fields to define the operation conditions of the MX53L00401.  
For the user the CID and the CSD are read only registers. They are read out by special commands (see "Chapter 6.1:  
Commands"). The RCA register is a write only register. Unlike CID and CSD, RCA looses its contents after powering  
down the card. Its value is reassigned in each initialization cycle. The complete CID and parts of the CSD are  
programmed by the content provider via the programming mask (see "chapter 8: Programming mask format").  
5.1 Card identification (CID)  
The Card IDentification (CID) register is 128 bits wide. It contains the card identification information used during the  
card identification phase (MultiMediaCard protocol). Every individual flash or I/O card shall have an unique  
identification number. Every type of MultiMediaCard ROM cards (defined by content) shall have an unique  
identification number.  
The structure of the CID register is defined in the following paragraphs:  
Name  
Field  
MID  
OID  
PNM  
PRV  
PSN  
MDT  
CRC  
-
Width  
CID-slice  
[127:120]  
[119:104]  
[103:56]  
[55:48]  
[47:16]  
[15:8]  
Value  
Manufacturer ID  
OEM/Application ID  
Product name  
8
0x07  
16  
48  
8
"ROM004"  
Product revision  
Product serial number  
Manufacturing date  
CRC7 checksum  
not used, always '1'’  
32  
8
0x00CXXXXX  
7
[7:1]  
1
[0:0]  
Table 3: The CID fields  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
5
MX53L00401  
MID  
An 8 bit binary number that identifies the card manufacturer. The MID number is controlled, defined and allocated to  
a MultiMediaCard manufacturer by the MMCA. This procedure is established to ensure uniqueness of the CID  
register.  
OID  
A16bitbinarynumberthatidentifiesthecardOEMand/orthecardcontents(whenusedasadistri-butionmediaeither  
on ROM or FLASH cards). The OID number is controlled, defined and allocated to a MultiMediaCard manufacturer  
by the MMCA. This procedure is established to ensure uniqueness of the CID register.  
PNM  
The product name is a string, 6 ASCII characters long.  
PRV  
The product revision is composed of two Binary Coded Decimal (BCD) digits, four bits each, repre-senting an "n.m"  
revision number. The "n" is the most significant nibble and "m" is the least significant nibble.  
As an example, the PRV binary value field for product revision "6.2" will be: 0110 0010  
PSN  
A 32 bits unsigned binary integer.  
MDT  
The manufacturing date is composed of two hexadecimal digits, four bits each, representing a two digits date code  
m/y;  
The "m" field, most significant nibble, is the month code. 1 = January.  
The "y" field, least significant nibble, is the year code. 0 = 1997.  
As an example, the binary value of the MDT field for production date "April 2000" will be: 0100 0011.  
CRC  
CRC7 checksum (7 bits). This is the checksum of the CID contents.  
The CID has to be error free. To ensure the correctness of the CID a CRC checksum is added to the end of the CID.  
The CRC checksum is computed by the following formula:  
CRC Calculation: G(x) = x7 + x3 + 1  
M(x) = CID[127]*x 119 +...+ CID[8]*x 0  
CRC[6...0] = Remainder [(M(x)*x7)/G(x)]  
In the MX53L00401 the CID is programmed with parameters defined by the content provider. The programming is  
done by the mask which is used for the data programming too. Details of the mask programming and the formats of  
datatransferbetweencontentproviderandcardmanufactureraredefinedin"Chapter8:Programmingmaskformat".  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
6
MX53L00401  
5.2 Relative card address (RCA)  
The 16-bit relative card address register carries the card address assigned by the host during the card identification.  
Thisaddressisusedfortheaddressedhosttocardcommunicationafterthecardidentificationprocedure.Thedefault  
value of the RCA register is 0x0001. The value 0x0000 is reserved to set all cards in Standby State with the command  
SELECT_DESELECT_CARD (CMD7).  
TheRCAisprogrammedwiththecommandSET_RELATIVE_ADDRESS(CMD3)duringtheinitializationprocedure.  
The content of this register is lost after power down. The default value is assigned when an internal reset is applied  
by the power up detection unit of the MX53L00401.  
5.3 Card specific data (CSD)  
The card specific data register describes how to access the card content. The CSD defines the data format, error  
correction type, maximum data access time, data transfer speed, whether the wide or standard bus is implemented  
etc.  
CSD-slice  
[127:126]  
[125:122]  
[121:120]  
[119:112]  
[111:104]  
[103:96]  
[95:84]  
[83:80]  
[79:79]  
Width  
2
Value  
Field  
1
CSD_STRUCTURE  
SPEC_VERS  
_
4
2
2
don't care  
0x08(1ns)  
0x03(300 cycles)  
0x2A(20 Mbit/s)  
0x007 (class 0,1,2)  
0xB (2048 bytes)  
"1"  
8
TAAC  
8
NSAC  
8
TRAN_SPEED  
CCC  
12  
4
READ_BLK_LEN  
READ_BLK_PARTIAL  
WRITE_BLK_MISALIGN  
READ_BLK_MISALIGN  
DSR_IMP  
1
[78:78]  
[77:77]  
1
don't care  
"1"  
1
[76:76]  
1
"0"  
[75:74]  
[73:62]  
[61:59]  
[58:56]  
[55:53]  
[52:50]  
[49:47]  
2
don't care  
0x3  
-
12  
3
C_SIZE  
0x4(25mA)  
0x4(35mA)  
don't care  
don't care  
"7"  
VDD_R_CURR_MIN  
VDD_R_CURR_MAX  
VDD_W_CURR_MIN  
VDD_W_CURR_MAX  
C_SIZE_MULT  
SECTOR_SIZE  
ERASE_GRP_SIZE  
WP_GRP_SIZE  
WP_GRP_ENABLE  
DEFAULT_ECC  
R2W_FACTOR  
3
3
3
3
[46:42]  
[41:37]  
[36:32]  
[31:31]  
[30:29]  
[28:26]  
5
don't care  
don't care  
don't care  
don't care  
don't care  
don't care  
5
5
1
2
3
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
7
MX53L00401  
CSD-slice  
[25:22]  
[21:21]  
[20:16]  
[15:15]  
[14:14]  
[13:13]  
[12:12]  
[11:10]  
[9:8]  
Width  
Value  
Field  
4
1
5
1
1
1
1
2
2
7
1
don't care  
don't care  
don't care  
see table 12  
don't care  
1
WRITE_BLK_LEN  
WRITE_BLK_PARTIAL  
-
FILE_FORMAT_GRP  
COPY  
PERM_WRITE_PROTECT  
1
TMP_WRITE_PROTECT  
see table 12  
0
FILE_FORMAT  
ECC  
CRC  
-
[7:1]  
CRC value  
1
[0:0]  
All CSD fields are read only for the user. All don't care tagged field are zero. The following section describles the CSD  
fields and their values for the MX53L00401:  
CSD_STRUCTURE  
The CSD version of the MX53L00401 is related to the CSD version 1.1 as defined in "MultiMediaCard system  
specification. The parameter CSD_STRUCTURE is permanently assigned to the value 1.  
SPEC_VERS  
Defines the MultiMediaCard protocol version supported by the card. It includes the commands set definition and the  
definition of the card responses. The card identification procedure is compatible for all protocol versions.  
The MultiMediaCard protocol version of the MX53L00401 is related to the"MultiMediaCard system specification,  
Version 2.2". The parameter SPEC_VERS is permanently assigned to the value 2.  
TAAC  
Defines the asynchronous data access time:  
TAAC bit  
2:0  
Description  
time unit  
Values  
0=1ns, 1=10ns, 2=100ns, 3=1ms, 4=10ms, 5=100ms, 6=1ms, 7=10ms  
0=reserved, 1=1.0, 2=1.2, 3=1.3, 4=1.5, 5=2.0, 6=2.5, 7=3.0, 8=3.5, 9=4.0,  
A=4.5, B=5.0, C=5.5, D=6.0, E=7.0, F=8.0  
6:3  
time value  
7
reserved  
always "0"  
Table 5: TAAC access time definition  
The coded TAAC value is 0x08. For more details see "Chapter 10.2.4: Operating characteristics".  
NSAC  
Definestheworstcaseforthesynchronousdataaccesstime. NAC isdefinedas100*NSACclockcycles, whereNSAC  
represents a binary value. Max. value for the data access time NAC is 25.6k clock cycles.  
The total access time is the sum of both TAAC and N AC * clock period. The value of NSAC for the  
MX53L00401 is 0x03 (300 cycles). For more details see "Chapter 10.2.4: Operating characteristics".  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
8
MX53L00401  
TRAN_SPEED  
The following table defines the maximum data transfer rate TRAN_SPEED:  
TRAN_SPEED bit  
Description  
2:0  
transfer rate unit  
0=100kbit/s, 1=1Mbit/s, 2=10Mbit/s,  
3=100Mbit/s, 4... 7=reserved  
time value  
6:3  
0x0=reserved, 0x1=1.0, 0x2=1.2, 0x3=1.3,  
0x4=1.5, 0x5=2.0, 0x6=2.5, 0x7=3.0, 0x8=3.5,  
0x9=4.0, 0xA=4.5, 0xB=5.0, 0xC=5.5,  
0xD=6.0, 0xE=7.0, 0xF=8.0  
7
reserved="0"  
Table 6: Maximum data transfer rate definition  
The MX53L00401 supports a transfer rate between 0 and 20 Mbit/s.The parameter TRAN_SPEED is 0x2A.  
CCC  
TheMultiMediaCardcommandsetisdividedintosubsets(commandclasses).ThecardcommandclassregisterCCC  
defines which command classes are supported by this card. A set CCC bit means that the corresponding command  
class is supported. For command class definition refer to Table 14.  
CCC bit  
Supported card command class  
0
class 0  
class 1  
1
......  
11  
class 11  
Table 7: Supported card command classes  
TheMX53L00401supportsthecommandclasses0,1and2.TheparameterCCCispermanentlyassignedtothevalue  
0x007.  
READ_BLK_LEN  
Thedatablocklengthcanbecomputedas2READ_BLK_LEN . Theblocklengthmightthereforebeintherange1, 2,4...2048  
bytes.  
READ_BLK_LEN  
Block length  
2 0 = 1 byte  
2 1 = 2 byte  
Remark  
0
1
......  
11  
2 11 = 2048 byte  
reserved  
12-15  
Table 8: Data block length coding  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
9
MX53L00401  
READ_BLK_PARTIAL  
READ_BLK_PARTIAL defines whether partial block sizes can be used in block read.  
READ_BLK_PARTIAL=0 means that only the READ_BLK_LEN block sizes can be used for block oriented data  
transfers.  
READ_BLK_PARTIAL=1 means that smaller blocks can be used as well. The minimum block size will be equal to  
minimum addressable unit (one byte).  
The MX53L00401 supports partial block read. The parameter READ_BLK_PARTIAL is permanently assigned to the  
value ‘1’.  
READ_BLK_MISALIGN  
Defines if the data block to be read by one command can be spread over more than one physical block of the memory  
device. The size of the data block is defined in READ_BLK_LEN.  
READ_BLK_MISALIGN=0 signals that crossing physical block boundaries is not allowed.  
READ_BLK_MISALIGN=1 signals that crossing physical block boundaries is allowed.  
The MX53L00401 supports read block operations with boundary crossing. The parameter READ_BLK_MISALIGN  
is permanently assigned to the value "1".  
DSR_IMP  
Defines if the configurable driver stage option is integrated on the card or not. If implemented a driver stage register  
(DSR) must be implemented also.  
DSR_IMP  
DSR type  
0
1
no DSR implemented  
DSR implemented  
Table 9: DSR implementation  
The MX53L00401 output drivers are not configurable. The parameter DSR_IMP is permanently assigned to the  
value"0".  
C_SIZE, C_SIZE_MULT  
This parameter is used to compute the card capacity. The memory capacity of the card is computed from the entries  
C_SIZE, C_SIZE_MULT and READ_BLK_LEN as follows:  
BLOCKLEN = 2READBLKLEN = 2K Byte (READBLKLEN < 12)  
MULT = 2 CSIZEMULT +2 = 4 (CSIZEMULT< 8)  
BLOCKNR = (CSIZE+1) * MULT = 2K Byte  
SIZE = BLOCKNR * BLOCKLEN = 4M Byte  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
10  
MX53L00401  
VDD_R_CURR_MIN  
The maximum supply current at the minimal supply voltage V DD (2.7 V):  
VDD_R_CURR_MIN[2:0]  
0=0.5 mA; 1=1 mA; 2=5 mA; 3=10 mA; 4=25 mA; 5=35 mA; 6=60 mA;  
7=100 mA  
Table 10: Supply current consumption @ VDD =2.7 V  
The parameter VDD_R_CURR_MIN is permanently assigned to the value 4 (25 mA).  
VDD_R_CURR_MAX  
The maximum supply current at the maximum supply voltage V DD (3.6V):  
VDD_R_CURR_MAX[2:0]  
0=1 mA; 1=5 mA; 2=10 mA; 3=25 mA; 4=35 mA; 5=45 mA; 6=80 mA;  
7=200 mA  
Table 11: Supply current consumption @ VDD =3.6V  
The parameter VDD_R_CURR_MAX is permanently assigned to the value 4 (35 mA).  
FILE_FORMAT_GRP  
Indicates the selected group of file formats. This field is read-only for ROM. The usage of this field is shown in Table  
12 (see FILE_FORMAT).  
PERM_WRITE_PROTECT  
Permanently protects the whole card content against overwriting or erasing (all write and erase commands for this  
card are permanently disabled). This parameter has permanently the value "1".  
TMP_WRITE_PROTECT  
Temporarily protects the whole card content from being overwritten or erased (all write and erase commands for this  
card are permanently disabled). This parameter has always the value "1".  
FILE_FORMAT  
Indicates the file format on the card. This field is read-only for ROM. The following formats are defined:  
FILE_FORMAT_GRP FILE_FORMAT  
Type  
0
0
0
0
1
0
Hard disk-like file system with partition table  
DOS FAT (floppy-like) with boot sector only (no partition table)  
Universal File Format  
1
2
3
Others/Unknown  
0,1,2,3  
Reserved  
Table 12:File Format  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
11  
MX53L00401  
ECC  
DefinestheECCcodethatwasusedforstoringdataonthecard.Thisfieldisusedbythehost(orapplication)todecode  
the user data.The following table defines the field format.  
ECC  
0
ECC type  
Maximum number of correctable bits  
none (default)  
BCH (542,512)  
reserved  
none  
1
3
-
2-15  
Table 13: ECC type  
NoexternalerrorcorrectionisneededfortheMX53L00401.TheparameterECCispermanentlyassignedtothevalue  
0.  
CRC  
The CRC register carries the check sum for the CSD content. The check sum is computed by the following formulas:  
Generator polynomial:  
G(x) = x 7 + x 3 + 1  
M(x) = CSD[127] * x 119 + ... + CSD[8] * x 0  
CRC[6...0] = Remainder [(M(x)* x 7 ) / G(x).  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
12  
MX53L00401  
6 Communication  
All communication between host and cards is controlled by the host (master). The host sends com-mands and,  
dependingonthecommand,receivesacorrespondingresponsefromtheselectedcard.Inthischapterthecommands  
tocontroltheMX53L00401,thecardresponsesandthecontentsofastatusanderrorfield,includedintheresponses,  
are defined.  
6.1 Commands  
The command set of the MultiMediaCard system is divided into classes corresponding to the type of card (see also  
[1]). The MX53L00401 supports the following command classes:  
Card  
Class  
Command  
Class (CCC)  
class 0  
description  
Supported commands  
0
1
2
3
4
7
9
10 11 12 13 15 16 17 18  
basic  
+
+
+
+
+
+
+
+
+
+
+
class 1  
sequential read  
block read  
+
class 2  
+
+
+
Table 14: MX53L00401 command classes  
Class 0 is mandatory and supported by all cards. It represents the card identification and initialization commands,  
which are intended to handle different cards and card types on the same bus lines. The Card Command Class (CCC)  
is coded in the card specific data register of each card, so that the host knows how to access the card.  
There are four kinds of commands defined on the MultiMediaCard bus:  
• broadcast commands (bc)  
sent on CMD line, no response  
• broadcast commands with response (bcr)  
sent on CMD line, response (all cards simultaneously) on CMD line  
• addressed (point-to-point) commands (ac)  
sent on CMD line, response on CMD line  
• addressed (point-to-point) data transfer commands (adtc)  
sent on CMD line, response on CMD line, data transfer on DAT line  
The command transmission always starts with the MSB. Each command starts with a start bit and ends with an CRC  
command protection field followed by a end bit. The length of each command frame is fixed to 48 bits (2.4 ms @ 20  
MHz):  
0
1
bit 5...bit 0  
command  
bit 31...bit 0  
argument  
bit 6...bit 0  
CRC 1  
1
start bit  
host  
end bit  
1 Cyclic Redundancy Check  
The start bit is always "0" in command frames (sent from host to MultiMediaCard). The host bit is always "1" for  
commands. The command field contains the binary coded command number. The argument depends on the  
command (see Table 15 and Table 16). The CRC field is defined in "Chapter 7: Error handling".  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
13  
MX53L00401  
The MX53L00401 supports the following MultiMediaCard command:  
CMD  
Type Argument  
Resp  
Abbreviation  
Command Description  
INDEX  
CMD0 bc  
[31:0] stuff bits  
-
GO_IDLE_STATE resets all cards to Idle State  
SEND_OP_COND checksforcardsnotsupportingthefullrangeof  
2.0 to 3.6V. After receiving CMD1 the card  
sends an R3 response (see "Chapter 6.5:  
Responses").  
CMD1 bcr argument  
ignored  
R3  
CMD2 bcr [31:0] stuff bits  
R2  
R1  
-
ALL_SEND_CID  
asks all cards in ready state to send their CID1  
numbers on CMD-line  
CMD3 ac  
CMD4 bc  
CMD7 ac  
[31:16] RCA  
[15:0] stuff bits  
[31:16] DSR  
[15:0] stuff bits  
[31:16] RCA  
[15:0] stuff  
SET_RELATIVE_ assigns relative address to the card  
ADDR  
in identification state.  
SET_DSR  
programstheDSRofallcardsinstand-bystate.  
R1  
SELECT_  
DESELECT_  
CARD  
command toggles a card between the standby  
andtransferstatesorbetweentheprogramming  
and disconnect state.  
(only  
the  
bits  
selected  
card)  
In both cases the card is selected by its own  
relative address while deselecting the prior  
selected card.  
Address 0 deselects all.  
CMD9 ac  
CMD10 ac  
[31:16] RCA  
[15:0] stuff bits  
[31:16] RCA  
[15:0] stuff bits  
R2  
R2  
R1  
SEND_CSD  
SEND_CID  
asks the addressed card to send its card-  
specific data (CSD)2 on CMD-line.  
asks the addressed card to send its card  
identification (CID) on CMD-line.  
CMD11 adtc [31:0] data  
READ_DAT_  
UNTIL_STOP  
reads data stream from the card in sending-  
datastate,startingatthesuppliedaddress,until  
STOP_TRANSMISSION follows.  
CMD12 ac  
CMD13 ac  
CMD15 ac  
[31:0] stuff bits  
R1  
R1  
-
STOP_  
forces the card to stop transmission  
TRANSMISSION  
SEND_STATUS  
[31:16] RCA  
[15:0] stuff bits  
[31:16] RCA  
[15:0] stuff bits  
Asks the addressed card to send its status  
register.  
GO_INACTIVE_  
STATE  
Setsthecardtoinactivestateinordertoprotect  
the card stack against communications break-  
downs.  
Table 15: Basic commands for read only devices (class 0 and class 1)  
1.CID register consists of 128 bits (starting with MSB, it is preceded by an additional start bit, ends with an end bit)  
2.CSD register consists of 128 bits (starting with MSB, it is preceded by an additional start bit, ends with an end bit)  
3.The addressing capability @ 8 bit address resolution is 2 32 = 4 Gbyte  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
14  
MX53L00401  
CMD  
Type Argument  
Resp  
R1  
Abbreviation  
Command Description  
INDEX  
CMD16 ac  
[31:0] block  
length  
SET_BLOCKLEN Selectsablocklength(inbytes)forallfollowing  
block commands (read and write).1  
CMD17 adtc [31:0] data  
address  
R1  
READ_SINGLE_  
BLOCK  
Reads a block of the size selected by the  
SET_BLOCKLEN command.2  
CMD18 adtc [31:0] data  
address  
R1  
READ_MULTIPLE_ Continuously send blocks of data until  
BLOCK interrupted by a stop command.  
Table 16: Block oriented read commands (class 2)  
1.The default block length is as specified in the CSD.  
2.The data transferred must not cross a physical block boundary unless RD_BLK_MISALIGN is set in the CSD.  
6.2 Card identification mode  
All the data communication in the card identification mode uses only the command line (CMD).  
from all states except (ina)  
Power on  
Idle State  
(idle)  
CMD0  
Idle State  
(idle)  
CMD0  
CMD1  
Inactive  
State (ina)  
CMD15  
Ready State  
(ready)  
Card looses bus  
CMD2  
Card wins bus  
Identification  
State (iden)  
card-identification  
CMD3  
from all states in  
data-transfer-mode  
data-transfer mode  
Stand-by State  
(stby)  
Figure 4: MultiMediaCard state diagram (card identification mode)  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
15  
MX53L00401  
The host starts the card identification process in open drain mode with the identification clock rate fOD (generated by  
a push pull driver stage). The open drain driver stages on the CMD line allow the parallel card operation during card  
identification.  
After the bus is activated the host will request the cards to send their valid operation conditions with the command  
SEND_OP_COND(CMD1).Sincethebusisinopendrainmode,aslongasthereismorethanonecardwithoperating  
conditionsrestrictions,thehostgetsintheresponsetotheCMD1a "Wiredor"operationconditionrestrictionsofthose  
cards. The host then must pick a common denominator for operation and notify the application that cards with out of  
range parameters (from the host perspective) are connected to the bus. Incompatible cards go into Inactive State.  
After an operating mode is established, the host asks all cards for their unique card identification (CID) number with  
thebroadcastcommandALL_SEND_CID(CMD2).Allnotalreadyidentifiedcards(i.e.thosewhichareinReadyState)  
simultaneously start sending their CID numbers serially, while bit-wise monitoring their outgoing bit stream. Those  
cards, whoseoutgoingCIDbitsdonotmatchthecorrespondingbitsonthecommandlineinanyoneofthebitperiods,  
stop sending their CID immediately and must wait for the next identification cycle (cards stay in the Ready State).  
There should be only one card which successfully sends its full CID-number to the host. This card then goes into the  
Identification State. The host assigns to this card (using CMD3, SET_RELATIVE_ADDR) a relative card address  
(RCA, shorter than CID), which will be used to address the card in future communication (faster than with the CID).  
Once the RCA is received the card transfers to the Standby State and does not react to further identification cycles.  
The card also switches the output drivers from the open-drain to the push-pull mode in this state.  
The host repeats the identification process as long as it receives a response (CID) to its identifica-tion command  
(CMD2). Whennocardrespondstothiscommand, allcardshavebeenidentified. Thetime-outconditiontorecognize  
this, is waiting for the start bit for more than 5 clock periods after sending CMD2.  
6.3 Operating voltage range validation  
TheMultiMediaCardstandardsoperatingrangevalidationisintendedtosupportreducedvoltagerangeMultiMediaCards.  
The MX53L00401 supports the full range of 2.5 to 3.6V supply voltage. So the MX53L00401 sends a R3 response  
to CMD1 which contains an OCR value of 0x00FFE000 (see "Chapter 6.5: Responses").  
6.4 Data transfer mode  
WheninStandbyState,bothCMDandDATlinesareinthepush-pullmode.AslongasthecontentofallCSDregisters  
is not known, the f PushPull clock rate is equal to the slow f OpenDrain clock rate. SEND_CSD (CMD9) allows the host to get  
the Card Specific Data (CSD register), e.g. ECC type, block length, card storage capacity, maximum clock rate etc.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
16  
MX53L00401  
card identification mode  
CMD15  
CMD3  
CMD0  
from all states in  
data-transfer-mode  
Sending-data  
State  
data transfer mode  
CMD13  
CMD12  
CMD11, 17, 18  
no state transition  
in data-transfer-mode  
"operation  
complete"  
CMD7  
card is not addressed  
Transfer  
State(tran)  
Stand-by State  
(stby)  
CMD7  
CMD16  
card is addressed  
CMD4,  
9,10  
Figure 5: MX53L00401 state diagram (data transfer mode)  
The command SELECT_DESELECT_CARD (CMD7) is used to select one card and place it in the Transfer State. If  
a previously selected card is in the Transfer State its connection with the host is released and it will move back to the  
Stand-by State. Only one card can be, at any time, in the Transfer State. A selected card is responding the CMD7,  
the deselected one does not respond to this command.  
When CMD7 is sent including the reserved relative card address "0x0000", all cards transfer back to Stand-by State.  
This command is used to identify new cards without resetting other already acquired cards. Cards to which an RCA  
has already been assigned, do not respond to the identification command flow in this state.  
All the data communication in the Data Transfer Mode is consequently a point-to point communication between the  
hostandtheselectedcard(usingaddressedcommands).Alladdressedcommandsareacknowledgedbyaresponse  
on the CMD line.  
All read commands (data is sent from the card via data lines) can be interrupted at any time, by another read or a stop  
command.  
The DAT bus line is high when no data is transmitted. A transmitted data block consists of a start bit (LOW), followed  
by a continuous data stream. The data stream contains the net payload data (and error correction bits if an off-card  
ECCisused). Thedatastreamendswithanendbit(HIGH). Thedatatransmissionissynchronoustotheclocksignal.  
The payload for block oriented data transfer is protected by a CRC check sum (see "Chapter 7:Error handling").  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
17  
MX53L00401  
Stream read  
There is a stream oriented data transfer controlled by READ_DAT_UNTIL_STOP (CMD11). This command instructs  
thecardtosenditspayload, startingataspecifiedaddress, untilthehostsendsaSTOP_TRANSMISSIONcommand  
(CMD12). Please note that the host stop command has an execution delay due to the serial command transmission.  
The data transfer stops after the end bit of the next command with interrupt ability.  
If the end of the memory range is reached while sending data and no stop command has yet been sent by the host,  
thedatatransferwillcontinued.Thedatasentthanisundefined.Thehosthastoobservetheboundariesofthememory  
range.  
Block read  
Block read is similar to stream read, except the basic unit of data transfer is a block whose maxi-mum size is defined  
intheCSD(READ_BLK_LEN). READ_BLK_PARTIALisset, thussmallerblockswhosestartingandendingaddress  
are wholly contained within one physical block (as defined by READ_BLK_LEN) may also be transmitted. Unlike  
stream read, a CRC is appended to the end of each block ensuring data transfer integrity. READ_SINGLE_BLOCK  
(CMD17) starts a block read and after a complete transfer the card goes back to Transfer State.  
READ_MULTIPLE_BLOCK (CMD18) starts a transfer of several consecutive blocks. Blocks will be continuously  
transferred until a stop command is issued. Block misalignment is also allowed for the MX53L00401 .  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
18  
MX53L00401  
State transition summary  
The Table 17 defines the card state transitions as a function of received command.  
current state  
idle  
ready  
ident  
stby  
tran  
data  
ina  
1
CRC fail  
-
-
-
-
-
-
-
-
-
-
-
-
-
commands of not supported classes  
-
class 0  
CMD0  
idle  
idle  
idle  
idle  
-
idle  
idle  
-
-
CMD1  
ready  
-
-
-
-
CMD2,card wins bus  
CMD2,card loses bus  
CMD3  
-
-
-
-
-
-
-
-
-
-
-
ident  
-
-
-
-
ready  
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
stby  
-
-
-
CMD4  
-
-
-
-
-
-
-
-
stby  
tran  
-
-
-
CMD7,card is addressed  
CMD7,card is not addressed  
CMD9  
-
-
stby  
stby  
-
-
-
-
-
-
-
stby  
stby  
-
-
CMD10  
-
-
CMD12  
-
tran  
data  
ina  
CMD13  
stby  
ina  
tran  
ina  
CMD15  
class 1  
CMD11  
-
-
-
-
data  
-
-
class 2  
CMD16  
-
-
-
-
-
-
-
-
-
-
-
-
tran  
data  
data  
-
-
-
-
-
-
CMD17  
CMD18  
Table 17: Card state transition table  
1 Stay in the current state.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
19  
MX53L00401  
6.5 Responses  
All responses are sent via command line (CMD), all data starts with the MSB.  
Format R1 (response command): response length 48 bit.  
0
0
bit 5...bit 0  
command  
bit 31...bit 0  
status  
bit 6...bit 0  
CRC  
1
start bit  
card  
end bit  
The contents of the status field are described in "Chapter 6.6: Status”  
Format R2 (CID, CSD register): response length 136 bits.  
Note: Bit 127 down to bit 1 of CID and CSD are transferred, the reserved bit [0] is replaced by the end bit.  
0
0
bit 5...bit 0  
reserved  
bit 127...bit 1  
1
start bit  
card  
CID or CSD register including internal CRC  
end bit  
CID register is sent as a response to commands CMD2 and CMD10.  
CSD register is sent as a response to the CMD9.  
Format R3 (OCR): response length 48 bits.  
0
0
bit 5...bit 0  
reserved  
bit 31...bit 0  
OCR field  
bit 6...bit 0  
reserved  
1
start bit  
card  
end bit  
The OCR is sent as a response to the CMD1 to signalize the supported voltage range. The MX53L00401 supports  
the full range from 2.7 to 3.6 V. Respectively the value of all bits of the OCR field of the MX53L00401 are always set  
tohigh(0x00FFC000).Thereservedbitsarealsohigh(0x3Fand0x7F).SotheR3frameoftheMX53L00401contains  
always the value 0x3F00FFC000FF.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
20  
MX53L00401  
6.6 Status  
The response format R1 contains a 32-bit field with the name card status. This field is intended to transmit status  
information which is stored in a local status register of each card to the host. The fol-lowing table defines the status  
register structure.  
The Type and Clear-Condition fields in the table are coded as follows:  
• Type:  
- E-Error bit.  
- S-Status bit.  
- R-Detected and set for the actual command response.  
- X-Detected and set during command execution. The host must poll the card by sending status command in order  
to read these bits.  
• Clear Condition:  
- A- According to the card state.  
- B- Always related to the previous command. Reception of a valid command will clear it (with a delay of one  
command).  
- C- Clear by read.  
Bits  
Identifier  
Type  
Value  
Description  
Clear  
Condition  
C
31  
OUT_OF_RANGE  
ER '0  
The command argument was out of the  
allowed range for this card.  
30  
29  
Don't care  
Permanently 0.  
"0"=no error  
"1"=error  
BLOCK_LEN_ERROR  
ER '0  
The transferred block length is not allowed  
for this card or the number of bytes  
C
transferred does not match the block length.  
28:26 Don't care  
25:24 reserved  
Permanently 0.  
Permanently 0.  
"0"=no error  
"1"=error  
23  
COM_CRC_ERROR  
ER '0  
The CRC check of the previous command  
failed.  
B
B
22  
21  
20  
19  
18  
ILLEGAL_COMMAND  
Don't care  
ER ’0  
"0"=no error  
Permanently 0.  
Permanently 0  
Permanently 0.  
Permanently 0  
Permanently 0.  
0 = idle  
Command not legal for the current state.  
Don't care  
Don't care  
Don't care  
17:13 Don't care  
Current state of the card.  
Current state of the card.  
B
B
12:9  
CURRENT_STATE  
S X  
1 = ready  
2 = ident  
3 = stby  
4 = tran  
5 = data  
6-15 = reserved  
Permanently 0.  
Permanently 0.  
8
Don't care  
reserved  
7:0  
Table 18: Status  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
21  
MX53L00401  
6.7 Command and response timings  
All timing diagrams use the following schematics and abbreviations:  
S
T
P
E
Z
D
*
Start bit (= 0)  
Transmitter bit (Host = 1, Card = 0)  
One-cycle pull-up (= 1)  
End bit (=1)  
high impedance state (-> = 1)  
Data bits  
repeater  
CRC Cyclic redundancy check bits (7 bits)  
Card active  
Host active  
Table 19: Timing diagram symbols  
ThedifferencebetweentheP-bitandZ-bitisthataP-bitisactivelydriventoHIGHbythecardrespectivelyhostoutput  
driver, while the Z-bit is driven to (respectively kept) HIGH by the pull-up resistors R CMD respectively R DAT . Actively-  
driven P-bits are less sensitive to noise superposition.  
For the timing of the MX53L00401 the following values are defined:  
Value [clock cycles]  
Description  
NCR  
N ID  
5
5
Number of cycles between command and response  
Number of cycles between card identification or card operation  
conditions com-mand and the correspond-ing response.  
NAC  
TAAC+NSAC  
NBAC  
N RC  
N CC  
8
Number of cycles between blocks in multiple block read  
> 8  
> 8  
Numberofcyclesbetweentwocommands,ifnoresponsewillbe  
sent after the first command (e.g.broadcast)  
Table 20: Timing values  
The host command and the card response are clocked out with the rising edge of the host clock.The delay between  
host command and card response is N CR clock cycles.  
The following timing diagram is relevant for host command CMD3:  
Host command  
N
CR cycles  
Response  
content  
CMD  
S
T
content  
CRC  
E
Z
* * * * * *  
Z
S
T
CRC  
E
Z
Z
Z
Figure 6: Command response timing (identification mode)  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
22  
MX53L00401  
There is a two Z bit period followed by P bits pushed up by the responding card. The following tim-ing diagram is  
relevant for all host commands followed by a response, except CMD1, CMD2 and CMD3:  
Host command  
content  
N
CR cycles  
Response  
content  
CMD  
S
T
CRC  
E
Z
Z
P
P
S
T
CRC  
E
Z
Z
Z
* * *  
Figure 7: Command response timing (data transfer mode)  
Card identification and card operation conditions timing  
The card identification (CMD2) and card operation conditions (CMD1) timing are processed in the open-drain mode.  
The card response to the host command starts after exactly NID clock cycles.  
Host command  
content  
NID cycles  
CID or OCR  
content  
CMD  
S
T
CRC  
E
Z
* * * * * *  
Z
S
T
Z
Z
Z
Figure 8: Identification timing (card identification mode)  
Last card response - next host command timing  
Afterreceivingthelastcardresponse,thehostcanstartthenextcommandtransmissionafteratleastNRC clockcycles.  
This timing is relevant for any host command.  
Response  
N
RC cycles  
Host command  
CMD  
S
T
content  
CRC  
E
Z
* * * * * *  
Z
S
T
content  
CRC  
E
Figure 9: Timing response end to next CMD start (data transfer mode)  
Last host command - next host command timing diagram  
After the last command, which does not force a response, has been sent, the host can continue sending the next  
command after at least N CC clock periods.  
Host command  
Response  
N
CC cycles  
CMD  
S
T
content  
CRC  
E
Z
* * * * * *  
Z
S
T
content  
CRC  
E
Figure 10: Timing CMDn end to CMDn+1 start (all modes)  
In the case the CMDn command was a last identification command (no more response sent by a card), then the next  
CMDn+1 command is allowed to follow after at least N CC +136 (the length of the R2 response) clock periods.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
23  
MX53L00401  
Data access timing  
Data transmission starts with the access time delay tAC (which corresponds to N AC ), beginning from the end bit of the  
data address command. The data transfer stops automatically in case of a data block transfer or by a transfer stop  
command.  
Host command  
N
CR cycles  
Response  
CMD  
S
T
content  
CRC  
E
Z
Z
P
P
S
T
content  
CRC  
E
* * *  
Read Data  
N
AC cycles  
DAT  
Z
Z
Z
Z
Z
Z
Z
Z
Z
P
P
S
D
D
D
* * *  
* * * * * * * * * * * *  
* * * *  
Figure11:Datareadtiming(datatransfermode)  
Data transfer stop command timing  
The card data transmission can be stopped using the stop command. The data transmission stops immediately with  
the end bit of the stop command.  
Host command  
N
CR cycles  
Response  
CMD  
DAT  
S
D
T
content  
CRC  
E
D
Z
Z
E
P
Z
P
S
T
content  
CRC  
E
* * *  
Z
D
D
D
D
* * * * * * * * * * * * * * * * * * * *  
* * * * * * * *  
Figure 12: Timing of stop command (CMD12, data transfer mode)  
Data transfer stop  
The read command (CMD11, 17, 18) is ignored, while data transmission is active. Only STOP command(CMD12) or  
DESELECT_CARD (CMD7) is able to stop the data transmission task.  
Next data block transfer timing  
In multiple block read mode, the next data block transmission starts with the delay time tBAC(NBAC Clock cycles),  
beginning from the end bit of the previous data block.  
t
BAC  
DAT  
D
E
P
S
D
D
Start bit of next data block  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
24  
MX53L00401  
6.8 Clock Control  
The bus frequency can be changed at any time (under the restrictions of masimum data trandfer frequency, defined  
by the cards, and the identification frequency defined by the specification document).  
It is an obvious requirement that the clock must be running for the card to output data or response tokens. After the  
last MultiMediaCard bus transaction, the host is required, to provide 8(eight) clock cycles for the card to complete the  
operation before shutting down the clock. Following is a list of the various bus transactions:  
• A command with no response. 8 clocks after the host command end bit.  
• A command with response. 8 clocks after the card response end it.  
• A read data transaction. 8 clocks after the end bit of the last data block.  
6.9 Reset  
GO_IDLE_STATE(CMD0) is the software reset command, which sets the MX53L00401 into the Idle State  
independently of the current state. In the Inactive State the R008 is not affected by this command.  
Afterpower-ontheMX53L00401isalwaysintheIdleState.Afterpower-onorcommandthecardwillbeinitializedwith  
a default relative card address ("0x0001"). The host runs at the identification clock rate fOD generated by a push-pull  
driver stage(see also "Chapter 9.2 Power On" for more details).  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
25  
MX53L00401  
7 SPI Mode  
7.1 Introduction  
The SPI mode consists of a secondary, optional communication protocol which is offered by Flashbased  
MultiMediaCards.ThismodeisasubsetoftheMultiMediaCardprotocol,designedtocommunicatewithaSPIchannel,  
commonly found in Motorola's (and lately a few other vendors') microcontrollers. The interface is selected during the  
first reset command after power up (CMD0) and cannot be changed once the part is powered on.  
TheSPIstandarddefinesthephysicallinkonly, andnotthecompletedatatransferprotocol. TheMultiMediaCardSPI  
implementation uses a subset of the MultiMediaCard protocol and command set. It is intended to be used by systems  
whichrequireasmallnumberofcards(typicallyone)andhavelowerdatatransferrates(comparedtoMultiMediaCard  
protocol based systems). From the application point of view, the advantage of the SPI mode is the capability of using  
an off-the-shelf host, hence reducing the design-in effort to minimum. The disadvantage is the loss of performance  
of the SPI mode versus MultiMediaCard mode (lower data transfer rate, fewer cards, hardware CS per card, etc.).  
7.2 SPI Interface Concept  
The Serial Peripheral Interface (SPI) is a general purpose synchronous serial interface originally found on certain  
Motorola microcontrollers. A virtually identical interface can now be found on certain TI and SGS Thomson  
microcontrollers as well.  
The MultiMediaCard SPI interface is compatible with SPI hosts available on the market. As in any other SPI device,  
the MultiMediaCard SPI channel consists of the following four signals:  
CS:  
CLK:  
DataIn:  
Host to card Chip Select signal.  
Host to card clock signal  
Host to card data signal.  
DataOut: Card to host data signal.  
Another SPI common characteristic is byte transfers, which is implemented in the card as well. All data tokens are  
multiples of bytes (8 bit) and always byte aligned to the CS signal.  
7.3 SPI Bus Topology  
The card identification and addressing methods are replaced by a hardware Chip Select (CS) signal. There are no  
broadcast commands. For every command, a card (slave) is selected by asserting (active low) the CS signal (see  
Figure 43).  
TheCSsignalmustbecontinuouslyactiveforthedurationoftheSPItransaction(command,responseanddata).The  
only exception occurs during card programming, when the host can deassert the CS signal without affecting the  
programming process.  
The bidirectional CMD and DAT lines are replaced by unidirectional dataIn and dataOut signals.This eliminates the  
abilityofexecutingcommandswhiledataisbeingreadorwrittenand, therefore, makesthesequentialandmultiblock  
read/write operations obsolete. Only single block read/write commands are supported by the SPI channel.  
The SPI interface uses the same 7 signals of the standard MultiMediaCard bus (see Table 21).  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
26  
MX53L00401  
CS  
CS  
SPI bus  
master  
Powly  
supply  
SPI bus (CLK, DataIN, DataOut)  
SPI  
Card  
SPI  
Card  
Figure 13: MultiMediaCard bus system  
Pin#  
MultiMediaCard Mode  
SPI Mode  
Name  
Name  
RSV  
Type 1  
Description  
Type  
Description  
1
2
3
4
5
6
7
NC  
Reserved for future use  
Command/Response  
Supply voltage ground  
Supply voltage  
Clock  
CS  
I
Chip Select (neg true)  
Data In  
CMD  
V SS1  
V DD  
CLK  
I/O/PP/OD  
DI  
I/PP  
S
VSS  
VDD  
SCLK  
VSS2  
DO  
S
Supply voltage ground  
Supply voltage  
Clock  
S
S
I
I
V SS2  
DAT  
S
Supply voltage ground  
Data  
S
Supply voltage ground  
Data Out  
I/O/PP  
O/PP  
Table 21: SPI interface pin configuration  
1) S: power supply; I: input; O: output; PP: push-pull; OD: open-drain; NC: Not connected (or logical high)  
7.4 MultiMediaCard Registers in SPI Mode  
The register usage in SPI mode is summarized in Table 22.  
Most of them are inaccessible.  
Name  
Available in SPI  
Width  
[Bytes]  
16  
Description  
mode  
Yes  
No  
CID  
Card identification data (serial number, manufacturer ID, etc.)  
RCA  
DSR  
CSD  
OCR  
No  
Yes  
Yes  
16  
32  
Card-specific data, information about the card operation conditions.  
Operation condition register.  
Table 22: MultiMediaCard registers in SPI mode  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
27  
MX53L00401  
7.5 SPI Bus Protocol  
While the MultiMediaCard channel is based on command and data bit streams which are initiated by a start bit and  
terminated by a stop bit, the SPI channel is byte oriented. Every command or data block is built of 8-bit bytes and is  
byte aligned to the CS signal (i.e. the length is a multiple of 8 clock cycles).  
SimilartotheMultiMediaCardprotocol,theSPImessagesconsistofcommand,responseanddata-blocktokens(see  
Chapter 3 for a detailed description). All communication between host and cards is controlled by the host (master).  
The host starts every bus transaction by asserting the CS signal  
low.  
The response behavior in the SPI mode differs from the MultiMediaCard mode in the following three aspects:  
• The selected card always responds to the command.  
• An additional (8 bit) response structure is used  
• When the card encounters a data retrieval problem, it will respond with an error response (which replaces the  
expected data block) rather than by a time-out, as in the MultiMediaCard mode.  
Only single block read operations are supported in SPI mode. A data block may be as big as one card sector and as  
small as a single byte. Partial block read operations are enabled by card options specified in the CSD register.  
7.5.1 Mode Selection  
The MultiMediaCard wakes up in the MultiMediaCard mode. It will enter SPI mode if the CS signal is asserted  
(negative) during the reception of the reset command (CMD0). If the card recognizes that the MultiMediaCard mode  
is required, it will not respond to the command and remain in the MultiMe-diaCard mode. If SPI mode is required, the  
card will switch to SPI and respond with the SPI mode R1 response.  
The only way to return to the MultiMediaCard mode is by entering the power cycle. In SPI mode, the MultiMediaCard  
protocol state machine is not observed. All the MultiMediaCard commands sup-ported in SPI mode are always  
available.  
7.5.2 Bus Transfer Protection  
Every MultiMediaCard token transferred on the bus is protected by CRC bits. In SPI mode, the MultiMediaCard offers  
a non-protected mode which enables systems built with reliable data links to exclude the hardware or firmware  
required for implementing the CRC generation and verification functions.  
In the non-protected mode, the CRC bits of the command, response and data tokens are still required in the tokens.  
However, they are defined as "don't care" for the transmitter and ignored by the receiver.  
The SPI interface is initialized in the non-protected mode. However, the RESET command (CMD0), which is used to  
switch the card to SPI mode, is received by the card while in MultiMediaCard mode and, therefore, must have a valid  
CRC field.  
Since CMD0 has no arguments, the content of all the fields, including the CRC field, are constants and need not be  
calculated in run time. A valid reset command is:  
0x40, 0x0, 0x0, 0x0, 0x0, 0x95  
The host can turn the CRC option on and off using the CRC_ON_OFF command (CMD59).  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
28  
MX53L00401  
7.5.3 Data Read  
The SPI mode supports single block read operations only (CMD17 in the MultiMediaCard protocol). Upon reception  
of a valid read command the card will respond with a response token followed by a data token of the length defined  
in a previous SET_BLOCKLEN (CMD16) command (refer to Figure 14).  
Next  
command  
from host  
to card  
data from card  
to host  
from card  
to host  
DataIn  
command  
command  
response  
data block  
DataOut  
CRC  
Figure 14:Read Operation  
A valid data block is suffixed with a 16-bit CRC generated by the standard CCITT polynomial x 16 +x 12 +x 5 +1.  
The maximum block length is given by READ_BL_LEN, defined in the CSD. If partial blocks are allowed (i.e. the CSD  
parameter READ_BL_PARTIAL equals 1), the block length can be any number between 1 and the maximum block  
size. Otherwise, the only valid block length for data read is given by READ_BL_LEN.  
The start address can be any byte address in the valid address range of the card.  
In case of a data retrieval error, the card will not transmit any data. Instead, a special data error token will be sent to  
the host. Figure 15 shows a data read operation which terminated with an error token rather than a data block.  
Next  
command  
from host  
to card  
data error token  
from card to host  
from card  
to host  
DataIn  
command  
command  
response  
data error  
DataOut  
Figure 15:Read Operation- Data Error  
7.5.4 Read CID/CSD Registers  
Unlike the MultiMediaCard protocol (where the register contents is sent as a command response), reading the  
contents of the CSD and CID registers in SPI mode is a simple read-block transaction. The card will respond with a  
standard response token (see Figure 14) followed by a data block of 16 bytes suffixed with a 16 bit CRC.  
The data time out for the CSD command cannot be set to the card TAAC since this value is stored in the CSD.  
Therefore, the standard response time-out value (N CR ) is used for read latency of the CSD register. And the time out  
value for CID command also is set to the standard response time (N CR, minimux N AC).  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
29  
MX53L00401  
7.5.5 Reset Sequence  
TheMultiMediaCardrequiresadefinedresetsequence.AfterpoweronresetorCMD0(softwarereset)thecardenters  
an idle state. At this state the only legal host commands are CMD1 (SEND_OP_COND) and CMD58 (READ_OCR).  
The host must poll the card (by repeatedly sending CMD1) until the "in-idle-state" bit in the card response indicates  
(by being set to 0) that the card has completed its initialization processes and is ready for the next command.  
In SPI mode, as opposed to MultiMediaCard mode, CMD1 has no operands and does not return the contents of the  
OCR register. Instead, the host may use CMD58 (available in SPI mode only) to read the OCR register. Furthermore,  
it is in the responsibility of the host to refrain from accessing cards that do not support its voltage range.  
The usage of CMD58 is not restricted to the initializing phase only, but can be issued at any time. The host must poll  
the card (by repeatedly sending CMD1) until the "in-idle-state " bit in the card response indicates (by being set to 0)  
that the card has completed its initialization processes and is ready for the next command.  
7.5.6 Error Conditions  
Unlike the MultiMediaCard protocol, in the SPI mode the card will always respond to a command. The response  
indicates acceptance or rejection of the command. A command may be rejected if it is not supported (illegal opcode),  
if the CRC check failed, or if it contained an illegal operand.  
7.5.7 Memory Array Partitioning  
Same as for MultiMediaCard mode.  
7.5.8 Application Specific commands  
Identical to MultiMediaCard mode with the exception of the APP_CMD status bit, which is not available in SPI.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
30  
MX53L00401  
7.6 SPI Mode Transaction Packets  
7.6.1 Command Tokens  
• Command Format  
All the MultiMedia card commands are 6 bytes long. The command transmission always starts with the left bit of the  
bitstring corresponding to the command codeword. All commands are protected by a CRC (see Chapter 8.1). The  
commands and arguments are listed in Table 24.  
Bit position  
Width (bits)  
Value  
47  
46  
[45:40]  
[39:8]  
[7:1]  
7
0
1
1
6
32  
1
'0'  
'1'  
x
x
x
'1'  
Description  
start bit  
transmission bit  
command index  
argument  
CRC7  
end bit  
• Command Classes  
AsinMultiMediaCardmode, theSPIcommandsaredividedintoseveralclasses(SeeTable23). Eachclasssupports  
a set of card functions. A MultiMediaCard will support the same set of optional command classes in both  
communicationmodes(thereisonlyonecommandclasstableintheCSDregister). Theavailablecommandclasses,  
and the supported command for a specific class, however, are different in the MultiMediaCard and the SPI  
communication mode.  
Card CMD Class Description  
Class(CCC)  
Supported commands  
0 1 9 10 13 16 17 24 27 28 29 30 32 33 34 35 36 37 38 42 55 56 58 59  
class 0  
class 1  
class 2  
class 3  
Basic  
+ + + +  
+
+
+
Not supported in SPI  
Block read  
+ +  
Not supported in SPI  
Table 23: Command classes in SPI mode  
• Detailed Command Description  
The following table provides a detailed description of the SPI bus commands. The responses are defined in Chapter  
7.6.2. Table 24 lists all MultiMediaCard commands. A "yes" in the SPI mode column indicates that the command is  
supported in SPI mode. With these restrictions, the command class description in the CSD is still valid. If a command  
does not require an argument, the value of this field should be set to zero. The reserved commands are also reserved  
in MultiMediaCard mode.  
The binary code of a command is defined by the mnemonic symbol. As an example, the content of the command  
index field is (binary) '000000' for CMD0 and '100111' for CMD39.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
31  
MX53L00401  
CMD  
SPI  
Argument  
Resp Abbreviation  
Command Description  
INDEX  
CMD0  
CMD1  
CMD2  
CMD3  
CMD4  
CMD5  
CMD6  
CMD7  
CMD8  
CMD9  
Mode  
Yes  
None  
None  
R1  
R1  
GO_IDLE_STATE  
resets the MultiMedia card  
Yes  
SEND_OP_COND  
activates the card's initialization process  
No  
No  
No  
reserved  
reserved  
No  
reserved  
Yes  
None  
None  
R1  
R1  
SEND_CSD  
SEND_CID  
asks the selected card to send its  
card-specific data (CSD)  
CMD10 Yes  
asks the selected card to send its  
card identification (CID)  
CMD11 No  
CMD12 No  
CMD13 Yes  
None  
R2  
SEND_STATUS  
asks the selected card to send its  
status register  
CMD14 reserved  
CMD15 No  
CMD16 Yes  
[31:0] block R1  
length  
SET_BLOCKLEN  
selects a block length (in bytes) for all  
following block commands (read and write)1  
reads a block of the size selected by  
the SET_BLOCKLEN command2  
CMD17 Yes  
[31:0] data R1  
address  
READ_SINGLE_  
BLOCK  
CMD18 No  
CMD58 Yes  
CMD59 Yes  
None  
R3  
READ_OCR  
reads the OCR register of a card  
turns the CRC option on or off. A "1" in the CRC  
option bit will turn the option on, a "0" will turn it  
off  
[31:1] stuff R1  
bits [0:0]  
CRC_ON_OFF  
CRC option  
Table 24: Commands and arguments  
1) The default block length is as specified in the CSD.  
2) The data transferred must not cross a physical block boundary unless READ_BLK_MISALIGN is set in the CSD.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
32  
MX53L00401  
• Card State Transition Table  
Although the MultiMedia protocol state machine is not abserved, the command sequence sent from host must follow  
the state transition table as below.  
State  
Idle  
ready  
data  
Command  
CMD0  
idle  
idle  
idle  
CMD1  
ready  
ready  
data  
-
-
-
-
-
-
-
-
CMD9  
-
CMD10  
CMD13  
CMD16  
CMD17  
CMD58  
CMD59  
-
data  
-
ready  
ready  
data  
-
-
idle  
-
ready  
ready  
Table 25:Card State Transition Table  
When the card finishes the read operation (CMD9, CMD10, CMD17) the state is changed from data state to ready  
state, automatically.  
7.6.2 Responses  
There are several types of response tokens. As in the MultiMediaCard mode, all are transmitted  
MSB first:  
• Format R1  
This response token is sent by the card after every command, with the exception of SEND_STATUS commands. It  
is one byte long, and the MSB is always set to zero. The other bits are error indica-tions, an error being signaled by  
a '1'. The structure of the R1 format is given in Figure 48. The meaning of the flags is defined as follows:  
In idle state: The card is in idle state and running the initializing process.  
Erase reset: An erase sequence was cleared before executing because an out of erase sequence command was  
received.  
Illegal command: An illegal command code was detected.  
Communication CRC error: The CRC check of the last command failed.  
Erase sequence error: An error occurred in the sequence of erase commands.  
Address error:A misaligned address, which did not match the block length, was used in the command.  
Parameter error: The command's argument (e.g. address, block length) was out of the allowed range for this card.  
7
0
0
0
0
0
in idle state  
illegal command  
com crc error  
parameter error  
Figure 16: R1 Response Format  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
33  
MX53L00401  
• Format R2  
This response token is two bytes long and sent as a response to the SEND_STATUS command.  
The format is given in Figure 17.  
1.Byte  
2.Byte  
0
7
0
0
7
0
0
0
0
0
0
0
0
0
0
out of range  
in idle state  
illegal command  
com crc error  
parameter error  
Figure 17: R2 response format  
The first byte is identical to the response R1. The content of the second byte is described in the following:  
out of range | csd_overwrite: This status bit has two functions. It is set if the command argument was out of its  
valid range or if the host is trying to change the ROM section or reverse the copy bit (set as original) or permanent  
WP bit (un-protect) of the CSD register.  
Erase param: An invalid selection, sectors or groups, for erase.  
Write protect violation: The command tried to write a write-protected block.  
Card ECC failed: Card internal ECC was applied but failed to correct the data.  
CC error: Internal card controller error.  
Error: A general or an unknown error occurred during the operation.  
Write protect erase skip | lock/unlock command failed: This status bit has two functions. It is set when the host  
attempts to erase a write-protected sector or if a sequence or password error occurred during a card lock/unlock  
operation.  
Card is locked: Set when the card is locked by the user. Reset when it is unlocked.  
• Format R3  
This response token is sent by the card when a READ_OCR command is received. The response length is 5 bytes  
(see Figure 18). The structure of the first (MSB) byte is identical to response type R1. The other four bytes contain  
the OCR register.  
0
39  
0
32 31  
R1  
OCR  
Figure 18:R3 Response Format  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
34  
MX53L00401  
7.6.3 Data Tokens  
Read and write commands have data transfers associated with them. Data is being transmitted or received via data  
tokens. All data bytes are transmitted MSB first.  
Data tokens are 4 to 515 bytes long and have the following format:  
• First byte: Start Byte  
7
1
0
0
1
1
1
1
1
1
• Bytes 2-513 (depends on the data block length): User data  
• Last two bytes: 16 bit CRC.  
7.6.4 Data Error Token  
Ifareadoperationfailsandthecardcannotprovidetherequireddata,itwillsendadataerrortokeninstead.Thistoken  
is one byte long and has the following format:  
7
0
0
0
0
0
0
0
0
out of range  
Figure 19: Data Error Token  
The 4 least significant bits (LSB) are the same error bits as in the response format R2.  
7.6.5 Clearing Status Bits  
As described in the previous paragraphs, in SPI mode, status bits are reported to the host in three different formats:  
response R1, response R2 and data error token (the same bits may exist in multiple response types - e.g Card ECC  
failed)  
AsintheMultiMediaCardmode,errorbitsareclearedwhenreadbythehost,regardlessoftheresponseformat.State  
indicators are either cleared by reading or in accordance with the card state.  
The following table summarizes the set and clear conditions for the various status bits:  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
35  
MX53L00401  
Identifier  
Included  
in resp  
Type 1  
Value  
Description  
Clear  
Cond  
ition 2  
Out of range  
R2  
E R X  
E R X  
E R X  
E R X  
S R  
"0"=no error  
"1"=error  
The command argument was out  
of the allowed range for this card.  
An error in the parameters of the  
command  
C
C
C
C
A
DataErr  
R1 R2  
Parameter  
command.  
Com CRC  
"0"=no error  
"1"=error  
R1 R2  
R1 R2  
R1 R2  
"0"=no error  
"1"=error  
The CRC check of the previous  
command failed  
Illegal com-  
mand  
"0"=no error  
"1"=error  
Command not legal for the card state  
In Idle state  
0 = Card is ready The card enters the idle state after  
1 = Card is in idle power up or reset command. It will  
state  
exit this state and become ready  
upon completion of its initialization  
procedures.  
Table 26: SPI mode status bits  
1) Type:  
E: Error bit.  
S: State bit.  
R: Detected and set for the actual command response.  
X: Detected and set during command execution. The host must poll the card by issuing the status command in order  
to read these bits.  
2) Clear Condition:  
A: According to the card current state.  
C: Clear by read  
7.7 Card Registers  
In SPI mode, only the OCR, CSD and CID registers are accessible. Their format is identical to the format in the  
MultiMediaCard mode. However, a few fields are irrelevant in SPI mode.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
36  
MX53L00401  
7.8 SPI Bus Timing Diagrams  
All timing diagrams use the following schematics and abbreviations:  
H
Signal is high (logical '1')  
Signal is low (logical '0')  
Don't care  
L
X
Z
High impedance state (-> = 1)  
Repeater  
*
Busy  
Busy Token  
Command  
Response  
Data block  
Command token  
Response token  
Data token  
All timing values are defined in Table 27. The host must keep the clock running for at least NCR clock cycles after  
receiving the card response. This restriction applies to both command and data response tokens.  
7.8.1 Command / Response  
• Host Command to Card Response - Card is ready  
The following timing diagram describes the basic command response (no data) SPI transaction.  
H
X
Z
H
X
Z
L
L
L
L
H
H
L
L
L
H
H
H
X
H
X
Z
CS  
********************  
H
X
<-N ->  
EC  
<-N ->  
CS  
H
H
H
H
H
H
H
H
H
H
DataIN  
H
H
6 Bytes Command  
*********  
H
H
H
*********  
<-N ->  
CR  
1 or 2 Bytes Response  
Z
H
H
H
H
H
H
H
Z
H
DataOut  
• Card Response to Host Command  
L
H
H
L
H
H
L
L
L
L
L
H
H
H
X
H
X
Z
CS  
********************  
H
X
H
H
H
H
H
H
H
H
H
H
DataIN  
H
H
H
H
H
H
H
H
6 Bytes Command  
**********  
*********  
<-N ->  
RC  
1 or 2 Bytes Response  
H
H
H
H
Z
DataOut  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
37  
MX53L00401  
7.8.2 Data read  
• The following timing diagram describes all read operations with the exception of SEND_CSD command.  
H
X
Z
L
L
L
L
L
L
H
X
H
X
Z
H
X
Z
CS  
********************  
H
X
<-N ->  
EC  
<-N ->  
CS  
H
H
H
H
H
H
H
H
H
H
DataIN  
H
H
H
H
H
H
Read Command  
***************  
<-N ->  
<-N ->  
CR  
AC  
Z
H
Data Block  
H
H
H H  
H
H
H
H
H
H
Z
H
DataOut  
Card Response  
********  
• Reading the CSD,CID register  
The following timing diagram describes the SEND_CSD command bus transaction. The timeout val-ues for the  
response and the data block are N CR (Since the N AC is still unknown).  
H
X
Z
L
L
L
L
L
L
H
X
H
X
Z
H
X
Z
CS  
********************  
H
X
<-N ->  
EC  
<-N ->  
CS  
H
H
H
H
H
H
H
H
H
H
DataIN  
H
H
H
H
H
H
Read Command  
***************  
<-N ->  
<-N ->  
CR  
CR  
Z
H
Data Block  
H
H
H H  
H
H
H
H
H
H
Z
H
DataOut  
Card Response  
********  
7.8.3 Timing Values  
MIN  
0
MAX  
UNIT  
N CS  
N CR  
N RC  
N AC  
N WR  
N EC  
N DS  
-
1
-
8 clock cycles  
8 clock cycles  
8 clock cycles  
8 clock cycles  
8 clock cycles  
8 clock cycles  
8 clock cycles  
1
1
1
spec. in the CSD  
1
-
-
-
0
0
Table 27: Timing values  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
38  
MX53L00401  
7.9 SPI Electrical Interface  
Identical to MultiMediaCard mode with the exception of the programmable card output drivers option, which is not  
supported in SPI mode.  
7.10 SPI Bus Operating Conditions  
Identical to MultiMediaCard mode.  
7.11 Bus Timing  
Identical to MultiMediaCard mode. The timing of the CS signal is the same as any other card input. Min Max Unit  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
39  
MX53L00401  
8 Error handling  
TheMX53L00401isdefinedasanerrorfreedevice. Toprotectthedataagainsterrorsgeneratedduringthetransport  
overtheMultiMediaCardbusdynamically,anadditionalfeatureisimplemented:Thecyclicredundancycheck(CRC).  
8.1 CRC  
Following the MultiMediaCard standard, the MX53L00401 uses two different CRC codes to protect the data and the  
command/response transfer between card and host. The CRC is intended only to detect transfer errors and not to  
correct them "on the fly". If a CRC error is detected the host has to react. This is normally done by repeating the last  
command.  
The first CRC code is intended to protect the command and response frames. They are also used to synchronize the  
data stream. This CRC is generated with and checked against the following polyno-mial:  
CRC polynomial: G(x) = x7 + x 3 + 1  
M(x) = (start bit) * x 39 +...+ (last bit) * x 0  
CRC[6...0] = Remainder [(M(x) * x 7 ) / G(x)]  
One CRC is checked in the MX53L00401 for every command. For each response a CRC is generated in the  
MX53L00401. On CRC failure the command will be ignored and a response is sent to initiate a repeti-tion of the  
command by the host. Each data block read from the MX53L00401 will be succeeded by redun-dancybits generated  
with the second CRC. The code is usable for payload lengths of up to 2048 Bytes:  
CRC polynomial: G(x) = x 16 + x 12 +x 5 + 1,  
M(x) = (start bit) * x n + x n-1 +...+ (last bit) * x 0 , with n < 2048*8  
CRC[15...0] = Remainder [(M(x) * x 16 ) / G(x)]  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
40  
MX53L00401  
9 Power supply  
9.1 Power supply decoupling  
The VSS1, VSS2 and VDD lines supply the card with operating voltage. A decoupling capacitor (C) for current peak  
buffering has to be foreseen. This capacitor is placed on the bus side corresponding to Figure 20.  
single card solt  
Length max=13mm  
VDD  
C
VSS1  
VSS2  
Card  
single card slot  
Figure 20: Power supply decoupling  
9.2 Power on  
Each card has its own power on detection circuitry which puts the card into a defined state after the power-on. No  
explicit reset signal is necessary. The cards can also be reset by a special software command: GO_IDLE_STATE  
(CMD0). In case of emergency the host may also reset the cards by switching the power supply off and on again.  
CLK  
CMD  
DAT  
VDD  
ENABLE  
ASYNC RESET  
Command  
parser  
core  
controller  
memory  
core  
Power up  
detection  
VSS  
MultiMediaCard controller  
Figure 21: Power on detection  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
41  
MX53L00401  
A power-on-reset is generated on chip as long as VDD is below a certain value. After the power on reset the command  
parser of the MX53L00401 works properly, but the access to the memory core is not guaranteed as long as VDD min  
is not reached. Therefore in the power up phase (or when the MX53L00401 is inserted during power up) the host has  
towaitaftersendingtheSEND_OP_CONDcommand(CMD1)fortheidentificationdelay.AfterthattheALL_SEND_CID  
command(CMD2) can be interpreted by the card:  
Supply voltage  
VDD max [3.6]  
Bus master  
supply voltage  
Memory field  
working voltage  
range  
Card logic working  
voltage range  
VDD min [2.0V]  
TIME  
Supply ramp up time  
Initlization sequence  
Identification delay:  
Power up time  
N
CC  
N
CC  
NCC  
CMD1  
CMD1  
CMD1  
CMD2  
Optional repetitions of CMD1  
until no cards are responding  
with busy bit set.  
The maximum of 1 msec,  
74 clock cycles  
and supply ramp up time  
Figure 22: Power up diagram  
For the MX53L00401 the following minimum initialization and identification delays are defined:  
Description  
Symbol  
Minimum Value  
Initialization delay  
t init  
1 ms  
@ f clk >64kHz  
@ f clk <64kHz  
64 cycles  
Identification delay  
t ident  
1 ms  
Table 28: Initialization and identification delays  
The initialization delay is relevant only after the system power up (>1 ms, at least 64 clock cycles).  
The identification delay is relevant for system power up and card hot insertion (> 1 ms). The MX53L00401 ignores  
all commands until the sequence CMD1, CMD2 is received and the RCA of the card is ini-tialized. The initialization  
delay guarantees enough time for V DD to reach the minimum operating voltage on the MultiMediaCard bus. The  
identification delay guarantees enough time for V DD to reach the minimum operating voltage internally in the  
MultiMediaCard.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
42  
MX53L00401  
9.3 Power consumption  
The MX53L00401 power consumption depends on three parameters:  
• The operating frequency  
• The operating voltage  
• The card state  
In the following table the supply current and the power consumption of one MX53L00401 for typical operating  
conditions are listed. These parameters are typical values to give system designers some hints, all guaranteed  
parameters are listed in "Chapter 10.2: Electrical characteristics":  
Description  
Frequency  
Card state  
2.7V  
3.6V  
Clock off  
0 Hz 1  
stby  
< 100uA  
< 200uA  
Low speed  
Initialzation  
High speed  
100kHz  
400kHz2  
20MHz  
data, tran  
< 5mA  
< 5mA  
idle, ready,  
ident, ina  
stby  
data, tran  
< 25mA  
< 35mA  
Table29:TypicalMX53L00401supplycurrentvalues  
1 Host has stopped generation of clock pulses.  
2 In the initialization phase. No access to the memory core.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
43  
MX53L00401  
9.4 Short cut protection  
The MX53L00401 can be inserted/removed into/from the bus without damage. If one of the supply pins (VDD , VSS or  
VPP ) is not connected properly, then the current is drawn through a data line to supplythe card. Naturally the card can  
not operate properly under these conditions.  
V
DD  
V
DD not connected  
Card  
Control  
CMD, DAT  
V
SS not connected  
V
SS  
Figure 23: Improper power supply  
Every MX53L00401 output withstands shortcuts to either supply.  
V
DD  
I short  
CMD, DAT  
Card  
Control  
I short  
VSS  
Figure 24: Short cut protection  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
44  
MX53L00401  
10 Characteristics  
This chapter defines the following characteristics:  
• Temperature characteristics  
• Electrical characteristics  
• Mechanical characteristics  
10.1 Temperature characteristics  
Parameter  
Symbol  
TSTG  
TA  
Min  
-40  
-25  
Max  
85  
Unit  
°C  
Storage Temperature  
Operating temperature  
85  
°C  
Table 30: Temperature characteristics  
10.2 Electrical characteristics  
In this chapter the electrical characteristics for the MX53L00401 are defined in three steps:  
• Pad characteristics: properties of the external connectors  
• Absolute maximum ratings: if exceeded the card may be damaged  
• Recommendedoperatingconditions:characterizationmodeloftheenvironmentoftheMX53L00401,requirements  
for the operating characteristics  
• Operatingcharacteristics:propertiesoftheMX53L00401measurableiftherecommendedoperatingconditionsare  
considered  
10.2.1 Pad characteristics  
Parameter  
Symbol  
Min Typ  
10 30  
Max  
Unit  
Connector Resistance  
100  
m ohm Counterpart is the MultiMediaCard  
connectordefinedintheMultiMediaCard  
system specification[1], Chapter 8,  
"Mechanical specification"  
Input Capacitance  
5
pF  
Table 31: Pad characteristics  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
45  
MX53L00401  
10.2.2 Absolute maximum ratings  
Absolute maximum ratings are those values beyond which damage to the device may occur. Func-tional operation  
undertheseconditionsoratanyotherconditionbeyondthoseindicatedintheoperationalsectionsofthisspecification  
is not implied:  
TA -20 ... 85 °C, VDD 2 ... 3.6V unless otherwise stated  
Parameter  
Symbol  
Min  
Max  
4.6  
0.9  
4
Unit  
V
Remark  
supply voltage  
total power dissipation  
ESD protection  
latch-up protection  
inputs  
V DD  
-0.5  
W
-4  
kV  
mA  
Human Body Model  
all inputs/outputs  
-100  
100  
input voltage  
V Imax  
-0.5V  
-0.5V  
VDD +0.5  
V
< VDDmax  
outputs  
output voltage  
high-level output current  
low-level output current  
V Omax  
VDD +0.5  
100  
V
< VDDmax  
| I OH  
| I OL  
|
mA  
mA  
short cut protected  
short cut protected  
|
150  
Table 32: Absolute Maximum Ratings  
10.2.3 Recommended operating conditions  
The recommended operating conditions define the parameter ranges for optimal performance and durability of the  
MX53L00401.  
TA -20 ... 85 °C, VDD 2 ... 3.6V unless otherwise stated  
Parameter  
Symbol  
Min  
Typ  
Max  
Unit Remark  
supply voltage  
V DD  
2.0  
3.6  
V
inputs  
low-level input voltage  
high-level input voltage  
outputs (push pull mode)  
high-level output current  
low-level output current  
VIL  
V IH  
VSS-0.3  
0.625 VDD  
0.25V DD  
VDD+0.3  
V
V
| I OH |  
| I OL |  
2
2
mA  
mA  
clock input clk (all values are referred to min(VIH ) and max(VIL ))  
clock frequency data transfer mode(pp)  
clock frequency data transfer mode(pp)  
clock frequency ident. mode (od)  
f CLK  
f CLK  
f CLK  
0
0
0
20  
5
MHz <= 10 cards,  
CLmaxCMD,DAT =100pF,  
Rpullup = 4.7k  
MHz <= 30 cards,  
CLmaxCMD,DAT =250pF,  
Rpullup = 1.65k  
kHz <= 30 cards,  
CLmaxCMD,DAT =250pF,  
Ropen drain = 1.65k  
400  
clock low time  
clock high time  
tWL  
tWH  
10  
10  
ns  
ns  
S. Figure 20  
S. Figure 20  
Table 33. Recommended Operating Condition  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
46  
MX53L00401  
10.2.4 Operating characteristics  
The operating characteristics are parameters measured in a MultiMediaCard system assuming the recommended  
operating conditions (see "Chapter 10.2.3: Recommended operating conditions") and the temperature range as  
defined in "Chapter 10.1: Temperature characteristics").  
The guaranteed power consumption does not include the current consumed by external units.  
Parameter  
Symbol  
Min  
Max  
Unit  
Remark  
Supply Current  
I DD1  
100  
uA  
Standby state, Clock = 0Hz,  
V DD = 2.7V, VIH CMD,CLK = V DD  
Transfer state, Clock = 400kHz,  
V DD = 2.7V, VIH CMD,CLK = V DD  
VIL CMD,CLK = GND  
Supply Current  
Supply Current  
Supply Current  
I DD2  
I DD3  
I DD4  
10  
25  
35  
mA  
mA  
mA  
Transfer state, Clock = 20MHz,  
V DD = 2.7V, VIH CMD,CLK = V DD  
VIL CMD,CLK = GND  
Transfer state, Clock = 20MHz,  
V DD = 3.6V, VIH CMD,CLK = V DD  
VIL CMD,CLK = GND  
Table 34: Guaranteed power consumption  
All operating characteristics are measured assuming the following load model for each output:  
ThestandardinputcapacityisCcard =7pF. ThestandardbuscapacitanceisassumedtobeCbus =30pF. Themaximum  
numberofcardswhichcanbedriveninaMultiMediaCardstackatfullspeed(20MHz)is10. Thisleadstothefollowing  
reference capacitance:  
C L10 = n * C catd + C bus +10 * 7pF 30pF = 100pF  
card output  
C
L
Figure25:Testcircuit  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
47  
MX53L00401  
Parameter  
Symbol Min  
Max  
Unit  
Remark  
All Digital Inputs (Including I/O)  
Input Leakage Current  
All Outputs (push pull mode)  
High-Level Output Voltage  
Low-Level Output Voltage  
ILI  
10  
uA  
0V < VIN < VDD  
V OH  
V OL  
0.75VDD  
V
V
V
at I OHMIN  
at I OLMIN  
at I OLMIN  
0.125VDD  
0.3V  
Low-Level Output Voltage (open drain mode) VOL  
Command Input: CMD (Related to CLK)  
Input setup time  
t ISU  
3
3
ns  
ns  
S. Figure 26  
S. Figure 26  
Input hold time  
t IH  
Outputs: CMD, DAT (Related to CLK)  
Output setup time  
Hold time  
t OSU  
t OH  
5
5
ns  
ns  
S. Figure 26  
S. Figure 26  
Table 35. Operating characteristics  
At a reduced clock rate the card can drive a load of up to 30 cards:  
C L30 = n * C catd + C bus = 30 * 7pF + 40pF = 250pF  
With this load capacity the operating frequency is reduced to 5MHz.  
tPP  
tWH  
tWL  
VIH  
CLOCK  
Input  
VIL  
tHL  
tLH  
tIH  
VIH  
VIL  
Valid  
Valid  
tISU  
VOH  
VOL  
Valid  
Valid  
Output  
tOH  
tOSU  
Figure 26: Timing Diagram of Data Input and Output  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
48  
MX53L00401  
The access time (t AT ) is divided into two parts:  
TSAD :Thesynchronousaccesstime.Thistimedefinesthetimeofthemaximumnumberofcycleswhicharerequired  
to access a byte of the memory field.  
• T AAD : The asynchronous access time to read a byte out of the memory field The synchronous part of the access  
time is seven cycles. At 20 MHz one cycle is 50 ns (1/f CLK ), multiplied with NSAD the resulting frame time is T SAD  
=15 us. The asynchronous access delay of the MX53L00401 is T AAD =0. The resulting memory access time t AT  
is equal to the sum of both parts:  
N
SAD  
t
AT = tAAD + TSAD  
with  
TSAD =  
f
CLK  
tAT  
tSAD  
tAAD  
CMD  
DAT  
command frame  
response frame  
data  
Figure 27: Access Time  
Parameter  
Symbol  
N SAD  
T SAD  
T AAD  
t AT  
Max  
300  
15  
Unit  
cycles  
us  
Remark  
Synchronous access delay cycles  
Synchronous access delay  
Asynchronous access delay  
Memory access time  
@20MHZ clock frequency  
@20 MHZ clock frequency  
0
us  
15  
us  
Table 36: Access Time  
In the CSD are two fields to code the asynchronous and the synchronous access delay time:  
• TAAC, asynchronous access delay  
• NSAC, maximum number of cycles for receiving and interpreting of a command frame  
ThevaluefortheCSDfieldNSACiscalculatedfromNSAD (maximum:300cycles)bydivisionwith100androunding  
up to the next integer:  
• NSAC=0x03(300 cycles)  
• TAAC=0x08(1ns)  
For more details on NSAC and TAAC CSD-entries see "Chapter 5.3: Card specific data (CSD)".  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
49  
MX53L00401  
10.3 Mechanical characteristics  
• MX53L00401 form factor: 24mm x 32mm x 1.4mm (WxLxH):  
R0.2 MIN  
PAD SIDE  
ALL AROUND  
0.2  
R0.2 MIN  
1.4 + 0.1  
ALL AROUND  
4.5 MIN  
3 x R1.0 + 0.1  
1.2MAX  
1.65 + 0.4  
0.1 M  
7
6
5
6 x 2.5 =15.0  
6.875  
4
3
2
24.00 + 0.08  
1
4.0 + 0.1  
4.0 + 0.1  
32.0 + 0.1  
2 x R0.5 + 0.1  
Figure 28: ROM MultiMediaCard shape  
Additional informations regarding mechanical topics, like connectors, environmental and testing parameters are part  
of a special document: [2].  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
50  
MX53L00401  
10.4 Label Dimension  
Each card has two sides : "marking" side (the side with 7 pins) shows the factory's manufacturing information; "label"  
side is an area where where the label is stuck on the surface for the purpose of promotion and advertisement.  
Label size is defined as following :  
4.0 + 0.1  
4.0 + 0.1  
20.3 REF.  
LABEL  
32.0 + 0.1  
R0.76 TYP  
24.00 + 0.08  
Label thickness: 0.076mm REF.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
51  
MX53L00401  
11.Application notes  
Additional application specific informations are available for the following topics:  
A guideline for MultiMediaCard integration into application: The MultiMediaCard Adapter[2].  
This document describes also an generic VHDL model of the adapter.  
12.References  
[1] The MultiMediaCard, System Specification 1.4, MultiMediaCard Definition Group, March 1998  
[2] The MultiMediaCard Adapter, Version 5.1, SIEMENS AG, June 1998  
13.Number representations  
• hexadecimal numbers: 0xAB, leading 0x, each digit represents 4 bits.  
• binary numbers (single bit):"0".  
• binary number (unsigned bit vector):"100100".  
• 1k is equal to 1024.  
• 1M is equal to 1k * 1k.  
P/N: PM0998  
REV. 1.0, APR. 10, 2003  
52  
MX53L00401  
MACRONIX INTERNATIONAL CO., LTD.  
HEADQUARTERS:  
TEL:+886-3-578-6688  
FAX:+886-3-563-2888  
EUROPE OFFICE:  
TEL:+32-2-456-8020  
FAX:+32-2-456-8021  
JAPAN OFFICE:  
TEL:+81-44-246-9100  
FAX:+81-44-246-9105  
SINGAPORE OFFICE:  
TEL:+65-348-8385  
FAX:+65-348-8096  
TAIPEI OFFICE:  
TEL:+886-2-2509-3300  
FAX:+886-2-2509-2200  
MACRONIX AMERICA, INC.  
TEL:+1-408-453-8088  
FAX:+1-408-453-8488  
CHICAGO OFFICE:  
TEL:+1-847-963-1900  
FAX:+1-847-963-1909  
http : //www.macronix.com  
MACRONIX INTERNATIONAL CO., LTD. reserves the right to change product and specifications without notice.  
53  

相关型号:

MX53L00801LC-50

Flash Card, 64MX1, CARD-7
Macronix

MX53L01601

Micro Peripheral IC
Macronix

MX53L01601LC-10

Flash Card, 128MX1, CARD-7
Macronix

MX53L03202L-50

Flash Card, 256MX1, CARD-7
Macronix

MX53L06402L-50

Flash Card, 64MX1, CRAD-7
Macronix

MX53L12801LC

Flash Card, 128MX1, CARD-7
Macronix

MX53L25600LC-20

Flash Card, 256MX1, CARD-7
Macronix

MX53L25600LC-50

Flash Card, 256MX1, CARD-7
Macronix

MX553BBB156M250

Ultra-Low Jitter 156.25MHz LVDS XO
MICROCHIP

MX553BBB156M250-TR

Ultra-Low Jitter 156.25MHz LVDS XO
MICROCHIP

MX553BBD156M250

OSC XO 156.2500MHZ HCSL SMD
MICROCHIP

MX553BHA156M250

Ultra-low Jitter 156.25MHz LVPECL XO
MICREL