The following table lists the SD_eMMC controller registers for the system DMA unit and command controls.
Register Name | Width | Offset Address | Type | Description |
---|---|---|---|---|
Register-based DMA | ||||
16 |
|
RW |
Dual-use, bits [15:0] for system DMA address or auto CMD23 argument 2 |
|
BLK_SIZE | 16 |
0x004
|
RW | Configure the number of bytes in a data block |
BLOCK_COUNT | 16 |
0x006
|
RW | Data block size and DMA/CRC enable |
DATA_PORT | 32 |
0x020
|
RW | Read/write the block buffer |
Command Registers | ||||
16 |
0x008
0x00A
|
RW |
Lower bits [15:0] of CMD argument |
|
TRANSFER_MODE | 16 |
0x00C
|
RW | Control the operations of data transfers |
CMD | 16 |
0x00E
|
RW | Controller commands |
AUTO_CMD12_ERR_STS | 16 |
0x03C
|
R | Indicate CMD12 response error of auto CMD12 and CMD23 response error of auto CMD 23 |
Responses | ||||
16 |
0x010 + 0x012 + |
R | SD command responses 0, 1, 2, and 3 | |
Force Event | ||||
16 |
|
W R, W |
Port to write to the auto CMD Error Status register |
|
Descriptor DMA | ||||
ADMA_ERR_STS | 8 |
0x054
|
R |
When the ADMA error interrupt occurs, this register holds the ADMA state in the ADMA error states field and the ADMA system address holds the address around the error descriptor |
16 |
0x058
0x05A
0x05C
0x05E
|
RW |
ADMA system address [15:2], word aligned |