Functional Description
10-12
ADSP-214xx SHARC Processor Hardware Reference
shows a block diagram of a serial port. Setting the
SPTRAN
bit
enables the data buffer path, which, once activated, responds by shifting
data in response to a frame sync at the rate of
SPORTx_CLK
. An application
program must use the correct serial port data buffers, according to the
value of
SPTRAN
bit. The
SPTRAN
bit enables either the transmit data buffers
for the transmission of A and B channel data, or it enables the receive data
buffers for the reception of A and B channel data. Inactive data buffers are
not used.
The processor’s SPORTs are not UARTs and cannot communicate with
an RS-232 device or any other asynchronous communications protocol.
One way to implement RS-232 compatible communication with the pro-
cessor is to use two of the
FLAG
pins as asynchronous data receive and
transmit signals.
Data Types and Companding
Linear transfers occur in the primary channel, if the channel is active and
companding is not selected for that channel. Companded transfers occur
if the channel is active and companding is selected for that channel. The
multichannel compand select registers,
MTxCCSy
and
MRxCCSy
, specify the
transmit and receive channels that are companded when multichannel
mode is enabled.
Transmit or receive sign extension is selected by bit 0 of
DTYPE
in the
SPCTLx
register and is common to all transmit or receive channels. If bit 0
of
DTYPE
is set, sign extension occurs on selected channels that do not have
companding selected. If this bit is not set, the word contains zeros in the
MSB positions. Companding is not supported for B channel. For B
channels, transmit or receive sign extension is selected by bit 0 of
DTYPE
in
the
SPCTLx
register.
The compression for transmission requires a minimum word
length of 8 (
SLEN
= 8) for proper function. If
SLEN
< 8 the expan-
sion may not work correctly.
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...