Serial Peripheral Interface Controller
UG0331 User Guide Revision 15.0
529
14.4.3.2 SPI TxRx Data Frame Register (TXRXDF_SIZE)
The following table provides details about the Transmit Receive Data Frame register. The width of the
data frame is set using this register.
7
INTTXTURUN
R/W
0
Interrupt on transmit the under-run
0: Interrupt disabled
1: Interrupt enabled
6
INTRXOVRFLO R/W
0
Interrupt on receive overflow
0: Interrupt disable
1: Interrupt enabled
5
INTTXDATA
R/W
0
Interrupt on transmit data
0: Interrupt disabled
1: Interrupt enabled
4
INTRXDATA
R/W
0
Interrupt on receive data
0: Interrupt disabled
1: Interrupt enabled
[3:2]
TRANSFPRTL
R/W
0
Transfer protocol
Decode:
0b00: Motorola SPI
0b01: TI synchronous serial
0b10: National Semiconductor MICROWIRE
0b11: Reserved
The transfer protocol cannot be changed while the SPI is enabled.
1
MODE
R/W
1
SPI implementation
0: Slave
1: Master (default)
0
ENABLE
R/W
0
Core enable
0: Disable (default)
1: Enable
The core will not respond to external signals (SPI_X_DI, SPI_X_DO)
until this bit is enabled. SPI_X_CLK is driven low and SPI_X_DOE_N
and SPI_X_SS (slave select) are driven inactive.
Table 501 •
TXRXDF_SIZE
Bit
Number Name
R/W
Reset
Value
Description
[31:6]
Reserved
R/W
0
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
[5:0]
TXRXDFS
R/W
0x04
Transmit and receive data size. Maximum value is 32. Number of bits
shifted out and received per frame (count starts from 1).
In National Semiconductor MICROWIRE mode, this is the number of
shifts to be done after the control byte is sent.
This register must be set before SPI is enabled. Writes to this register
are ignored after the SPI is enabled.
Table 500 •
CONTROL
(continued)
Bit
Number Name
R/W
Reset
Value
Description
Содержание SmartFusion2 MSS
Страница 1: ...UG0331 User Guide SmartFusion2 Microcontroller Subsystem ...
Страница 166: ...Cortex M3 Processor Reference Material UG0331 User Guide Revision 15 0 132 ...
Страница 200: ...Embedded NVM eNVM Controllers UG0331 User Guide Revision 15 0 166 Figure 87 System Builder Window ...
Страница 407: ...Universal Serial Bus OTG Controller UG0331 User Guide Revision 15 0 373 ...
Страница 806: ...Fabric Interface Controller UG0331 User Guide Revision 15 0 772 Figure 345 FIC Master AHB Lite Subsystem ...