50.12.39 SDMMC ADMA Error Status Register
Name: | SDMMC_AESR |
Offset: | 0x54 |
Reset: | 0x00 |
Property: | Read-only |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
LMIS | ERRST[1:0] | ||||||||
Access | R | R | R | ||||||
Reset | 0 | 0 | 0 |
Bit 2 – LMIS ADMA Length Mismatch Error
This error occurs in the following two cases:
– While Block Count Enable (BCEN) is being set, the total data length specified by the Descriptor table is different from that specified by the Block Count (BLKCNT) and Transfer Block Size (BLKSIZE).
– The total data length cannot be divided by the Transfer Block Size (BLKSIZE).
Value | Description |
---|---|
0 | No error |
1 | Error |
Bits 1:0 – ERRST[1:0] ADMA Error State
This field indicates the state of ADMA when an error has occurred during an ADMA data transfer. This field never reads 2 because ADMA never stops in this state.
Value | Name | Description |
---|---|---|
0 | STOP | (Stop DMA) SDMMC_ASAR points to the descriptor following the error descriptor |
1 | FDS | (Fetch Descriptor) SDMMC_ASAR points to the error descriptor |
2 | – | (Not used) |
3 | TFR | (Transfer Data) SDMMC_ASAR points to the descriptor following the error descriptor |