Loopback Initialization And Configuration; Ssi And Spi Connections For Loopback Mode; Loopback Modes - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

C28 SPI-A to M3 SSI3 Internal Loopback
SSI3Fss_in
SSI3Fss_out
SSI3Clk_in
SSI3Clk_out
SSI3Rx_in
SSI3Tx_out
Table 12-7
shows the three loopback modes available. Loopback mode is disabled by default. The
SERPLOOP register in the M3 system control register space determines the loopback mode.
Configuration of SERPLOOP is only available on the M3 master subsystem. Three different modes are
available: not connected (default), M3 SSI3 master connected to C28 SPI-A slave, and M3 SSI3 slave
connected to C28 SPI-A master. For a detailed description of the SERPLOOP register, refer to the System
control and Interrupts chapter.
SERPLOOP[SSI3TOSPIAE]
0
1
1
Legend: 0 = Bit cleared, 1 = Bit set, X = Any

12.2.1 Loopback Initialization and Configuration

To enable M3 SSI3 master to C28 SPI-A slave loopback mode, perform the following steps:
1. Enable and configure the M3 SSI module as a SPI master by following the steps outlined in the
Initialization and Configuration section of the M3 Synchronous Serial Interface (SSI) chapter.
2. Enable the corresponding loopback mode by setting SERPLOOP[SSI3TOSPIA] = 0x2 on the M3
subsystem.
3. Enable and configure the C28 SPI module as detailed in
To enable M3 SSI3 slave to C28 SPI-A master loopback mode, perform the following steps:
962
C28 Serial Peripheral Interface (SPI)
Figure 12-12. SSI and SPI Connections for Loopback Mode
M3 GPIO Mux
Internal Connection Logic
SERPLOOP[SSI3TOSPIAE]
Table 12-7. Loopback Modes
SERPLOOP[SSI3TOSPIAM]
Copyright © 2012–2019, Texas Instruments Incorporated
C28 GPIO Mux
SERPLOOP[SSI3TOSPIAM]
x
0
1
Section
12.1.5.4.
SPRUH22I – April 2012 – Revised November 2019
www.ti.com
SPIASTE_in
SPIASTE_out
SPIACLK_in
SPIACLK_out
SPIASOMI_in
SPIASOMI_out
SPIASIMO_in
SPIASIMO_out
Mode
Not Connected (default on
reset)
M3 SSI3 Master connected to
C28 SPI-A Slave
M3 SSI3 Slave connected to
C28 SPI-A Master
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents