SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1
The default DMA channel priorities are DMA0 through DMA15. If two or three triggers happen simultaneously or are pending, the channel with the highest priority completes its transfer (single or block transfer) first, then the second priority channel, then the third priority channel. Transfers in progress are not halted if a higher-priority channel is triggered. The higher-priority channel waits until the transfer in progress completes before starting.
The DMA channel priorities are configurable with the ROUNDROBIN bit. When the ROUNDROBIN bit is set, the channel that completes a transfer becomes the lowest priority. The order of the priority of the channels always stays the same, DMA0-DMA1-DMA2, for example, for three channels. When the ROUNDROBIN bit is cleared, the channel priority returns to the default priority.
Current DMA Priority | Transfer Occurs | New DMA Priority |
---|---|---|
DMA0 - DMA1 - DMA2 | DMA1 | DMA2 - DMA0 - DMA1 |
DMA2 - DMA0 - DMA1 | DMA2 | DMA0 - DMA1 - DMA2 |
DMA2 - DMA0 - DMA1 | DMA0 | DMA1 - DMA2 - DMA0 |