![Analog Devices Blackfin ADSP-BF537 Скачать руководство пользователя страница 629](http://html.mh-extra.com/html/analog-devices/blackfin-adsp-bf537/blackfin-adsp-bf537_hardware-reference-manual_2939700629.webp)
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.
Содержание Blackfin ADSP-BF537
Страница 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Страница 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...