SDI Technologies SDIO Card manual Modified R6 Response, Reset for Sdio, Bus Width

Page 25

SDIO Simplified Specification Version 2.00

©Copyright 2000-2007 SD Card Association

 

 

 

 

 

 

 

 

 

SD Memory

SDIO

 

Comment

 

 

Command

Command

 

 

 

 

CMD18,

 

read/write commands.

 

 

 

CMD24,

 

 

 

 

 

CMD25

 

 

 

 

Table 4-1 Unsupported SD Memory Commands

4.3Modified R6 Response

The normal response to CMD3 by a memory card is R6 as shown in Table 4-2. The card status bits (23-8) are changed when CMD3 is sent to an I/O only card. In this case, the 16 bits of response shall be the SDIO-only values shown in Table 4-3

 

Bit position

47

46

[45:40]

 

 

[39:8] Argument field

 

[7:1]

0

 

 

Width (bits)

1

1

6

 

 

16

 

 

16

 

7

1

 

 

Value

‘0’

‘0’

X

 

X

 

 

X

 

 

X

‘1’

 

 

Description

Start

Direction

Command

New published RCA

[15:0] Card status

CRC7

end

 

 

 

 

bit

bit

index

 

[31:16] of the card

(see Table 4-3)

 

 

 

bit

 

 

 

 

 

 

(‘000011’)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 4-2 R6 response to CMD3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bits

 

Identifier

Type

 

 

Value

 

 

Description

 

 

Clear

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Condition

 

 

15

COM_CRC_ERROR

E R

 

’0’= no error

 

The CRC check of the previous

 

 

B

 

 

 

 

 

 

 

 

’1’= error

 

command failed

 

 

 

 

 

 

14

ILLEGAL_COMMAND

E R

 

’0’= no error

 

Command not legal for the card

 

 

B

 

 

 

 

 

 

 

 

’1’= error

 

state

 

 

 

 

 

 

 

13

ERROR

 

E R X

 

’0’= no error

 

A general or an unknown error

 

 

C

 

 

 

 

 

 

 

 

’1’= error

 

occurred during the operation

 

 

 

 

 

 

12: 0

 

Undefined. Should read as 0 for SDIO only

cards. Host should ignore these bits.

 

 

Note: Please refer to sections 7.3.4 of the SD Physical Specification for explanation of the entries in the Type and Clear Condition columns.

Table 4-3 SDIO R6 Status Bits

4.4Reset for SDIO

In order to reset all functions within an SDIO card or the SDIO portion of a combo card, a method different than that used for SD memory is defined. The reset command (CMD0) is only used for memory or the memory portion of Combo cards. In order to reset an I/O only card or the I/O portion of a combo card, use CMD52 to write a 1 to the RES bit in the CCCR (bit 3 of register 6). Note that in the SD mode, CMD0 is only used to indicate entry into SPI mode and shall be supported. An I/O only card or the I/O portion of a combo card is not reset by CMD0.

4.5Bus Width

For a SD memory card, the bus width for SD mode is set using ACMD6. The SDIO card uses a write to the CCCR using CMD52 to select bus width. In the case of a combo card, both selection methods exist. In this case, the host shall set the bus width in both locations by issuing both the ACMD6 and the CCCR write using CMD52 with the same width before starting any data transfers. For details on changing the bus for an SDIO card, see Table 6-2. . For a Combo Card, changing bus width is handled as shown in Table 4-4.

16

