SDI Technologies SDIO Card manual Card Information Structure CIS, Multiple Function Sdio Cards

Page 46

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

6.11Card Information Structure (CIS)

The Card Information Structure provides more complete information about the card and the individual functions. The CIS is the common area to read information about all I/O functions that exist in a card. The design is based on the PC Card16 design standardized by PCMCIA. All cards that support I/O shall have a common CIS and a CIS for each function. The CIS is accessed by reads to a fixed area as shown in Table 6-5 This one area serves the card as a Common CIS and also as the storage area for each function. The common area and each function have a pointer to the start of its CIS within this memory space.

Address

7

6

5

4

3

 

2

1

0

0x0001000

Card

Common Card Information Structure (CIS) area for card common and all functions

- 0x017FFF

 

 

 

 

 

 

 

 

 

0x018000-

 

 

 

Reserved for Future Use

 

 

 

0x01FFFF

 

 

 

 

 

 

 

 

 

Table 6-5 Card Information Structure (CIS) and reserved area of CIA

The valid tuples (storage structures) from the PCMCIA specification and new tuples created for SDIO are defined in section 16.7.

6.12Multiple Function SDIO Cards

Multiple Function SDIO Cards shall have a separate set of Configuration registers for each function on the card. Multiple Function SDIO Cards shall use a combination of a CIS common to all functions on the card and a separate function-specific CIS specific to each function on the card. The common CIS describes features that are common to all functions on the card. Each function-specific CIS describes features specific to a particular function on the SDIO Card. Functions are numbered sequentially beginning with 1.

The CMD5 response indicates the total number of functions, which includes ‘dummy’ functions. The host shall iterate through the CIS entries based on the CMD5 response.

The ERROR status flag of an R5 response is type “E R X”, (see section 5.2.1) and can indicate an error in the previous command. Since the host software needs a method to determine which function detected the error, a Multiple Function SDIO cards shall only return the R5 ERROR status flag in the subsequent command issued to the same function.

6.13Setting Block Size with CMD53

The host sets the block size for a function’s multiple block transfers by writing to the 16-bit Function I/O Block Size register in the FBR (see Table 6-4). The host shall not write this register using CMD53 with Block Mode set to 1. If the card detects an invalid block size before executing CMD53 with Block Mode set to 1, it shall indicate an OUT_OF_RANGE error in the current response and shall not perform data transfer. This will also stop the interrupt period (see section 8.1.3)

37

Image 46
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 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 cardsSdio 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 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 Sdio Command List Differences with SD Memory SpecificationUnsupported SD Memory Commands Modified R6 Response Reset for SdioBus 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 RegisterClear Sdio Status Register StructureBit 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 MachineEmbedded I/O Code Storage Area CSA CSA AccessCSA 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 Sdio High-Speed Mode 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 commonTplfidfunction Tuple for Function Cistplfunce 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 CardsTable A-14 SD Mode Command List SD and SPI Command ListNormative Table A-15 SPI Mode Command List Sdmem SdioAppendix B Normative ReferencesAppendix C Abbreviations and TermsLOW, High Informative