This section provides information on the SDIO_CARD_FN1 Module Instance within this product. Each of the registers within the Module Instance is described separately below.
|
Register Name |
Type |
Register Width (Bits) |
Register Reset |
Address Offset |
|
RW |
32 |
0x0000 0000 |
0x0000 0000 |
|
|
RW |
32 |
0x0000 0004 |
0x0000 0004 |
|
|
RW |
32 |
0x0000 0080 |
0x0000 000C |
|
|
RW |
32 |
0x0002 0002 |
0x0000 0010 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0014 |
|
|
RW |
32 |
0x0000 3FFF |
0x0000 0018 |
|
|
RW |
32 |
0x0000 0007 |
0x0000 001C |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0020 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0024 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0028 |
|
|
RW |
32 |
0x0000 0001 |
0x0000 002C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0030 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0034 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0038 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 003C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0040 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0044 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1000 |
|
Address offset |
0x0000 0000 |
||
|
Description |
A write only register. Flush command of the RX / TX buffers |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
Reserved |
|
RO |
0x0000 0000 |
||
|
1 |
TXBUF |
TX BUFFER FLUSH: |
WO |
0 |
||
|
0 |
RXBUF |
RX BUFFER FLUSH: |
WO |
0 |
||
|
Address offset |
0x0000 0004 |
||
|
Description |
A R/W register that stores one of the RX buffer thresholds. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
Reserved |
|
RO |
0x00 0000 |
||
|
7:2 |
RXTHR |
Buffer almost full threshold - When passing threshold an interrupt is generated (used by the software to indicate packets in buffer) |
RW |
0x01 |
||
|
1:0 |
Reserved |
|
RO |
0x0 |
||
|
Address offset |
0x0000 000C |
||
|
Description |
TX IRQ TRIG THR: |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
Reserved |
|
RO |
0x00 0000 |
||
|
7:0 |
MEM_TXIRQTHR |
8-bit value describing the number of bytes needed to trigger host irq |
RW |
0x80 |
||
|
Address offset |
0x0000 0010 |
||
|
Description |
A R/W register setting the BLOCK SIZE for the RX and TX DMA flow control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:19 |
Reserved |
|
RO |
0x0000 |
||
|
18:16 |
TXDMABLK |
TX DMA BLOCK SIZE SEL: |
RW |
0x2 |
||
|
15:3 |
Reserved |
|
RO |
0x0000 |
||
|
2:0 |
RXDMABLK |
RX DMA BLOCK SIZE SEL: |
RW |
0x2 |
||
|
Address offset |
0x0000 0014 |
||
|
Description |
A RO register. Holds the status of the different interrupts of the SDIO. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:14 |
Reserved |
|
RO |
0x0 0000 |
||
|
13 |
HOST2CORE |
Host to Card 15 bit message ready indication |
RO |
0 |
||
|
12 |
CRCERR |
'1' = CRC Error was detected for rx flow |
RO |
0 |
||
|
11 |
PHYINT |
SDIO PHY interrupt |
RO |
0 |
||
|
10 |
CARDRST |
Card Reset interrupt |
RO |
0 |
||
|
9 |
PHYIFERR |
Error in the OCP interface of the SDIO PHY |
RO |
0 |
||
|
8 |
HCIWRRET |
HCI packet write retry |
RO |
0 |
||
|
7 |
HCINACK |
HCI packet NACK interrupt |
RO |
0 |
||
|
6 |
HCIACK |
HCI packet ACK interrupt |
RO |
0 |
||
|
5 |
TXBUFUNR |
TX Buffer under-run interrupt |
RO |
0 |
||
|
4 |
TXBUFOVR |
TX Buffer overrun interrupt |
RO |
0 |
||
|
3 |
RXBUFUNR |
RX Buffer under-run interrupt |
RO |
0 |
||
|
2 |
RXBUFOVR |
RX Buffer overrun interrupt |
RO |
0 |
||
|
1 |
FN1EN |
Function #1 enable interrupt |
RO |
0 |
||
|
0 |
RXALMSFULL |
RX Buffer almost full interrupt |
RO |
0 |
||
|
Address offset |
0x0000 0018 |
||
|
Description |
A R/W register. Holds the mask bits of the different interrupts of the SDIO. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:14 |
Reserved |
|
RO |
0x0 0000 |
||
|
13 |
HOST2CORE |
Host to Card 15 bit message ready indication |
RW |
1 |
||
|
12 |
CRCERR |
'1' = CRC Error was detected for rx flow |
RW |
1 |
||
|
11 |
PHYMASK |
SDIO PHY interrupt |
RW |
1 |
||
|
10 |
CARDRST |
Card Reset interrupt |
RW |
1 |
||
|
9 |
PHYIFERR |
Error in the OCP interface of the SDIO PHY |
RW |
1 |
||
|
8 |
HCIWRRET |
HCI packet write retry |
RW |
1 |
||
|
7 |
HCINACK |
HCI packet NACK interrupt |
RW |
1 |
||
|
6 |
HCIACK |
HCI packet ACK interrupt |
RW |
1 |
||
|
5 |
TXBUFUNR |
TX Buffer under-run interrupt |
RW |
1 |
||
|
4 |
TXBUFOVR |
TX Buffer overrun interrupt |
RW |
1 |
||
|
3 |
RXBUFUNR |
RX Buffer under-run interrupt |
RW |
1 |
||
|
2 |
RXBUFOVR |
RX Buffer overrun interrupt |
RW |
1 |
||
|
1 |
FN1EN |
Function #1 enable interrupt |
RW |
1 |
||
|
0 |
RXALMSFULL |
RX Buffer almost full interrupt |
RW |
1 |
||
|
Address offset |
0x0000 001C |
||
|
Description |
A R/W register to control SDIO operation. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:4 |
Reserved |
|
RO |
0x000 0000 |
||
|
3 |
HIRQSYNC |
HOST IRQ SYNCHRONIZATION: |
RW |
0 |
||
|
2 |
TXBUF_EN |
TX BUFFER FLUSH EN: |
RW |
1 |
||
|
1 |
BACE |
BUSY AFTER CRC ERROR: |
RW |
1 |
||
|
0 |
SDIOEN |
SDIO enable - Enable SDIO after CRC error. |
RW |
1 |
||
|
Address offset |
0x0000 0020 |
||
|
Description |
RX SDIO PACKET SIZE: |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:10 |
Reserved |
|
RO |
0x00 0000 |
||
|
9:0 |
RXPACS |
Length of the current received SDIO packet. Updated at the beginning of each SDIO packet |
RO |
0x000 |
||
|
Address offset |
0x0000 0024 |
||
|
Description |
RX BYTES IN BUFF: |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:11 |
Reserved |
|
RO |
0x00 0000 |
||
|
10:0 |
RXBBUFFER |
Current number of bytes in SDIO RX buffer |
RO |
0x000 |
||
|
Address offset |
0x0000 0028 |
||
|
Description |
RX BYTES LEFT: |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
|
RO |
0x0000 |
||
|
15 |
BLIL |
BYTES LEFT IS LOCKED: |
RO |
0 |
||
|
14:11 |
Reserved |
|
RO |
0x0 |
||
|
10:0 |
RXBLFT |
A counter that is loaded with SDIO packet length and decremented the same as the incrementing of bytes-in-buffer status register |
RO |
0x000 |
||
|
Address offset |
0x0000 002C |
||
|
Description |
A read/write register. The value states if the BT-SDIO is working with Retry Control mechanism as specified in SDIO spec. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
|
RO |
0x0000 0000 |
||
|
0 |
RETCTL |
When FW writes '1' to this bit, it states that the BT-SDIO is using retry control mechanism. When FW reads this bit, it actually reads the value of the Function 1's RETRY_CONTROL register (the value that the host configured). Default value is '1' because BT FW MUST have retry control mechanism working |
RW |
1 |
||
|
Address offset |
0x0000 0030 |
||
|
Description |
IRQ2Host Message 16b |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:17 |
Reserved |
|
RO |
0x0000 |
||
|
16 |
C2HIRQ |
CARD TO HOST IRQ: |
WO |
0 |
||
|
15:0 |
C2HSTS |
CARD TO HOST STS: |
RW |
0x0000 |
||
|
Address offset |
0x0000 0034 |
||
|
Description |
IRQ from Host to card Message 16b |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:15 |
Reserved |
|
RO |
0x0 0000 |
||
|
14:0 |
H2CSTS |
HOST TO CARD STS: |
RO |
0x0000 |
||
|
Address offset |
0x0000 0038 |
||
|
Description |
Clock gating control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
|
RO |
0x0000 0000 |
||
|
0 |
VAL |
1'b0 - disable clk |
RW |
0 |
||
|
Address offset |
0x0000 003C |
||
|
Description |
A read/write 8-bit register that serves for future debug only. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
Reserved |
|
RO |
0x00 0000 |
||
|
7:0 |
SPAREREG |
spare |
RW |
0x00 |
||
|
Address offset |
0x0000 0040 |
||
|
Description |
A write-only register. When written, it clears all SDIO pending interrupts |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:14 |
Reserved |
|
RO |
0x0 0000 |
||
|
13 |
HOST2CORE |
Host to Card 15 bit message ready indication |
WO |
0 |
||
|
12 |
CRCERR |
CRC Error clear |
WO |
0 |
||
|
11 |
PHYCLEAR |
SDIO PHY interrupt clear |
WO |
0 |
||
|
10 |
CARDRST |
Card Reset interrupt clear |
WO |
0 |
||
|
9 |
PHYIFERR |
Error in the OCP interface of the SDIO PHY clear |
WO |
0 |
||
|
8 |
HCIWRRET |
HCI packet write retry clear |
WO |
0 |
||
|
7 |
HCINACK |
HCI packet NACK interrupt clear |
WO |
0 |
||
|
6 |
HCIACK |
HCI packet ACK interrupt clear |
WO |
0 |
||
|
5 |
TXBUFUNR |
TX Buffer under-run interrupt clear |
WO |
0 |
||
|
4 |
TXBUFOVR |
TX Buffer overrun interrupt clear |
WO |
0 |
||
|
3 |
RXBUFUNR |
RX Buffer under-run interrupt clear |
WO |
0 |
||
|
2 |
RXBUFOVR |
RX Buffer overrun interrupt clear |
WO |
0 |
||
|
1 |
FN1EN |
Function #1 enable interrupt |
WO |
0 |
||
|
0 |
RXALMSFULL |
RX Buffer almost full interrupt clear |
WO |
0 |
||
|
Address offset |
0x0000 0044 |
||
|
Description |
reset sdio IP due to a SDIO Card Reset command: |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
|
RO |
0x0000 0000 |
||
|
0 |
EN |
Function #1 enable interrupt |
RW |
0 |
||
|
Address offset |
0x0000 1000 |
||
|
Description |
Common shadow register to access SDIO-Card RX-Fifo or TX-Fifo |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
RDRXWRTX |
Common access for either: |
RW |
0x0000 0000 |
||