Description of Operation
10-20
ADSP-BF537 Blackfin Processor Hardware Reference
SPI Baud Rate
The
SPI_BAUD
register is used to set the bit transfer rate for a master
device. When configured as a slave, the value written to this register is
ignored. The serial clock frequency is determined by this formula:
SCK Frequency = (Peripheral clock frequency SCLK)/(2 x SPI_BAUD)
Writing a value of 0 or 1 to the register disables the serial clock. There-
fore, the maximum serial clock rate is one-fourth the system clock rate.
lists several possible baud rate values for
SPI_BAUD
.
Error Signals and Flags
The
SPI_STAT
register is used to detect when an SPI transfer is complete or
if transmission/reception errors occur. The
SPI_STAT
register can be read
at any time.
Some of the bits in
SPI_STAT
are read-only and other bits are sticky. Bits
that provide information only about the SPI are read-only. These bits are
set and cleared by the hardware. Sticky bits are set when an error condi-
tion occurs. These bits are set by hardware and must be cleared by
Table 10-3. SPI Master Baud Rate Example
SPI_BAUD Decimal Value
SPI Clock (SCK) Divide
Factor
Baud Rate for
SCLK at 100 MHz
0
N/A
N/A
1
N/A
N/A
2
4
25 MHz
3
6
16.7 MHz
4
8
12.5 MHz
65,535 (0xFFFF)
131,070
763 Hz
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 ...