
46
EPSON
S1C6N3B0 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIARCUITS AND OPERATION (Serial Interface)
4.9.2 Mask option
The following mask options are provided for the serial interface.
(1) Terminal configuration
The input/output terminals of the serial interface are shared with the I/O port terminals P00–P03.
The terminal configuration can be selected from 14 types shown in Table 4.9.2.1 according to the serial
input/output specification.
Table 4.9.2.1 Terminal configuration of serial interface
No.
1
2
3
4
5
6
7
P00
I/O
SIN
P01
I/O
SOUT
I/O
P02
I/O
SCLK
P03
I/O
I
SRDY
I/O
I
I/O
I
No.
8
9
10
11
12
13
14
P00
SIO
P01
MODE
I/O
I
I/O
P02
SCLK
P03
SRDY
I/O
I
SRDY
I/O
I
SIN:
Serial data input terminal. The P00 terminal is set as the SIN terminal when the serial
interface is used.
SOUT:
Serial data output terminal. The SOUT terminal can be omitted when only the serial input
function is used.
SIO:
Serial data I/O terminal. The P00 terminal can be set to this shared terminal.
SCLK:
Synchronous clock I/O terminal. It functions as the internal clock output terminal in the
master mode and the input terminal of the clock from the external serial device in the slave
mode.
SRDY:
Ready signal output terminal. This terminal outputs the signal indicating that the serial
interface is in ready status when used in the slave mode. It is not necessary to select the
SRDY terminal when using the serial interface in the master mode.
MODE: I/O status output terminal. It can be selected when using the P00 terminal as the SIO
terminal. When SIO is selected, the input/output direction is set by the SIOMODE register.
The MODE terminal outputs the signal indicating the direction, thus the signal can be used
for direction control of the serial data line.
I/O:
General-purpose I/O port terminal. See Section 4.5, "I/O port", for details.
I:
General-purpose input terminal. The input interrupt function is available by mask option.
See Section 4.5, "I/O port", for details.
(2) Pull-up resistor
The pull-up resistor can be added to the terminal used for input (SIN/SIO, SCLK in the slave mode).
When "pull-up disabled" is selected, take care that floating status does not occur. Normally select
"pull-up enabled".
(3) Output specifications
For the output terminals (SOUT/SIO, SCLK in the master mode, SRDY in the slave mode), either
complementary output or Nch open drain output can be selected as the output specification.
However, even when Nch open drain output is selected, a voltage exceeding the power voltage must
not be supplied to the terminal.
(4) Data input/output permutation
Either LSB first or MSB first can be selected as the input/output permutation of serial data.