English
Language : 

W90P710_05 Datasheet, PDF (235/526 Pages) Winbond – 16/32-bit ARM microcontroller
W90P710
7.9 SDIO Host Controller
The SDIO host controller of W90P710 supports Secure Digital card devices (SD, SDIO & MMC). The
SDIO controller also supports DMA function to reduce the intervention of CPU for data transfer
between flash memory card and system memory.
There are two 512B internal buffers embedded in the SDIO host controller to buffer the data
temporally for DMA transfer between flash memory card and system memory.
The SDIO host controller features are shown as below:
y Directly connect to Secure Digital (SD, MMC or SDIO) flash memory card.
y Supports DMA function to accelerate the data transfer between the internal buffer, external
SDRAM, and flash memory card.
y Two 512 bytes internal buffers are embedded inside of the SDIO host controller.
y No SPI mode.
7.9.1 Functional Description
SDIO controller provides three signals, CLK, CMD and DAT[3:0], to all SD cards. CLK is a clock
output signal. CM and DAT[3:0] are bi-direction command and data signals, respectively.
The frequency of CLK is equal to (engine clock frequency)/(SD_CLK+1), where SD_CLK is the value
of the SD clock control register. To save power, CLK is active only when there are activities between
SDIO host controller and SD cards. Otherwise, CLK keeps inactive state (LOW).
According to the SD specification, SDIO host controller provides several operations to communicate
with SD Cards efficiently. The CPU writes to the SD access control register to setup the operations.
When the command output enable bit of SD access control register is set, SDIO host controller
transfers a 48-bit command to one or more SD cards. When the transfer is done, this bit is reset to 0
automatically.
For a 48-bits command, the 6-bits command number is coming from SD CMD code register and the
32-bits command argument is coming from SD command argument 1-4 registers. All other bits
(including start bit, end bit and the CRC-7bits) are generated by SDIO host controller H/W circuit.
When the response input enable bit of SD access control register is set, SDIO host controller waits for
a 48-bit response form one or more SD cards. When a 48-bit response is received, this bit is reset to 0
automatically.
The first 40 bits of the received response are stored into SD received response token1 – 5 registers.
The last 8 bits are CRC-7 bits and end bit. SDIO host controller H/W circuit checks CRC-7 and reports
the result to SD status register.
When the data input enable bit of SD access control register is set, SDIO host controller waits for a
block of data from a specific SD card. When a block of data is received, this bit is cleared to 0
automatically.
- 235 -
Publication Release Date: January 17, 2005
Revision A.2