ADSP-BF537 Blackfin Processor Hardware Reference
12-29
SPORT Controllers
These formats are applied to serial data words loaded into the
SPORTx_RX
and
SPORTx_TX
buffers.
SPORTx_TX
data words are not actually zero filled or
sign extended, because only the significant bits are transmitted.
Companding
Companding (a contraction of COMpressing and exPANDing) is the pro-
cess of logarithmically encoding and decoding data to minimize the
number of bits that must be sent. The SPORTs support the two most
widely used companding algorithms,
μ
-law and A-law. The processor
compands data according to the CCITT G.711 specification. The type of
companding can be selected independently for each SPORT.
When companding is enabled, valid data in the
SPORTx_RX
register is the
right-justified, expanded value of the eight LSBs received and sign
extended to 16 bits. A write to
SPORTx_TX
causes the 16-bit value to be
compressed to eight LSBs (sign extended to the width of the transmit
word) and written to the internal transmit register. Although the com-
panding standards support only 13-bit (A-law) or 14-bit (
μ
-law)
maximum word lengths, up to 16-bit word lengths can be used. If the
magnitude of the word value is greater than the maximum allowed, the
value is automatically compressed to the maximum positive or negative
value.
Lengths greater than 16 bits are not supported for companding operation.
Table 12-4. TDTYPE, RDTYPE, and Data Formatting
TDTYPE or
RDTYPE
SPORTx_TCR1 Data Formatting
SPORTx_RCR1 Data Formatting
00
Normal operation
Zero fill
01
Reserved
Sign extend
10
Compand using
μ
-law
Compand using
μ
-law
11
Compand using A-law
Compand using A-law
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...