ADSP-214xx SHARC Processor Hardware Reference
15-25
Serial Peripheral Interface Ports
The
TIMOD
(transfer initiation and interrupt) register determines whether
the interrupt is based on the
TXSPI
or
RXSPI
buffer status.
If configured to generate an interrupt when
SPIRX
is full (
TIMOD
=
00), the interrupt becomes active 1
PCLK
cycle after the
RXS
bit is
set.
During DMA driven transfers, an SPI interrupt is triggered:
1. At the completion of a single DMA transfer when count = 0 and
INTETC
= 0, or when the last data is transferred externally and
INTETC
= 1.
2. At the completion of a number of DMA sequences (if DMA chain-
ing is enabled).
3. When a DMA error has occurred.
Note that the
SPIDMAC
register must be initialized properly to enable DMA
interrupts.
Each of these five interrupts are serviced using the interrupt associated
with the module being used. The primary SPI uses the
SPIHI
interrupt
and the secondary SPI uses the
SPILI
interrupt. Whenever an SPI inter-
rupt occurs (regardless of the cause), the
SPILI
or
SPIHI
interrupts are
latched. To service the primary SPI port, unmask (set = 1) the
SPIHI
bit
Table 15-7. SPI Interrupt Overview
Interrupt Source Interrupt Condition
Interrupt Completion
Interrupt
Acknowledge
Default
IVT
SPI (SPI Mode
3–0, 2 channels)
– DMA RX/TX done
– Core RX buffer full
– Core TX buffer empty
– DMA multi master error
– DMA under/overflow error
Internal transfer completion
for core mode of operation.
For DMA modes,
Internal transfer completion
when INTETC = 0.
External transfer completion
when INTETC = 1.
RTI instruction
P1I,
P18I
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...