Dma Channel To Peripheral Mapping - Analog Devices VisualDSP++ 5.0 Service Manual

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

Theory of Operation
The streaming sub-mode allows the client to alter this behavior. When the
streaming sub-mode is enabled, the DMA manager never pauses the DMA
controller; this allows the DMA transfers to occur at the maximum
throughput rate.
When streaming, the client is required to ensure the following conditions:
• The channel always has descriptors to process and never runs out of
descriptors.
• The system timing is such that the DMA manager can service the
callback interrupt for any descriptor tagged for a callback, before
another descriptor on the same channel that is tagged for callback
is processed.
These conditions can be met fairly easily in most systems.

DMA Channel to Peripheral Mapping

The Blackfin processor allows the user to change the default mapping of
the various DMA-supported peripherals to the various DMA channels.
Typically, however, the mappings for the memory DMA channels are
fixed and cannot be changed.
The DMA manager provides two functions,
adi_dma_SetMapping()
the mapping of DMA channels to peripherals. These functions can be
called at any time after the DMA manager is initialized, but they must be
processed before the channel is opened.
6-26
, that allow the client to easily detect and change
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
adi_dma_GetMapping()
and

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Table of Contents