Figure 13.3 Round-Robin Mode - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Section 13 Direct Memory Access Controller (DMAC)
These are selected by the PR1 and the PR0 bits in the DMA operation register (DMAOR).
Round-Robin Mode: Each time one word, byte, or longword is transferred on one channel, the
priority order is rotated. The channel on which the transfer was just finished rotates to the bottom
of the priority order. The round-robin mode operation is shown in figure 13.3. The priority of the
round-robin mode is CH0 > CH1 > CH2 > CH3 immediately after reset.
When the round-robin mode has been specified, do not concurrently specify cycle steal mode and
burst mode as the bus modes of any two channels.
(1) When channel 0 transfers
Initial priority order
Priority order
afrer transfer
(2) When channel 1 transfers
Initial priority order
Priority order
afrer transfer
(3) When channel 2 transfers
Initial priority order
Priority order
afrer transfer
Post-transfer priority order
when there is an
immediate transfer
request to channel 5 only
(4) When channel 3 transfers
Priority order
afrer transfer
Priority order
afrer transfer
Rev. 4.00 Sep. 14, 2005 Page 430 of 982
REJ09B0023-0400
CH0 > CH1 > CH2 > CH3
CH1 > CH2 > CH3 > CH0
CH0 > CH1 > CH2 > CH3
CH2 > CH3 > CH0 > CH1
CH0 > CH1 > CH2 > CH3
CH3 > CH0 > CH1 > CH2
CH2 > CH3 > CH0 > CH1
CH0 > CH1 > CH2 > CH3
CH0 > CH1 > CH2 > CH3

Figure 13.3 Round-Robin Mode

Channel 0 becomes bottom
priority
Channel 1 becomes bottom
priority.
The priority of channel 0, which
was higher than channel 1, is also
shifted.
Channel 2 becomes bottom
priority.
The priority of channels 0 and 1,
which were higher than channel 2,
are also shifted. If immediately
after there is a request to transfer
channel 1 only, channel 1 becomes
bottom priority and the priority of
channels 0 and 3, which were
higher than channel 1, are also
shifted.
Priority order does not change

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents