
Enhanced Direct Memory Access Controller (eDMA)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
161
8.3.2.14
eDMA Error Registers (EDMA_ERH, EDMA_ERL)
Register EDMA_ERH and EDMA_ERL provide a bitmap for the 32 channels signaling the presence of
an error for each channel. EDMA_ERH supports channels 63–32 (for eDMA) and EDMA_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_EEIR, then logically summed across
32 (64 for eDMA) 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_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_EEIR. Bit EDMA_ESR[VLD] 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 effect on the corresponding channel’s current error status. The
EDMA_CER is provided so the error indicator for a single channel can be cleared.
Address: EDM 0x0024
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
INT
3
1
INT
3
0
INT
2
9
INT
2
8
INT
2
7
INT
2
6
INT
2
5
INT
2
4
INT
2
3
INT
2
2
INT
2
1
INT
2
0
INT
1
9
INT
1
8
INT
1
7
INT
1
6
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
19
19
20
21
22
23
24
25
26
27
28
29
30
31
R
IN
T15
IN
T14
IN
T13
IN
T12
INT1
1
IN
T10
IN
T09
IN
T08
IN
T07
IN
T06
IN
T05
IN
T04
IN
T03
IN
T02
IN
T01
IN
T00
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 8-17. eDMA Interrupt Request Register (EDMA_IRQRL)
Table 8-15. EDMA_IRQRL field descriptions
Field
Description
0–31
INT
n
eDMA Interrupt Request
n
0 The interrupt request for channel
n
is cleared.
1 The interrupt request for channel
n
is active.
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...