![](http://datasheet.mmic.net.cn/120000/M37920FCCHP_datasheet_3558847/M37920FCCHP_86.png)
M37920FCCGP, M37920FCCHP
M37920FGCGP, M37920FGCHP
PRELIMINAR
Y
Notice:
This
is not
a final
specification.
Some
parametric
limits
are
subject
to change.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER FLASH MEMORY VERSION
MITSUBISHI MICROCOMPUTERS
86
(2) Repeat transfer mode
In the repeat transfer mode, the single transfer is repeated. First, set
up the number of bits per 1 transfer unit, transfer method, transfer
mode, and transfer address direction by using the DMAi mode regis-
ter L. Next, write the transfer source block’s transfer start address in
the SAR and the transfer destination block’s transfer start address in
the DAR. Further, write the desired number of bytes to be trans-
ferred, into the TCR, and set up the DMAi control register and DMAC
control register. The DMA request is now acceptable. When the DMA
request occurs in this state, DMA transfer starts. Even when the
number of remaining bytes, which was read from the TCR, becomes
0, the DMA enable bit is not cleared to “0”. When the burst transfer
mode is selected, the DMA request bit is not cleared to “0”, also.
When the cycle steal transfer mode is selected, the DMA request bit
is cleared to “0” each time when 1-transfer-unit data has been trans-
ferred.
Fig. 79 Timing diagram example in repeat transfer mode (burst transfer mode)
φ1
ALE
RD
DMAACKi
TC
sar
dar
sar + 4
dar + 4
sar
dar
H
BLW
BHW
(CPU)
Data0
Data1
Data2
L
H
L
H
L
H
sar
sar + 5
Data0
Data1
Data2
dar
dar + 5
L
H
L
H
L
H
A0–A23
D0–D7
D8–D15
Transfer of 1 transfer unit
Data0L
Data0H
Data0L
Data0H
Data2L
Data2H
Data2L
Data2H
Data0L
Data0H
q This example applies on the following conditions:
External data bus width
: 16 bits
Transfer unit
: 16 bits
Transfer method
: 2-bus cycle transfer
Transfer source address direction
: Forward
Transfer destination address direction
: Forward
Transfer source area’s wait
: 0 wait
Transfer destination area’s wait
sar
dar
Value which has been set to TCR
Bus user
: 0 wait
: Value which has been set to SARi (even)
: Value which has been set to DARi (even)
: 6
: CPU
→ DMAC
Transfer destination
memory
Transfer source
memory
Transfer
Transfer of entire data (first)
Transfer of entire data (second)
The values written in the SAR, DAR, and TCR first are retained in the
internal latches. The contents of the latches are transferred to the
SAR, DAR and TCR at the end of the last transfer cycle. Therefore,
when the burst transfer mode is selected, the transfer operation is re-
peated starting with the values written first. When the cycle steal
transfer mode is selected, these values are used as the initial values
and transfer is performed each time the DMA request bit is set to “1”.
To forcedly terminate transfer, input “L” level to the pin TC or write the
value “0” to the DMA enable bit.
In the repeat transfer mode, TC signal output and the setting the in-
terrupt request bit of the DMA interrupt control register to “1” are not
performed.
Figure 78 shows the timing diagram example in the repeat transfer
mode.