Dma Transfers; Core Driven Transfers - Analog Devices ADSP-21261 SHARC Hardware Reference Manual

Hide thumbs Also See for ADSP-21261 SHARC:
Table of Contents

Advertisement

Using the Parallel Port
over core driven transfers is that the core can continue executing code
while sequential data is imported/exported in the background.
Unlike the external port on previous SHARC processors, the ADSP-2126x
core cannot directly access the external parallel bus. Instead, the core ini-
tializes two registers to indicate the external address and address-modifier
and then accesses data through intermediate registers. Then, when the
core accesses either the
writes/fetches data to/from the specified external address. The details of
this functionality and the four main techniques to manage each transfer
are detailed below. In general, core-driven transfers are most advantageous
when performing single-word accesses and/or accesses to non-sequential
addresses.

DMA Transfers

To use the parallel port for DMA programs, start by setting up values in
the DMA parameter registers. The program then writes to the
ter to enable
PPDEN
value, transfer direction, and so on. While a parallel port DMA is active,
the DMA parameter registers are not writable. Furthermore, only the
and
bits (in the
DMAEN
changed, the parallel port will malfunction. It is recommended that both
the
and
PPDEN
operation.
To see an example program that sets up a parallel port DMA, see
Listing 8-1 on page

Core Driven Transfers

Core-driven transfers can be managed using four techniques. The transfers
can 1) use interrupts, 2) poll status bits in the
when each access will complete by calculating the data and
tions, or 4) rely on the fact that the core stalls on certain accesses to
8-18
or
PPTX
PPRX
with all of the necessary settings like cycle duration
register) can be changed. If any other bit is
PPCTL
bits be set and reset together to ensure proper DMA
PPEN
8-23.
ADSP-2126x SHARC Processor Hardware Reference
registers, the parallel port
register, 3) predict
PPCTL
regis-
PPCTL
PPEN
cycle dura-
ALE
PPRX

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-21262 sharcAdsp-21266 sharcAdsp-21267 sharc

Table of Contents