SDI Technologies SDIO Card manual 4BLS

Page 41

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

Field

Type

Description

E4MI

R/W

Enable interrupt between blocks of data in 4-bit SD mode. Enable the multi-block IRQ

 

 

during 4-bit transfer for the SDIO card. When this bit is 0, the card shall not signal

 

 

interrupts during a 4-bit multi-block data transfer. If this bit is 1, the card shall generate

 

 

interrupts during 4 bit multi-block data transfers as described in 8.1.4 If this SDIO card

 

 

does not support 4 bit multi-block IRQs (S4MI=0), then this bit shall be R/O and

 

 

always read as 0. This bit shall be cleared to 0 by any reset

LSC

R/O

Card is a Low-Speed card. If this bit is set, it indicates that the SDIO card is a

 

 

Low-Speed card (see 2.1). If this bit is clear, the SDIO card is a Full-Speed card.

4BLS

R/O

4-bit support for Low-Speed cards. If the SDIO card is a Low-Speed card (LSC=1)

 

 

and it supports 4-bit data transfer, then this bit shall be set. If the card is not

 

 

Low-Speed or if the card does not support 4-bit transfer, then this bit shall be zero.

Pointer to

R/O

This 3-byte pointer points to the start of the card’s common CIS. The common CIS

card’s

 

contains information relation to the entire card. The card common CIS shall be

common CIS

 

located within the CIS space of function 0 (0x001000- 0x017FFF) as described in

 

 

section 6.11. A card common CIS is mandatory for all SDIO cards. This pointer is

 

 

stored in little-endian format (LSB first).

BS

R/O

Bus status: If this bit is set to 1, then the currently addressed function (selected by

 

 

FSx or by the function number in an I/O command) is currently executing a command

 

 

which transfers data on the DAT[x] line(s). If this bit is 0, then the addressed function

 

 

is not using the data bus. This bit is used by the host to determine which function of a

 

 

multi-function or combo card is currently performing data transfer. Note that this bit is

 

 

a part of the optional Suspend/Resume protocol. If the card does not support

 

 

Suspend/Resume, this bit shall be read as 0. Any access to the CIA may not be

 

 

suspended, so in this case, BS shall always be set to 1, irrespective of the host

 

 

setting BR to 1.

BR

R/W

Bus Release Request/Status: This bit is used to request that the addressed function

 

 

(selected by FSx or by the function number in CMD53 or Memory commands using

 

 

DAT line) release the Data lines and suspend operation. If the host sets this bit to 1,

 

 

the addressed function shall temporarily halt data transfer on the DAT[x] lines and

 

 

suspend the command that is in process. The BR bit shall remain set to 1 until the

 

 

release is complete. If the card can never accept the suspend request while

 

 

executing transactions, the card shall return response with BR cleared to 0 and BS

 

 

set to 1. This indicates that the suspend request is cancelled by the card and thus the

 

 

host should not issue a cancel suspend command.

 

 

The followings are the cases where the card can cancel a suspend request:

 

 

Transaction addressed to function 0.

 

 

The card knows the transfer will terminate soon.

 

 

The card knows the transfer is timing critical (i.e. If suspended, the transfer cannot

 

 

proceed).

 

 

A Multi function card that indicates SBS=1, but contains a function that does not

 

 

support suspend/resume.

 

 

Once the function is in suspend, it shall signal the host by clearing the BS and BR

 

 

bits. The host can monitor the status of the suspend request by reading the BR bit. If

 

 

it is set, the suspend request is still in progress. A pending suspend request can be

 

 

cancelled by the host by writing 0 to the BR bit.

 

 

The Standard Host Specification defines following suspend sequence:

 

 

If the suspend request is not accepted, the host retries with a cancel suspend request

 

 

command. Even if the card received a cancel suspend command, it should accept

 

 

suspend if possible. If the card does not accept suspend, the host considers the

 

 

function to have never suspend.

 

 

However, the host should monitor the BR, BS and EXx bits to confirm that the

 

 

suspend request was cancelled rather that granted. If SBS=0, this bit shall be R/O

 

 

and read as 0.

32

Image 41
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 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 PinsDifferences 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 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 Unsupported SD Memory Commands Differences with SD Memory SpecificationSdio Command List Bus Width Reset for SdioModified R6 Response 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 RegisterBit Identifier Type Value Description Sdio Status Register StructureClear 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 DiagramCSA Data Format CSA AccessEmbedded I/O Code Storage Area CSA 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 Switching Bus Speed Mode in a Combo Card High-Speed ModeSdio High-Speed Mode 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 commonByte Cistplfunce Tuple for FunctionTplfidfunction Tuple for Function 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 CardsNormative SD and SPI Command ListTable A-14 SD Mode Command List Sdmem Sdio Table A-15 SPI Mode Command ListNormative References Appendix BAbbreviations and Terms Appendix CLOW, High Informative