Analog Devices SHARC ADSP-214 Series Hardware Reference Manual page 642

Table of Contents

Advertisement

Interrupts
(bit 12) in the
IMASK
(set = 1) the
SPILIMSK
bits, see the SHARC Processor Programming Reference.
When using DMA transfers, programs must also specify whether to gener-
ate interrupts based on transfer or error status. For DMA transfer status
based interrupts, set the
upon the state of
nal count becomes zero or the external transfer is complete. Otherwise, set
the
bit to trigger the interrupt if one of the error conditions occurs
INTERR
during the transmission—for example a multimaster error (
buffer underflow (
(
– only if
ROVF
During core-driven transfers, the
do not generate interrupts.
When DMA is disabled, the processor core may read from the
ter or write to the
memory-mapped IOP registers. A maskable interrupt is generated when
the receive buffer is not empty or the transmit buffer is not full. The
and
error conditions do not generate interrupts in these modes.
ROVF
Multi Master Error
The
bit (1) is set when the
SPIMME
enabled as a master is driven low by some other device in the system. This
occurs in multimaster systems when another device is also trying to be the
master.
To enable this feature, set the
this error is detected, the following actions are taken:
1. The
SPIMS
interface as a slave.
15-26
www.BDTIC.com/ADI
register. To service the secondary SPI port, unmask
bit (bit 19) in the
bit in the
INTEN
bit the interrupt can be generated when the inter-
INTETC
– only if
TUNF
SPIRCV
= 1).
SPIRCV
data buffer. The
TXSPI
ISSEN
control bit in
SPICTL
ADSP-214xx SHARC Processor Hardware Reference
register. For a list of these
LIRPTL
register. Depending
SPIDMAC
= 0), or receive buffer overflow
and
TUNF
ROVF
and
RXSPI
TXSPI
input pin of a device that is
SPI_DS_I
bit in the
SPICTL
is cleared, configuring the SPI
), transmit
MME
error conditions
regis-
RXSPI
buffers are
TUNF
register. As soon as

Advertisement

Table of Contents
loading

Table of Contents