EasyManuals Logo

Analog Devices SHARC ADSP-21368 User Manual

Analog Devices SHARC ADSP-21368
894 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #62 background imageLoading...
Page #62 background image
Configuring IOP/Core Interaction
2-6 ADSP-21368 SHARC Processor Hardware Reference
In order to resolve this issue, use one of the following methods.
1. Read an IOP register from the same peripheral block before execut-
ing the RTI. This read forces the write to occur first.
dm(TXSPI) = R0; /* Write to TXSPI FIFO */
R0 = dm(SPICTL); /* Dummy read. This read happens only
after write */
rti;
2. Add sufficient NOP instructions after a write. In all cases, ten NOP
instructions after a write is sufficient to properly update the status.
R0 = 0x0;
dm(SPICTL) = R0; /* Disable spi */
nop; nop; nop; nop; nop;
nop; nop; nop; nop; nop;
rti;
Configuring IOP/Core Interaction
There are two methods the processor uses to monitor the progress of
DMA operations—interrupts, which are the primary method, and status
polling. The same program can use either method for each DMA channel.
The following sections describe both methods in detail.
Interrupt-Driven I/O
Interrupts are generated at the end of a DMA transfer. This happens when
the count register for a particular channel decrements to zero. The default
interrupt vector locations for each of the channels are listed in Table 2-3
on page 2-9. The interrupt register diagrams and bit descriptions are given
in Appendix B, Interrupts and “DAI Interrupt Controller Registers” on
page A-112.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Analog Devices SHARC ADSP-21368 and is the answer not in the manual?

Analog Devices SHARC ADSP-21368 Specifications

General IconGeneral
BrandAnalog Devices
ModelSHARC ADSP-21368
CategoryComputer Hardware
LanguageEnglish

Related product manuals