
Enhanced Direct Memory Access Controller (eDMA)
MPC5644A Microcontroller Reference Manual, Rev. 6
182
Freescale Semiconductor
8.5.4
DMA arbitration mode considerations
8.5.4.1
Fixed-group arbitration, fixed-channel arbitration
In this mode, the channel service request from the highest priority channel in the highest priority group is
selected to execute. If the eDMA is programmed so the channels within one group use fixed priorities, and
that group is assigned the highest fixed priority of all groups, it is possible for that group to take all the
bandwidth of the eDMA controller. That is, no other groups can be serviced if there is always at least one
DMA request pending on a channel in the highest priority group when the controller arbitrates the next
DMA request. The advantage of this scenario is that latency can be small for channels that need to be
serviced quickly. pre-emption is available in this scenario only.
8.5.4.2
Round-robin group arbitration, fixed-channel arbitration
When one or more DMA requests arrive from one or more groups, the channel with the highest priority
from a specific group is serviced first. Groups are serviced starting with the highest group number with a
service request and rotating through to the lowest group number containing a service request.
After the channel request is serviced, the group round robin algorithm selects the highest pending request
from the next group in the round-robin sequence. Servicing continues round robin, always servicing the
highest priority channel in the next group in the sequence, or skipping a group if it has no pending requests.
If a channel requests service at a rate that equals or exceeds the round robin service rate, then that channel
is always serviced before lower priority channels in the same group, and the lower priority channels are
never serviced. The advantage of this scenario is that no one group can consume all the eDMA bandwidth.
The highest priority channel selection latency is potentially greater than fixed/fixed arbitration. Excessive
request rates on high-priority channels can prevent the servicing of lower priority channels in the same
group.
8.5.4.3
Round-robin group arbitration, round-robin channel arbitration
Groups are serviced as described in
Section 8.5.4.2, Round-robin group arbitration, fixed-channel
but this time channels are serviced in channel number order. One channel only is serviced from
each requesting group for each round robin pass through the groups.
eSCIC_COMBTX
56
ESCIC.SR[TDRE] ||
ESCIC.SR[TC] ||
ESCIC.SR[TXRDY]
eSCIC combined DMA request of the
Transmit Data Register Empty, Transmit
Complete, and LIN Transmit Data
Ready DMA requests
eSCIC_COMBRX
57
ESCIB.SR[RDRF] ||
ESCIB.SR[RXRDY]
eSCIC combined DMA request of the
Receive Data Register Full and LIN
Receive Data Ready DMA requests
No Request
58-63
—
Table 8-22. DMA request summary for eDMA (continued)
DMA request
Channe
l
Source
Description
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...