![Texas Instruments TMS470R1 series Reference Manual Download Page 32](http://html.mh-extra.com/html/texas-instruments/tms470r1-series/tms470r1-series_reference-manual_1097090032.webp)
Control Registers
26
6.2
SPI Control Register 2 (SPICTRL2)
Bits 31:6
Reserved.
Reads are undefined and writes have no effect.
Bit 5
CLKMOD.
Clock mode
Selects either an internal or external clock source. This bit also determines
the I/O direction of the SPIENA and SPISCS pins in functional mode.
0
=
Clock is external
1
=
Clock is internal
Bit 4
SPIEN.
SPI enable
Holds the SPI in a reset state after a chip reset. The SPI is enabled only after
a 1 is written to this bit. This bit must be set to 1 after all other SPI
configuration bits have been written. This prevents an invalid operation of the
SPI while the clock polarity is being changed. When this bit is 0, the SPI shift
registers (SPIDAT0 and SPIDAT1) are held in reset mode and forced to
0x0000.
The RXINTFLAG (SPICTRL3.0) and RCVROVRN (SPITRL3.2) bits are also
held in reset mode and forced to 0 when this bit is 0. SPICLK is disabled when
this bit is 0.
0
=
SPI is in reset
1
=
Activates SPI
Bits
31
16
0x04
Reserved
U
Bits
15
6
5
4
3
2
1
0
Reserved
CLK
MOD
SPI
EN
MAS-
TER
PWR
DN
POLA
RITY
PHAS
E
U
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
R = read; W = Write; U = Undefined;
-n =
Value after reset
Summary of Contents for TMS470R1 series
Page 4: ......