Functional Description
12-38
ADSP-BF537 Blackfin Processor Hardware Reference
If the internally generated
TFS
is used, a single write to the
SPORTx_TX
data
register is required to start the transfer.
Moving Data Between SPORTs and Memory
Transmit and receive data can be transferred between the SPORTs and
on-chip memory in one of two ways: with single word transfers or with
DMA block transfers.
If no SPORT DMA channel is enabled, the SPORT generates an interrupt
every time it has received a data word or needs a data word to transmit.
SPORT DMA provides a mechanism for receiving or transmitting an
entire block or multiple blocks of serial data before the interrupt is gener-
ated. The SPORT’s DMA controller handles the DMA transfer, allowing
the processor core to continue running until the entire block of data is
transmitted or received. Interrupt service routines (ISRs) can then operate
on the block of data rather than on single words, significantly reducing
overhead.
For information about DMA, see
Chapter 5, “Direct Memory Access”
SPORT RX, TX, and Error Interrupts
The SPORT RX interrupt is asserted when
RSPEN
is enabled and any
words are present in the RX FIFO. If RX DMA is enabled, the SPORT
RX interrupt is turned off and DMA services the RX FIFO.
The SPORT TX interrupt is asserted when
TSPEN
is enabled and the TX
FIFO has room for words. If TX DMA is enabled, the SPORT TX inter-
rupt is turned off and DMA services the TX FIFO.
The SPORT error interrupt is asserted when any of the sticky status bits
(
ROVF
,
RUVF
,
TOVF
,
TUVF
) are set. The
ROVF
and
RUVF
bits are cleared by
writing 0 to
RSPEN
. The
TOVF
and
TUVF
bits are cleared by writing 0 to
TSPEN
.
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 ...