M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 437

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Figure 2.9.6. Example of operation of repeated transfer mode
DMAC
422
Operation
2.9.3 Operation of DMAC (repeated transfer mode)
BCLK
Address bus
RD signal
WR signal
Data bus
Write signal to
software DMAi
request bit
DMAi
request bit
DMA transfer
counter
DMAi
interrupt
request bit
DMAi
enable bit
In repeat transfer mode, choose functions from the items shown in Table 2.9.2. Operations of the circled
items are described below. Figure 2.9.6 shows an example of operation and Figure 2.9.7 shows the set-
up procedure.
“1”
Table 2.9.2. Choosed functions
(1) When software trigger is selected, setting software DMA request bit to “1” generates a DMA
(2) If DMAC is active, data transfer starts, and the contents of the address indicated by the DMAi
(3) Though DMAi transfer counter is underflowed, DMA enable bit is still “1”. The DMA interrupt
(4) After DMAi transfer counter is underflowed, when the next DMA request is generated, DMA
• In the case in which the number of transfer times is set to 2.
Transfer space
Unit of transfer
transfer request signal.
forward-direction address pointer are transferred to the address indicated by the DMAi desti-
nation pointer. When data transfer starts directly after DMAC becomes active, the value of
the DMAi transfer counter reload register is reloaded to the DMAi transfer counter, and the
value of the DMAi source pointer is reloaded by the DMAi forward-direction address pointer.
Each time a DMA transfer request signal is generated, 2 byte of data is transferred. The
DMAi transfer counter is down counted, and the DMAi forward-direction address pointer is up
counted.
request bit changes to “1” simultaneously.
transfer is repeated from (1).
CPU use
Indeterminate
CPU use
(1) Request signal for a DMA transfer occurs
Item
Destination
Destination
Source
(2) Data transfer begins
Source
O
O
01
16
Fixed address from an arbitrary 1 M bytes space
Arbitrary 1 M bytes space from a fixed address
8 bits
Fixed address from fixed address
16 bits
Dummy cycle
Cleared to “0” when interrupt request is accepted, or cleared by software
Dummy cycle
CPU use
00
16
CPU use
Destination
Destination
Source
Source
(3) Underflow
Set-up
Dummy cycle
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Dummy cycle
CPU use
FF
16
CPU use
Mitsubishi microcomputers
M16C / 62 Group
Destination
Destination
Source
Source
01
16
Dummy cycle
Dummy cycle
00
CPU use
16
CPU use

Related parts for M30622MA-XXXFP