![Freescale Semiconductor MCF54455 Reference Manual Download Page 449](http://html1.mh-extra.com/html/freescale-semiconductor/mcf54455/mcf54455_reference-manual_2330541449.webp)
Enhanced Direct Memory Access (eDMA)
19-34
Freescale Semiconductor
f) Write longword to location 0x2008
third iteration of the minor loop.
g) Read byte from location 0x100C, read byte from location 0x100D, read byte from 0x100E,
read byte from 0x100F.
h) Write longword to location 0x200C
last iteration of the minor loop.
6. eDMA engine writes: TCD
n
_SADDR = 0x1010, TCD
n_
DADDR = 0x2010, TCD
n
_CITER = 1.
7. eDMA engine writes: TCD
n
_CSR[ACTIVE] = 0.
8. The channel retires
one iteration of the major loop. The eDMA goes idle or services the next
channel.
9. Second hardware (eDMA peripheral) requests channel service.
10. The channel is selected by arbitration for servicing.
11. eDMA engine writes: TCD
n
_CSR[DONE] = 0, TCD
n
_CSR[START] = 0, TCD
n
_CSR[ACTIVE]
= 1.
12. eDMA engine reads: channel TCD data from local memory to internal register file.
13. The source to destination transfers are executed as follows:
a) Read byte from location 0x1010, read byte from location 0x1011, read byte from 0x1012, read
byte from 0x1013.
b) Write longword to location 0x2010
first iteration of the minor loop.
c) Read byte from location 0x1014, read byte from location 0x1015, read byte from 0x1016, read
byte from 0x1017.
d) Write longword to location 0x2014
second iteration of the minor loop.
e) Read byte from location 0x1018, read byte from location 0x1019, read byte from 0x101A, read
byte from 0x101B.
f) Write longword to location 0x2018
third iteration of the minor loop.
g) Read byte from location 0x101C, read byte from location 0x101D, read byte from 0x101E,
read byte from 0x101F.
h) Write longword to location 0x201C
last iteration of the minor loop
major loop complete.
14. eDMA engine writes: TCD
n
_SADDR = 0x1000, TCD
n
_DADDR = 0x2000, TCD
n
_CITER = 2
(TCD
n
_BITER).
15. eDMA engine writes: TCD
n
_CSR[ACTIVE] = 0, TCD
n
_CSR[DONE] = 1, EDMA_INT[n] = 1.
16. The channel retires
major loop complete. The eDMA goes idle or services the next channel.
19.6.4.3
Modulo Feature
The modulo feature of the eDMA provides the ability to implement a circular data queue in which the size
of the queue is a power of 2. MOD is a 5-bit field for the source and destination in the TCD, and it specifies
which lower address bits increment from their original value after the offset calculation. All upper
address bits remain the same as in the original value. A setting of 0 for this field disables the modulo
feature.
shows how the transfer addresses are specified based on the setting of the MOD field. Here a
circular buffer is created where the address wraps to the original value while the 28 upper address bits
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 ...