Instruction/ maintenance manual of the product SDIO Card SDI Technologies
Go to page of 73
SD Specifications Part E1 SDIO Simplified Specification V ersion 2.00 February 8, 2007 T echnical Committee SD Card Association.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 i Revision History Date V ersion Changes compared to previous issue April 3, 2006 1.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 ii Release of SD Simplified Specification The following conditions apply to the re lease of the SD simplifi ed specification ("Simplif ied Specificatio n") by the SD Card Association.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 iii Conventions Used in This Document Naming Conventions Some terms are capitalized to distinguish their defi nition from their common E nglish meaning. Words not capitalized have their comm on English meaning.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 iv T able of Content s 1. General Desc ription ............................................................................................................ .........
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 v 5.3.2 S pecial T iming for CMD5 3 Multi-Blo ck Read .............................................................................. 25 6. SDIO Card Intern al Operation .
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 vi 16.2 Basic T uple Format and T uple Chain S t ructur e ................................................................................. 51 16.3 Byte Order Wi thin T uples .
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 vii T able of T ables T able 3-1 OCR V a lues fo r CMD5 .................................................................................................. ..........
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 viii T able of Figures Figure 2-1 Signal connection to two 4-bit SD IO cards ........................................................................... ............
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 1 1. General Description The SDIO (SD Input/Output) card is based on and compatible with the SD memory card. This comp atibility includes mechanical, electrical, power , signaling and softwa re.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 2 2. SDIO Signaling Definition 2.1 SDIO Card T ypes This specification defines tw o types of SDIO cards. The Full-S peed card supp ort s SPI, 1-bit SD and the 4-bit SD transfer modes at the full clock range of 0-25MHz.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 3 2.4 Signal Pins Figure 2-1 Signal connection to two 4-bit SDIO cards The rest of this chapter is not incl uded in the Simp lified Specification.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 4 3. SDIO Card Initialization 3.1 Differences in I/O card Initialization A requirement for the SDIO specification is that an SDIO card shall not cause non-I/O aware hosts to fail when inserted.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 5 An SDIO aware host sends CMD5 prior to the CMD55/ACMD41 pa ir , and thus would receive a valid OCR in the R4 response to CMD5 and continue to initialize the card.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 6 CMD5 Arg=0 Check Response CMD5 Arg=WV Check Response A Pow er On NF=0 or OCR invalid NF>0 & OCR valid IOR.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 7 ACMD41 Arg=0 Check Response Set New Voltag e (if neede d) ACMD41 Arg=HCS, WV Check Response A OCR vali d MR DY=0.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 8 CMD5 Arg=0 Check Response CMD5 Arg=WV Check Response C Pow er On NF=0 or OCR invalid NF>0 & OCR valid IOR.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 9 CMD58 Check Respons e Set New Voltage (if needed) ACM D41 Arg =HC S, WV Check Respons e C OCR valid IDLE=1 1sec .
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 10 3.2 The IO_SEND_OP_COND Command (CMD5) Figure 3-4 shows the format of the IO_SEND_OP_CO ND command (CMD5). The function of CMD5 for SDIO cards is similar to the operation of ACMD41 for SD memory cards.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 11 3.3 The IO_SEND_OP_COND Response (R4) An SDIO card receiving CMD5 shall respond with a SDIO unique response, R4.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 12 Once an SDIO card has received a CMD5, the I/O portion of that card is enabled to respond normally to all further commands.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 13 The card clears RCA to 0x0000 The card keeps current RCA value Figure 3-8 Re-Initialization Flow for I/O Controller Figure 3-8 shows the re-initialization flow for the I/O controller of a Com bo card.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 14 Figure 3-9 shows the equivalent command flow to re-initi alize the memory controller of a Combo card. The RCA value of xxxxh denotes an RCA value of either 0x0000 or the prior RCA va lue.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 15 4. Differences with SD Memory S pecification 4.1 SDIO Command List T able A-14 shows the list of commands accepted by SD memory and SDIO cards when using the SD bus interface.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 16 SD Memory Command SDIO Command Comment CMD18, CMD24, CMD25 read/write commands. T able 4-1 Unsupported SD Memory Commands 4.3 Modified R6 Response The normal response to CMD3 by a memory ca rd is R6 as shown in T able 4-2.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 17 I/O Memory Control Method Initialized Not Initialized CCCR Not Initialized Initialized ACMD6 Initialized Initia.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 18 4.8 Dat a T ransfer Block Sizes SDIO cards may transfer data in either a multi-byte (1 to 512 bytes) or an optional block format, while the SD memory cards are fixed in the block transfer mode.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 19 4.10.1 OCR Register All SD cards (memory , I/O and combo) shall have at least one OCR register . If the card is a combo card, it may have two OCR’s (one for memory and one for I/O).
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 20 identify it as an I/O only response. I/O specific status is reported by I/O response and Memory specific st at .
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 21 5. New I/O Read/W rite Commands T wo additional data transfer instructions have been added to support I/O.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 22 5.2 IO_R W_DIRECT Response (R5) The SDIO card’s response to CMD52 shall be in one of two formats. If the communication between the card and host is in the 1-bit or 4-bit SD mode, the response shall be in a 48-bit res ponse (R5) as de scribed in 5.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 23 Bit s Identifier Ty p e Va l u e Description Clear Condition 5-4 IO_CURRENT_ST A TE S 00=DIS 01=CMD 02=TRN 03=RFU DIS=Disabled: Initialize, S tandby and Inactive S tates (card not selected) CMD=DA T lines free: 1.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 24 5.3 IO_R W_EXTENDED Command (CMD53) In order to read and write multiple I/O registers with a single command, a new command, IO_R W_EXTENDED is defined. This command is included in command class 9 ( I/O Commands).
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 25 address that increment by 1 after each oper ation. This command is used when large amounts of I/O data exist within the I/O card in a RAM like data buffer . In this operation, the start address is loaded into the Register Address field.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 26 6. SDIO Card Internal Operation I/O access differs from memory in that the registers can be written and read individu ally and directly without a F A T file structure or the concept of blocks (although block access is supporte d).
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 27 6.4 Suspend/Resume Within a multi-function SDIO or a Combo card, there are multipl e devices (I/O and memory) that share access to the SD bus.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 28 Figure 6-1 SDIO Internal Map 6.8 Common I/O Area (CIA) The Common I/O Area (CIA) shall be implemented on all SDIO cards. The CIA is accessed by the host via I/O reads and writes to function 0.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 29 Address Register Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0x00 CCCR/SDIO Revision SDIO bit 3 SDIO b.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 30 Field Ty p e Description SDx R/O SD Format V ersion number . These 4 bit s contain the version of the SD Physical S pecification that this card support s.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 31 Field Ty p e Description Bus Width 1:0 R/W Defines the da ta bus width (’00’=1-bit or’10’ =4-bit bus) to be used for dat a transfer . All Full-S peed SDIO cards suppo rt both 1 and 4-bit bus.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 32 Field Ty p e Description E4MI R/W Enable interrupt bet ween blocks of data in 4-bit SD m ode.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 33 Field Ty p e Description FSx R/W Select Function bit s 3:0 These four bits are used to select a function number (0-7) or the memory of a combo card (8) fo r Susp end/Resume.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 34 Field Ty p e Description SMPC R/O Support Master Power Control These bi ts tell the host if the card support s Master Power Control. SMPC=0 : The tot al card current is less than 200mA, even if all functions are active (IOEx=1).
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 35 6.10 Function Basic Registers (FBR) In addition to the CCCR, each supported I/O function has a 256-byte ar ea u.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 36 Field Ty p e Description Function CSA Enable R/W This bit controls access to the Code S torage Area for this function. If this bit is cleared t o 0, then any read or write access to the CSA sha ll be blocked.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 37 6.11 Card Information S tructure (CIS) The Card Information S tructure 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.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 38 6.14 Bus S t ate Diagram Figure 6-2 shows the Bus S tate Diagram for an SDIO card. It shows the bus states and their relations to SDIO commands and Suspend/Resume.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 39 7. Embedded I/O Code S torage Area (CSA) In order to support the concept of “Plug-and-Play” for SDIO cards, each function contained in a card may need to contain a block of memory for the storage of driver s and/or applications.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 40 8. SDIO Interrupt s In order to allow the SDIO card to interrupt the host, an interrupt function is added to a pin on the SD interface.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 41 8.1.7 T erminated Data T ransfer Interrupt Cycle This section is not included in the Simp lified Specification.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 42 9. SDIO Suspend/Resume Operation The procedure used to perform the Sus pend/Resume operation on the SD bus is: 1. The host determines whic h function is currently us ing the DA T[3:0] line(s).
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 43 10. SDIO Read W ait Operation The optional Read W ait (RW) operat i on is defined only for the SD 1-bit and 4-bit modes.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 44 11. Power Control 11.1 Power Control Overview The concept of high-power SDIO cards was introduced in V ersion 1.10 of the S DIO S pec ification. Power Control supports following two features: • High-Power Support SDIO cards created prior to V ersion 1.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 45 11.2.2 Power Selection Power Selection defines two power modes for a function: Lower Current Mode and Higher Current Mod e. A card implementing Power Selection gives the host the choice between these tw o power modes.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 46 • The host shall have the ability to manage power by ca lculating maximum current shown in the tuples and control EMPC , EPS and IOEx not to exceed total current that the host can s upply .
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 47 12. High-S peed Mode High-S peed mode increases the bus clock rate to 50MHz and the SD bus thr oughput from 12.5MB/sec to 25MB/sec. For information on High-S peed mode for SD memory cards see Part 1 Physical Layer Specification V ersion 2.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 48 13. SDIO Physical Properties This chapter is not included in the Simplified S pecification.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 49 itself as drawing more power that the host is willing to supply , thus lower power ca rds may have a competitive advantage in the market. The rest of this chapter is not incl uded in the Simp lified Specification.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 50 15. Inrush Current Limiting This chapter is not included in the Simplified S pecification.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 51 16. CIS Format s 16.1 CIS Reference Document The CIS used by SDIO is based directly upon the meta format specification us ed by PCMCIA and Compact Flash.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 52 16.4 T uple V ersion With the introduction of SDIO S pecificat ion V ersion 1.10, a differ ent format for the tuple information is possible based on the changes made by eac h s pecification revision.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 53 Note 1: the use of CISTPL_SDIO_STD is mandatory for all functions that claim to support a SDIO st andard interface specificati on (see 1.3). If the function does not support a standard SDIO interf ace, this tuple should be used with a value of 0.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 54 16.7.2 CISTPL_FUNCE: Function Extension T uple The CISTPL_FUNCE tuple provides standard information about the ca rd (common) and each individual function. There shall be one CI STPL_FUNCE in each function’s CIS immediately following the CISTPL_FUNCID tuple.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 55 16.7.4 CISTPL_FUNCE T uple for Function 1-7 This version of the CISTPL_FUNCE tuple gives the host common info rmation about each indi vidual function on a per-function basis.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 56 TPLFE_CSA_SIZE Size of the CSA space available for this function in bytes TPLFE_CSA_PROPERTY This byte contains flags i dentifying properties of th is function’s CSA.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 57 seconds. If the cards required no time-out, this field shall be set to 0x0000. TPLFE_SP_A VG_PWR_3.3V This value is the same as that of TPLFE_OP_AVG_PWR. TPLFE_SP_MAX_PWR_3.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 58 16.7.5 CISTPL_SDIO_STD: Function is a St andard SDIO Function This tuple code (0x91) has been reserved for use by SDIO devices that conform to t he application s pecifications for standard SDIO functions, as define d in those sep arate specif ications.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 59 Appendix A (Normative) A.1 SD and SPI Command List T able A-14 and T able A-15 show the commands that are supported by SD memory and SDIO devices in both SPI and SD modes.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 60 Supported Commands Abbreviation SDMEM System SDIO System Comments CMD0 GO_IDLE_ST A TE Mandatory Mandatory Used.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 61 Appendix B (Normative) B.1 Normative References The following documents are refere nced by this specification. This specification c an apply to any released versions of below SD S pecifications after V ersion 2.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 62 Appendix C C.1 Abbreviations and T erms 3C The original 3 companies that est ablished the SDA and the SD card specification ACMD Application CommanD An additional set of commands created to su pport SD specific requirements.
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 63 LOW , HIGH Binary interface states with defined assignment to a volt age level MBIO Multi-Block I/O miniSDIO Card A SDIO card based on the miniSD card form factor .
©Copyright 2000-2007 SD Card Association SDIO Simplified Specification V ersion 2.00 64 Appendix D (Informative) Appendix D is not included in the Simplified S pecification.
An important point after buying a device SDI Technologies SDIO Card (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought SDI Technologies SDIO Card yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data SDI Technologies SDIO Card - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, SDI Technologies SDIO Card you will learn all the available features of the product, as well as information on its operation. The information that you get SDI Technologies SDIO Card will certainly help you make a decision on the purchase.
If you already are a holder of SDI Technologies SDIO Card, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime SDI Technologies SDIO Card.
However, one of the most important roles played by the user manual is to help in solving problems with SDI Technologies SDIO Card. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device SDI Technologies SDIO Card along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center