RL78/G1H CHAPTER 16 DATA TRANSFER CONTROLLER (DTC)
R01UH0575EJ0120 Rev. 1.20 Page 514 of 920
Dec 22, 2016
CHAPTER 16 DATA TRANSFER CONTROLLER (DTC)
The higher 8 bits for the address described in this chapter are the bits 15 to 8 of 20-bit address shown below.
If not specified especially, all the highest 4 bits of the address are 1 (FxxxxH).
16.1 Functions of DTC
The data transfer controller (DTC) is a function that transfers data between memories without using the CPU. The
DTC is activated by a peripheral function interrupt to perform data transfers. The DTC and CPU use the same bus,
and the DTC takes priority over the CPU in using the bus.
Table 16 - 1 lists the DTC Specifications.
Table 16 - 1 DTC Specifications
Item Specification
Activation sources 21 sources
Allocatable control data 24 sets
Address space which can
be transferred
Address space 64 Kbytes (F0000H to FFFFFH), excluding general-purpose registers
Sources
Special function register (SFR), RAM area (excluding general-purpose registers), mirror area
Note
,
data flash memory area
Note
, extended special function register (2nd SFR)
Destinations Special function register (SFR), RAM area (excluding general-purpose registers),
extended special function register (2nd SFR)
Maximum number of
transfers
Normal mode 256 times
Repeat mode 255 times
Maximum size of block to
be transferred
Normal mode
(8-bit transfer)
256 bytes
Normal mode
(16-bit transfer)
512 bytes
Repeat mode 255 bytes
Unit of transfers 8 bits/16 bits
Transfer mode Normal mode Transfers end on completion of the transfer causing the DTCCTj register value to change from 1 to 0.
Repeat mode On completion of the transfer causing the DTCCTj register value to change from 1 to 0, the repeat area
address is initialized and the DTRLDj register value is reloaded to the DTCCTj register to continue
transfers.
Address control Normal mode Fixed or incremented
Repeat mode Addresses of the area not selected as the repeat area are fixed or incremented.
Priority of activation sources Refer to
Table 16 - 5 DTC Activation Sources and Vector Addresses.
20-bit address
Highest 4 bits Higher 8 bits Lower 8 bits
Lower 4 bits