11 SYNCHRONOUS SERIAL INTERFACE (SPI)
11-2
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
Input/Output Pins and External Connections
11.2
List of Input/Output Pins
11.2.1
Table 11.2.1.1 lists the SPI pins.
2.1.1 List of SPI Pins
Table 11.
Pin name
I/O
*
Initial status
*
Function
SDI
n
I
I (Hi-Z)
SPI Ch.
n
data input pin
SDO
n
O or Hi-Z
Hi-Z
SPI Ch.
n
data output pin
SPICLK
n
I or O
I (Hi-Z)
SPI Ch.
n
external clock input/output pin
#SPISS
n
I
I (Hi-Z)
SPI Ch.
n
slave select signal input pin
*
Indicates the status when the pin is configured for the SPI.
If the port is shared with the SPI pin and other functions, the SPI input/output function must be assigned to the port
before activating the SPI. For more information, refer to the “I/O Ports” chapter.
External Connections
11.2.2
The SPI operates in master mode or slave mode. Figures 11.2.2.1 and 11.2.2.2 show connection diagrams between
the SPI in each mode and external SPI devices.
P
x
1
P
x
2
P
x
3
SDI
n
SDO
n
SPICLK
n
#SPISS
SDO
SDI
SPICLK
#SPISS
SDO
SDI
SPICLK
#SPISS
SDO
SDI
SPICLK
S1C17 SPI (master mode)
External SPI slave devices
2.2.1 Connections between SPI in Master Mode and External SPI Slave Devices
Figure 11.
#SPISS
n
SDO
n
SDI
n
SPICLK
n
#SPISS0
#SPISS1
#SPISS2
SDI
SDO
SPICLK
S1C17 SPI (slave mode)
#SPISS
SDO
SDI
SPICLK
#SPISS
SDO
SDI
SPICLK
External SPI slave devices
External SPI master device
2.2.2 Connections between SPI in Slave Mode and External SPI Master Device
Figure 11.