EasyManuals Logo

Maxim Integrated MAX32665 User Manual

Maxim Integrated MAX32665
457 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #218 background imageLoading...
Page #218 background image
MAX32665-MAX32668 User Guide
Maxim Integrated Page 218 of 457
ADMA Error Status Register
SDHC_ADMA_ER
[0x0054]
Bits
Name
Access
Reset
Description
2
len_mismatch
ROC
0
ADMA Length Mismatch Error
This error occurs in the following two cases:
1) When setting Block Count Enable, the total data length specified by
the Descriptor Table is different from that specified by the Block
Count and Block Length fields.
2) Total data length is not divisible by the Block Length field.
1: Error
0: No Error
1:0
state
ROC
0b00
ADMA Error State
The state of the ADMA when the error condition occurred. Only valid
during data transfer for ADMA.
The following table shows the possible state values, the associated ADMA
Error State, and the contents of the SDHC_SDMA register.
state
ADMA Error State when
the error occurred
SYS_SDR register contents
0b00
ST_STOP (Stop DMA)
Points next to the error
descriptor
0b01
ST_FDS (Fetch Descriptor)
Points to the error descriptor
0b10
N.A.
N.A.
0b11
ST_TFR (Transfer Data)
Points next to the error
descriptor
Note: 0b10 is not a valid error state and is never set.
Table 8-89: SDHC ADMA System Address Register 0
ADMA System Address Register 0
SDHC_ADMA_ADDR_0
[0x0058]
Bits
Name
Access
Reset
Description
31:0
addr
R/W
0
ADMA System Address 0
Holds the byte address of the executing command for the Descriptor Table. The Host
Driver must set this address, made up of
<SDHC_ADMA_ADDR_1>:<SDHC_ADMA_ADDR_0>, to the start address of the
Descriptor Table. The ADMA increments this register address when fetching a
descriptor line to point to the next address. When an ADMA Error Interrupt occurs,
this register holds a valid descriptor address depending on the ADMA state. The
following table shows the 64-bit System Address for ADMA using
<SDHC_ADMA_ADDR_1>:<SDHC_ADMA_ADDR_0>.
SDHC_ADMA_ADDR_1
SDHC_ADMA_ADDR_0
64-bit System Address
0x0000 0000
0x0000 0000
0x00000000_00000000
0x0000 0000
0x0000 0004
0x00000000_00000004
0x0000 0000
0x0000 0008
0x00000000_00000008
0x0000 0000
0x0000 000C
0x00000000_0000000C
……….
………..
…………..
0xFFFF FFFF
0xFFFF FFFC
0xFFFFFFFF_FFFFFFFC
Note: The Host Driver must program the Descriptor Table on 32-bit boundaries and set
the 32-bit boundary address to this register. ADMA2 ignores the lower two bits of this
register, assuming it to be 00b.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Maxim Integrated MAX32665 and is the answer not in the manual?

Maxim Integrated MAX32665 Specifications

General IconGeneral
BrandMaxim Integrated
ModelMAX32665
CategoryMotherboard
LanguageEnglish