QCHMAPn
31
14
0000 0000 0000 00
13
5
PAENTR Y
00 0000 01 1
4
2
TR WORD
1 1 1
1
0
00
EDMA Base A 4000h
0
Byte
address
Set
#
EDMA Base A 4020h
1
EDMA Base A 4040h
2
EDMA Base A 4060h
3
EDMA Base A 5FC0h 254
EDMA Base A 5FE0h
Parameter set 0
PaRAM
Parameter set 1
Parameter set 2
Parameter set 3
Parameter set 254
Parameter set 255
255
OPT
PaRAM set
SRC
BCNT
ACNT
DST
DSTBIDX
SRCBIDX
BCNTRLD
LINK
DSTCIDX
SRCCIDX
Rsvd
CCNT
+0h
+4h
+8h
+Ch
+10h
+14h
+18h
+1Ch
Byte
address
offset
Functional Description
Figure 11-14. QDMA Channel to PaRAM Mapping
11.3.7 EDMA3 Channel Controller Regions
The EDMA3 channel controller divides its address space into eight regions. Individual channel resources
are assigned to a specific region, where each region is typically assigned to a specific EDMA programmer.
You can design the application software to use regions or to ignore them altogether. You can use active
memory protection in conjunction with regions so that only a specific EDMA programmer (for example,
privilege identification) or privilege level (for example, user vs. supervisor) is allowed access to a given
region, and thus to a given DMA or QDMA channel. This allows robust system-level DMA code where
each EDMA programmer only modifies the state of the assigned resources. Memory protection is
described in
.
11.3.7.1 Region Overview
The EDMA3 channel controller memory-mapped registers are divided in three main categories:
1. Global registers
2. Global region channel registers
3. Shadow region channel registers
The global registers are located at a single/fixed location in the EDMA3CC memory map. These registers
control EDMA3 resource mapping and provide debug visibility and error tracking information.
The channel registers (including DMA, QDMA, and interrupt registers) are accessible via the global
channel region address range, or in the shadow n channel region address range(s). For example, the
event enable register (EER) is visible at the global address of EDMA Base A 1020h or region
addresses of EDMA Base A 2020h for region 0, EDMA Base A 2220h for region 1, …
EDMA Base A 2E20h for region 7.
The DMA region access enable registers (DRAEm) and the QDMA region access enable registers
(QRAEn) control the underlying control register bits that are accessible via the shadow region address
space (except for IEVALn).
lists the registers in the shadow region memory map. See the
EDMA3CC memory map (
) for the complete global and shadow region memory maps.
illustrates the conceptual view of the regions.
899
SPRUH73H – October 2011 – Revised April 2013
Enhanced Direct Memory Access (EDMA)
Copyright © 2011–2013, Texas Instruments Incorporated