T
= E
• E • F
sz
rsz
tc
tc
Module Operation
546
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Direct Memory Access Controller (DMA) Module
16.2.4.3 Initial Transfer Count
The transfer count field is composed of two parts. The frame transfer count value and the element transfer
count value. Each count value is 13 bits wide. As a Single Block transfer maximum of 512 Mbytes of data
can be transferred. Element count and frame count are programmed according to the source data
structure.
The total transfer size is calculated as:
(26)
where
T
sz
= Total Transfer Size
E
rsz
= Read Element Size
E
tc
= Element Transfer Count
F
tc
= Frame Transfer Count
NOTE:
A zero element count with a non-zero frame count or a non-zero element count with a zero
frame count are all considered as zero total transfer count. No DMA transaction is initiated
with any of the counters set to 0.
16.2.4.4 Channel Configuration Word
The channel configuration defines the following individual parameters
•
Read element size
•
Write element size
•
Trigger type (frame or block)
•
Addressing mode for source
•
Addressing mode for destination
•
Auto-initiation mode
•
Next control packet to be triggered at control packet finish (Channel Chaining)
16.2.4.5 Element/Frame Offset Value
There are 4 offset values that allow the creation of different types of buffers in RAM and address registers
in a structured manner: an element offset value for source and destination and a frame offset value for
source and destination.
The element offset value for source and/or destination defines the offset to be added after each element
transfer to the source and/or destination address. The frame offset value for source and/or destination
defines the offset to be added to the source and/or destination address after the element count reaches
zero. The element and frame offset values must be defined in terms of the number of bytes of offset. The
DMA controller does not adjust the element/frame index number according to the element size. An index
of 2 means
increment the address by 2
and not by 16 when the element size is 64 bits.
16.2.4.6 Current Source Address
The current source address field contains the current working source address during a DMA transaction.
The current source address is incremented during post increment addressing mode or indexing mode.
16.2.4.7 Current Destination Address
The current destination address field contains the current working destination address during a DMA
transaction. The current destination address is incremented during post-increment addressing mode or
indexing mode.