SDI Technologies SDIO Card manual FBR bit and field definitions

Page 45

©Copyright 2000-2007 SD Card Association

SDIO Simplified Specification Version 2.00

Field

Type

Function

R/W

CSA

 

Enable

 

 

 

Extended

R/O

SDIO

 

Standard

 

Function

 

interface

 

code

 

SPS

R/O

(Support

 

Power

 

Selection)

 

EPS

R/W

(Enable

 

Power

 

Selection)

 

 

 

Address

R/O

pointer to

 

Function

 

CIS

 

 

 

Address

R/W

pointer to

 

Function

 

CSA

 

 

 

Data

R/W

access

 

window to

 

CSA

 

Function

R/W

1-7 I/O

 

Block Size

 

 

 

Description

This bit controls access to the Code Storage Area for this function. If this bit is cleared to 0, then any read or write access to the CSA shall be blocked. If this bit is set to 1, then access to the CSA is allowed. This bit is cleared to 0 upon reset. If this function does not support CSA (0xn00 bit 6=0), then this bit shall be R/O and always read as 0.

This is the extension of the SDIO Standard Function interface code. If the SDIO Standard Function interface code is greater than 0xE, then this byte shall contain the code and the standard code (0x100 bits 3-0) shall contain a value of 0xF. If the standard code is less than 0xF, then this byte shall be 0x00.

This bit indicates if the function has Power Selection.

SPS=0 :This function has no Power Selection. EPS shall be zero. SPS=1 :This function has 2 power modes which are selected by EPS.

EPS=0(default): The function operates in Higher Current Mode

The maximum current for the function shall be given in TPLFE_HP_MAX_PWR_3.3V EPS=1: The function works in Lower Current Mode

The maximum current for the function shall be given in TPLFE_LP_MAX_PWR_3.3V This bit shall be reset when IOEx=0.

These three bytes make up a 24-bit pointer (only the lower 17 bits are used) to the start of the Card Information Structure (CIS) that is associated with each function. The CIS is defined in section 6.11. A CIS is mandatory for each function on an SDIO card. This pointer is stored in little-endian format (LSB first). This register points to the End of Chain tuple if the function is not supported on the card.

These three bytes make up a 24-bit pointer to the desired byte in the CSA to read or write. After any read or write to the CSA access window register, this pointer shall be automatically incremented by 1. If this function does not support CSA (0xn00 bit 6=0), then these 24 bits shall be R/O and always read as 0x000000. This pointer is stored in little-endian format (LSB first).

Any read or write to this address when the CSA is enabled (0xn00 bit 7=1), shall pass data to/from the byte addressed by the CSA address pointer. If this function does not support CSA (0xn00 bit 6=0), then these 8 bits shall be R/O and always read as 0x00.

This 16-bit register sets the block size for I/O block operations for each function (1-7). If this card does not support I/O block operations (SMB=0), then this register becomes read-only and shall always read 0x0000. The maximum block size is 2048 (0x0800) and the minimum is 1 (0x0001). At power-up or reset, this register shall be initially loaded with a value of 0x0000. The host is responsible for setting the appropriate value for the block size supported by each function. This pointer is stored in little-endian format (LSB first).

Table 6-4 FBR bit and field definitions

36

Image 45
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 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 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 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 Differences with SD Memory Specification Sdio Command ListUnsupported SD Memory Commands Reset for Sdio Modified R6 ResponseBus 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 RegisterSdio Status Register Structure ClearBit 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 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 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 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 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 commonCistplfunce Tuple for Function Tplfidfunction 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 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