Enhanced Direct Memory Access Controller (eDMA)
21-18
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
The occurrence of any type of error causes the DMA engine to stop the active channel and the appropriate
channel bit in the eDMA error register to be asserted. At the same time, the details of the error condition
are loaded into the EDMA_
x
_ESR. The major loop complete indicators, setting the transfer control
descriptor DONE flag and the possible assertion of an interrupt request, are not
affected when an error is
detected. After the error status has been updated, the DMA engine continues to operate by servicing the
next appropriate channel. A channel that experiences an error condition is not automatically disabled. If a
channel is terminated by an error and then issues another service request before the error is fixed, that
channel will execute and terminate with the same error condition.
Offset: EDMA_x_BASE + 0x0004
Access: User read-only
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R VLD
0
0
0
0
0
0
0
0
0
0
0
0
0
0
ECX
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R GPE
CPE
ERRCHN
SAE
SOE
DAE
DOE
NCE
SGE
SBE
DBE
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 21-4. eDMA Error Status Register (EDMA_x_ESR)
Table 21-5. EDMA_x_ESR Field Descriptions
Field
Description
0
VLD
Valid Bit. Logical OR of all EDMA_x_ERL status bits.
0 No EDMA_x_ER bits are set.
1 At least one EDMA_x_ER bit is set indicating a valid error exists that has not been cleared.
1–14
Reserved
15
ECX
Transfer canceled.
0 No canceled transfers.
1 The last recorded entry was a canceled transfer via the error cancel transfer input.
16
GPE
Group-priority error.
0 No group-priority error.
1 The last recorded error was a configuration error among the group priorities indicating not all group
priorities are unique.
17
CPE
Channel-Priority Error.
0 No channel-priority error.
1 The last recorded error was a configuration error in the channel priorities within a group, indicating not
all channel priorities within a group are unique.
18–23
ERRCHN
Error Channel Number or Canceled Channel Number. Channel number of the last recorded error
(excluding GPE and CPE errors) or last recorded transfer that was error cancelled.
Note: Do not rely on the number in the ERRCHN field group for channel-priority errors. Group- and
Channel-priority errors must be resolved by inspection. The application code must interrogate the
priority registers to find groups or channels with duplicate priority level.
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...