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.

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

Bits 31:15 Reserved, must be kept at reset value<br />

Bit 14 HWFC_EN: HW Flow Control enable<br />

0b: HW Flow Control is disabled<br />

1b: HW Flow Control is enabled<br />

When HW Flow Control is enabled, the meaning of the TXFIFOE and RXFIFOF interrupt<br />

signals, please see SDIO Status register definition in Section 28.9.11.<br />

Bit 13 NEGEDGE:SDIO_CK dephasing selection bit<br />

0b: SDIO_CK generated on the rising edge of the master clock SDIOCLK<br />

1b: SDIO_CK generated on the falling edge of the master clock SDIOCLK<br />

Bits 12:11 WIDBUS: Wide bus mode enable bit<br />

00: Default bus mode: SDIO_D0 used<br />

01: 4-wide bus mode: SDIO_D[3:0] used<br />

10: 8-wide bus mode: SDIO_D[7:0] used<br />

Bit 10 BYPASS: Clock divider bypass enable bit<br />

0: Disable bypass: SDIOCLK is divided according to the CLKDIV value before driving the<br />

SDIO_CK output signal.<br />

1: Enable bypass: SDIOCLK directly drives the SDIO_CK output signal.<br />

Bit 9 PWRSAV: Power saving configuration bit<br />

For power saving, the SDIO_CK clock output can be disabled when the bus is idle by setting<br />

PWRSAV:<br />

0: SDIO_CK clock is always enabled<br />

1: SDIO_CK is only enabled when the bus is active<br />

Bit 8 CLKEN: Clock enable bit<br />

0: SDIO_CK is disabled<br />

1: SDIO_CK is enabled<br />

Bits 7:0 CLKDIV: Clock divide factor<br />

This field defines the divide factor between the input clock (SDIOCLK) and the output clock<br />

(SDIO_CK): SDIO_CK frequency = SDIOCLK / [CLKDIV + 2].<br />

Note: While the SD/SDIO card or MultiMediaCard is in identification mode, the SDIO_CK<br />

frequency must be less than 400 kHz.<br />

The clock frequency can be changed to the maximum card bus frequency when relative<br />

card addresses are assigned to all cards.<br />

After a data write, data cannot be written to this register for three SDIOCLK (48 MHz) clock<br />

periods plus two PCLK2 clock periods. SDIO_CK can also be stopped during the read wait<br />

interval for SD I/O cards: in this case the SDIO_CLKCR register does not control SDIO_CK.<br />

Doc ID 018909 Rev 3 884/1416

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

Saved successfully!

Ooh no, something went wrong!