ADSP-2126x SHARC Processor Hardware Reference
9-53
Serial Ports
The following bits, listed in bit number order, control serial port modes
and are part of the
SPCTLx
(transmit and receive) Control registers. Other
bits in the
SPCTLx
registers set up DMA and I/O processor-related serial
port features. For information about configuring a specific operation
mode, refer to
and
Serial Port Enable.
SPCTLx
bits 0 and 24 (
SPEN_A
and
SPEN_B
). This bit
enables (if set, = 1) or disables (if cleared, = 0) the corresponding serial
port channel A or B. Clearing this bit aborts any ongoing operation and
clears the status bits. The SPORTS are ready to transmit or receive two
serial clock cycles after enabling.
This description applies to I
2
S and DSP Standard Serial modes only.
Data Type Select.
SPCTLxx
bits 2–1 (
DTYPE
). These bits select the com-
panding and MSB data type formatting of serial words loaded into the
transmit and receive buffers. This bit applies to DSP standard Serial and
Multichannel modes only. The Transmit Shift register does not zero-fill
or sign-extend transmit data words; this only takes place for the receive
shift register.
For Standard mode, selection of Companding mode and MSB format are
exclusive:
00 = Right-justify; fill unused MSBs with 0s
01 = Right-justify; sign-extend into unused MSBs
10 = Compand using
_law, (primary channels only)
11 = Compand using A_law, (primary channels only)
For Multichannel mode, selection of companding mode and MSB format
are independent:
x0 = Right-justify; fill unused MSBs with 0s
x1 = Right-justify; sign-extend into unused MSBs
0x = Compand using
_law
1x = Compand using A_law
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 ...