Table 12-9. SPI Configuration Control Register (SPICCR) Field Descriptions (continued)
Bit
Field
Type
Reset
Description
6
CLKPOLARITY
R/W
0h
Shift Clock Polarity
This bit controls the polarity of the SPICLK signal. CLOCK
POLARITY and POLARITY CLOCK PHASE (SPICTL.3) control four
clocking schemes on the SPICLK pin.
Reset type: SYSRSn
0h (R/W) = Data is output on rising edge and input on falling edge.
When no SPI data is sent, SPICLK is at low level. The data input
and output edges depend on the value of the CLOCK PHASE bit
(SPICTL.3) as follows:
- CLOCK PHASE = 0: Data is output on the rising edge of the
SPICLK signal. Input data is latched on the falling edge of the
SPICLK signal.
- CLOCK PHASE = 1: Data is output one half-cycle before the first
rising edge of the SPICLK signal and on subsequent falling edges
of the SPICLK signal. Input data is latched on the rising edge of the
SPICLK signal.
1h (R/W) = Data is output on falling edge and input on rising edge.
When no SPI data is sent, SPICLK is at high level. The data input
and output edges depend on the value of the CLOCK PHASE bit
(SPICTL.3) as follows:
- CLOCK PHASE = 0: Data is output on the falling edge of the
SPICLK signal. Input data is latched on the rising edge of the
SPICLK signal.
- CLOCK PHASE = 1: Data is output one half-cycle before the first
falling edge of the SPICLK signal and on subsequent rising edges of
the SPICLK signal. Input data is latched on the falling edge of the
SPICLK signal.
5
RESERVED
R
0h
Reserved
4
SPILBK
R/W
0h
SPI Loopback Mode Select
Loopback mode allows module validation during device testing. This
mode is valid only in master mode of the SPI.
Reset type: SYSRSn
0h (R/W) = SPI loopback mode disabled. This is the default value
after reset.
1h (R/W) = SPI loopback mode enabled, SIMO/SOMI lines are
connected internally. Used for module self-tests.
Serial Peripheral Interface (SPI)
782
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......