X
1
0
X
1
0
Interrupt
enable
register
(IER)
Interrupt pending
register (IPR)
X
1
0
DMA region
access enable 0
(DRAE0)
Eval
pulse
EDMA3CC_INT0
IEVAL0.EVAL
pulse
Eval
X
1
0
(DRAE1)
access enable 1
DMA region
EDMA3CC_INT1
EDMA3CC_INT2
EDMA3CC_INT3
pulse
Eval
Eval
pulse
access enable 3
X
1
0
(DRAE2)
access enable 2
DMA region
X
1
DMA region
(DRAE3)
0
(not connected)
IEVAL1.EVAL
IEVAL3.EVAL
IEVAL2.EVAL
(not connected)
(not connected)
2.9.1.2
Clearing Transfer Completion Interrupts
2.9.2 EDMA3 Interrupt Servicing
www.ti.com
EDMA3 Interrupts
Figure 2-12. Interrupt Diagram
In order for the EDMA3CC to generate the transfer completion interrupts associated with each shadow
region, the following conditions need to be true:
•
EDMACC_INT0 (to ARM): (IPR.E0 & IER.E0 & DRAE0.E0) | (IPR.E1 & IER.E1 & DRAE0.E1) |
…
|(IPRH.E63 & IERH.E63 & DRAHE0.E63)
Enabling the transfer completion region interrupts by DRAE/DRAEH makes provision for unique
assignment of channels and interrupts in a multiple-CPU environment. This allows independent operations
for all CPU(s) (or EDMA3 masters) in using the EDMA3 resources.
Transfer completion interrupts that are latched to the interrupt pending registers (IPR/IPRH) are cleared by
writing a 1 to the corresponding bit in the interrupt pending clear register (ICR/ICRH). For example, a write
of 1 to ICR.E0 clears a pending interrupt in IPR.E0.
If an incoming transfer completion code (TCC) gets latched to a bit in IPR/IPRH, then additional bits that
get set due to a subsequent transfer completion will not result in asserting the EDMA3CC completion
interrupt. In order for the completion interrupt to be pulsed, the required transition is from a state where no
enabled interrupts are set to a state where at least one enabled interrupt is set.
On completion of a transfer (early or normal completion), the EDMA3 channel controller sets the
appropriate bit in the interrupt pending registers (IPR/IPRH) as specified by the transfer completion codes.
If the completion interrupts are appropriately enabled, then the CPU enters the interrupt service routine
(ISR) when the completion interrupt is asserted. Since there is a single completion interrupt for all
DMA/QDMA channels.
SPRUG34 – November 2008
EDMA3 Architecture
51
Summary of Contents for TMS320DM357
Page 2: ...2 SPRUG34 November 2008 Submit Documentation Feedback ...
Page 12: ...List of Tables 12 SPRUG34 November 2008 Submit Documentation Feedback ...
Page 16: ...Read This First 16 SPRUG34 November 2008 Submit Documentation Feedback ...
Page 64: ...EDMA3 Architecture 64 SPRUG34 November 2008 Submit Documentation Feedback ...