12 SYNCHRONOUS SERIAL INTERFACE (SPIA)
12-2
Seiko Epson Corporation
S1C17M12/M13 TECHNICAL MANUAL
(Rev. 1.2)
12.2 Input/Output Pins and External Connections
12.2.1 List of Input/Output Pins
Table 12.2.1.1 lists the SPIA pins.
Table 12.2.1.1 List of SPIA Pins
Pin name
I/O
*
Initial status
*
Function
SDIn
I
I (Hi-Z)
SPIA Ch.n data input pin
SDOn
O or Hi-Z
Hi-Z
SPIA Ch.n data output pin
SPICLKn
I or O
I (Hi-Z)
SPIA Ch.n external clock input/output pin
#SPISSn
I
I (Hi-Z)
SPIA Ch.n slave select signal input pin
*
Indicates the status when the pin is configured for SPIA.
If the port is shared with the SPIA pin and other functions, the SPIA input/output function must be assigned to the
port before activating SPIA. For more information, refer to the “I/O Ports” chapter.
12.2.2 External Connections
SPIA operates in master mode or slave mode. Figures 12.2.2.1 and 12.2.2.2 show connection diagrams between
SPIA in each mode and external SPI devices.
Px1
Px2
Px3
SDIn
SDOn
SPICLKn
#SPISS
SDO
SDI
SPICLK
#SPISS
SDO
SDI
SPICLK
#SPISS
SDO
SDI
SPICLK
S1C17 SPIA (master mode)
External SPI slave devices
Figure 12.2.2.1 Connections between SPIA in Master Mode and External SPI Slave Devices
#SPISSn
SDOn
SDIn
SPICLKn
#SPISS0
#SPISS1
#SPISS2
SDI
SDO
SPICLK
S1C17 SPIA (slave mode)
#SPISS
SDO
SDI
SPICLK
#SPISS
SDO
SDI
SPICLK
External SPI slave devices
External SPI master device
Figure 12.2.2.2 Connections between SPIA in Slave Mode and External SPI Master Device