Secure digital input/output interface (SDIO)
RM0090
1060/1731
DocID018909 Rev 11
31.9.11
SDIO status register (SDIO_STA)
Address offset: 0x34
Reset value: 0x0000 0000
The SDIO_STA register is a read-only register. It contains two types of flag:
•
Static flags (bits [23:22,10:0]): these bits remain asserted until they are cleared by
writing to the SDIO Interrupt Clear register (see SDIO_ICR)
•
Dynamic flags (bits [21:11]): these bits change state depending on the state of the
underlying logic (for example, FIFO full and empty flags are asserted and deasserted
as data while written to the FIFO)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
Reser
ve
d
CE
A
TAE
N
D
S
D
IO
IT
RX
D
A
V
L
TXDA
VL
RXFIFO
E
TXFI
FOE
RXFIF
O
F
TXF
IFO
F
RXFIF
O
HF
TXFI
FOHE
RXA
C
T
TXACT
CMDACT
D
B
CKEND
STBI
TERR
DA
TAEND
CMDSENT
CMDREND
RXOV
ERR
TXUNDERR
DTIME
O
UT
CTIME
O
UT
DCRC
FA
IL
CCRC
FA
IL
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Bits 31:24 Reserved, must be kept at reset value
Bit 23
CEATAEND:
CE-ATA command completion signal received for CMD61
Bit 22
SDIOIT:
SDIO interrupt received
Bit 21
RXDAVL:
Data available in receive FIFO
Bit 20
TXDAVL:
Data available in transmit FIFO
Bit 19
RXFIFOE:
Receive FIFO empty
Bit 18
TXFIFOE:
Transmit FIFO empty
When HW Flow Control is enabled, TXFIFOE signals becomes activated when the FIFO
contains 2 words.
Bit 17
RXFIFOF:
Receive FIFO full
When HW Flow Control is enabled, RXFIFOF signals becomes activated 2 words before the
FIFO is full.
Bit 16
TXFIFOF:
Transmit FIFO full
Bit 15
RXFIFOHF:
Receive FIFO half full: there are at least 8 words in the FIFO
Bit 14
TXFIFOHE:
Transmit FIFO half empty: at least 8 words can be written into the FIFO
Bit 13
RXACT:
Data receive in progress
Bit 12
TXACT:
Data transmit in progress
Bit 11
CMDACT:
Command transfer in progress
Bit 10
DBCKEND:
Data block sent/received (CRC check passed)
Bit 9
STBITERR:
Start bit not detected on all data signals in wide bus mode
Bit 8
DATAEND:
Data end (data counter, SDIDCOUNT, is zero)
Bit 7
CMDSENT:
Command sent (no response required)
Bit 6
CMDREND:
Command response received (CRC check passed)
Bit 5
RXOVERR:
Received FIFO overrun error