Control Registers
1545
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Multi-Buffered Serial Peripheral Interface Module (MibSPI) with Parallel Pin
Option (MibSPIP)
Table 28-14. SPI Pin Control (SPIPC0) Field Descriptions (continued)
Bit
Field
Value
Description
9
CLKFUN
SPI clock function. This bit determines whether the SPICLK pin is to be used as a general-purpose
I/O pin, or as a SPI functional pin.
0
SPICLK pin is a GIO pin.
1
SPICLK pin is a SPI functional pin.
8
ENAFUN
SPIENA function. This bit determines whether the SPIENA pin is to be used as a general-purpose I/O
pin or as a SPI functional pin.
0
SPIENA pin is a GIO pin.
1
SPIENA pin is a SPI functional pin.
7-0
SCSFUN
SPICS function. Determines whether each SPICS pin is to be used as a general-purpose I/O pin or
as a SPI functional pin. If the slave SPICS pins are in functional mode and receive an inactive-high
signal, the slave SPI will place its output in high-impedance and disable shifting.
0
SPICS pin is a GIO pin.
1
SPICS pin is a SPI functional pin.
28.3.7 SPI Pin Control Register 1 (SPIPC1)
NOTE:
Register bits vary by device
Register bits 31:24 and 23:16 of this register reflect the number of SIMO/SOMI data lines per
device. On devices with 8 data-line support, all of bits 31 to 16 are implemented. On devices
with less than 8 data lines, only a subset of these bits are available. Unimplemented bits
return 0 upon read and are not writable.
Figure 28-38. SPI Pin Control Register 1 (SPIPC1) [offset = 18h]
31
24
23
16
SOMIDIR
SIMODIR
R/W-0
R/W-0
15
12
11
10
9
8
Reserved
SOMIDIR0
SIMODIR0
CLKDIR
ENADIR
R-0
R/W-0
R/W-0
R/W-0
R/W-0
7
0
SCSDIR
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 28-15. SPI Pin Control Register (SPIPC1) Field Descriptions
Bit
Field
Value
Description
31-24
SOMIDIR
SPISOMIx direction. Controls the direction of SPISOMIx when used for general-purpose I/O. If
SPISOMIx pin is used as a SPI functional pin, the I/O direction is determined by the MASTER bit in
the SPIGCR1 register.
Note: Duplicate Control Bits for SPISOMI0. Bit 24 is not physically implemented. It is a mirror
of Bit 11. Any write to bit 24 will be reflected on bit 11. When bit 24 and bit 11 are
simultaneously written, the value of bit 11 will control the SPISOMI pin. The read value of Bit
24 always reflects the value of bit 11.
0
SPISOMIx pin is an input.
1
SPISOMIx pin is an output.