Motorola PowerQUICC II MPC8280 Series Reference Manual page 415

Table of Contents

Advertisement

9.13.1.3
DMA Coherency
The four DMA channels are allocated 4 cache lines (128 bytes) of buffer space in the I/O
sequencer module in addition to 16 bytes of local buffer space. Because no address
snooping occurs in these internal queues, data posted in these queues is not visible to the
rest of the system while a DMA transfer is in progress. It is the responsibility of application
software to ensure the coherency of the region being transferred during the DMA process.
Snooping of the core data cache is selectable during DMA transactions. A snoop bit is
provided in the current descriptor address register and the next descriptor address register
which allows software to control when the cache is snooped. These bits are described in
Section 9.13.1.6.3, "DMA Current Descriptor Address Registers 0–3 (DMACDARx)" and
Section 9.13.1.6.7, "DMA Next Descriptor Address Registers 0–3 (DMANDARx)"
respectively.
9.13.1.4
Halt and Error Conditions
DMA transfers are halted either by clearing the CS (channel start) bit in the mode register
or when encountering an error condition. In both cases the application software can one of
the following:
• Continue the DMA transfer
• Reconfigure the DMA for a new transfer
• Leave the channel in the halted state
When a DMA channel is halted, its programming model is completely accessible. If the
DMA is halted due to an error condition, the TE (transfer error) bit in the status register
must be cleared before the transfer can be resumed or a new transfer initiated. Note that the
TE bit is not cleared automatically by hardware.
After any bus error which occurs in the MPC8280 (either 60x
or PCI, not necessarily due to DMA operation), the user must
reset the system to avoid DMA malfunction.
9.13.1.5
DMA Transfer Types
The DMA controller supports all transfers between 60x memory and PCI memory:
60x-to-60x, PCI-to-PCI, 60x-to-PCI, and PCI-to-60x. All data is temporarily stored in a
144-byte queue prior to transmission. There are four types of DMA transfers:
• PCI-memory-to-PCI-memory transfers—The DMA controller begins by reading
data from PCI memory space and storing it in the DMA queue. Once sufficient data
is stored in the queue, the DMA controller begins writing data from the queue to PCI
memory space beginning at the destination address. The process is repeated until
there is no more data to transfer or an error condition has occurred on the PCI bus.
MOTOROLA
Freescale Semiconductor, Inc.
NOTE: DMA Operation After Bus Error
Chapter 9. PCI Bridge
For More Information On This Product,
Go to: www.freescale.com
DMA Controller
9-93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc ii mpc8270Powerquicc ii mpc8275Powerquicc ii mpc8280

Table of Contents