SDIO SPEC

the process can be divided into two cases.

1. power up

2. reset

 

1. power up

a. power up the SDIO card

b. all pins will be high.

c. sclk should be less than 400kHz ( raise clock rate after the init process are done and  successful)

d. cmd5 from host to wifi card, confirming i/o function and acceptable voltage the card allows

e. OCR(R4) returns from wifi to host for response to cmd5

f. send cmd3

g. response by RCA (R6)

h. send cmd7

i. response by RCA(R1)

j. send cmd52 to read or write any register(response with R5)

l. cmd 53 to read or write some multiple register. ( response with R5)

 

2. reset

a. host sends cmd52 to reset all I/O

b. the same as the above from cmd5

 

 

3. data transfer block size

SDIO supports data transferred in either a multi-bytes(1~2048) or optional size.

SD card only supports fixed format.

for SDIO, the size must be the powers of 2. the value can be difined in the CIS.

 

4. interrupt

for SDIO, pin 8 is used for interrupt pin. the method of the interrupt generated by the card is sensitive level.

host will respond to the interrupt or de-asserted the signal.

for 1-bit, the interrupt pin is dedicated, while for 4-bits, the pin is multi-used by DAT[1] and interrupt. only in interrupt timing period, the host will recognize it as the interrupt irq signal.

你可能感兴趣的:(SDIO SPEC)