TC1796
System Units (Vol. 1 of 2)
Direct Memory Access Controller
User’s Manual
12-30
V2.0, 2007-07
DMA, V2.0
12.1.8.3 Move Engine Interrupts
Each of the two Move Engines is able to detect error conditions that occur during
accesses to the two FPI Bus interfaces of the Bus Switch (see
). Two error
conditions can be detected:
•
Source error
•
Destination error
A source error indicates an FPI Bus error that occurred during a read move from the data
source. A destination error indicates an FPI Bus error that occurred during a write move
to the data destination.
A source error of Move Engine m is indicated by the status flag ERRSR.MEmSER.
Status flag MEmSER can be cleared by software when setting bit CLRE.CMEmSER.
The source error interrupt of Move Engine m is enabled when bit EER.MEmSER is set.
Separate clear, status, and enable bits are also available in each of the Move Engines
for the destination error condition. Each of the two Move Engine interrupts can be
directed to one of the interrupt outputs SR[15:0]
1)
by setting the Move Engine interrupt
pointer EER.MEmINP with a corresponding value.
Note that in case of a read move error, the write move is not executed but the destination
address is updated.
Figure 12-21 Move Engine Interrupts
1) In the TC1796, only SR[7:0] are connected to interrupt nodes.
Move Engine m
Source Error
Interrupt
CLRE
Clear
ERRSR
CLRE
Clear
ERRSR
Move Engine m
Destination Error
Interrupt
m = 0-1
Set
Set
CMEmSER
CMEmDER
MEmSER
MEmDER
MCA05698_mod
MEmINP
EER
EER
EER
4
³1
EMEmSER
EMEmDER