Analog Devices SHARC ADSP-2136 Series Hardware Reference Manual page 252

Table of Contents

Advertisement

Interrupts
To maintain software compatibility with other SPI devices (HC-11), the
SPI transfer finished bit (
have slightly different behavior from that of other commercially available
devices. For a slave device,
device,
is set one-half (0.5) of the
SPIF
edge, regardless of
bit is set. In general,
SPIF
settings (
SPIBAUD
quently before new data has been latched into the
for
= 2 or
SPIBAUD
be set (after SPIF is set) before reading the
settings (
SPIBAUD
Interrupts
The following section describes SPI operations using both the core and
direct memory access (DMA).
Interrupt Sources
The SPI ports can generate interrupts in five different situations. During
core-driven transfers, an SPI interrupt is triggered:
1. When the
from the core
2. When the
core
The
(transfer initiation and interrupt) register determines whether
TIMOD
the interrupt is based on the
If configured to generate an interrupt when
00), the interrupt will be active 1
7-28
www.BDTIC.com/ADI
) is also available for polling. This bit may
SPIF
is set at the same time as
SPIF
or
. The baud rate determines when the
CPHASE
CLKPL
is set after
SPIF
< 4). The
bit is set before the
SPIF
= 3, the processor must wait for the
SPIBAUD
> 4),
is set before
SPIBAUD
RXS
buffer has the capacity to accept another word
TXSPI
buffer contains a valid word to be retrieved by the
RXSPI
or
TXSPI
ADSP-2136x SHARC Processor Hardware Reference
for the ADSP-21362/3/4/5/6 Processors
RXS
period after the last
SPICLK
, but at the lowest baud rate
RXS
bit, and conse-
RXS
buffer. Therefore,
RXSPI
buffer. For larger
RXSPI
.
SPIF
buffer status.
RXSPI
SPIRX
cycle after the
PCLK
. For a master
SPICLK
bit to
RXS
is full (
=
TIMOD
bit is set.
RXS

Advertisement

Table of Contents
loading

Table of Contents