IC-Module for EtherNet/IP
28 / 137
4.7 SPI - Synchronous serial interface
A synchronous serial interface is available to you on the application
interface. The synchronous serial interface can be used in 2
operating modes, as SSC Master or SSC Slave. You can select the
operating mode in the CDI menu or in the memory registers:
– CDI Menu 2.3 [
}
101]
– Memory Register 0x0017 [
}
67]
Further information can be found in the CDI menu/Modbus register.
Select the operating mode you require via the logical level on pin a6:
– 0 (GND) = SPI Slave for connecting to an SPI Master
– 1 (3.3 V) = SSC Master for connecting to a shift register chain
The following pins are available for operating as an SPI Slave for
connecting to an SPI Master:
–
7
SPI Clock (input)
–
4
SPI Data in (MOSI, input)
–
5
SPI Data out (MISO, output)
–
6
SPI Chip Select (CS, input)
–
3
SPI ready (output)
The following pins are available for operating as an SSC Master for
connecting to a shift register chain:
–
7
SSC Clock (output)
–
4
SSC Data out (MOSI, output)
–
6
SSC centre tap (MID, input)
–
5
SSC Data in (MISO, input)
–
3
SSC Strobe Signal (LOAD, output)
–
2
SSC Reset (output)
The SPI Slave operating mode also allows an SPI Master write and
read access to all other Memory registers that are enabled for this. In
the SSC-Master operating mode, the KUNBUS-IC is the master on
the SPI bus and communicates with shift register modules. It is
possible to let the KUNBUS-IC detect the connected shift registers or
to configure the number of shift registers.
Output data from the Data Broker is written to the SSC output
register area and input data is read from the SSC input register area
in both operating modes.
Components