Control Registers
1159
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Multi-Buffered Serial Peripheral Interface Module (MibSPI) with Parallel Pin
Option (MibSPIP)
Table 24-14. SPI Pin Control Register (SPIPC1) Field Descriptions (continued)
Bit
Field
Value
Description
23-16
SIMODIR
SPISIMO[x] direction. Controls the direction of each SPISIMO[x] pin when used for general-purpose
I/O. If SPISIMO[x] 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 SPISIMO[0]. Bit 16 is not physically implemented. It is a
mirror of Bit 10. Any write to bit 16 will be reflected on bit 10. When bit 16 and bit 10 are
simultaneously written, the value of bit 10 will control the SPISIMO[0] pin. The read value of
bit 16 always reflects the value of bit 10.
0
The SPISIMO[x] pin is an input.
1
The SPISIMO[x] pin is an output.
15-12
Reserved
0
Reads return 0. Writes have no effect.
11
SOMIDIR0
SPISOMI[0] direction. This bit controls the direction of the SPISOMI[0] pin when it is used as a
general-purpose I/O pin. If the SPISOMI[0] pin is used as a SPI functional pin, the I/O direction is
determined by the MASTER bit in the SPIGCR1 register.
0
The SPISOMI[0] pin is an input.
1
The SPISOMI[0] pin is an output.
10
SIMODIR0
SPISIMO[0] direction. This bit controls the direction of the SPISIMO[0] pin when it is used as a
general-purpose I/O pin. If the SPISIMO[0] pin is used as a SPI functional pin, the I/O direction is
determined by the MASTER bit in the SPIGCR1 register.
0
The SPISIMO[0] pin is an input.
1
The SPISIMO[0] pin is an output.
9
CLKDIR
SPICLK direction. This bit controls the direction of the SPICLK pin when it is used as a general-
purpose I/O pin. In functional mode, the I/O direction is determined by the CLKMOD bit.
0
The SPICLK pin is an input.
1
The SPICLK pin is an output.
8
ENADIR
SPIENA direction. This bit controls the direction of the SPIENA pin when it is used as a general-
purpose I/O. If the SPIENA pin is used as a functional pin, then the I/O direction is determined by
the CLKMOD bit (SPIGCR1[1]).
0
The SPIENA pin is an input.
1
The SPIENA pin is an output.
7-0
SCSDIR
SPICS direction. These bits control the direction of each SPICS pin when it is used as a general-
purpose I/O pin. Each pin could be configured independently from the others if the SPICS is used
as a SPI functional pin. The I/O direction is determined by the CLKMOD bit (SPIGCR1[1]).
0
The SPICS pin is an input.
1
The SPICS pin is an output.