14 SYNCHRONOUS SERIAL INTERFACE (SPIA)
14-2
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
14.2 Input/Output Pins and External Connections
14.2.1 List of Input/Output Pins
Table 14.2.1.1 lists the SPIA pins.
Table 14.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.
14.2.2 External Connections
SPIA operates in master mode or slave mode. Figures 14.2.2.1 and 14.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
S1C31 SPIA (master mode)
External SPI slave devices
Figure 14.2.2.1 Connections between SPIA in Master Mode and External SPI Slave Devices
#SPISSn
SDOn
SDIn
SPICLKn
#SPISS0
#SPISS1
#SPISS2
SDI
SDO
SPICLK
S1C31 SPIA (slave mode)
#SPISS
SDO
SDI
SPICLK
#SPISS
SDO
SDI
SPICLK
External SPI slave devices
External SPI master device
Figure 14.2.2.2 Connections between SPIA in Slave Mode and External SPI Master Device