ADSP-BF50x Blackfin Processor Hardware Reference
18-17
SPI-Compatible Port Controller
clock phase relative to data are programmable in the
SPI_CTL
register and
define the transfer format. See
Figure 18-5 on page 18-13
.
Interrupt Output
The SPI has two interrupt output signals: a data interrupt and an error
interrupt.
The behavior of the SPI data interrupt signal depends on the
TIMOD
field
in the
SPI_CTL
register. In DMA mode (
TIMOD
=
b#1X
), the data interrupt
acts as a DMA request and is generated when the DMA FIFO is ready to
be written to (
TIMOD
=
b#11
) or read from (
TIMOD
=
b#10
). In non-DMA
mode (
TIMOD
=
0X
), a data interrupt is generated when the
SPI_TDBR
regis-
ter is ready to be written to (
TIMOD
=
b#01
) or when the
SPI_RDBR
register
is ready to be read from (
TIMOD
=
b#00
).
An SPI error interrupt is generated in a master when a mode fault error
occurs, in both DMA and non-DMA modes. An error interrupt can also
be generated in DMA mode when there is an underflow (
TXE
when
TIMOD
=
b#11
) or an overflow (
RBSY
when
TIMOD
=
b#10
) error condition.
In non-DMA mode, the underflow and overflow conditions set the
TXE
and
RBSY
bits in the
SPI_STAT
register, respectively, but do not generate an
error interrupt.
For more information about this interrupt output, see the discussion of
the
TIMOD
bits in
“SPI Control (SPI_CTL) Register” on page 18-36
.
Functional Description
The following sections describe the functional operation of the SPI.
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...