English
Language : 

PXR40RM Datasheet, PDF (538/1434 Pages) Freescale Semiconductor, Inc – PXR40 Microcontroller
Enhanced Direct Memory Access Controller (eDMA)
assigned by the channel priority registers. See Section 21.3.2.17, eDMA Channel n Priority Registers
(EDMA_x_CPRn). In round-robin arbitration mode, the channel priorities are ignored and the channels
within each group are cycled through, from channel 15 down to channel 0,without regard to priority.
The group priorities operate in a similar fashion. In group fixed-priority arbitration mode, channel service
requests in the highest priority group are executed first where priority level 3 (eDMA_A) or 1 (eDMA_B)
is the highest and priority level 0 is the lowest. The group priorities are assigned in the GRPnPRI fields of
the eDMA control register (EDMA_x_MCR). All group priorities must have unique values prior to any
channel service requests occur, otherwise a configuration error is reported. In group round-robin mode, the
group priorities are ignored and the groups are cycled through, from group 3 (eDMA_A) or 1 (eDMA_B)
down to group 0, without regard to priority.
Minor loop offsets are address offset values added to the final source address (SADDR) or destination
address (DADDR) upon minor loop completion. When minor loop offsets are enabled, the minor loop
offset (MLOFF) is added to the final source address (SADDR) or to the final destination address
(DADDR) or to both addresses prior to the addresses being written back into the TCD. If the major loop
is complete, the minor loop offset is ignored and the major loop address offsets (SLAST and
DLAST_SGA) are used to compute the next EDMA_x_TCD.SADDR and EDMA_x_TCD.DADDR
values.
When minor loop mapping is enabled (EDMA_x_MCR[EMLM] = 1), TCDn word2 is redefined. A
portion of TCDn word2 is used to specify multiple fields: a source enable bit (SMLOE) to specify that the
minor loop offset should be applied to the source address (SADDR) upon minor loop completion, a
destination enable bit (DMLOE) to specify the minor loop offset should be applied to the destination
address (DADDR) upon minor loop completion, and the sign extended minor loop offset value (MLOFF).
The same offset value (MLOFF) is used for both source and destination minor loop offsets.
When either of the minor loop offsets is enabled (SMLOE is set or DMLOE is set), the NBYTES field is
reduced to 10 bits. When both minor loop offsets are disabled (SMLOE is cleared and DMLOE is cleared),
the NBYTES field becomes a 30-bit vector.
When minor loop mapping is disabled (EDMA_x_MCR[EMLM] = 0), all 32 bits of TCDn word2 are
assigned to the NBYTES field. See Section 21.3.2.18, Transfer Control Descriptor (TCD), for more
details.
21-14
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor