Programming Model
10-42
ADSP-2126x SHARC Processor Hardware Reference
Reception Error Bit (ROVF)
The
ROVF
flag is set in the
SPISTAT
register when a new transfer has com-
pleted before the previous data could be read from the
RXSPI
register. This
bit indicates that a new word was received while the receive buffer was
full. The
ROVF
flag is cleared by a W1C-type software operation. The state
of the
GM
bit in the
SPICTL
register determines whether the
RXSPI
register is
updated with the newly received data or whether that new data is
discarded.
Transmit Collision Error Bit (TXCOL)
The
TXCOL
flag is set in the
SPISTAT
register when a write to the
TXSPI
reg-
ister coincides with the load of the Shift register. The write to
TXSPI
can
be via the software or the DMA. This bit indicates that corrupt data may
have been loaded into the Shift register and transmitted. In this case, the
data in
TXSPI
may not match what was transmitted. This error can easily
be avoided by proper software control. The
TXCOL
bit is cleared by a
W1C-type software operation.
This bit is never set when the SPI is configured as a slave with
CPHASE
= 0. The collision may occur, but it cannot be detected.
Programming Model
The section describes which sequences of software steps are required to get
the peripheral working successfully.
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 ...