Motorola DSP56303 User Manual page 100

24-bit digital signal processor
Table of Contents

Advertisement

DMA Control Registers 5–0 (DCR[5–0])
Table 4-11. DMA Control Register (DCR) Bit Definitions (Continued)
Bit
Reset
Bit Name
Number
Value
18–17
DPR[1–0]
0
4-34
DMA Channel Priority
Define the DMA channel priority relative to the other DMA channels and to the core priority if
an external bus access is required. For pending DMA transfers, the DMA controller
compares channel priority levels to determine which channel can activate the next word
transfer. This decision is required because all channels use common resources, such as the
DMA address generation logic, buses, and so forth.
DPR[1–0]
00
01
10
11
n
If all or some channels have the same priority, then channels are activated in a
round-robin fashion—that is, channel 0 is activated to transfer one word, followed by
channel 1, then channel 2, and so on.
n
If channels have different priorities, the highest priority channel executes DMA
transfers and continues for its pending DMA transfers.
n
If a lower-priority channel is executing DMA transfers when a higher priority channel
receives a transfer request, the lower-priority channel finishes the current word
transfer and arbitration starts again.
n
If some channels with the same priority are active in a round-robin fashion and a new
higher-priority channel receives a transfer request, the higher-priority channel is
granted transfer access after the current word transfer is complete. After the
higher-priority channel transfers are complete, the round-robin transfers continue. The
order of transfers in the round-robin mode may change, but the algorithm remains the
same.
n
The DPR bits also determine the DMA priority relative to the core priority for external
bus access. Arbitration uses the current active DMA priority, the core priority defined
by the SR bits CP[1–0], and the core-DMA priority defined by the OMR bits CDP[1–0].
Priority of core accesses to external memory is as follows:
DSP56303 User's Manual
Description
Channel Priority
Priority level 0 (lowest)
Priority level 1
Priority level 2
Priority level 3 (highest)

Advertisement

Table of Contents
loading

Table of Contents