Image 25
Contents SD Specifications Part E1 Sdio Simplified Specification Changes compared to previous issue Sdio Simplified Specification VersionDate 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 General Description Sdio FeaturesPrimary Reference Document Standard Sdio FunctionsSdio Card Types Sdio Signaling DefinitionSdio Card modes Sdio Host ModesSignal connection to two 4-bit Sdio cards Signal PinsSdio Card Initialization ResetDifferences 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 VDD Voltage Window Position Iosendopcond Command CMD5OCR Values for CMD5 OCR bitIosendopcond Response R4 Response R4 in SD modeRecommendations for RCA after Reset Acceptable Commands after InitializationSpecial Initialization considerations for Combo Cards Re-initialize both I/O and MemoryRe-Initialization Flow for Memory controller Re-Initialization Flow for I/O ControllerEnabling CRC in SPI Combo Card Sdio Command List Differences with SD Memory SpecificationUnsupported SD Memory Commands Modified R6 Response Reset for SdioBus Width Timings Card Detect ResistorCombo Card 4-bit Control Card Detect Resistor StatesData Transfer Abort Data Transfer Block SizesChanges to SD Memory Fixed Registers Read AbortCID Register OCR RegisterCSD Register RCA RegisterClear Sdio Status Register StructureBit Identifier Type Value Description Iorwdirect Command CMD52 New I/O Read/Write CommandsIllegalcommand ComcrcerrorIorwdirect Response R5 1 CMD52 Response SD modesIdentifier Type Value Description Clear Condition DIS=DisabledCMD=DAT lines free TRN=TransferIorw Extended command Op Code Definition Iorwextended Command CMD53OP code Command operation CRC1 CMD53 Data Transfer Format Byte Count ValuesSdio Card Internal Operation Register Access TimeOverview InterruptsRead Wait Suspend/ResumeCMD52 During Data Transfer Sdio Fixed Internal MapCard Common Control Registers Cccr Common I/O Area CIAType Card Common Control Registers CccrCCCR/SDIO IOE3To abort transfers to/from memory Scsi 4BLS Transaction of function 0 CIA Empc Cccr bit DefinitionsAddress Function Basic Registers FBRFunction Basic Information Registers FBR Field TypeFBR bit and field definitions Sdio Simplified Specification Version Field TypeCard Information Structure CIS Setting Block Size with CMD53Multiple Function Sdio Cards Card Information Structure CIS and reserved area of CIAState Diagram for Bus State Machine Bus State DiagramEmbedded I/O Code Storage Area CSA CSA AccessCSA Data Format Interrupt Timing Sdio InterruptsInterrupt Clear Timing Terminated Data Transfer Interrupt CycleSdio Suspend/Resume Operation Sdio Read Wait Operation Power Control Overview Power ControlPower Control support for Sdio Cards Master Power ControlPower Selection Power Control Support for the Sdio HostHigh-Power Tuples Reference Tuples by Master Power Control and Power SelectPower Control Operation Sdio High-Speed Mode High-Speed ModeSwitching Bus Speed Mode in a Combo Card Sdio Physical Properties Sdio PowerSdio Simplified Specification Version Inrush Current Limiting CIS Reference Document CIS FormatsBasic Tuple Format and Tuple Chain Structure Byte Order Within TuplesSdio Card Metaformat Tuple VersionTuples Supported by Sdio Cards Code Name DescriptionSdio Specific Extensions Cistplmanfid Manufacturer Identification String TupleCistplmanfid Manufacturer Identification Tuple Cistplfuncid Function Identification TupleCistplfunce Tuple General Structure Cistplfunce Function Extension TupleCistplfunce Tuple for Function 0 common Tplfidfunction Tuple for Function 0 commonTplfidfunction Tuple for Function Cistplfunce Tuple for FunctionByte Sdio Simplified Specification Version 10 Tplfefunctioninfo Definition Tplfidfunction Field Descriptions for Functions11 Tplfecsaproperty Definition Bit Name12 Cistplsdiostd Tuple Reserved for Sdio Cards Cistplsdiostd Function is a Standard Sdio FunctionCistplsdioext Tuple Reserved for Sdio Cards 13 Cistplsdioext Tuple Reserved for Sdio CardsTable A-14 SD Mode Command List SD and SPI Command ListNormative Sdmem Sdio Table A-15 SPI Mode Command ListNormative References Appendix BAbbreviations and Terms Appendix CLOW, High Informative