Programming Examples
12-72
ADSP-BF537 Blackfin Processor Hardware Reference
Programming Examples
This section shows an example of typical usage of the SPORT peripheral
in conjunction with the DMA controller. See
through
The SPORT is usually employed for high-speed, continuous serial trans-
fers. The example reflects this, in that the SPORT is set-up for
auto-buffered, repeated DMA transfers.
Because of the many possible configurations, the example uses generic
labels for the content of the SPORT’s configuration registers
(
SPORTx_RCRx
and
SPORTx_TCRx
) and the DMA configuration. An example
value is given in the comments, but for the meaning of the individual bits
the user is referred to the detailed explanation in this chapter.
The example configures both the receive and the transmit section. Since
they are completely independent, the code uses separate labels.
Table 12-7. SPORTx Multichannel Transmit Select Register
Memory-mapped Addresses
Register Name
Memory-mapped Address
SPORT0_MTCS0
0xFFC0 0840
SPORT0_MTCS1
0xFFC0 0844
SPORT0_MTCS2
0xFFC0 0848
SPORT0_MTCS3
0xFFC0 084C
SPORT1_MTCS0
0xFFC0 0940
SPORT1_MTCS1
0xFFC0 0944
SPORT1_MTCS2
0xFFC0 0948
SPORT1_MTCS3
0xFFC0 094C
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 ...