I/O Processor Registers
A-76
ADSP-2126x SHARC Processor Hardware Reference
When changing SPORT operating modes, programs should clear a serial
port’s control register before writing new settings to the control register.
Table A-23. SPCTLx Register Bit Descriptions
Bits
Name
Definition
0
SPEN_A
Enable Channel A Serial Port.
Enables if set, (= 1) or disables if
cleared, (= 0) the corresponding serial port A channel.
This bit is reserved when the SPORT is in Multichannel mode.
2–1
DTYPE
Data Type Select.
Selects the data type formatting for normal and
multichannel transmissions as follows:
NormalMultiData Type Formatting
00x0Right-justify, zero-fill unused MSBs
01x1Right-justify, sign-extend unused MSBs
100xCompand using
-law
111xCompand using A-law
3
LSBF
Serial Word Endian Select.
Selects little-endian words (LSB first, if
set, = 1) or big-endian words (MSB first, if cleared, = 0). This bit is
reserved when the SPORT is in I²S or Left-Justified Sample Pair
mode.
8–4
SLEN
Serial Word Length Select.
Selects the word length in bits. For DSP
serial and multichannel modes, word sizes can be from 3 bits to 32
bits. For I²S and Left-justified modes, word sizes can be from 8 bits
to 32 bits.
9
PACK
16-bit to 32-bit Word Packing Enable.
Enables if set, (= 1) or dis-
ables if cleared, (= 0) 16- to 32-bit word packing.
10
ICLK
Internal Clock Select.
Selects the internal transmit clock if set, (= 1)
or external transmit clock if cleared, (= 0). This bit applies to DSP
Serial and multichannel modes.
MSTR (I
2
S
mode only)
In I
2
S and Left-justified Sample Pair mode, this bit selects the word
source and internal clock if set, (= 1) or external clock if cleared, (=
0)
11
OPMODE
Sport Operation Mode.
Selects the I
2
S/Left-justified Sample Pair
mode if set (= 1) or DSP Serial/Multichannel mode if cleared (= 0).
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 ...