ADSP-BF535 Blackfin Processor Hardware Reference
11-51
Serial Port Controllers
Data Word Formats
The format of the data words transferred over the SPORTs is configured
by the
DTYPE
,
SENDN
, and
SLEN
bits of the
SPORTx_TX_CONFIG
and
SPORTx_RX_CONFIG
registers.
Word Length
Each SPORT channel (transmit and receive) independently handles word
lengths of 3 to 16 bits. The data is right-justified in the SPORT data reg-
isters if it is fewer than 16 bits long, residing in the LSB positions. The
value of the serial word length (
SLEN
) field in the
SPORTx_TX_CONFIG
and
SPORTx_RX_CONFIG
registers of each SPORT determines the word length
according to this formula:
Serial Word Length = SLEN + 1
The
SLEN
value should not be set to zero or one; values from 2 to
15 are allowed. Continuous operation (when the last bit of the cur-
rent word is immediately followed by the first bit of the next word)
is restricted to word sizes of 4 of longer (so
SLEN
3
).
Endian Format
Endian format determines whether the serial word is transmitted most sig-
nificant bit (MSB) first or least significant bit (LSB) first. Endian format
is selected by the
SENDN
bit in the
SPORTx_TX_CONFIG
and
SPORTx_RX_CONFIG
registers. When
SENDN
=
0
, serial words are transmitted
(or received) MSB first. When
SENDN
=
1
, serial words are transmitted (or
received) LSB first.
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...