
ADSP-BF59x Blackfin Processor Hardware Reference
13-43
SPI-Compatible Port Controller
SPI RDBR Shadow (SPI_SHADOW) Register
The
SPI_SHADOW
register is provided for use in debugging software. This
register is at a different address than the receive data buffer,
SPI_RDBR
, but
its contents are identical to that of
SPI_RDBR
. When a software read of
SPI_RDBR
occurs, the
RXS
bit in
SPI_STAT
is cleared and an SPI transfer
may be initiated (if
TIMOD
= b#00 in
SPI_CTL
). No such hardware action
occurs when the
SPI_SHADOW
register is read. The
SPI_SHADOW
register is
read-only.
Programming Examples
This section includes examples (
Listing 13-1
through
Listing 13-8 on
page 13-51
) for both core-generated and DMA-based transfers. Each code
example assumes that the appropriate processor header files are included.
Core-Generated Transfer
The following core-driven master-mode SPI example shows how to initial-
ize the hardware, signal the start of a transfer, handle the interrupt and
issue the next transfer, and generate a stop condition.
Figure 13-18. SPI RDBR Shadow Register
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset = 0x0000
S
PI_RDBR
S
hadow[15:0]
S
PI RDBR
S
hadow Register (
S
PI_
S
HADOW)
Read Only
Reset = 0x0000
Содержание 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...