ADSP-BF537 Blackfin Processor Hardware Reference
10-23
SPI Compatible Port Controllers
into the shift register and transmitted. In this case, the data in
SPI_TDBR
may not match what was transmitted. This error can easily be avoided by
proper software control. The
TXCOL
bit is sticky (W1C).
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 = 1X
), the data interrupt
acts as a DMA request and is generated when the DMA FIFO is ready to
be written to (
TIMOD = 11
) or read from (
TIMOD = 10
). In non-DMA
mode (
TIMOD = 0X
), a data interrupt is generated when the
SPI_TDBR
is
ready to be written to (
TIMOD = 01
) or when the
SPI_RDBR
is ready to be
read from (
TIMOD = 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 = 11
) or an overflow (
RBSY
when
TIMOD = 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
.
Functional Description
The following sections describe the functional operation of the SPI.
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...