Figure 7.12 Operation In Block Transfer Mode (Blkdir = 1) - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

Figure 7.12 illustrates operation in block transfer mode when MARA is designated as a block area.
Address T
A
Address B
A
Legend
Address T
= L
A
Address T
= L
B
Address B
= L
A
Address B
= L
B
L
= Value set in MARA
A
L
= Value set in MARB
B
N = Value set in ETCRB
M = Value set in ETCRAH and ETCRAL

Figure 7.12 Operation in Block Transfer Mode (BLKDIR = 1)

ETCRAL is decremented by 1 each time a byte or word transfer is performed. In response to a
single transfer request, burst transfer is performed until the value in ETCRAL reaches H'00.
ETCRAL is then loaded with the value in ETCRAH. At this time, the value in the MAR register
for which a block designation has been given by the BLKDIR bit in DMACRA is restored in
accordance with the DTSZ, SAID/DAID, and SAIDE/DAIDE bits in DMACR.
ETCRB is decremented by 1 every block transfer, and when the count reaches H'0000 the DTE bit
is cleared and transfer ends. If the DTIE bit is set to 1 at this point, an interrupt request is sent to
the CPU or DTC. Figure 7.13 shows the operation flow in block transfer mode.
Block area
A
B
SAID
DTSZ
+ SAIDE · (–1)
· (2
A
DAID
DTSZ
+ DAIDE · (–1)
· (2
B
1st block
Transfer
Consecutive transfer
of M bytes or words
is performed in
rewponse to one
request
· (N–1))
· (M · N–1))
Address T
2nd block
Nth block
Address B
Rev. 3.0, 10/02, page 177 of 686
B
B

Advertisement

Table of Contents
loading

Table of Contents