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 8-10 illustrates how block transfer mode operates. In this figure, bit TMS is cleared to 0,
meaning the block area is the destination.
Figure 8-10 Operation in Block Transfer Mode
T
B
Transfer
Legend
L
L
M
N
T
B
T
B
Address T
M bytes or words are
transferred per request
Address B
A
A
Block 1
Block N
B
B
Block area
Block 2
= initial setting of MARA
= initial setting of MARB
= initial setting of ETCRAH and ETCRAL
= initial setting of ETCRB
= L
= L + SAIDE • (–1) • (2 • M – 1)
= L
= L + DAIDE • (–1) • (2 • M – 1)
A
A
B
B
A
B
A
A
B
B
SAID
DAID
DTSZ
DTSZ
219
www.DataSheet4U.com