English
Language : 

M37920FCCGP Datasheet, PDF (78/158 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER FLASH MEMORY VERSION
PRELIMINARY NSootimcee: pTahriasmisentroict alimfinitsalasrpeescuifbicjeactitotno. change.
MITSUBISHI MICROCOMPUTERS
M37920FCCGP, M37920FCCHP
M37920FGCGP, M37920FGCHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER FLASH MEMORY VERSION
When channel 1’s DMA transfer is entirely completed, the right to
use bus is once passed to the CPU, and the DMA transfer request
from channel 0 is later accepted at the end of the current bus cycle.
When bit 4 of the DMAi control register is set to “1”, the level sense
mode is selected. The level sense mode can be used only for the
DMA request from pin DMAREQi. When selecting another source,
be sure to select the edge sense mode.
In the level sense mode, the DMAi request bit is set to “1” to initiate
the DMA transfer only while pin DMAREQi’s input level is “L”. If pin
DMAREQi’s input level returns to “H” in the middie of transfer, the
DMA operation is interrupted at the end of the current transfer bus
cycle or next transfer bus cycle so that the right to use bus is re-
turned to the CPU. At this time, the DMA enable bit is not cleared.
When pin DMAREQi’s input level returns to “L”, the transfer opera-
tion is resumed at the address which is next to the point of interrup-
tion. In the level sense mode, the DMA request bit varies only with
the input level at pin DMAREQi. Therefore, while pin DMAREQi’s in-
put level is “L”, the DMA request bit remains to be “1” even if the
transfer is completed.
Figure 73 shows a burst transfer example in level sense mode.
When pin DMAREQi’s input level for channel 1 changes from “H” to
“L” during CPU operation, the DMA1 request bit will be set to “1” so
that the DMA controller will acquire the right to use bus and initiate
transfer. When pin DMAREQi’s input level returns to “H”, the DMA1
request bit is cleared to “0”. This causes the DMA transfer operation
to be interrupted and returns the right to use bus to the CPU.
DMAREQ0
DMA0 request bit
DMA0 enable bit
DMAREQ1
DMA1 request bit
DMA1 enable bit
DRAM refresh request
Bus user
(CPU)
DMA1
DRAM
refresh
DMA1
DMA0
(CPU)
Channel 1 entire data transfer Channel 0 entire data transfer
The above example applies on the following conditions :
• DMA request sources of DMA0 and DMA1: external source (edge sense)
• Channel priority : fixed (channel 0 > channel 1)
Fig. 72 Burst transfer example (in edge sense mode)
DMAREQ0
DMA0 request bit
DMA0 enable bit
DMAREQ1
DMA1 request bit
DMA1 enable bit
DRAM refresh request
Bus user
(CPU)
DMA1
DRAM
refresh
(CPU)
DMA0
DMA1
(CPU)
The above example applies on the following conditions :
• DMA request sources of DMA0 and DMA1: external source (level sense)
• Channel priority : fixed (channel 0 > channel 1)
Fig. 73 Burst transfer example (in level sense mode)
78