65.14.39 SDMMC ADMA Error Status Register

Name: SDMMC_AESR
Offset: 0x54
Reset: 0x00
Property: Read-only

Bit 76543210 
      LMISERRST[1:0] 
Access RRR 
Reset 000 

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).

ValueDescription
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.

ValueNameDescription
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