Register Abbreviation | Width (in bits) | Register Name |
CID | 128 | Card IDentification |
CSD | 128 | |
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
| 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 |
|
|
|
|
|
|
| SD032 |
|
|
| Product Name (PNM) | ASCII | 40 |
|
| SD064 |
| ||
|
|
|
|
|
|
| SD128 |
|
|
| Product Revision (PRV) | BCD | 8 |
|
|
| |||
| Serial Number (PSN) |
| Binary | 32 |
|
|
|
| |
| Reserved |
|
| 4 |
|
|
|
|
|
| Manufacture Date (MDT) | Binary | 12 |
|
| YYM code |
| ex: April 2001 = 0x014 | |
|
|
| (offset from 2000) |
| |||||
|
|
|
|
|
|
|
|
| |
| 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
The following table provides an overview of the CSD Register. More