SDI Technologies SDIO Card manual Card Common Control Registers Cccr, Type, Cccr/Sdio, IOE3, IOR3

Page 38

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

Address

Register Name

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

 

 

Bit 0

0x00

CCCR/SDIO

SDIO

SDIO

SDIO

SDIO

CCCR

CCCR

CCCR

 

CCCR

 

Revision

bit 3

bit 2

bit 1

bit 0

bit 3

bit 2

bit 1

 

bit 0

0x01

SD Specification

RFU

RFU

RFU

RFU

SD

SD

SD

 

SD

 

Revision

 

 

 

 

bit 3

bit 2

bit 1

 

bit 0

0x02

I/O Enable

IOE7

IOE6

IOE5

IOE4

IOE3

IOE2

IOE1

 

RFU

0x03

I/O Ready

IOR7

IOR6

IOR5

IOR4

IOR3

IOR2

IOR1

 

RFU

0x04

Int Enable

IEN7

IEN6

IEN5

IEN4

IEN3

IEN2

IEN1

 

IENM

0x05

Int Pending

INT7

INT6

INT5

INT4

INT3

INT2

INT1

 

RFU

0x06

I/O Abort

RFU

RFU

RFU

RFU

RES

AS2

AS1

 

AS0

0x07

Bus Interface

CD

SCSI

ECSI

RFU

RFU

RFU

Bus

 

Bus

 

Control

Disable

 

 

 

 

 

Width 1

 

Width 0

0x08

Card Capability

4BLS

LSC

E4MI

S4MI

SBS

SRW

SMB

 

SDC

0x09-

Common CIS

 

Pointer to

card’s common Card Information Structure (CIS)

 

0x0B

Pointer

 

 

 

 

 

 

 

 

 

 

0x0C

Bus Suspend

RFU

RFU

RFU

RFU

RFU

RFU

BR

 

 

BS

0x 0D

Function Select

DF

RFU

RFU

RFU

FS3

FS2

FS1

 

 

FS0

0x 0E

Exec Flags

EX7

EX6

EX5

EX4

EX3

EX2

EX1

 

 

EXM

0x 0F

Ready Flags

RF7

RF6

RF5

RF4

RF3

RF2

RF1

 

 

RFM

0x10-

FN0 Block Size

 

 

I/O

block size

for Function

0

 

 

 

 

0x11

 

 

 

 

 

 

 

 

 

 

 

0x 12

Power Control

 

Reserved for Future Use (RFU)

 

EMPC

 

 

SMPC

0x 13

High-Speed

RFU

RFU

RFU

RFU

RFU

RFU

EHS

 

 

SHS

0x14-

RFU

 

 

Reserved for Future Use (RFU)

 

 

 

 

0xEF

 

 

 

 

 

 

 

 

 

 

 

0xF0-

Reserved for

 

Area Reserved for Vendor Unique Registers

 

0xFF

Vendors

 

 

 

 

 

 

 

 

 

 

 

Table 6-1 Card Common Control Registers (CCCR)

 

 

 

 

Field

Type

 

 

Description

CCCRx

R/O

 

CCCR Format Version number. These 4 bits contain the version of the CCCR and

 

 

 

FBR format that this card supports. Any change to the CCCR and/or the FBR

 

 

 

structure shall cause a new version code to be assigned. The codes for the

 

 

 

CCCR/FBR formats are as follows:

 

 

 

Value

CCCR/FBR Format Version

 

 

 

 

0x00

CCCR/FBR Version 1.00

 

 

 

0x01

CCCR/FBR Version 1.10

 

 

 

0x02

CCCR/FBR Version 1.20

 

 

 

0x03-0x0F

Reserved for Future Use

SDIOx

R/O

 

SDIO Specification Revision number. These 4 bits contain the version of the SDIO

 

 

 

Specification that this card supports. The codes for the SDIO Specifications are as

 

 

 

follows:

 

 

 

 

 

 

Value

SDIO Specification

 

 

 

 

0x00

SDIO Specification Version 1.00

 

 

 

0x01

SDIO Specification Version 1.10

 

 

 

0x02

SDIO Specification Version 1.20 (unreleased)

 

 

 

0x03

SDIO Specification Version 2.00

 

 

 

0x04-0x0F

Reserved for Future Use

29

