2 bandwidth control, 5 termination, 2 bandwidth control -14 – Motorola ColdFire MCF5281 User Manual

Page 310: 5 termination -14

Advertising
background image

DMA Controller Module

16-14

Freescale Semiconductor

If DSIZE is another size, data writes are optimized to write the largest size allowed based on the address,
but not exceeding the configured size.

16.5.4.2

Bandwidth Control

Bandwidth control makes it possible to force the DMA off the bus to allow access to another device.
DCRn[BWC] provides seven levels of block transfer sizes. If the BCRn decrements to a multiple of the
decode of the BWC, the DMA bus request negates until the bus cycle terminates. If a request is pending,
the arbiter may then pass bus mastership to another device. If auto-alignment is enabled, DCRn[AA] = 1,
the BCRn may skip over the programmed boundary, in which case, the DMA bus request is not negated.

If BWC = 000, the request signal remains asserted until BCRn reaches zero. DMA has priority over the
core. Note that in this scheme, the arbiter can always force the DMA to relinquish the bus. See

Section 8.5.3, “Bus Master Park Register (MPARK)

.”

16.5.5

Termination

An unsuccessful transfer can terminate for one of the following reasons:

Error conditions—When the processor encounters a read or write cycle that terminates with an
error condition, DSRn[BES] is set for a read and DSRn[BED] is set for a write before the transfer
is halted. If the error occurred in a write cycle, data in the internal holding register is lost.

Interrupts—If DCRn[INT] is set, the DMA drives the appropriate internal interrupt signal. The
processor can read DSRn to determine whether the transfer terminated successfully or with an
error. DSRn[DONE] is then written with a one to clear the interrupt and the DONE and error bits.

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

Advertising
This manual is related to the following products: