Download Print this page

Renesas REJ06B0732-0100 Application Note page 4

Data transfer between on-chip ram areas with dmac (cycle-stealing mode)

Advertisement

In the normal mode of cycle stealing, bus mastership is given to another bus master after each DMA
transfer of one transfer unit (byte, word, longword, or 16-byte unit). When a subsequent transfer
request occurs, bus mastership is obtained from the other bus master and transfer proceeds for one
transfer unit. When that transfer ends, the bus mastership is passed to another bus master. This is
repeated until the transfer end condition is satisfied.
The cycle-stealing normal mode can be used in transfer across any interval, regardless of the
requesting source, source, and destination of the transfer.
DREQ
Bus cycle
Figure 1 DMA Transfer Example in Cycle-Stealing Normal Mode
In burst mode, once the DMAC has obtained bus mastership, it continues to perform transfer without
releasing the bus until the transfer end condition is satisfied. In external mode, however, when the DREQ
signal is being level-detected and changes to the non-active level, even if the tranfer end condition has not
been satisfied, bus mastership is passed to another bus master on completion of the DMA transfer request
for which the request has already been accepted.
DREQ
CPU
Bus cycle
Figure 2 DMA Transfer Example in Burst Mode (Dual Address, DREQ Low Level Detection)
REJ06B0732-0100/Rev.1.00
Data Transfer between On-chip RAM Areas with DMAC (Cycle-Stealing Mode)
CPU
CPU
CPU
DMAC
(Dual Address, DREQ Low Level Detection)
CPU
CPU
DMAC
Read
March 2008
Bus mastership returned to CPU once
DMAC
CPU
DMAC DMAC
Read
Write
DMAC
DMAC
DMAC
Write
Read
Write
SH7211 Group
CPU
Read
Write
CPU
CPU
Page 4 of 13

Advertisement

loading

This manual is also suitable for:

Sh7211