SPI Registers
10-34
ADSP-2126x SHARC Processor Hardware Reference
• See the
“Program Sequencer Registers” on page A-23
IRPTL
and
LIRPTL
register bit descriptions.
• See
“SPI DMA Configuration (SPIDMAC) Register” on
for
SPIDMAC
register bit descriptions.
SPI Registers
The SPI peripheral in the ADSP-2126x SHARC processor includes several
memory-mapped registers, some of which are accessible by the IOP. Four
registers contain control and status information—
SPIBAUD
,
SPICTL
,
SPIFLG
, and
SPISTAT
. Two registers are used for buffering receive and
transmit data—
RXSPI
and
TXSPI
. Five registers are related to DMA func-
tionality—
SPIDMAC
,
IISPI
,
IMSPI
,
CSPI
and
CPSPI
. Additionally, the
four-deep SPI DMA FIFO and the SPI Transmit and Receive Shift regis-
ters,
TXSR
and
RXSR
, are not accessible.
Control and Status Registers
The following registers are used to control certain functions of the SPI or
to provide SPI status information.
SPI Baud Setup Register (SPIBAUD)
The SPI Baud Rate register (
SPIBAUD
) is used to set the bit transfer rate for
a master device. When configured as a slave, the value written to this reg-
ister is ignored. The serial clock frequency is determined by the following
formula:
Writing a value of zero to the register disables the serial clock. Therefore,
the maximum serial clock rate is one-fourth the core clock rate (
CCLK
).
SPI Baud Rate =
Core Clock Rate
(4)x(BAUDR)
Summary of Contents for ADSP-21261 SHARC
Page 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Page 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Page 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Page 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Page 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Page 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Page 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Page 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Page 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Page 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Page 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Page 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...