1 card identification register, 2 card specific data register – SanDisk SD064 User Manual

Page 7

Advertising
background image

Register Abbreviation

Width (in bits)

Register Name

CID 128

Card

IDentification

CSD 128

Card-Specific

Data

SCR

64

SD Configuration Register

RCA

16

Relative Card Address

OCR

32

Operation Condition Register

SSR

512

SD Status Register

CSR 32

Card

Status

Register

All card registers are also accessible in SPI Mode. Their format is identical to the format in the
SD Bus Mode; however, a few fields are not used in SPI Mode. In SPI Mode, the Card Status
Register has a different, shorter format as well. Refer to Section 7.4 in the SDA Physical Layer
Specification, Version 2.00, for more details.

3.3.1 Card Identification Register

The Card Identification (CID) Register is 16 bytes long and contains the unique card
identification number and other informational data. It is programmed during card content
programming and cannot be changed by card hosts.

The following table lists the default configuration of the CID register for SanDisk SD-ROM Cards.
More information can be found in Section 5.2 of the SDA Physical Layer Specification, Version
2.00.

Name

Type

Size

Value

Comments

Manufacturer ID (MID)

binary

8

0x03 (SanDisk)

Controlled and assigned by SD-
3C, LLC.

OEM / Application ID (OID)

ASCII

16

0x53, 0x44 (“SD”)

Identifies the card OEM and/or
the card contents. Controlled
and assigned by SD-3C, LLC.

Product Name (PNM)

ASCII

40

SD032
SD064
SD128

5-character ASCII string

Product Revision (PRV)

BCD

8

2-digit revision number

Serial Number (PSN)

Binary

32

32-bit unsigned integer

Reserved

4

Manufacture Date (MDT)

Binary

12

YYM code
(offset from 2000)

ex: April 2001 = 0x014

CRC7 Checksum (CRC)

7

calculated from register
contents

unused (always 0)

1

3.3.2 Card Specific Data Register

The Card Specific Data (CSD) Register configuration information is required to access card data.
The CSD defines the data format, error correction type, maximum data access time, and other
parameters. The field structures of the CSD Register vary depending on the physical
specifications and card capacity. The CSD_STRUCTURE field in the CSD Register indicates
which structure version is used. All current SanDisk SD-ROM are standard capacity cards and
so implement CSD Version 1.0 structure.

The following table provides an overview of the CSD Register. More field-specific information
can be found in Table 5-4 (Section 5.3.2) of the SDA Physical Layer Specification, Version 2.00.

SanDisk Confidential

Advertising
This manual is related to the following products: