I/O Processor Registers
A-92
ADSP-2126x SHARC Processor Hardware Reference
SPI Registers
The following sections describe the registers associated with the Serial
Peripheral Interface (SPI).
SPI Port Status Register (SPISTAT)
The SPI Status register (
SPISTAT
) is used to detect when an SPI transfer is
complete or if transmission/reception errors occur. The
SPISTAT
register
can be read at any time.
Some of the bits in the
SPISTAT
register are read-only (RO) and cannot be
cleared. The remainder of the bits can be read, but can also be cleared by a
write one-to-clear (W1C-type) operation. Bits that provide information
about the SPI are also read-only; these bits get set and cleared by the hard-
ware. Bits that are W1C-type are set when an error condition occurs (see
); these bits are set by hardware and must be
cleared by software. To clear a W1C-type bit, the program must write
a one to the desired bit position of the
SPISTAT
register. For example, if
the
TUNF
bit is set, the program must write a one to bit 2 of
SPISTAT
to
clear the
TUNF
error condition. This allows the program to read the status
register without changing its value.
Write one-to-clear (W1C-type) bits can only be cleared by writing
1 to them. Writing zero does not clear (or have any effect on) a
W1C-type bit.
provides the bit descriptions for the
SPISTAT
register.
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 ...