MC56U032NCFA Samsung Semiconductor, Inc., MC56U032NCFA Datasheet

no-image

MC56U032NCFA

Manufacturer Part Number
MC56U032NCFA
Description
Flash Card
Manufacturer
Samsung Semiconductor, Inc.
Datasheet
TM
MultiMediaCard
MultiMediaCard Specification
Version : Ver. 0.9
Date 4 – June - 2004
Samsung Electronics Co., LTD
Semiconductor Flash Memory Product Planning & Applications
1

Related parts for MC56U032NCFA

MC56U032NCFA Summary of contents

Page 1

TM MultiMediaCard MultiMediaCard Specification Semiconductor Flash Memory Product Planning & Applications Version : Ver. 0.9 Date 4 – June - 2004 Samsung Electronics Co., LTD 1 ...

Page 2

TM MultiMediaCard Revision History Revision No. 0.0 1. Initial Draft 0.1 1. Changed CSD filed 2. Added Command Response Timing 3. Added SPI Bus Timing 0.2 1. Added Ordering Information (page 6) 2. Added Power Consumption (page 13) 0.3 1. ...

Page 3

TM MultiMediaCard 1 Introduction to the MultiMediaCard ----------------------------------------------------------- 5 1.1 System Features ----------------------------------------------------------------------------------------- 5 1.2 Product Model -------------------------------------------------------------------------------------- 5 2 Function Description ------------------------------------------------------------------------------- 7 2.1 Flash Technology Independence ------------------------------------------------------------------ 7 2.2 Defect and Error Management --------------------------------------------------------------------- 7 2.3 Endurance ----------------------------------------------------------------------------------------------- ...

Page 4

TM MultiMediaCard 4.5.3 Relative Card Address (RCA) ----------------------------------------------------------------------- 21 4.5.4 Card Specific Data (CSD) ---------------------------------------------------------------------------- 22 4.6 MultiMediaCard Communication -------------------------------------------------------------------- 30 4.6.1 Commands ----------------------------------------------------------------------------------------------- 30 4.7 Read, Write and Erase Time-out Conditions ----------------------------------------------------- 33 4.8 Card Identification Mode ------------------------------------------------------------------------------ 34 ...

Page 5

... Maximum data rate with cards - Correction of memory field errors - Built-in write protection features (permanent and temporary) - Comfortable erase mechanism - 2.7 to 3.6 volts operation 1.2 Product Model Table 1-1 MultiMediaCard Capacities (Packing Type:Bulk Type I) Model Number MC56U032NCFA-0QC00 MC12U064NBFA-0QC00 MC1GU128NAFA-0QC00 MC2DU256NAFA-0QC00 MC2GU512NMCA-0QC00 MC2GU01GNMCA-0QC00 MC56U032HCCA-0QC00 MC12U064HACA-0QC00 MC1GU128HACA-0QC00 ...

Page 6

TM MultiMediaCard Table 1-2 Ordering Information M(1) C(2) X(3) X(4) X(5) X(6) X(7) X(8) X(9) X(10) X(11) X(12) –(13) X(14) X(15) X(16) X(17) X(18) (1) Module : M (2) Card : C (3) ~(4) : Flash Density 28 : 128Mb ...

Page 7

TM MultiMediaCard 2 Function Description 2.1 Flash Technology Independence The 512 byte sector size of the MultiMediaCard is the same as that in an IDE magnetic disk drive. To write or read a sector (or multiple sectors), the host computer ...

Page 8

TM MultiMediaCard An important feature of the MultiMediaCard is automatic entrance and exit from sleep mode. Upon completion of an operation, the MultiMediaCard will enter the sleep mode to conserve power if no further commands are received within 5 msec ...

Page 9

TM MultiMediaCard 2.6.5 Memory Array Partitioning Although the MultiMediaCard memory space is byte addressable with addresses ranging from 0 to the last byte not a simple byte array but divided into several structures. Memory bytes are grouped into ...

Page 10

TM MultiMediaCard 2.6.7 Data Protection in the Flash Card Every sector is protected with an Error Correction Code (ECC). The ECC is generated (in the memory card) when the sectors are written and validated when the data is read. If ...

Page 11

TM MultiMediaCard The host can read the CSD register and alter the host controlled data bytes using the SEND_CSD and PROGRAM_CSD commands. SPI Mode 2.7 The SPI mode is a secondary (optional) communication protocol offered for MultiMediaCard. This mode is ...

Page 12

TM MultiMediaCard 2.7.9 Write Protection Same as in MultiMediaCard mode 12 ...

