
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
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...