English
Language : 

SH7144_08 Datasheet, PDF (241/930 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family/SH7144 Series
10. Direct Memory Access Controller (DMAC)
Bus Mode and Channel Priority:
When a given channel is transferring in burst mode, and a transfer request is issued to channel 0,
which has a higher priority ranking, transfer on channel 0 begins immediately. If the priority level
setting is fixed mode (CH0 > CH1), channel 1 transfer is continued after transfer on channel 0 are
completely ended, whether the channel 0 setting is cycle steal mode or burst mode.
When the priority level setting is for round robin mode, transfer on channel 1 begins after transfer
of one transfer unit on channel 0, whether channel 0 is set to cycle steal mode or burst mode.
Thereafter, bus mastership alternates in the order: channel 1 → channel 0 → channel 1 → channel
0. Whether the priority level setting is for fixed mode or round robin mode, since channel 1 is set
to burst mode, the bus mastership is not given to the CPU. An example of round robin mode is
shown in figure 10.13.
CPU
CPU
DMAC DMAC
CH1
CH1
DMAC CH1
burst mode
DMAC DMAC DMAC
CH0
CH1
CH0
CH0
CH1
CH0
DMAC CH0 and CH1
round-robin mode
DMAC DMAC
CH1
CH1
DMAC CH1
burst mode
CPU
CPU
Priority: Round-robin mode
CH0: Cycle-steal mode
CH1: Burst mode
Figure 10.13 Bus Handling when Multiple Channels Are Operating
10.4.5 Number of Bus Cycle States and DREQ Pin Sample Timing
Number of States in Bus Cycle: The number of states in the bus cycle when the DMAC is the
bus master is controlled by the bus state controller (BSC) just as it is when the CPU is the bus
master. For details, see section 9, Bus State Controller (BSC).
DREQ Pin Sampling Timing and DRAK Signal: In external request mode, the DREQ pin is
sampled by either falling edge or low-level detection. When a DREQ input is detected, a DMAC
bus cycle is issued and DMA transfer effected, at the earliest, after three states. However, in burst
mode when single address operation is specified, a dummy cycle is inserted for the first bus cycle.
In this case, the actual data transfer starts from the second bus cycle. Data is transferred
continuously from the second bus cycle. The dummy cycle is not counted in the number of
transfer cycles, so there is no need to recognize the dummy cycle when setting the TCR.
DREQ sampling from the second time begins from the start of the transfer one bus cycle prior to
the DMAC transfer generated by the previous sampling.
Rev.4.00 Mar. 27, 2008 Page 197 of 882
REJ09B0108-0400