
ADSP-2126x SHARC Processor Hardware Reference
9-15
Serial Ports
Each SPORT transmit or receive channel has a buffer enable, DMA
enable, and chaining enable bits in its
SPCTLx
Control register. The
SPORTx_FS
signal is used as the transmit and/or receive word select signal.
DMA-driven or interrupt-driven data transfers can also be selected using
bits in the
SPCTLx
register.
Setting the Internal Serial Clock and Frame Sync Rates
The serial clock rate (
CLKDIV
value) for internal clocks can be set using a
bit field in the
CLKDIV
register. For details, see
.
Left-Justified Sample Pair Mode Control Bits
Several bits in the
SPCTLx
register enable and configure Left-justified Sam-
ple Pair mode operation:
• Operation mode (
OPMODE
)
• Channel enable (
SPEN_A
and
SPEN_B
)
• Word length (
SLEN
)
• Frame on Rising Frame Sync (
FRFS
)
• Master mode enable (
MSTR
)
• Late Frame Sync (
LAFS
)
For more information, see “Serial Port Registers” on page A-69.
Setting Word Length (SLEN)
SPORTs handle data words containing 8 to 32 bits in Left-justified mode.
Programs need to set the bit length for transmitting and receiving data
words. For details, see
The transmitter sends the MSB of the next word in the same clock cycle as
the word select (
SPORTx_FS
) signal changes.
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 ...