2.9
EDMA3 Interrupts
2.9.1 Transfer Completion Interrupts
www.ti.com
EDMA3 Interrupts
The EDMA3 interrupts are divided into 2 categories:
•
Transfer completion interrupts
•
Error interrupts
The transfer completion interrupts are listed in
and the error interrupts are listed in
For more information on the ARM interrupt controller (AINTC), see the
TMS320DM357 DMSoC ARM
Subsystem Reference Guide
(
Table 2-11. EDMA3 Transfer Completion Interrupts
Interrupt Number
Name
Description
ARM
AINTC
EDMA3CC_INT0
EDMA3CC Transfer Completion Interrupt Shadow
x
16
Region 0
EDMA3CC_INT1
EDMA3CC Transfer Completion Interrupt Shadow
-
-
Region 1
EDMA3CC_INT2
EDMA3CC Transfer Completion Interrupt Shadow
-
-
Region 2
Table 2-12. EDMA3 Error Interrupts
Interrupt Number
Name
Description
ARM
AINTC
EDMA3CC_ERRINT
EDMA3CC Error Interrupt
x
17
EDMA3TC_ERRINT0
TC0 Error Interrupt
x
18
EDMA3TC_ERRINT1
TC1 Error Interrupt
x
19
The EDMA3CC is responsible for generating transfer completion interrupts to the CPU(s) (and other
EDMA3 masters). The EDMA3 generates a single completion interrupt per shadow region on behalf of all
DMA/QDMA channels. Various control registers and bit fields facilitate EDMA3 interrupt generation.
The transfer completion code (TCC) value is directly mapped to the bits of the interrupt pending register
(IPR/IPRH), as shown in
. For example, if TCC = 10 0001b, IPRH[1] is set after transfer
completion, and results in interrupt generation to the CPU(s) if the completion interrupt is enabled for the
CPU. See
for details on enabling EDMA3 transfer completion interrupts.
When a completion code is returned (as a result of early or normal completion), the corresponding bit in
IPR/IPRH is set. For the completion code to be returned, the PaRAM set associated with the transfer must
enable the transfer completion interrupt (final/intermediate) in the channel options parameter (OPT).
The transfer completion code (TCC) can be programmed to any value for a DMA/QDMA channel. There
does not need to be a direct relation between the channel number and the transfer completion code value.
This allows multiple channels having the same transfer completion code value to cause a CPU to execute
the same interrupt service routine (ISR) for different channels.
If the channel is used in the context of a shadow region and you intend for the shadow region interrupt to
be asserted, then ensure that the bit corresponding to the TCC code is enabled in IER/IERH and in the
corresponding shadow regions's DMA region access registers (DRAE/DRAEH).
SPRUG34 – November 2008
EDMA3 Architecture
49
Содержание TMS320DM357
Страница 2: ...2 SPRUG34 November 2008 Submit Documentation Feedback ...
Страница 12: ...List of Tables 12 SPRUG34 November 2008 Submit Documentation Feedback ...
Страница 16: ...Read This First 16 SPRUG34 November 2008 Submit Documentation Feedback ...
Страница 64: ...EDMA3 Architecture 64 SPRUG34 November 2008 Submit Documentation Feedback ...