Preliminary
www.ti.com
Registers
9.4.29 ADMA Error Status Register (SD_ADMAES)
When an ADMA Error Interrupt has occurred, the ADMA Error States field in this register holds the
ADMA state and the ADMA System Address Register holds the address around the error descriptor.
For recovering the error, the Host Driver requires the ADMA state to identify the error descriptor
address as follows:
•
ST_STOP: Previous location set in the ADMA System Address register is the error descriptor
address.
•
ST_FDS: Current location set in the ADMA System Address register is the error descriptor address.
•
ST_CADR: This sate is never set because do not generate ADMA error in this state.
•
ST_TFR: Previous location set in the ADMA System Address register is the error descriptor
address.
In the case of a write operation, the Host Driver should use ACMD22 to get the number of written block
rather than using this information, since unwritten data may exist in the Host Controller. The Host
Controller generates the ADMA Error Interrupt when it detects invalid descriptor data (Valid=0) at the
ST_FDS state. In this case, ADMA Error State indicates that an error occurs at ST_FDS state. The
Host Driver may find that the Valid bit is not set in the error descriptor.
The ADMA error status register (SD_BLK) is shown in
and described in
.
Figure 9-57. ADMA Error Status Register (SD_ADMAES)
31
3
2
1
0
Reserved
LME
AES
R-0
W-0
R/W-0
LEGENDR/W = Read/Write; R = Read only; -n = value after reset
Table 9-39. ADMA Error Status Register (SD_ADMAES) Field Descriptions
Bit
Field
Value
Description
31-3
Reserved
0
Reserved bit field. Do not write any value.
2
LME
ADMA Length Mismatch Error:
• While Block Count Enable is being set, the total data length specified by the Descriptor
table is different from that specified by the Block Count and Block Length.
• Total data length cannot be divided by the block length.
0
No error
1
Error
1-0
AES
ADMA Error State. This field indicates the state of ADMA when an error occurred during an
ADMA data transfer. This field never indicates "10" because ADMA never stops in this state.
Read 0
ST_STOP (Stop DMA). Contents of the SYS_SDR register
Write 1h
ST_STOP (Stop DMA). Points to the error descriptor.
Read 2h
Never set this state. (Not used)
Write 3h
ST_TFR (Transfer Data). Points to the 'next' of the error descriptor.
1007
SPRUGX9 – 15 April 2011
Secure Digital (SD)/—Secure Digital I/O (SDIO) Card Interface
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...