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
B
= L + SAIDE • (–1)
A
A
T
= L
B
B
B
= L + DAIDE • (–1)
B
B
218
Transfer
Block 2
M bytes or words are
transferred per request
Block N
SAID
DTSZ
• (2
• M – 1)
DAID
DTSZ
• (2
• M – 1)
Figure 7.10 Operation in Block Transfer Mode
Block area
Address T
B
Address B
B