RL78/G1P
(4) DMA pending instruction
Even if a DMA request is generated, DMA transfer is held pending immediately after the following instructions.
CALL
!addr16
CALL
$!addr20
CALL
!!addr20
CALL
rp
CALLT
[addr5]
BRK
Bit manipulation instructions for registers IF0L, IF0H, IF1L, MK0L, MK0H, MK1L, PR00L, PR00H, PR01L,
PR10L, PR10H, PR11L, and PSW each.
Instruction for accessing the data flash memory
(5) Operation if address in general-purpose register area or other than those of internal RAM area is specified
The address indicated by DMA RAM address register n (DRAn) is incremented during DMA transfer. If the
address is incremented to an address in the general-purpose register area or exceeds the area of the internal
RAM, the following operation is performed.
In mode of transfer from SFR to RAM
The data of that address is lost.
In mode of transfer from RAM to SFR
Undefined data is transferred to SFR.
In either case, malfunctioning may occur or damage may be done to the system. Therefore, make sure that the
address is within the internal RAM area other than the general-purpose register area.
(6) Operation if instructions for accessing the data flash area
Because DMA transfer is suspended to access to the data flash area, be sure to add the DMA pending
instruction.
If the data flash area is accessed after an next instruction execution from start of DMA transfer, a 3-clock wait
will be inserted to the next instruction.
Instruction 1
DMA transfer
Instruction 2
MOV A,
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
F F F 0 0 H
FFEFFH
General-purpose registers
FFEE0H
FFEDFH
Internal RAM
The wait of three clock cycles occurs.
! DataFlash area
CHAPTER 13 DMA CONTROLLER
DMA transfer enabled area
569