
ADSP-BF59x Blackfin Processor Hardware Reference
13-39
SPI-Compatible Port Controller
a “1” to bit 2 of
SPI_STAT
to clear the
TXE
error condition. This allows the
user to read
SPI_STAT
without changing its value.
Sticky bits are cleared on a reset, but are not cleared on an SPI
disable.
Mode Fault Error (MODF)
The
MODF
bit is set in
SPI_STAT
when the
SPISS
input pin of a device
enabled as a master is driven low by some other device in the system. This
occurs in multimaster systems when another device is also trying to be the
master. To enable this feature, the
PSSE
bit in
SPI_CTL
must be set. This
contention between two drivers can potentially damage the driving pins.
As soon as this error is detected, these actions occur:
• The
MSTR
control bit in
SPI_CTL
is cleared, configuring the SPI
interface as a slave
• The
SPE
control bit in
SPI_CTL
is cleared, disabling the SPI system
Figure 13-15. SPI Status Register
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset = 0x0001
S
PIF (
S
PI Finished) - RO
Set when SPI single word
transfer complete
MODF (Mode Fault Error) - W1C
Set in a master device when
some other device tries to
become the master
TXE (Transmission Error) - W1C
Set when transmission
occurred with no new data in
SPI_TDBR
S
PI
S
tatus Register (
S
PI_
S
TAT)
TXCOL (Transmit Collision Error) - W1C
When set, corrupt data may
have been transmitted
RX
S
(RX Data Buffer
S
tatus) - RO
0 - Empty
1 - Full
RB
S
Y (Receive Error) - W1C
Set when data is received with
receive buffer full
TX
S
(
S
PI_TDBR Data Buffer
S
tatus) - RO
0 - Empty
1 - Full
Содержание ADSP-BF59x Blackfin
Страница 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 204: ...Unique Information for the ADSP BF59x Processor 5 104 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 345: ...ADSP BF59x Blackfin Processor Hardware Reference 9 9 Core Timer Unique Information for the ADSP BF59x Processor None...
Страница 346: ...Unique Information for the ADSP BF59x Processor 9 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 398: ...Unique Information for the ADSP BF59x Processor 11 42 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 622: ...Unique Information for the ADSP BF59x Processor 15 38 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...