ADSP-2126x SHARC Processor Hardware Reference
9-13
Serial Ports
SPTRAN
bit controls the configuration of transmit versus receive opera-
tions. Serial ports can transmit or receive a selectable word length, which
is programmed by the
SLEN
bits in the
SPCTL
register. See
for more details. Serial ports also include
companding hardware built in to the A channels that allow sign extension
or zero-filling of upper bits of the serial data word. These configurations
are selected by the
DTYPE
bits in the
SPCTL
register. See
and
endian format (LSB versus MSB first) is selectable by the
LSBF
bit of the
SPCTL
for more details. Data
packing of two serial words into a 32-bit word is also selectable. The
PACK
bit in the
SPCTL
register controls this option. See
for more details.
Data Transfers
Serial port data can be transferred for use by the processor in two different
methods:
• DMA transfers
• Core-driven single word transfers
DMA transfers can be set up to transfer a configurable number of serial
words between the serial port buffers (
TXSPxA
,
TXSPxB
,
RXSPxA
, and
RXSPxB
) and internal memory automatically. For more information on
Sport DMA operations, see
“DMA Block Transfers” on page 9-66
driven transfers use SPORT interrupts to signal the processor core to per-
form single word transfers to/from the serial port buffers (
TXSPxA
,
TXSPxB
,
RXSPxA
, and
RXSPxB
). See
“SPORT Interrupts” on page 9-64
for more
details.
Status Information
Serial ports provide status information about data buffers via the
DXS_A
and
DXS_B
status bits and error status via
ROVF
or
TUVF
bits in the
SPCTL
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 ...