SDI Technologies SDIO Card manual Card initialization flow in SPI mode Sdio aware host

Page 18

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

 

 

 

C

 

 

 

D

 

 

 

 

Skip memory initialize or MEM=1

 

 

Test MEM Flag

 

 

 

 

 

 

Execute memory initialize & MEM=0

 

 

 

CMD58

Get memory OCR

 

 

Illegal Command

Check Response

OCR invalid

 

 

 

 

 

 

 

 

 

OCR valid

 

 

 

 

 

Set New Voltage (if needed)

 

 

 

 

 

High Capacity Support Host: HCS=1

 

 

ACMD41 Arg=HCS, WV

 

 

 

 

IDLE=1

Check Response

1sec Timeout

 

 

 

 

 

 

 

 

 

IDLE=0

 

 

 

 

 

 

MEM=1

Memory Initialized

 

 

Illegal Command

CMD58

If F8=1, CMD58 is required

 

 

 

to get CCS. If F8=0, CSS=0.

 

 

 

Test Flags

 

 

IO=0, MEM=0

 

 

 

 

 

 

 

 

 

IO=0, MEM=1

 

 

MEM=1

 

 

 

 

MEM=0

 

 

 

Not SD

Test CCS

IO Only

 

Test CCS

Unusable card

Card

 

Card

CCS=0

CCS=1

 

CCS=0

CCS=1

 

 

Standard

High

 

Standard

High

 

 

Capacity

Capacity

 

Capacity

Capacity

 

 

Memory

Memory

 

Combo

Combo

 

 

Only Card

Only Card

 

Card

 

Card

 

Variables

 

NF:

Number of I/O Functions (CMD5 Response)

MP:

Memory Present Flag (CMD5 Response)

IORDY:

I/O Power-up Status (C bit in the CMD5 response)

MRDY:

Memory Power-up Status (OCR Bit31)

HCS:

Host Capacity Support (ACMD41 Argument)

CCS:

Card Capacity Status (ACMD41 Response)

Flags

 

IO:

I/O Functions Initialized Flag

MEM:

Memory Initialized Flag

F8:

CMD8 Flag

Figure 3-3 Card initialization flow in SPI mode (SDIO aware host)

9

Image 18
Contents SD Specifications Part E1 Sdio Simplified Specification Sdio Simplified Specification Version Changes compared to previous issueDate Version 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 cardsReset Sdio Card InitializationDifferences in I/O 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 Differences with SD Memory Specification Sdio Command ListUnsupported SD Memory Commands Reset for Sdio Modified R6 ResponseBus Width 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 RegisterSdio Status Register Structure ClearBit Identifier Type Value Description 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 Access Embedded I/O Code Storage Area CSACSA Data Format 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 High-Speed Mode Sdio High-Speed ModeSwitching Bus Speed Mode in a Combo Card 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 commonCistplfunce Tuple for Function Tplfidfunction Tuple for FunctionByte 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 CardsSD and SPI Command List Table A-14 SD Mode Command ListNormative Table A-15 SPI Mode Command List Sdmem SdioAppendix B Normative ReferencesAppendix C Abbreviations and TermsLOW, High Informative