Programming Examples - Analog Devices Blackfin ADSP-BF537 Hardware Reference Manual

Hide thumbs Also See for Blackfin ADSP-BF537:
Table of Contents

Advertisement

Programming Examples

Table 12-7. SPORTx Multichannel Transmit Select Register
Memory-mapped Addresses
Register Name
SPORT0_MTCS0
SPORT0_MTCS1
SPORT0_MTCS2
SPORT0_MTCS3
SPORT1_MTCS0
SPORT1_MTCS1
SPORT1_MTCS2
SPORT1_MTCS3
Programming Examples
This section shows an example of typical usage of the SPORT peripheral
in conjunction with the DMA controller. See
Listing 12-4 on page
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
(
and
SPORTx_RCRx
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.
12-72
Memory-mapped Address
0xFFC0 0840
0xFFC0 0844
0xFFC0 0848
0xFFC0 084C
0xFFC0 0940
0xFFC0 0944
0xFFC0 0948
0xFFC0 094C
12-78.
) and the DMA configuration. An example
SPORTx_TCRx
ADSP-BF537 Blackfin Processor Hardware Reference
Listing 12-1
through

Advertisement

Table of Contents
loading

Table of Contents