Panasonic MN101C77C, F77G user manual Transfer Mode

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 458
Image 458

Chapter 14 Automatic Transfer Controller

14-3-11 Transfer Mode 6

In transfer mode 6, ATC1 automatically transfers one byte of data two times every time an ATC1 activation request occurs.

(2)

(4)

00000 - 3FFFF

AT1MAP0

AT1MAP0 + 1

AT1MAP0 + 2

AT1MAP0 + 3

03F00 - 03FFF

(1)AT1MAP1

(3)(Only lower

8 bits are valid)

Figure 14-3-8 Transfer Mode 6

In this mode the transfer direction indicated by memory pointers 0 and 1 reverses for the second data byte transfer.

In the first data byte transfer, the I/O space address (x'03F00' - x'03FFF') in memory pointer 1 is the source address, and the address in memory pointer 0, for any memory space, is the destination address. When the first data byte transfer ends, the address in memory pointer 0 increments by one.

In the second data byte transfer, the incremented address in memory pointer 0 becomes the source address, and the I/O space address (x'03F00' - x'03FFF') in memory pointer 1 becomes the destination address. When the second data byte transfer ends, the address in memory pointer 0 increments again.

Set the I/O address in lower 8 bits of memory pointer 1 (AT1MAP1L). The upper 10 bits of the I/O space address (x'03F') need not to be set in AT1MAP1H, AT1MAP1M.

Transfer mode 6 can be used to support continuous transmission/reception for serial inter- face 3. Set memory pointer 1 to point to the serial transmission/reception shift register (SCnTRB) and select serial interrupts as an ATC1 trigger factor. In this way, each time a serial communication ends the MCU continuously reads the received data (first data byte transfer) then writes the transmission data (second data byte transfer) up to 255 times, entirely through the hardware.

XIV - 20 Operation

Page 458
Image 458
Panasonic MN101C77C, F77G user manual Transfer Mode