ADSP-BF535 Blackfin Processor Hardware Reference
10-9
SPI Compatible Port Controllers
Figure 10-4
provides the bit descriptions for
SPIx_CTL
.
Figure 10-4. SPIx Control Register
Table 10-3. SPIx Control Register MMR Assignments
Register Name
Memory-Mapped Address
SPI0_CTL
0xFFC0 3000
SPI1_CTL
0xFFC0 3400
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
TIMOD (Transfer Initiation
Mode)
00 - Set transfer from read
of receive buffer, interrupt
when receive buffer is full
01 - Set transfer from write
to transmit buffer,
interrupt when
transmit buffer is empty
10 - DMA transfer mode
IRQ configuration from
DMA
11 - Reserved
SZ (Send Zero)
Send 0 or last word when
SPIx_TRBR empty
0 - Send last word
1 - Send 0s
GM (Get More Data)
When SPIx_RDBR full, get
data or discard incoming data
0 - Discard incoming data
1 - Get more data, overwrite
previous data
PSSE (Slave Select Enable)
0 - Disable
1 - Enable
EMISO (Enable MISO)
0 - MISO disabled
1 - MISO enabled
Reset = 0x0400
SPE (SPI Enable)
0 - Disable
1 - Enable
WOM (Open Drain Data)
Output enable (for MOSI
and MISO)
0 - Normal
1 - Open drain
MSTR (Master)
Sets the SPI module as
master or slave
0 - Slave
1 - Master
CPOL (Clock Polarity)
0 - Active high SCK
1 - Active low SCK
CPHA (Clock Phase)
Selects transfer format
0 - SCK toggles at middle
of transfer
1 - SCK toggles from start
of transfer
LSBF (LSB First)
0 - MSB sent/received first
1 - LSB sent/received first
SIZE (Size of Words)
0 - 8 bits
1 - 16 bits
SPIx Control Register (SPIx_CTL)
For MMR
assignments, see
Table 10-3
.
Содержание ADSP-BF535 Blackfin
Страница 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Страница 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 908: ...SDRAM Controller External Bus Interface Unit B 36 ADSP BF535 Blackfin Processor Hardware Reference...