Page 13

TM MultiMediaCard 3 Product Specifications 3.1 Recommended Operating Conditions The recommended operating conditions define the parameter ranges for optimal performance and durability of MultiMediaCard. Parameter Supply Voltage Inputs Low-level input voltage High-level Input voltage Outputs High-level output current Low-level output ...

Page 14

TM MultiMediaCard 3.2 Operating Characteristics The operating characteristics are parameters measured in a MultiMediaCard system assuming the recommended operating conditions. Parameter High 32MB speed 64MB supply 128MB current 256MB 512MB Minimal 32MB supply 64MB current 128MB 256MB 512MB All digital ...

Page 15

TM MultiMediaCard Figure 3-1 Timing Diagram of Data Input and Output 3.3 System Environmental Specifications Operating Temperature Non-Operating Humidity Non-Operating Acoustic Noise Operating Vibration Non-Operating Operating Shock Non-Operating 3.4 System Reliability and Maintenance MTBF Preventive Maintenance Data Reliability Endurance -25’C ...

Page 16

TM MultiMediaCard 3.5 Physical Specifications Dimensions of Normal MMC(24mm x 32mm x 1.4mm) Dimensions of RS-MMC(24mm x 18mm x 1.4mm) 16 ...

Page 17

TM MultiMediaCard 4 MultiMediaCard Interface Description 4.1 Pin Assignments in MultiMediaCard Mode Table 4-1 MultiMediaCard Pad Definition Pin No Note : 1. S: power supply; I: input; O: output; PP: push-pull; OD: open-drain; ...

Page 18

TM MultiMediaCard 4.2 Pin Assignments in SPI Mode Table 4- 2 SPI Pad Definition Pin No Note : 1. S: power supply; I: input; O: output; PP: push-pull; OD: open-drain; NC: No connection ...

Page 19

TM MultiMediaCard rising and falling edges). If the host does not allow the switchable R be used. Consequently the maximum operating implementation, a fix R the maximum operating frequency in the open drain mode has to be reduced in this ...

Page 20

TM MultiMediaCard 4.5 Registers Table 4-3 MultiMediaCard Information Registers Name Width OCR 32 Programmed by the manufacturer. Read only for user CID 128 Programmed by the manufacturer. Read only for user RCA 16 Programmed during initialization, not readable CSD 128 ...

Page 21

TM MultiMediaCard OCR Slice D31 D[30-24] D23 D22 D21 D20 D19 D18 D17 D16 D15 D14 D13 D12 D11 D10 D[6-0] 4.5.2 Card Identification (CID) This register contains the card identification information used during the card identification ...

Page 22

TM MultiMediaCard 4.5.3 Relative Card Address (RCA) The 16-bit relative card address register carries the card address assigned by the host during the card identification. This address is used for the addressed host to card communication after the card identification ...

Page 23

TM MultiMediaCard C_SIZE_MULT Device size multiplier Erase group size ERASE_GRP_SIZE ERASE_GRP_MULT Erase group size multiplier Write protect group WP_GRP_SIZE size Write protect group WP_GRP_ENABLE enable DEFAULT_ECC Manufacturer default ECC R2W_FACTOR Write speed factor Max. write data WRITE_BLK_LEN block length WRITE_BLK_PARTIAL ...

Page 24

TM MultiMediaCard SPEC_VERS Defines the Spec 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 spec versions. SPEC_VERS “0011” The Spec version of ...

Page 25

TM MultiMediaCard 7 These MultiMediaCards support a transfer rate between 0 and 20Mb/s. The parameter TRAN_SPEED is 0x2A. CCC The MultiMediaCard command set is divided into subsets (command classes). The card command class register CCC defines which command classes are ...

Page 26

TM MultiMediaCard WRITE_BLK_MISALIGN is permanently assigned to the value “0”, signaling that crossing physical block boundaries is not allowed. READ_BLK_MISALIGN Defines if the data block to be read by one command can be spread over more than one physical block ...

Page 27

