M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 63

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
DMAC
2.19 DMAC
Table 1.14:
Number of channels
Transfer memory space
Maximum number of bytes
transferred
DMA request sources
Channel priority
Transfer unit
Transfer address direction
Transfer modes
DMA interrupt request generation
timing
DMA startup
DMA shutdown
Forward address pointer and
reload timing for transfer counter
Writing to register
Reading the register
This microcomputer has two DMAC (direct memory access controller) channels that allow data to be
sent to memory without using the CPU.Table 1.14 shows the DMAC specifications. Figure 1.53 shows
the block diagram of the DMAC. Figure 1.54, Figure 1.55 and Figure 1.56 show the registers used by
the DMAC.
Item
DMAC specifications
2 (cycle steal method)
•From any SFR, RAM, or ROM address to a fixed address
•From a fixed address to any SFR or RAM address
•From a fixed address to a fixed address
(Note that DMA-related registers [0020
128K bytes (with 16-bit transfers) or 64K bytes (with 8-bit transfers)
Falling edge of INT0 or INT1 (INT0 can be selected by DMA0, INT1 by DMA1)
Timer A0 to timer A4
Timer B0 to timer B1
UART0 transmission and reception
UART1 transmission and reception
UART2 transmission and reception
A-D conversion complete
USB function
Software triggers
DMA0 takes precedence if DMA0 and DMA1 requests are generated simultaneously
8 bits or 16 bits
forward/fixed (forward direction cannot be specified for both source and destination
simultaneously)
Single transfer mode
Repeat transfer mode
When an underflow occurs in the transfer counter
Single transfer mode
Repeat transfer mode
When “0” is written to the DMA enable bit
When, in single transfer mode, an underflow occurs in the transfer counter
When DMA transfer starts, the value of whichever of the source or destination pointer that is set
up as the forward pointer is loaded into the forward address pointer. The value in the transfer
counter reload register is loaded into the transfer counter.
Registers specified for forward direction transfer are always write-enabled.
Registers specified for fixed address transfer are write-enabled when the DMA enable bit is “0”.
Can be read at any time.
However, when the DMA enable bit is “1”, reading the register sets up as the forward
register is the same as reading the value of the forward address pointer.
The DMA enable bit is cleared and transfer ends when an underflow occurs in the
When an underflow occurs in the transfer counter, the value in the transfer counter
reload register is loaded into the transfer counter and the DMA transfer is repeated
Transfer starts when the DMA is requested after “1” is written to the DMA enable bit
Transfer starts when the DMA is requested after “1” is written to the DMA enable bit
or after an underflow occurs in the transfer counter
transfer counter.
1-63
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
16
Specification
to 003F
16
] cannot be accessed)
Mitsubishi microcomputers
M30240 Group

Related parts for M30240ECFP