
©Copyright 2000-2007 SD Card Association
SDIO Simplified Specification Version 2.00
40
8. SDIO
Interrupts
In order to allow the SDIO card to interrupt the host, an interrupt function is added to a pin on the SD interface.
Pin number 8, which is used as DAT[1] when operating in the 4-bit SD mode, is used to signal the card’s
interrupt to the host. The use of interrupt is optional for each card or function within a card. The SDIO interrupt is
“level sensitive”, that is, the interrupt line shall be held active (low) until it is either recognized and acted upon by
the host or de-asserted due to the end of the Interrupt Period (see 8.1.2). Once the host has serviced the
interrupt, it is cleared via some function unique I/O operation. All hosts shall provide pull-up resistors on all data
lines DAT[3:0] as described in section 6 of the SD Physical Specification.
8.1 Interrupt
Timing
The operation of the interrupt pin is different between the SPI mode and the SD mode. The operation of the
interrupt pin is defined as follows:
8.1.1
SPI and SD 1-bit Mode Interrupts
In the SPI and 1-bit SD mode, Pin 8 is dedicated to the interrupt function. Thus, in the SPI and SD 1-bit modes
there are no timing constraints on interrupts. A card in the SPI or 1-bit SD mode signals an interrupt to the host
at any time by asserting pin 8 low. The host detects this pending interrupt using a level sensitive input. The host
is responsible for clearing the interrupt. If the SDIO card is operating in the SPI mode, the interrupt from the card
may not be asserted if the card is not selected.(CS=0). The exception to this requirement occurs only if the card
is both capable of interrupting when not selected (the SCSI bit in the CCCR = 1), and has that feature turned on
(the ECSI bit = 1). In this case, the card may assert the interrupt irrespective of the state of the CS line. For more
information, see Table 6-1.
8.1.2
SD 4-bit Mode
Since Pin 8 is shared between the IRQ and DAT[1] use in the 4-bit SD mode, an interrupt shall only be sent by
the card and recognized by the host during a specific time. The time that a low on Pin 8 shall be recognized as
an interrupt is defined as the
Interrupt Period
.
An SDIO host shall only sample the level on Pin 8 (DAT[1]/IRQ) into the interrupt detector during the Interrupt
Period. At all other times, the host interrupt controller shall ignore the level on Pin 8. Note that the Interrupt
Period is applicable for both memory and I/O operations
The definition of the Interrupt Period is different for operations with single block and multiple block data transfer.
8.1.3
Interrupt Period Definition
This section is not included in the Simplified Specification.
8.1.4
Interrupt Period at the Data Block Gap in 4-bit SD Mode (Optional)
This section is not included in the Simplified Specification.
8.1.5
Inhibited Interrupts (Removed Section)
This section is not included in the Simplified Specification.
8.1.6
End of Interrupt Cycles
This section is not included in the Simplified Specification.