SDI Technologies SDIO Card manual Cistplfunce Function Extension Tuple

Page 63

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

16.7.2CISTPL_FUNCE: Function Extension Tuple

The CISTPL_FUNCE tuple provides standard information about the card (common) and each individual function. There shall be one CISTPL_FUNCE in each function’s CIS immediately following the CISTPL_FUNCID tuple. The format of the CISTPL_FUNCE is shown in Table 16-5.

Byte

7

6

 

5

4

3

2

 

1

0

0x00

 

 

 

TPL_

CODE CISTPL_FUNCE (0x22)

 

 

0x01

 

 

TPL_LINK Link to next tuple (see following sections)

 

 

0x02

 

TPLFE_TYPE Type of extended data (see following sections)

 

0x03-n

 

TPLFE_DATA Function information (see following sections)

 

Table 16-5 CISTPL_FUNCE Tuple General Structure

There are two versions of the CISTPL_FUNCE tuple, one for the common CIS (function 0) and a version used by the individual function’s CIS (1-7). Both types are described below.

16.7.3CISTPL_FUNCE Tuple for Function 0 (common)

This version of the CISTPL_FUNCE tuple gives the host common information about the card. There shall be only one of these tuples, located in the CIS for function 0 following the CISTPL_FUNCID. The format of this tuple is shown in Table 16-6.

Byte

7

6

5

 

4

3

 

2

 

1

0

0x00

 

 

 

TPL_CODE CISTPL_FUNCE (0x22)

 

 

0x01

 

 

 

TPL_LINK Link to next tuple (0x04)

 

 

0x02

 

 

TPLFE_TYPE Type of extended data (0x00)

 

 

0x03-0x04

 

 

 

 

TPLFE_FN0_BLK_SIZE

 

 

 

 

0x05

 

 

 

TPLFE_MAX_TRAN_SPEED

 

 

 

 

Table 16-6 TPLFID_FUNCTION Tuple for Function 0 (common)

The fields in this tuple have the following definition:

Field

Description

TPLFE_FN0_BLK_SIZE

This is both the maximum block size and byte count that function 0 can

 

support. A value of zero is not valid and shall not be used.

TPLFE_MAX_TRAN_SPEED

This byte indicates the maximum transfer rate per one data line during

 

data transfer. This value applies to all functions in the SDIO card. This

 

value shall be 25 Mb/Sec (0x32) for all Full-Speed SDIO cards. The

 

minimum value for Low-Speed SDIO cards shall be 400 Kb/Sec (0x48).

 

The format is identical to the TRAN_SPEED value stored in the CSD of

 

SD memory cards. The maximum data transfer rate is coded according

 

to the following method:

 

Bits 2:0 contain the transfer rate unit coded as follows:

 

0=100kbit/s, 1=1Mbit/s, 2=10Mbit/s, 3=100Mbit/s, 4... 7=reserved

 

Bits 6:3 contain the time value codes as follows:

 

0=reserved, 1=1.0, 2=1.2, 3=1.3, 4=1.5, 5=2.0, 6=2.5, 7=3.0, 8=3.5,

 

9=4.0, A=4.5, B=5.0, C=5.5, D=6.0, E=7.0, F=8.0

 

Bit 7 is reserved and shall be zero

 

A Combo Card shall support 25MHz clock (0x32)

Table 16-7 TPLFID_FUNCTION Field Descriptions for Function 0 (common)

54

Image 63
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 Standard Sdio Functions Sdio FeaturesGeneral Description Primary Reference DocumentSdio Host Modes Sdio Signaling DefinitionSdio Card Types Sdio Card modesSignal connection to two 4-bit Sdio cards Signal PinsReset 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 bit Iosendopcond Command CMD5VDD Voltage Window Position OCR Values for CMD5Iosendopcond Response R4 Response R4 in SD modeRe-initialize both I/O and Memory Acceptable Commands after InitializationRecommendations for RCA after Reset Special Initialization considerations for Combo CardsRe-Initialization Flow for Memory controller Re-Initialization Flow for I/O ControllerEnabling CRC in SPI Combo Card Differences with SD Memory Specification Sdio Command ListUnsupported SD Memory Commands Reset for Sdio Modified R6 ResponseBus Width Card Detect Resistor States Card Detect ResistorTimings Combo Card 4-bit ControlRead Abort Data Transfer Block SizesData Transfer Abort Changes to SD Memory Fixed RegistersRCA Register OCR RegisterCID Register CSD RegisterSdio Status Register Structure ClearBit Identifier Type Value Description Iorwdirect Command CMD52 New I/O Read/Write Commands1 CMD52 Response SD modes ComcrcerrorIllegalcommand Iorwdirect Response R5TRN=Transfer DIS=DisabledIdentifier Type Value Description Clear Condition CMD=DAT lines freeCRC Iorwextended Command CMD53Iorw Extended command Op Code Definition OP code Command operation1 CMD53 Data Transfer Format Byte Count ValuesInterrupts Register Access TimeSdio Card Internal Operation OverviewSdio Fixed Internal Map Suspend/ResumeRead Wait CMD52 During Data TransferCard Common Control Registers Cccr Common I/O Area CIAIOE3 Card Common Control Registers CccrType CCCR/SDIOTo abort transfers to/from memory Scsi 4BLS Transaction of function 0 CIA Empc Cccr bit DefinitionsField Type Function Basic Registers FBRAddress Function Basic Information Registers FBRFBR bit and field definitions Sdio Simplified Specification Version Field TypeCard Information Structure CIS and reserved area of CIA Setting Block Size with CMD53Card Information Structure CIS Multiple Function Sdio CardsState Diagram for Bus State Machine Bus State DiagramCSA Access Embedded I/O Code Storage Area CSACSA Data Format Interrupt Timing Sdio InterruptsInterrupt Clear Timing Terminated Data Transfer Interrupt CycleSdio Suspend/Resume Operation Sdio Read Wait Operation Master Power Control Power ControlPower Control Overview Power Control support for Sdio CardsReference Tuples by Master Power Control and Power Select Power Control Support for the Sdio HostPower Selection High-Power TuplesPower Control Operation High-Speed Mode Sdio High-Speed ModeSwitching Bus Speed Mode in a Combo Card Sdio Physical Properties Sdio PowerSdio Simplified Specification Version Inrush Current Limiting Byte Order Within Tuples CIS FormatsCIS Reference Document Basic Tuple Format and Tuple Chain StructureCode Name Description Tuple VersionSdio Card Metaformat Tuples Supported by Sdio CardsCistplfuncid Function Identification Tuple Cistplmanfid Manufacturer Identification String TupleSdio Specific Extensions Cistplmanfid Manufacturer Identification TupleTplfidfunction Tuple for Function 0 common Cistplfunce Function Extension TupleCistplfunce Tuple General Structure Cistplfunce Tuple for Function 0 commonCistplfunce Tuple for Function Tplfidfunction Tuple for FunctionByte Sdio Simplified Specification Version Bit Name Tplfidfunction Field Descriptions for Functions10 Tplfefunctioninfo Definition 11 Tplfecsaproperty Definition13 Cistplsdioext Tuple Reserved for Sdio Cards Cistplsdiostd Function is a Standard Sdio Function12 Cistplsdiostd Tuple Reserved for Sdio Cards Cistplsdioext Tuple Reserved for Sdio CardsSD and SPI Command List Table A-14 SD Mode Command ListNormative Sdmem Sdio Table A-15 SPI Mode Command ListNormative References Appendix BAbbreviations and Terms Appendix CLOW, High Informative