Section 7 DMA Controller
If M (1 to 255) is the size of the block transferred at each request and N (1 to 65,536) is the
number of blocks to be transferred, then ETCRAH and ETCRAL should initially be set to M and
ETCRB should initially be set to N.
Figure 7.10 illustrates how block transfer mode operates. In this figure, bit TMS is cleared to 0,
meaning the block area is the destination.
T
A
Block 1
B
A
Legend
L
= initial setting of MARA
A
L
= initial setting of MARB
B
M
= initial setting of ETCRAH and ETCRAL
N
= initial setting of ETCRB
T
= L
A
A
= L + SAIDE • (−1)
B
A
A
T
= L
B
B
= L + DAIDE • (−1)
B
B
B
Rev. 4.00 Jan 26, 2006 page 244 of 938
REJ09B0276-0400
Transfer
Block 2
M bytes or words are
transferred per request
Block N
SAID
• (2
DTSZ
• M − 1)
DAID
• (2
DTSZ
• M − 1)
Figure 7.10 Operation in Block Transfer Mode
Block area
Address T
B
Address B
B