
SPORT Registers
19-50
ADSP-BF50x Blackfin Processor Hardware Reference
All SPORT control registers should be programmed before
TSPEN
is
set. Typical SPORT initialization code first writes all control regis-
ters, including DMA control if applicable. The last step in the code
is to write
SPORT_TCR1
with all of the necessary bits, including
TSPEN
.
•
Internal transmit clock select
. (
ITCLK
). This bit selects the internal
transmit clock (if set) or the external transmit clock on the
TSCLK
pin (if cleared). The
TCLKDIV
MMR value is not used when an
external clock is selected.
•
Data formatting type select
. The two
TDTYPE
bits specify data for-
mats used for single and multichannel operation.
•
Bit order select
. (
TLSBIT
). The
TLSBIT
bit selects the bit order of
the data words transmitted over the SPORT.
•
Serial word length select
. (
SLEN
). The serial word length (the num-
ber of bits in each word transmitted over the SPORTs) is
calculated by adding 1 to the value of the
SLEN
field:
Serial Word Length =
SLEN
+ 1;
The
SLEN
field can be set to a value of 2 to 31; 0 and 1 are illegal
values for this field. Three common settings for the
SLEN
field are
15, to transmit a full 16-bit word; 7, to transmit an 8-bit byte; and
23, to transmit a 24-bit word. The processor can load 16- or 32-bit
values into the transmit buffer via DMA or an MMR write
instruction; the
SLEN
field tells the SPORT how many of those bits
to shift out of the register over the serial link. The SPORT always
transfers the
SLEN
+1 lower bits from the transmit buffer.
The frame sync signal is controlled by the
SPORT_TFSDIV
and
SPORT_RFSDIV
registers, not by
SLEN
. To produce a frame sync pulse
on each byte or word transmitted, the proper frame sync divider
Содержание EZ-KIT Lite ADSP-BF506F
Страница 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 132: ...Unique Information for the ADSP BF50x Processor 4 22 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 342: ...Unique Information for the ADSP BF50x Processor 7 106 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 484: ...Unique Information for the ADSP BF50x Processor 10 60 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 493: ...ADSP BF50x Blackfin Processor Hardware Reference 11 9 Core Timer Unique Information for the ADSP BF50x Processor None ...
Страница 494: ...Unique Information for the ADSP BF50x Processor 11 10 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 506: ...Unique Information for the ADSP BF50x Processor 12 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 544: ...Unique Information for the ADSP BF50x Processor 13 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 712: ...Unique Information for the ADSP BF50x Processor 16 62 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 972: ...Unique Information for the ADSP BF50x Processor 20 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...