Image 38
Contents SD Specifications Part E1 Sdio Simplified Specification Date Version Sdio Simplified Specification VersionChanges compared to previous issue Release of SD Simplified Specification Conventions Used in This Document Table of Contents SPI and SD 1-bit Mode Interrupts 16.2 Table of Tables Table of Figures Primary Reference Document Sdio FeaturesGeneral Description Standard Sdio FunctionsSdio Card modes Sdio Signaling DefinitionSdio Card Types Sdio Host ModesSignal Pins Signal connection to two 4-bit Sdio cardsDifferences in I/O card Initialization ResetSdio Card Initialization Sdio Simplified Specification Version MEM=0 Card initialization flow in SD mode Sdio aware host Illegal Command F8=0 Card initialization flow in SPI mode Sdio aware host OCR Values for CMD5 Iosendopcond Command CMD5VDD Voltage Window Position OCR bitResponse R4 in SD mode Iosendopcond Response R4Special Initialization considerations for Combo Cards Acceptable Commands after InitializationRecommendations for RCA after Reset Re-initialize both I/O and MemoryRe-Initialization Flow for I/O Controller Re-Initialization Flow for Memory controllerEnabling CRC in SPI Combo Card Unsupported SD Memory Commands Differences with SD Memory SpecificationSdio Command List Bus Width Reset for SdioModified R6 Response Combo Card 4-bit Control Card Detect ResistorTimings Card Detect Resistor StatesChanges to SD Memory Fixed Registers Data Transfer Block SizesData Transfer Abort Read AbortCSD Register OCR RegisterCID Register RCA RegisterBit Identifier Type Value Description Sdio Status Register StructureClear New I/O Read/Write Commands Iorwdirect Command CMD52Iorwdirect Response R5 ComcrcerrorIllegalcommand 1 CMD52 Response SD modesCMD=DAT lines free DIS=DisabledIdentifier Type Value Description Clear Condition TRN=TransferOP code Command operation Iorwextended Command CMD53Iorw Extended command Op Code Definition CRCByte Count Values 1 CMD53 Data Transfer FormatOverview Register Access TimeSdio Card Internal Operation InterruptsCMD52 During Data Transfer Suspend/ResumeRead Wait Sdio Fixed Internal MapCommon I/O Area CIA Card Common Control Registers CccrCCCR/SDIO Card Common Control Registers CccrType IOE3To abort transfers to/from memory Scsi 4BLS Transaction of function 0 CIA Cccr bit Definitions EmpcFunction Basic Information Registers FBR Function Basic Registers FBRAddress Field TypeSdio Simplified Specification Version Field Type FBR bit and field definitionsMultiple Function Sdio Cards Setting Block Size with CMD53Card Information Structure CIS Card Information Structure CIS and reserved area of CIABus State Diagram State Diagram for Bus State MachineCSA Data Format CSA AccessEmbedded I/O Code Storage Area CSA Sdio Interrupts Interrupt TimingTerminated Data Transfer Interrupt Cycle Interrupt Clear TimingSdio Suspend/Resume Operation Sdio Read Wait Operation Power Control support for Sdio Cards Power ControlPower Control Overview Master Power ControlHigh-Power Tuples Power Control Support for the Sdio HostPower Selection Reference Tuples by Master Power Control and Power SelectPower Control Operation Switching Bus Speed Mode in a Combo Card High-Speed ModeSdio High-Speed Mode Sdio Power Sdio Physical PropertiesSdio Simplified Specification Version Inrush Current Limiting Basic Tuple Format and Tuple Chain Structure CIS FormatsCIS Reference Document Byte Order Within TuplesTuples Supported by Sdio Cards Tuple VersionSdio Card Metaformat Code Name DescriptionCistplmanfid Manufacturer Identification Tuple Cistplmanfid Manufacturer Identification String TupleSdio Specific Extensions Cistplfuncid Function Identification TupleCistplfunce Tuple for Function 0 common Cistplfunce Function Extension TupleCistplfunce Tuple General Structure Tplfidfunction Tuple for Function 0 commonByte Cistplfunce Tuple for FunctionTplfidfunction Tuple for Function Sdio Simplified Specification Version 11 Tplfecsaproperty Definition Tplfidfunction Field Descriptions for Functions10 Tplfefunctioninfo Definition Bit NameCistplsdioext Tuple Reserved for Sdio Cards Cistplsdiostd Function is a Standard Sdio Function12 Cistplsdiostd Tuple Reserved for Sdio Cards 13 Cistplsdioext Tuple Reserved for Sdio CardsNormative SD and SPI Command ListTable A-14 SD Mode Command List Table A-15 SPI Mode Command List Sdmem SdioAppendix B Normative ReferencesAppendix C Abbreviations and TermsLOW, High Informative