Datasheet
CH2
CH4
CH5
CH7
CH1
CH3
CH6
CH1
CH3
CH7
CH9
CH13
CH15
CH2
CH4
CH6
CH8
CH10
CH14
in queue in use
Pending triggered Start/S top serv ing
CH2
CH4
CH5
CH7
CH1
CH3
CH6
CH1
CH3
CH7
CH9
CH13
CH15
CH2
CH4
CH6
CH8
CH10
CH14
in queue in use
CH2
CH4
CH5
CH7
CH1
CH3
CH6
CH1
CH3
CH7
CH9
CH13
CH15
CH2
CH4
CH6
CH8
CH10
CH14
High
queue
Low
queue
Fixed Rotation
in queue
in use
in queue
in use
Module Operation
www.ti.com
Table 20-1. Arbitration According to Priority Queues and Priority Schemes
Queue Priority Scheme Remark
Channels are serviced in an ascending order according to the channel number. The
lower the channel number, the higher the priority. A channel will be arbitrated out
whenever there is a higher pending channel. Otherwise a channel is completely
Fixed
serviced until its transfer count reaches zero before the next highest pending channel is
serviced. When there is no pending channels left in high queue then the DMA switches
High priority
to service low queue channels.
Channels are arbitrated by using the round-robin scheme. Arbitration is performed
Rotating when the FIFO is empty. When there are no pending channels left in high queue then
the DMA switches to service low queue channels.
Channels are serviced in an ascending order according to the channel number. The
lower the channel number the higher the priority. A channel will be arbitrated out
whenever there is a higher-priority pending channel. Otherwise a channel is completely
Fixed serviced until its transfer count reaches zero, before the next highest pending channel
is serviced. If there is a pending channel in the high-priority queue while DMA is
Low priority
servicing a low queue channel then DMA will switch back to service high queue
channel after an arbitration boundary.
Channels are arbitrated by using round-robin scheme. Arbitration is performed when
Rotating
the FIFO is empty.
A Simple Priority Queues example in both Fixed and Rotation Scheme is shown in Figure 20-10.
Figure 20-10. Example of Priority Queues
For optimal system performance, the high priority channels should be put in fixed arbitration scheme and
low priority channels in the rotating priority scheme as illustrated in Figure 20-11.
686
Direct Memory Access Controller (DMA) Module SPNU562–May 2014
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated