Data Types And Companding - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

Functional Description
Figure 10-2
shows a block diagram of a serial port. Setting the
enables the data buffer path, which, once activated, responds by shifting
data in response to a frame sync at the rate of
program must use the correct serial port data buffers, according to the
value of
SPTRAN
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
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,
transmit and receive channels that are companded when multichannel
mode is enabled.
Transmit or receive sign extension is selected by bit 0 of
register and is common to all transmit or receive channels. If bit 0
SPCTLx
of
is set, sign extension occurs on selected channels that do not have
DTYPE
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
the
register.
SPCTLx
The compression for transmission requires a minimum word
length of 8 (
sion may not work correctly.
10-12
www.BDTIC.com/ADI
bit. The
bit enables either the transmit data buffers
SPTRAN
pins as asynchronous data receive and
FLAG
= 8) for proper function. If
SLEN
ADSP-214xx SHARC Processor Hardware Reference
. An application
SPORTx_CLK
and
MTxCCSy
MRxCCSy
DTYPE
< 8 the expan-
SLEN
bit
SPTRAN
, specify the
in the
in
DTYPE

Advertisement

Table of Contents
loading

Table of Contents