
ADSP-BF59x Blackfin Processor Hardware Reference
13-37
SPI-Compatible Port Controller
SPI Flag (SPI_FLG) Register
The
SPI_FLG
register consists of two sets of bits that function as follows.
• Slave select enable (
FLSx
) bits
Each
FLSx
bit corresponds to a general purpose port pin. When an
FLSx
bit is set, the corresponding port pin is driven as a slave select.
For example, if
FLS1
is set in
SPI_FLG
, the port pin corresponding
to
SPISSEL1
is driven as a slave select.
If the
FLSx
bit is not set, the general-purpose port registers configure and
control the corresponding port pins.
Figure 13-14. SPI Flag Register (example with 7 slave selects)
Reset = 0xFF00
FL
S
1 (
S
lave
S
elect Enable 1)
0 - SPISSEL1 disabled
1 - SPISSEL1 enabled
FL
S
2 (
S
lave
S
elect Enable 2)
0 - SPISSEL2 disabled
1 - SPISSEL2 enabled
FL
S3
(
S
lave
S
elect Enable
3
)
0 - SPISSEL3 disabled
1 - SPISSEL3 enabled
FL
S
4 (
S
lave
S
elect Enable 4)
0 - SPISSEL4 disabled
1 - SPISSEL4 enabled
FL
S
5 (
S
lave
S
elect Enable 5)
0 - SPISSEL5 disabled
1 - SPISSEL5 enabled
FL
S
6 (
S
lave
S
elect Enable 6)
0 - SPISSEL6 disabled
1 - SPISSEL6 enabled
FL
S
7 (
S
lave
S
elect Enable 7)
0 - SPISSEL7 disabled
1 - SPISSEL7 enabled
FLG7 (
S
lave
S
elect Value 7)
SPISSEL7 value
FLG6 (
S
lave
S
elect
Value 6)
SPISSEL6 value
FLG5 (
S
lave
S
elect
Value 5)
SPISSEL5 value
FLG4 (
S
lave
S
elect
Value 4)
SPISSEL4 value
FLG
3
(
S
lave
S
elect Value
3
)
SPISSEL3 value
FLG2 (
S
lave
S
elect Value 2)
SPISSEL2 value
FLG1 (
S
lave
S
elect Value 1)
SPISSEL1 value
S
PI Flag Register (
S
PI_FLG)
15 14
13 12 11 10
9
8
7
6
5
4
3
2
1
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
(shown for an SPI instance with seven slave selects)
Summary of Contents for ADSP-BF59x Blackfin
Page 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Page 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Page 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Page 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Page 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...