8.2.1.4 Channel Arbiter

The channel arbiter is an arbitration algorithm used to service the channels based on the priority, as shown in Figure 8-2. By default, all channels have equal priority. To configure the PDMA channel priority, RATIO_HIGH_LOW register must be configured by the AHB bus matrix master. The RATIOHILO field in the RATIO_HIGH_LOW register indicates the ratio of high priority requests to low priority requests. For example, a RATIOHILO value of 3:1 means that a high priority DMA channel has 3 DMA access opportunities for every one access of a low priority DMA channel.

When the RATIOHILO value is set to 0, both high and low priority requests are serviced in a round robin fashion.

The following table lists the valid values for RATIOHILO. All other values are reserved.

Table 8-1. RATIOHILO Field Definition
ValueHigh:Low RatioComments
0Round robin
11:1Ping-pong between high and low priority requests
33:13 high to 1 low
77:17 high to 1 low
1515:115 high to 1 low
3131:131 high to 1 low
6363:163 high to 1 low
127127:1127 high to 1 low
255255:1255 high to 1 low
All othersReserved

For more information on configuring the register, see PDMA Register Map.