09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Secure digital input/output interface (SDIO) <strong>RM0090</strong><br />

28.3 SDIO functional description<br />

The SDIO consists of two parts:<br />

● The SDIO adapter block provides all functions specific to the MMC/SD/SD I/O card<br />

such as the clock generation unit, command and data transfer.<br />

● The APB2 interface accesses the SDIO adapter registers, and generates interrupt and<br />

DMA request signals.<br />

Figure 312. SDIO block diagram<br />

Interrupts and<br />

DMA request<br />

APB2 bus<br />

APB2<br />

interface<br />

PCLK2<br />

SDIO<br />

By default SDIO_D0 is used for data transfer. After initialization, the host can change the<br />

databus width.<br />

If a MultiMediaCard is connected to the bus, SDIO_D0, SDIO_D[3:0] or SDIO_D[7:0] can be<br />

used for data transfer. MMC V3.31 or previous, supports only 1 bit of data so only SDIO_D0<br />

can be used.<br />

If an SD or SD I/O card is connected to the bus, data transfer can be configured by the host<br />

to use SDIO_D0 or SDIO_D[3:0]. All data lines are operating in push-pull mode.<br />

SDIO_CMD has two operational modes:<br />

● Open-drain for initialization (only for MMCV3.31 or previous)<br />

● Push-pull for command transfer (SD/SD I/O card MMC4.2 use push-pull drivers also for<br />

initialization)<br />

SDIO_CK is the clock to the card: one bit is transferred on both command and data lines<br />

with each clock cycle. The clock frequency can vary between 0 MHz and 20 MHz (for a<br />

MultiMediaCard V3.31), between 0 and 48 MHz for a MultiMediaCard V4.0/4.2, or between<br />

0 and 25 MHz (for an SD/SD I/O card).<br />

The SDIO uses two clock signals:<br />

● SDIO adapter clock (SDIOCLK = 48 MHz)<br />

● APB2 bus clock (PCLK2)<br />

PCLK2 and SDIO_CK clock frequencies must respect the following condition:<br />

The signals shown in Table 126 are used on the MultiMediaCard/SD/SD I/O card bus.<br />

845/1416 Doc ID 018909 Rev 3<br />

SDIO<br />

adapter<br />

SDIOCLK<br />

Frequenc( PCLK2)<br />

≥<br />

3 ⁄ 8 × Frequency( SDIO_CK)<br />

SDIO_CK<br />

SDIO_CMD<br />

SDIO_D[7:0]<br />

ai15898

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!