
ADSP-2126x SHARC Processor Hardware Reference
9-59
Serial Ports
This bit applies to Multichannel mode only.
Data Buffer Status Channel A (read-only).
SPCTL1
,
SPCTL3
and
SPCTL5
bits 31–30 (
RXS_A
). These bits indicate the status of the channel’s receive
buffer contents as follows: 00 = buffer empty, 01 = reserved, 10 = buffer
partially full, 11 = buffer full.
DXS Data Buffer Status
.
SPCTLx
Bits 31–30 (
DXS_A
) and bits 28-27
(
DXS_B
). These read-only bits indicate the status of the serial port’s data
buffer as follows: 11 = buffer full, 00 = buffer empty, 10 = buffer partially
full, 01 = reserved.
The
DXS_A
or
DXS_B
Status bits indicate whether the
TXSPxA/RXSPxA
or
TXSPxB/RXSPxB
buffer is full (11), empty (00), or partially full (10). To
test for space in
TXSPxA/B
or
RXSPxA/B
, test whether
DXS_A
(bit 30) is equal
to zero for the A channel, or whether
DXS_B
(bit 27) is equal to zero for the
B channel. To test for the presence of any data in
TXSPxA/B
or
RXSPxA/B
,
test whether
DXS_A
(bit 31) is equal to one for the A channel, or whether
DXS_B
(bit 28) is equal to one for the B channel.
This description applies to I
2
S, Left-justified Sample Pair, and DSP Stan-
dard Serial modes.
When the SPORT is configured as a transmitter, these bits reflect
transmit buffer status for the
TXSPxA
and
TXSPxB
buffers. When the
SPORT is configured as a receiver, these bits reflect receive buffer
status for the
RXSPxA
and
RXSPxB
buffers.
Transmit Data Buffer Status (read-only)
.
SPCTL0
,
SPCTL2
and
SPCTL4
Bits
30 and 31(
TXS_A
). These bits indicate the status of the serial port chan-
nel’s transmit buffer as follows: 11 = buffer full, 00 = buffer empty,
10 = buffer partially full.
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 ...