Auto Buffer And Buffer Chaining - Motorola MPC8260 PowerQUICC II User Manual

Motorola processor users manual
Table of Contents

Advertisement

allocation and eliminates the need for core intervention between transfers. BDs contain
information describing the data block and special control options for the DMA operation
while transferring the data block.

18.8.1 Auto Buffer and Buffer Chaining

The core processor should initialize the IDMA BD table with the appropriate buffer
handling mode, source address, destination address, and block length. See Figure 18-7.
IDMAx BD Base
Address (IBASE)
Source Device or
Buffer 0
Source Device or
Buffer 1
Source Device or
Buffer 2
• •
Source Device or
Buffer n
Data associated with each IDMA channel is stored in buffers and each buffer is referenced
by a BD that uses a circular table structure in the dual-port RAM. Control options such as
interrupt and DONE assertion are also programmed on a per-buffer basis in each BD.
Data may be transferred in the two following modes:
¥ Auto buffer mode. The IDMA continuously transfers data to/from the location
programmed in the BD until a
externally.
¥ Buffer chaining mode. Data is transferred according to the Þrst BD parameters, then
the second BD and so forth. The Þrst BD is reused (if ready) until the BD with the
last bit set is reached. IDMA transfers stop and restarts when the BD table is
reinitialized and a
MOTOROLA
BD 0
BD 1
BD 2
BD n
Figure 18-7. IDMAx ChannelÕs BD Table
_
STOP
_
command is issued.
START
IDMA
Chapter 18. SDMA Channels and IDMA Emulation
Part IV. Communications Processor Module
Destination Device or
Destination Device or
Destination Device or
Destination Device or
command is issued or DONE is asserted
IDMA
Buffer 0
Buffer 1
Buffer 2
• •
Buffer n
18-15

Advertisement

Table of Contents
loading

Table of Contents