English
Language : 

PXN20RM Datasheet, PDF (555/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller
Enhanced Direct Memory Access Controller (eDMA)
transfer control parameter shown in Table 24-21, for the selected channel into its internal address path
module. As the TCD is being read, the first transfer is initiated on the system bus unless a configuration
error is detected. Transfers from the source (as defined by the source address, TCD.SADDR) to the
destination (as defined by the destination address, TCD.DADDR) continue until the specified number of
bytes (TCD.NBYTES) have been transferred. When the transfer is complete, the DMA engine's local
TCD.SADDR, TCD.DADDR, and TCD.CITER are written back to the main TCD memory and any minor
loop channel linking is performed, if enabled. If the major loop is exhausted, further post processing is
executed; for example, interrupts, major loop channel linking, and scatter-gather operations, if enabled.
Table 24-21. TCD Primary Control and Status Fields
TCD Field Name
Description
START
ACTIVE
DONE
D_REQ
BWC
E_SG
INT_HALF
INT_MAJ
Control bit to start channel when using a software initiated DMA
service (Automatically cleared by hardware)
Status bit indicating the channel is currently in execution
Status bit indicating major loop completion (cleared by software
when using a software initiated DMA service)
Control bit to disable DMA request at end of major loop
completion when using a hardware-initiated DMA service
Control bits for throttling bandwidth control of a channel
Control bit to enable scatter-gather feature
Control bit to enable interrupt when major loop is half complete
Control bit to enable interrupt when major loop completes
Figure 24-22 shows how each DMA request initiates one minor loop transfer (iteration) without CPU
intervention. DMA arbitration can occur after each minor loop, and one level of minor loop DMA
preemption is allowed. The number of minor loops in a major loop is specified by the beginning iteration
count (biter).
Freescale Semiconductor
PXN20 Microcontroller Reference Manual, Rev. 1
24-35