Stream A
Destination
Address
A4i
A12i
A3i
A2i
A1i
A9i
A10i
A11i
A7i
A6i
A5i
A13i
...
...
A8i
B6i
B9i
B10i
B11i
B12i
B13i
...
B1i
B2i
B3i
B4i
B5i
...
B8i
B7i
..B5..A5..B4..A4..B3..A3..B2..A2..B1..A1
Stream B
Destination
Address
B6o
A6o
B2o
B1o
B9o B10o
A9o A10o
B5o
B4o
B3o
B11o B12o B13o
...
A11o A12o A13o
...
A1o
A2o
A3o
A4o
A5o
B7o
B8o
...
...
A8o
A7o
Stream A
Source
Address
Stream B
Source
Address
A1..B1..A2..B2..A3..B3..A4..B4..A5..B5
Pong
DAT
RSR
A11o
B3o
B11o
B9o B10o
B1o
A9o
B2o
A10o
B13o
B12o
...
A13o
B5o
B4o
A12o
B6o
...
B11i
B3i
A3o
A1o
A2o
B9i
B1i
B10i
B2i
A5o
A4o
A6o
B13i
B5i
B12i
B4i
...
B6i
...
B8o
B7o
...
A8o
A7o
...
B7i
B8i
A3i
A11i
A9i
A1i
A10i
A2i
A5i
A13i
A12i
A4i
...
A6i
Ping
...
A7i
A8i
AREVT
McASP RX Register
DAT
AXEVT
XSR
Stream A
Destination
Address
Stream B
Destination
Address
Stream A
Source
Address
Stream B
Source
Address
McASP TX Register
Functional Description
Figure 11-35. Ping-Pong Buffering for McASP Data Example
Figure 11-36. Ping-Pong Buffering for McASP Example PaRAM Configuration
(a) EDMA Parameters for Channel 15 (Using PaRAM Set 15 Linked to Pong Set 64)
Parameter Contents
Parameter
0010 D000h
Channel Options Parameter (OPT)
McASP RX Register
Channel Source Address (SRC)
0080h
0001h
Count for 2nd Dimension (BCNT)
Count for 1st Dimension (ACNT)
Channel Destination Address (DST)
Channel Destination Address (DST)
0001h
0000h
Destination BCNT Index (DSTBIDX)
Source BCNT Index (SRCBIDX)
0080h
4800h
BCNT Reload (BCNTRLD)
Link Address (LINK)
0000h
0000h
Destination CCNT Index (DSTCIDX)
Source CCNT Index (SRCCIDX)
0000h
0001h
Reserved
Count for 3rd Dimension (CCNT)
(b) Channel Options Parameter (OPT) Content for Channel 15
31
30
28
27
24
23
22
21
20
19
18
17
16
0
000
0000
0
0
0
1
00
00
PRIV
Reserved
PRIVID
ITCCHEN
TCCHEN
ITCINTEN
TCINTEN
Reserved
TCC
15
12
11
10
8
7
4
3
2
1
0
1101
0
000
0000
0
0
0
0
TCC
TCCMOD
FWID
Reserved
STATIC
SYNCDIM
DAM
SAM
931
SPRUH73H – October 2011 – Revised April 2013
Enhanced Direct Memory Access (EDMA)
Copyright © 2011–2013, Texas Instruments Incorporated