MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor
9-21
9.3.1.14
eDMA Error Registers (EDMA_ERH, EDMA_ERL)
The EDMA_ERH and EDMA_ERL provide a bit map for the 64 channels signaling the presence of an
error for each channel. For the MPC5554, EDMA_ERH supports channels 63–32, while EDMA_ERL
covers channels 31–00. For the MPC5553, EDMA_ERL maps to channels 31-0. EDMA_ERH is reserved
on the MPC5553 and accessing it will result in a bus error.
The eDMA 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_EEIR, then logically summed across
groups of 16, 32, and 64 channels (MPC5554) or 16 and 32 channels (MPC5553) to form several group
error interrupt requests which is then routed to the interrupt controller. During the execution of the interrupt
service routine associated with any DMA errors, it is software’s responsibility to clear the appropriate bit,
negating the error interrupt request. Typically, a write to the EDMA_CER in the interrupt service routine
is used for this purpose. Recall the normal DMA 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_EEIR. The EDMA_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_CER. On writes
to EDMA_ERH or EDMA_ERL, a 1 in any bit position clears the corresponding channel’s error status.
A 0 in any bit position has no affect on the corresponding channel’s current error status. The EDMA_CER
is provided so the error indicator for a
single
channel can easily be cleared.
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
Reg Addr
Base + 0x0028
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
Reg Addr
Base + 0x0028
Figure 9-18. eDMA Error High Register (EDMA_ERH)—MPC5554 Only
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...