DMA
priority
encoder
Chain
sync
Manual
sync
Event
sync
QMAP7
QMAP1
QMAP0
TPCC
QDMA Qnum registers
QDMA event (QER)
QDMA to PaSet mapping
DMA Qnum registers
Chain event enable (CER)
Event set (ESR)
Event enable (EER)
Event (ER)
E0 E1 E2 E3 E19
32x1
32x1
External events
DMA channel prioritization
0
63
x64
Defined
queue
ready?
6
DMA vs
QDMA
Event
queues
Queue
bypass
To CER
QDMA channel
prioritization
Memory
protection
Memory
protection
EDMA interrupt
(see note 2)
EDMA interrupts
(see note 2)
Channel interrupt pending
(IPR and IPRH)
Channel interrupt enable
(IER and IERH)
Completion
detect
QMAP7
QMAP1
QMAP0
QDMA to PaSet
mapping
(see note 1)
CMAP63
CMAP2
CMAP1
CMAP0
DMA to PaSet
mapping
Q1
Q0
PaRAM
Parameter set 0
Parameter set 1
Parameter set 2
Parameter set 3
Parameter set 126
Parameter set 127
To TPTC0
and
TPTC1
Completion
interface
(see note 1)
iva2-012
Public Version
IVA2.2 Subsystem Functional Description
www.ti.com
Each PaRAM entry can be used as a DMA entry (up to 64), QDMA entry (up to 8), or link entry
(remaining):
•
Up to 64 DMA logical channels:
–
64 channels can be triggered explicitly by the DSP CPU (DMA entry).
–
64 channels can be triggered by 20 external events (see
–
All channels can be triggered by completion of a previous transfer in a user-programmed chain of
transfers (linked entry).
–
8 channels can be triggered automatically and indirectly by the CPU using the IDMA, reducing CPU
offload for DMA configuration (QDMA entry).
•
12 interrupt lines connected to the DSP CPU
•
Boundaries for synchronization with the CPU are programmable.
•
Two queues holding events waiting for submission to TPTC
•
Memory protection
•
Each transfer can be programmed to a priority level (three possible levels).
is a block diagram of the TPCC.
Figure 5-12. TPCC Block Diagram
NOTE:
1.
Although it is depicted twice in
, there is only one physical register set for the
QDMA to PaRAM set mapping block.
2.
For more information, see
.
718
IVA2.2 Subsystem
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated