
Communication Processor Module
16-98
MPC823 USER’S MANUAL
MOTOROLA
IDMA
COMMUNICATION
16
PROCESSOR
MODULE
W—Wrap (Final Buffer Descriptor in Table)
0 = This is not the last buffer descriptor in the table.
1 = This is the last buffer descriptor in the table. After the associated buffer has been
used, the RISC microcontroller transfers data from the first buffer descriptor that
IBASE register points to in the table. The number of buffer descriptors in this table
is programmable and determined only by the W bit and overall space constraints
of the dual-port RAM.
I—Interrupt
0 = No interrupt is generated after this buffer is serviced.
1 = Once this buffer is serviced by the RISC microcontroller, the AD bit in the IDSR is
set and can cause an interrupt.
L—Last
0 = This is not the last buffer to be transferred in the buffer chaining mode. The I bit can
be used to generate an interrupt when this buffer is serviced.
1 = This is the last buffer to be transferred in the buffer chaining mode. When the
transfer count is exhausted, an interrupt is generated, regardless of state of the
I bit.
CM—Continuous Mode
0 = Buffer chaining mode. The RISC microcontroller clears the V bit after this buffer
descriptor is serviced. This mode is used to transfer large amounts of data into
noncontiguous buffer areas. You can initialize buffer descriptors ahead of time, if
you need to. The RISC microcontroller automatically reloads the IDMA registers
from the next buffer descriptor values when the transfer is terminated.
1 = Autobuffer mode (continuous mode). The RISC microcontroller does not clear the
V bit after this buffer descriptor is serviced. This is the only difference between the
behavior of autobuffer mode and buffer chaining mode. The autobuffer mode is
used to transfer multiple groups of data to/from a buffer ring and does not require
reprogramming. The RISC microcontroller automatically reloads the IDMA
registers from the next buffer descriptor values when the transfer is terminated.
Either a single buffer descriptor or multiple buffer descriptors can be used in this
mode to create an infinite loop of repetitive data moves.
Note: The I bit can be used to generate an interrupt in this mode.