![Freescale Semiconductor MCF54455 Reference Manual Download Page 439](http://html1.mh-extra.com/html/freescale-semiconductor/mcf54455/mcf54455_reference-manual_2330541439.webp)
Enhanced Direct Memory Access (eDMA)
19-24
Freescale Semiconductor
19.5
Functional Description
This section provides an overview of the microarchitecture and functional operation of the eDMA module.
19.5.1
eDMA Microarchitecture
The eDMA module is partitioned into two major modules: the eDMA engine and the transfer-control
descriptor local memory. Additionally, the eDMA engine is further partitioned into four submodules:
•
eDMA Engine
— Address Path:
This block implements registered versions of two channel transfer control descriptors,
channel x and channel y, and manages all master bus-address calculations. All the channels
provide the same functionality. This structure allows data transfers associated with one
channel to be preempted after the completion of a read/write sequence if a higher priority
channel activation is asserted while the first channel is active. After a channel is activated,
it runs until the minor loop is completed, unless preempted by a higher priority channel. This
provides a mechanism (enabled by DCHPRI
n
[ECP]) where a large data move operation can
be preempted to minimize the time another channel is blocked from execution.
When any channel is selected to execute, the contents of its TCD are read from local
memory and loaded into the address path channel x registers for a normal start and into
channel y registers for a preemption start. After the minor loop completes execution, the
address path hardware writes the new values for the TCD
n
_{SADDR, DADDR, CITER}
back to local memory. If the major iteration count is exhausted, additional processing are
performed, including the final address pointer updates, reloading the TCD
n
_CITER field,
and a possible fetch of the next TCD
n
from memory as part of a scatter/gather operation.
2
INT_HALF
Enable an interrupt when major counter is half complete. If this flag is set, the channel generates an
interrupt request by setting the appropriate bit in the EDMA_INT when the current major iteration count
reaches the halfway point. Specifically, the comparison performed by the eDMA engine is (CITER ==
(BITER >> 1)). This halfway point interrupt request is provided to support double-buffered (aka ping-pong)
schemes or other types of data movement where the processor needs an early indication of the transfer’s
progress. The halfway complete interrupt disables when BITER values are less than two.
0 The half-point interrupt is disabled.
1 The half-point interrupt is enabled.
1
INT_MAJOR
Enable an interrupt when major iteration count completes. If this flag is set, the channel generates an
interrupt request by setting the appropriate bit in the EDMA_INT when the current major iteration count
reaches zero.
0 The end-of-major loop interrupt is disabled.
1 The end-of-major loop interrupt is enabled.
0
START
Channel start. If this flag is set, the channel is requesting service. The eDMA hardware automatically clears
this flag after the channel begins execution.
0 The channel is not explicitly started.
1 The channel is explicitly started via a software initiated service request.
Table 19-30. TCD
n
_CSR Field Descriptions (continued)
Field
Description
Summary of Contents for MCF54455
Page 33: ...xxviii Freescale Semiconductor ...
Page 67: ...Freescale Semiconductor 1 ...
Page 125: ...Freescale Semiconductor 1 ...
Page 145: ...Enhanced Multiply Accumulate Unit EMAC 5 21 Freescale Semiconductor ...
Page 173: ...Cache 6 28 Freescale Semiconductor ...
Page 179: ...Static RAM SRAM 7 6 Freescale Semiconductor ...
Page 207: ...Power Management 9 16 Freescale Semiconductor ...
Page 323: ...Reset Controller Module 13 8 Freescale Semiconductor ...
Page 389: ...Pin Multiplexing and Control 16 44 Freescale Semiconductor ...
Page 575: ...PCI Bus Controller 22 58 Freescale Semiconductor ...
Page 600: ...Advanced Technology Attachment ATA Freescale Semiconductor 23 25 ...
Page 601: ...Freescale Semiconductor 1 ...
Page 842: ...I2 C Interface Freescale Semiconductor 33 16 ...
Page 843: ...Freescale Semiconductor 1 ...
Page 921: ...Revision History A 6 Freescale Semiconductor ...