3.1
Block Move Example
256
255
253 254
249 250 251 252
244
...
...
245 246 247 248
...
...
17
18
19
20
21
12
10
9
11
13
14
15
16
4
3
1
2
7
6
5
8
8000 0000h
244
252
250
249
...
251
...
245 246 247
253 254 255
248
256
1180 0000h
12
20
11
10
9
17
18
19
2
1
3
15
14
13
21
...
...
5
4
7
6
16
8
Block Move Example
www.ti.com
The most basic transfer performed by the EDMA3 is a block move. During device operation it is often
necessary to transfer a block of data from one location to another, usually between on-chip and off-chip
memory.
In this example, a section of data is to be copied from external memory to internal L2 SRAM. A data block
of 256 words residing at address 8000 0000h (external memory ) needs to be transferred to internal
address 1180 0000h (L2), as shown in
.
shows the parameters for this transfer.
The source address for the transfer is set to the start of the data block in external memory, and the
destination address is set to the start of the data block in L2. If the data block is less than 64K bytes, the
PaRAM configuration in
holds true with the synchronization type set to A-synchronized and
indexes cleared to 0. If the amount of data is greater than 64K bytes, BCNT and the B-indexes need to be
set appropriately with the synchronization type set to AB-synchronized. The STATIC bit in OPT is set to
prevent linking.
This transfer example may also be set up using QDMA. For successive transfer submissions, of a similar
nature, the number of cycles used to submit the transfer are fewer depending on the number of changing
transfer parameters. You may program the QDMA trigger word to be the highest numbered offset in the
PaRAM set that undergoes change.
Figure 3-1. Block Move Example
66
EDMA3 Transfer Examples
SPRUG34 – November 2008
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 ...