SPI Registers
10-40
ADSP-BF537 Blackfin Processor Hardware Reference
SPI Registers
The SPI peripheral includes a number of user-accessible registers. Some of
these registers are also accessible through the DMA bus. Four registers
contain control and status information:
SPI_BAUD
,
SPI_CTL
,
SPI_FLG
, and
SPI_STAT
. Two registers are used for buffering receive and transmit data:
SPI_RDBR
and
SPI_TDBR
. For information about DMA-related registers, see
Chapter 5, “Direct Memory Access”
SFDR
, is internal to
the SPI module and is not directly accessible.
See
“Error Signals and Flags” on page 10-20
for more information about
how the bits in these registers are used to signal errors and other
conditions.
shows the functions of the SPI registers.
provide details.
Table 10-6. SPI Register Mapping
Register Name
Function
Notes
SPI_BAUD
SPI port baud
control
Value of 0 or 1 disables the serial clock
SPI_CTL
SPI port control
SPE and MSTR bits can also be modified by
hardware (when MODF is set)
SPI_FLG
SPI port flag
Bits 0 and 8 are reserved
SPI_STAT
SPI port status
SPIF bit can be set by clearing SPE in
SPI_CTL
SPI_TDBR
SPI port transmit
data buffer
Register contents can also be modified by hard-
ware (by DMA and/or when SZ = 1 in
SPI_CTL)
SPI_RDBR
SPI port receive
data buffer
When register is read, hardware events can be
triggered
SPI_SHADOW
SPI port data
Register has the same contents as SPI_RDBR,
but no action is taken when it is read
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 ...