09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Table 141. Erase timeout field (continued)<br />

ERASE_OFFSET<br />

This 2-bit field indicates TOFFSET and one of four values can be selected. This field is<br />

meaningless if the ERASE_SIZE and ERASE_TIMEOUT fields are set to 0.<br />

28.4.13 SD I/O mode<br />

ERASE_TIMEOUT Value definition<br />

--------- ---------<br />

63 63 [sec]<br />

Table 142. Erase offset field<br />

SD I/O interrupts<br />

ERASE_OFFSET Value definition<br />

0h 0 [sec]<br />

1h 1 [sec]<br />

2h 2 [sec]<br />

3h 3 [sec]<br />

To allow the SD I/O card to interrupt the MultiMediaCard/SD module, an interrupt function is<br />

available on a pin on the SD interface. Pin 8, used as SDIO_D1 when operating in the 4-bit<br />

SD mode, signals the cards interrupt to the MultiMediaCard/SD module. The use of the<br />

interrupt is optional for each card or function within a card. The SD I/O interrupt is levelsensitive,<br />

which means that the interrupt line must be held active (low) until it is either<br />

recognized and acted upon by the MultiMediaCard/SD module or deasserted due to the end<br />

of the interrupt period. After the MultiMediaCard/SD module has serviced the interrupt, the<br />

interrupt status bit is cleared via an I/O write to the appropriate bit in the SD I/O card’s<br />

internal registers. The interrupt output of all SD I/O cards is active low and the application<br />

must provide external pull-up resistors on all data lines (SDIO_D[3:0]). The<br />

MultiMediaCard/SD module samples the level of pin 8 (SDIO_D/IRQ) into the interrupt<br />

detector only during the interrupt period. At all other times, the MultiMediaCard/SD module<br />

ignores this value.<br />

The interrupt period is applicable for both memory and I/O operations. The definition of the<br />

interrupt period for operations with single blocks is different from the definition for multipleblock<br />

data transfers.<br />

SD I/O suspend and resume<br />

Within a multifunction SD I/O or a card with both I/O and memory functions, there are<br />

multiple devices (I/O and memory) that share access to the MMC/SD bus. To share access<br />

to the MMC/SD module among multiple devices, SD I/O and combo cards optionally<br />

implement the concept of suspend/resume. When a card supports suspend/resume, the<br />

MMC/SD module can temporarily halt a data transfer operation to one function or memory<br />

(suspend) to free the bus for a higher-priority transfer to a different function or memory. After<br />

this higher-priority transfer is complete, the original transfer is resumed (restarted) where it<br />

left off. Support of suspend/resume is optional on a per-card basis. To perform the<br />

Doc ID 018909 Rev 3 872/1416

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

Saved successfully!

Ooh no, something went wrong!