TM MultiMediaCard Maximum Supply Current Consumption at VCC = 2.7 V VDD_R_CURR_MIN / VDD_W_CURR_MIN 2:0 VDD_R_CURR_MAX, VDD_W_CURR_MAX The maximum supply current at the maximum supply voltage VCC (3 coded as follows: Maximum Supply Current Consumption at VCC = ...

Page 28

TM MultiMediaCard WP_GRP_SIZE The size of a write protection group. The content of this register is a binary coded value defining the number of erase group. This parameter's value is 8, which means that a write protect group size is ...

Page 29

TM MultiMediaCard shown in table “File_Formats” COPY Defines if the contents are an original (= copy (= 1). The COPY bit is a one time programmable bit, being set by the customer. PERM_WRITE_PROTECT Permanently protects the whole ...

Page 30

TM MultiMediaCard 4.6 MultiMediaCard Communication All communication between host and cards is controlled by the host (master). The host sends commands and, depending on the command, receives a corresponding response from the selected card. In this chapter the commands to ...

Page 31

TM MultiMediaCard 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 ...

Page 32

TM MultiMediaCard [15:0] stuff bits CMD10 ac [31:16] RCA [15:0] stuff bits CMD11 adtc [31:0] data address CMD12 ac [31:0] stuff bits CMD13 ac [31:16] RCA [15:0] stuff bits CMD14 reserved CMD15 ac [31:16] RCA [15:0] stuff bits CMD16 ac ...

Page 33

TM MultiMediaCard CMD29 ac [31:0] data address CMD30 adtc [31:0] write protect data address CMD31 Reversed CMD35 ac [31:0] data address CMD36 ac [31:0] data address CMD38 ac [31:0] stuff bits R1b CMD42 adtc [31:0] stuff bits R1b CMD55 ac ...

Page 34

TM MultiMediaCard Read The read access time is defined as the sum of the two times given by the CSD parameters TAAC and NSAC (refer to Table “Card Specific Data (CSD)”). These card parameters define the typical delay between the ...

Page 35

TM MultiMediaCard (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 ...

Page 36

TM MultiMediaCard Figure 4-3 MultiMediaCard State Diagram (Data Transfer Mode) The command SELECT_DESELECT_CARD (CMD7) is used to select one card and place it in the Transfer State previously selected card is in the Transfer State its connection with ...

Page 37

TM MultiMediaCard defined. The card will continuously transfer data blocks until a stop transmission command is received. * Multiple block read with pre-defined block count : The card will transfer the requested number of data blocks, terminate the transaction and ...

Page 38

TM MultiMediaCard ERASE_GROUP_END(CMD36) command and finally it starts the erase process by issuing the ERASE(CMD38) command. The address field in the erase commands is an Erase Group address in byte units. The card will all LSB’s below the Erase Group ...

Page 39

TM MultiMediaCard * ERASE: 1 Defines Forced Erase Operation (all other bits shall be ‘0’) and only the cmd byte is sent. * LOCK/UNLOCK Locks the card Unlock the card (note that it is valid to ...

Page 40

TM MultiMediaCard * Setting the Password - Select a card (CMD7), if not previously selected already - Define the block length (CMD16), given by the 8bit card lock/unlock mode, the 8-bit password Size (in bytes), and the number of bytes ...

Page 41

TM MultiMediaCard the status register. * Unlocking the card: - Select a card (CMD7), if not previously selected already. - Define the block length (CMD16), given by the 8 bit card lock/unlock mode, the 8 bit password size (in bytes), ...

Page 42

TM MultiMediaCard R1b is identical to R1 with an optional busy signal transmitted on the data line. The card may become busy after receiving these commands based on its state prior to the command reception Format R2 (CID, CSD register): ...

Page 43

TM MultiMediaCard Table 4-13 Status Bits Identifier Type 31 OUT_OF_RANGE ER 30 ADDRESS_ERROR ERX 29 BLOCK_LEN_ERR ERASE_SEQ_ERR ERASE_PARAM EX 26 WP_VIOLATION ERX 25 CARD_IS_LOCKED SX 24 LOCK_UNLOCK_FA ERX ILED 23 COM_CRC_ERROR ER 22 ILLEGAL_COMMAN ...

Page 44

TM MultiMediaCard 8 EADY_FOR_DATA SX 7:6 reserved 5 APP_CMD SR 4 reserved 3:2 reserved for application specific commands 1:0 reserved for manufacturer test mode 4.9.8 Command Response Timings All timing diagrams use the following schematics and abbreviations: S Start bit ...

Page 45

TM MultiMediaCard Command Response Timing (Identification Mode) There is just one Z bit period followed by P bits pushed up by the responding card. The following timing diagram is relevalent for all host commands followed by a response, except CMD1,CMD2 ...

Page 46

TM MultiMediaCard Tming CMD 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 Ncc+136(the length of the R2 response) ...

Page 47

TM MultiMediaCard check did not fail) or not. In the case of transmission error the card sends a negative CRC status (“101” bin) which forces the host to retransmit the data. In the case of non-erroneous transmission the card sends ...

Page 48

TM MultiMediaCard 4.9.9 Reset GO_IDLE_STATE (CMD0) is the software reset command, which sets the MultiMediaCard into the Idle State independently of the current state. In the Inactive State the MultiMediaCard is not affected by this command. After power-on the MultiMediaCard ...

Page 49

TM MultiMediaCard 4.10 SPI Communication The SPI mode consists of a secondary communication protocol. This mode is a subset of the MultiMediaCard protocol, designed to communicate with a SPI channel, commonly found in Motorola’s (and lately a few other vendors’) ...

Page 50

TM MultiMediaCard The SPI mode supports single and multiple block read operations (CMD17 and CMD18 in the MultiMediaCard protocol). The main difference SPI and MultiMediaCard modes is that the data and the response are both transmitted to the host on ...

Page 51

TM MultiMediaCard with an error token rather than a data block. Figure 4-6 Read operation – Data Error 4.10.4 Data Write Overview The SPI mode supports single block and Multiple block write commands. Upon reception of a valid write command ...

Page 52

TM MultiMediaCard The number of blocks for the write multiple block operation is not defined. The card will continuously accept and program data blocks until a ‘Stop Tran’ token is received. * Multiple block write with pre-defined block count The ...

Page 53

TM MultiMediaCard Unlike the MultiMediaCard protocol (where the register contents are 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 ...

Page 54

TM MultiMediaCard The following table provides a detailed description of the SPI bus commands. The responses are defined in Chapter “Responses”. The Table “Commands and Arguments” lists all MultiMediaCard commands. A “yes” in the SPI mode colon indicates that the ...

Page 55

TM MultiMediaCard CMD25 Yes [31:0] address CMD26 No CMD27 Yes None CMD28 Yes [31:0] address CMD29 Yes [31:0] address CMD30 Yes [31:0] write protect data address CMD31 reserved CMD35 Yes [31:0] address CMD36 Yes [31:0] address CMD38 Yes [31:0] stuff ...

Page 56

TM MultiMediaCard 5. 32 write protection bits (representing 32 write protect groups starting at the specified address) followed by 16 CRC bits are transferred in a payload format via the data line. The last (least significant) bit of the protection ...

Page 57

TM MultiMediaCard 4.10.12 Responses There are several types of response tokens 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 ...

Page 58

TM MultiMediaCard Figure 4-10 R2 Response Format The first byte is identical to the response R1. The content of the second byte is described in the following: - Erase param: An invalid selection, sectors or groups, for erase. - Write ...

Page 59

TM MultiMediaCard Data Response Every data block written to the card will be acknowledged by a data response token one byte long and has the following format: Figure 4-11 Data Response The meaning of the status bits is ...

Page 60

TM MultiMediaCard Figure 4-13 Data Error Token The 4 least significant bits (LSB) are the same error bits as in the response format R2. 4.10.15 Clearing Status Bits As described in the previous paragraphs, in SPI mode, status bits are ...

Page 61

TM MultiMediaCard Error Illegal R1 R2 Command Card ECC R2 Failed DataErr CC Error R2 DataErr Error R2 DaraErr WP Erase Skip R2 Lock/Unlock R2 Command Card is locked R2 DaraErr Erase Retest Idle State R1 R2 ...

Page 62

TM MultiMediaCard • Host Command to Card Response - Card is ready Figure 4-14 The following timing diagram describes the basic command response (no data) SPI transaction. • Host Command to Card Response - card is busy The following timing ...

Page 63

TM MultiMediaCard Figure 4-17 Timing diagram: Single block read transaction • Multiple Block Read - Stop Transmission is sent between blocks The timing for de-asserting the CS signal after the last card response is identical to a standard command/ response ...

Page 64

TM MultiMediaCard Figure 4-20 Timing diagram: Read CSD register • Single Block Write The host may deselect a card (by raising the CS) at any time during the card busy period (refer to the given timing diagram). The card will ...

Page 65

TM MultiMediaCard NDS NBR Error Handling 4.12 MultiMediaCards are defined as error free devices or as devices with a defined maximum bit error rate (with external error correction circuitry). To correct defects in the memory field of the cards the ...

Page 66

TM MultiMediaCard generator polynomial: G(x) = x16 + x12 + M(x) = (first bit (second bit) * xn-1 +...+ (last bit CRC[15...0] = Remainder [(M(x) * x16) / G(x)] All CRC registers are ...

Related keywords