Operation
Chapter 14 Automatic Transfer Controller
XIV - 23
13
In transfer mode 7, ATC1 executes a data byte transfer twice each time it is activated. However, the
value in memory pointer 0 increments by one only after the first transfer ends. As a result, the source
address for the next ATC1 operation is one address higher than that for the previous operation.
Set the data transfer count for ATC1 in the transfer data counter (AT1TRC). The counter can be set to a
maximum of 255 transfers. The counter decrements each time ATC1 is activated (after one byte of data
has been transferred twice). When it reaches x'00', an interrupt (ATC1IRQ) occurs and the automatic
transfer ends.
To execute a continuous serial transaction, you must pre-store the serial transmission data in
the memory space that memory pointer 0 points, once the serial communication ends, the
MCU has written to the reception data over the transmission data, so that only reception data
remains in the memory.