Enhanced Direct Memory Access Controller (eDMA)
Freescale Semiconductor
21-31
PXR40 Microcontroller Reference Manual, Rev. 1
21.3.2.14 eDMA Error Registers (EDMA_x_ERH, EDMA_x_ERL)
The EDMA_A_ERH and EDMA
_x
_ERL provides a bit map for the 32 channels signaling the presence of
an error for each channel. EDMA_A_ERH supports channels 63–32 (for eDMA_A) and EDMA
_x
_ERL
maps to channels 31-0.
The DMA engine signals the occurrence of a error condition by setting the appropriate bit in this register.
The outputs of this register are enabled by the contents of the EDMA
_x
_EEIR, then logically summed
across across 32 (64 for eDMA_A) channels to form an error interrupt request, which is then routed to the
interrupt controller. During the execution of the interrupt service routine associated with any eDMA errors,
it is software’s responsibility to clear the appropriate bit, negating the error interrupt request. Typically, a
write to the EDMA
_x
_CER in the interrupt service routine is used for this purpose. The normal eDMA
channel completion indicators, setting the transfer control descriptor DONE flag and the possible assertion
of an interrupt request, are not affected when an error is detected.
The contents of this register can also be polled and a non-zero value indicates the presence of a channel
error, regardless of the state of the EDMA
_x
_EEIR. The EDMA
_x
_ESR[VLD] bit is a logical OR of all
bits in this register and it provides a single bit indication of any errors. The state of any given channel’s
error indicators is affected by writes to this register; it is also affected by writes to the EDMA
_x
_CER. On
writes to EDMA_A_ERH or EDMA
_x
_ERL, a 1 in any bit position clears the corresponding channel’s
error status. A 0 in any bit position has no effect on the corresponding channel’s current error status. The
EDMA_
x
_CER is provided so the error indicator for a single channel can be cleared.
Table 21-16. EDMA_x_IRQRL Field Descriptions
Field
Description
0–31
INTn
eDMA Interrupt Request n.
0 The interrupt request for channel n is cleared.
1 The interrupt request for channel n is active.
Address: EDMA_ 0x0028
Access: User R/W
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R ERR
63
ERR
62
ERR
61
ERR
60
ERR
59
ERR
58
ERR
57
ERR
56
ERR
55
ERR
54
ERR
53
ERR
52
ERR
51
ERR
50
ERR
49
ERR
48
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 ERR
47
ERR
46
ERR
45
ERR
44
ERR
43
ERR
42
ERR
41
ERR
40
ERR
39
ERR
38
ERR
37
ERR
36
ERR
35
ERR
34
ERR
33
ERR
32
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 21-19. eDMA Error High Register (EDMA_A_ERH)
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...