ADSP-2126x SHARC Processor Hardware Reference
9-9
Serial Ports
SPORT Operation Modes
Serial ports operate in four modes:
• Standard DSP Serial mode, described in
• Left-justified Sample Pair mode, described in
• I
2
S mode, described in
• Multichannel mode, described in
Bit names and their functionality change based on the SPORT
operating mode. See the mode specific section for the bit names
and their functions.
The SPORT operating mode can be selected via the
SPCTLx
register. See
for a summary of the control bits as they relate to the four oper-
ating modes.
The operating mode bit (
OPMODE
) of
SPCTLx
register selects between I
2
S
mode, Left-justified Sample Pair mode, and non-I
2
S mode (DSP Serial
Port/Multichannel mode). In non-I
2
S Multichannel mode, the
MCEA
bit in
the
SPMCTLxy
register enables the A channels and the
MCEB
bit in the
SPMCTLxy
register enables the B channels. In addition to these bits, the
Data Direction bit (
SPTRAN
) selects whether the port is a transmitter or
receiver in non-multichannel mode.
If the
SPTRAN
bit is set (= 1), the SPORT becomes a transmitter and all the
other control bits are defined accordingly. Similarly, when
SPTRAN
= 0, the
SPORT becomes a receiver.
Companding is
not
supported in I
2
S and Left-justified Sample Pair
modes.
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 ...