S1C17W18
(rev1.2)
16-bit Single Chip Microcontroller
■ DESCRIPTIONS
● Low voltage operation from 1.2 V with a single alkaline or silver oxide
button battery.
● Ultra low standby power consumption (0.3 µA during HALT state in
super economy mode)
● Embedded A/D converter to support various sensing applications
The S1C17W18 is a 16-bit MCU that features low-voltage operation from 1.2 V even though Flash memory is included.
The embedded high-efficiency DC-DC converter generates the constant-voltage to drive the IC with lower power consumption than 4-bit MCUs. This IC includes a real-time clock, a stopwatch, an LCD driver, a temperature sensor, an A/
D converter, and a PWM timer capable of being used to generate drive waveforms for a motor driver as well as a highperformance 16-bit CPU. It is suitable for battery-driven applications that require an LCD display and a temperature
measurement function.
■ FEATURES
Model
CPU
CPU core
Other
Embedded Flash memory
Capacity
Erase/program count
Other
Embedded RAM
Capacity
Embedded display RAM
Capacity
Clock generator (CLG)
System clock source
System clock frequency (operating frequency)
IOSC oscillator circuit (boot clock source)
OSC1 oscillator circuit
OSC3 oscillator circuit
EXOSC clock input
Other
I/O port (PPORT)
Number of general-purpose I/O ports
Number of input interrupt ports
Number of ports that support universal port
multiplexer (UPMUX)
Timers
Watchdog timer (WDT)
Real-time clock (RTCA)
16-bit timer (T16)
S1C17W18
Seiko Epson original 16-bit RISC CPU core S1C17
On-chip debugger
128K bytes (for both instructions and data)
1,000 times (min.) * Programming by the debugging tool ICDmini
Security function to protect from reading/programming by ICDmini
On-board programming function using ICDmini
Flash programming voltage can be generated internally.
8K bytes
96 bytes
4 sources (IOSC/OSC1/OSC3/EXOSC)
1.1 MHz (max.) VDD = 1.2 to 1.6 V
4.2 MHz (max.) VDD = 1.6 to 3.6 V
700 kHz (typ.) embedded oscillator
23 µs (max.) starting time (time from cancelation of SLEEP state to vector table read
by the CPU)
32.768 kHz (typ.) crystal oscillator
Oscillation stop detection circuit included
4.2 MHz (max.) crystal/ceramic oscillator
250, 384, 500 kHz, 1, 2, and 4 MHz-switchable embedded oscillator
2.1 MHz (max.) CR oscillator (an external R is required)
4.2 MHz (max.) square or sine wave input
Configurable system clock division ratio
Configurable system clock used at wake up from SLEEP state
Operating clock frequency for the CPU and all peripheral circuits is selectable.
Input/output port: 67 bits (max., 128-pin package or chip)
56 bits (max., 80-pin package)
48 bits (max., 64-pin package)
Output port:
1 bit (max.)
Pins are shared with the peripheral I/O.
63 bits (max., 128-pin package or chip)
52 bits (max., 80-pin package)
44 bits (max., 64-pin package)
32 bits (max., 128-pin package or chip)
29 bits (max., 80-pin package)
24 bits (max., 64-pin package)
A peripheral circuit I/O function selected via software can be assigned to each port.
Generates NMI or watchdog timer reset.
128–1 Hz counter, second/minute/hour/day/day of the week/month/year counters
Theoretical regulation function for 1-second correction
Alarm and stopwatch functions
4 channels
Generates the SPIA master clocks and the ADC12A operating clock/trigger signal.
S1C17W18
Model
Timers
16-bit PWM timer (T16B)
Supply voltage detector (SVD)
Detection level
Other
Serial interfaces
UART (UART)
Synchronous serial interface (SPIA)
I2C (I2C)
Sound generator (SNDA)
Buzzer output function
Melody generation function
IR remote controller (REMC2)
Number of transmitter channels
Other
LCD driver (LCD8B)
LCD output
S1C17W18
3 channels
Event counter/capture function
PWM waveform generation function
Number of PWM output or capture input ports: 2 ports/channel
30 levels (1.2 to 3.6 V)
Intermittent operation mode
Generates an interrupt or reset according to the detection level evaluation.
2 channels
Baud-rate generator included, IrDA1.0 supported
2 channels
2 to 16-bit variable data length
The 16-bit timer (T16) can be used for the baud-rate generator in master mode.
1 channel
Baud-rate generator included
512 Hz to 16 kHz output frequencies
One-shot output function
Pitch:
128 Hz to 16 kHz ≈ C3 to C6
Duration: 7 notes/rests (Half note/rest to thirty-second note/rest)
Tempo: 16 tempos (30 to 480)
Tie/slur may be specified.
1 channel
EL lamp drive waveform can be generated for an application example.
44 SEG × 5–8 COM (max.), 48 SEG × 1–4 COM (max.) (128-pin package or chip)
28 SEG × 5–8 COM (max.), 32 SEG × 1–4 COM (max.) (80-pin package)
20 SEG × 5–8 COM (max.), 24 SEG × 1–4 COM (max.) (64-pin package)
32 levels
1/4 or 1/3 bias power supply included, external voltage can be applied.
LCD contrast
Other
R/F converter (RFC)
Conversion method
CR oscillation type with 24-bit counters
Number of conversion channels
2 channels (Up to two sensors can be connected to each channel.)
Supported sensors
DC-bias resistive sensors, AC-bias resistive sensors (Ch.0 only)
12-bit A/D converter (ADC12A)
Conversion method
Successive approximation type
Resolution
12 bits
Number of conversion channels
1 channel
Number of analog signal inputs
8 ports/channel (The temperature sensor output is connected to a port.)
Temperature sensor/reference voltage generator (TSRVR)
Temperature sensor circuit
Sensor output can be measured using ADC12A.
Reference voltage generator
Reference voltage for ADC12A is selectable from 2.0 V, 2.5 V, VDD, and external input.
Multiplier/divider (COPRO2)
Arithmetic functions
16-bit × 16-bit multiplier
16-bit × 16-bit + 32-bit multiply and accumulation unit
32-bit ÷ 32-bit divider
Reset
#RESET pin
Reset when the reset pin is set to low.
Power-on reset
Reset at power on.
Key entry reset
Reset when the P00 to P01/P02/P03 keys are pressed simultaneously (can be enabled/disabled using a register).
Watchdog timer reset
Reset when the watchdog timer overflows (can be enabled/disabled using a register).
Supply voltage detector reset
Reset when the supply voltage detector detects the set voltage level (can be enabled/
disabled using a register).
Interrupt
Non-maskable interrupt
4 systems (Reset, address misaligned interrupt, debug, NMI)
Programmable interrupt
External interrupt: 1 system (8 levels)
Internal interrupt: 22 systems (8 levels)
Power supply voltage
VDD operating voltage
1.2 to 3.6 V
VDD operating voltage for Flash programming 1.8 to 3.6 V (VPP = 7.5 V external power supply is required.)
2.7 to 3.6 V (When VPP is generated internally)
VDD operating voltage for super economy mode 2.5 to 3.6 V (128-pin package or chip)
Operating temperature
Operating temperature range
-40 to 85 °C
2
Seiko Epson Corporation
S1C17W18
Model
Current consumption (Typ. value)
SLEEP mode
S1C17W18
0.15 µA
IOSC = OFF, OSC1 = OFF, OSC3 = OFF
0.5 µA
OSC1 = 32 kHz, RTC = ON
0.3 µA (128-pin package or chip)
OSC1 = 32 kHz, RTC = ON, super economy mode
HALT mode
Current consumption (Typ. value)
RUN mode
4 µA
OSC1 = 32 kHz, RTC = ON, CPU = OSC1
2 µA (128-pin package or chip)
OSC1 = 32 kHz, RTC = ON, CPU = OSC1, super economy mode
140 µA
OSC3 = 1 MHz (ceramic oscillator), OSC1 = 32 kHz, RTC = ON, CPU = OSC3
Shipping form
1
2
3
4
SQFN9-64pin (Lead pitch: 0.5 mm)
TQFP14-80pin (Lead pitch: 0.5 mm)
TQFP15-128pin (Lead pitch: 0.4 mm)
Die form (Pad pitch: 80 µm (min.))
■ BLOCK DIAGRAM
DCLK
DSIO
DST2
Coprocessor bus
Multiplier/divider
(COPRO2)
32-bit RAM bus
Internal RAM
8K bytes
Instruction bus
Flash memory
128K bytes
CPU core & debugger
(S1C17)
System clock
Flash
programming
voltage booster
VPP
Interrupt request
16-bit internal bus
Interrupt signal
Clock generator
(CLG)
FOUT
IOSC
oscillator
OSC1
OSC2
OSC1
oscillator
OSC3
OSC4
OSC3
oscillator
EXOSC
EXOSC
input circuit
Interrupt
controller
(ITC)
I/O port
(PPORT)
System reset controller
(SRC)
#RESET
Power-on reset
(POR)
Synchronous
serial interface
(SPIA)
2 Ch.
P00–07
P10–17
P20–27
P30–32 (∗1)
P33–34 (∗1, ∗2)
P35 (∗1)
P36 (∗1, ∗2)
P37 (∗1)
P40–42 (∗1)
P43–47 (∗1, ∗2)
P50–52 (∗1, ∗2)
P60–67
P70–73
P80–87
PD0–D1
PD3–D4
PD2
I2C
(I2C)
1 Ch.
R/F converter
(RFC)
2 Ch.
LCD driver
(LCD8B)
Watchdog timer
(WDT)
VDD
VSS
VD1
(∗1, ∗2) VD2
(∗1, ∗2) CV1
(∗1, ∗2) CV2
Power generator
(PWG2)
Real-time clock
(RTCA)
RTC1S
Supply voltage
detector
(SVD)
EXSVD
16-bit timer
(T16)
4 Ch.
16-bit PWM timer
(T16B)
3 Ch.
UART
(UART)
2 Ch.
TOUT00–01
TOUT10–11
TOUT20–21
CAP00–01
CAP10–11
CAP20–21
EXCL00–01
EXCL10–11
EXCL20–21
USIN0–1
USOUT0–1
*1 These pins do not exist in the 64-pin package.
Seiko Epson Corporation
SDI0–1
SDO0–1
SPICLK0–1
#SPISS0–1
SDA0
SCL0
RFIN0–1
REF0–1
SENA0–1
SENB0–1
VC1–4
CP1–4
COM0–3
COM4–7/SEG0–3
SEG4–23
SEG24–27 (∗1)
SEG28–34 (∗1, ∗2)
SEG35–38 (∗1)
SEG39–47 (∗1, ∗2)
LFRO
Display RAM
96 bytes
Sound generator
(SNDA)
BZOUT
#BZOUT
IR remote
controller
(REMC2)
1 Ch.
REMO
CLPLS
12-bit A/D
converter
(ADC12A)
1 Ch.
#ADTRG0
ADIN00–06
(ADIN07)
VREFA0
Temperature
sensor
&
Reference voltage
generator
(TSRVR)
*2 These pins do not exist in the 80-pin package.
3
S1C17W18
■ PIN CONFIGURATION DIAGRAMS
33
34
35
36
37
38
39
40
41
42
43
44
45
46
VPP
PD2
PD1
PD0
P17
P16
P15
P14
P13
P12
P11
P10
P06
P05
P04
VD1
47
48
49
32
50
31
51
30
52
29
53
28
54
27
55
26
56
25
(Top View)
57
24
VDD
VSS
#RESET
OSC1
OSC2
P07/EXOSC/UPMUX/EXSVD
P03/RFIN0/UPMUX
P02/REF0/UPMUX
P01/SENA0/UPMUX
P00/SENB0/UPMUX
PD4/OSC4
PD3/OSC3
VC4
VC3
VC2
VC1
16
15
14
13
12
11
VDD
VSS
#RESET
OSC1
OSC2
P07
P03
P02
P01
P00
PD4
PD3
VC4
VC3
VC2
VC1
P70/SEG7
P71/SEG6
P72/SEG5
P73/SEG4
P80/COM7/SEG3
P81/COM6/SEG2
P82/COM5/SEG1
P83/COM4/SEG0
P84/COM3
P85/COM2
P86/COM1
P87/COM0
CP1
CP2
CP3
CP4
P70
P71
P72
P73
P80
P81
P82
P83
P84
P85
P86
P87
CP1
CP2
CP3
CP4
10
17
9
18
64
8
19
63
7
20
62
6
21
61
5
22
60
4
23
59
3
58
2
Pin
name
P20
P21
P22
P23
P24
P25
P26
P27
P60
P61
P62
P63
P64
P65
P66
P67
1
Port function
or signal
assignment
P20/SENB1/UPMUX/SEG23
P21/SENA1/UPMUX/SEG22
P22/REF1/UPMUX/SEG21
P23/RFIN1/UPMUX/SEG20
P24/EXCL20/UPMUX/SEG19
P25/EXCL21/UPMUX/SEG18
P26/CLPLS/UPMUX/SEG17
P27/EXCL00/UPMUX/SEG16
P60/RFCLKO0/SEG15
P61/RFCLKO1/SEG14
P62/REMO/SEG13
P63/LFRO/SEG12
P64/#ADTRG/SEG11
P65/SEG10
P66/SEG9
P67/SEG8
VPP
DCLK/PD2
DSIO/PD1
DST2/PD0
P17/EXCL11/UPMUX/ADIN06
P16/FOUT/UPMUX/ADIN05
P15/BZOUT/UPMUX/ADIN04
P14/#BZOUT/UPMUX/ADIN03
P13/UPMUX/ADIN02
P12/UPMUX/ADIN01
P11/UPMUX/ADIN00
P10/UPMUX/VREFA0
P06/EXCL10/UPMUX
P05/EXCL01/UPMUX
P04/RTC1S/UPMUX
VD1
SQFN9-64pin
Note: The model in this package cannot be placed into super economy mode, as it does not have the VD2, CV1, and CV2
pins.
4
Seiko Epson Corporation
S1C17W18
Pin name
P20
P21
P22
P23
P24
P25
P26
P27
SEG38
SEG37
SEG36
SEG35
P60
P61
P62
P63
P64
P65
P66
P67
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
VDD
VSS
#RESET
OSC1
OSC2
P07
P35
P32
P31
P30
P03
P02
P01
P00
PD4
PD3
VC4
VC3
VC2
VC1
VDD
VSS
#RESET
OSC1
OSC2
P07/EXOSC/UPMUX/EXSVD
P35/UPMUX
P32/UPMUX
P31/UPMUX
P30/UPMUX
P03/RFIN0/UPMUX
P02/REF0/UPMUX
P01/SENA0/UPMUX
P00/SENB0/UPMUX
PD4/OSC4
PD3/OSC3
VC4
VC3
VC2
VC1
P70/SEG7
P71/SEG6
P72/SEG5
P73/SEG4
P80/COM7/SEG3
P81/COM6/SEG2
P82/COM5/SEG1
P83/COM4/SEG0
P84/COM3
P85/COM2
P86/COM1
P87/COM0
SEG27
SEG26
SEG25
SEG24
CP1
CP2
CP3
CP4
P70
P71
P72
P73
P80
P81
P82
P83
P84
P85
P86
P87
SEG27
SEG26
SEG25
SEG24
CP1
CP2
CP3
CP4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Port function
or signal
assignment
P20/SENB1/UPMUX/SEG23
P21/SENA1/UPMUX/SEG22
P22/REF1/UPMUX/SEG21
P23/RFIN1/UPMUX/SEG20
P24/EXCL20/UPMUX/SEG19
P25/EXCL21/UPMUX/SEG18
P26/CLPLS/UPMUX/SEG17
P27/EXCL00/UPMUX/SEG16
SEG38
SEG37
SEG36
SEG35
P60/RFCLKO0/SEG15
P61/RFCLKO1/SEG14
P62/REMO/SEG13
P63/LFRO/SEG12
P64/#ADTRG/SEG11
P65/SEG10
P66/SEG9
P67/SEG8
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
VPP
PD2
PD1
PD0
P42
P41
P40
P37
P17
P16
P15
P14
P13
P12
P11
P10
P06
P05
P04
VD1
VPP
DCLK/PD2
DSIO/PD1
DST2/PD0
P42
P41
P40
P37/UPMUX
P17/EXCL11/UPMUX/ADIN06
P16/FOUT/UPMUX/ADIN05
P15/BZOUT/UPMUX/ADIN04
P14/#BZOUT/UPMUX/ADIN03
P13/UPMUX/ADIN02
P12/UPMUX/ADIN01
P11/UPMUX/ADIN00
P10/UPMUX/VREFA0
P06/EXCL10/UPMUX
P05/EXCL01/UPMUX
P04/RTC1S/UPMUX
VD1
TQFP14-80pin
Note: The model in this package cannot be placed into super economy mode, as it does not have the VD2, CV1, and CV2
pins.
Seiko Epson Corporation
5
S1C17W18
Pin name
N.C.
P20
P21
P22
P23
P24
P25
P26
P27
N.C.
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
N.C.
P60
P61
P62
P63
P64
P65
P66
P67
N.C
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
P70/SEG7
P71/SEG6
P72/SEG5
P73/SEG4
N.C.
P80/COM7/SEG3
P81/COM6/SEG2
P82/COM5/SEG1
P83/COM4/SEG0
P84/COM3
P85/COM2
P86/COM1
P87/COM0
N.C.
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
N.C.
VDD
CP1
CP2
CP3
CP4
N.C.
P70
P71
P72
P73
N.C.
P80
P81
P82
P83
P84
P85
P86
P87
N.C.
SEG34
SEG33
SEG32
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
N.C.
VDD
CP1
CP2
CP3
CP4
N.C.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Port function
or signal
assignment
N.C.
P20/SENB1/UPMUX/SEG23
P21/SENA1/UPMUX/SEG22
P22/REF1/UPMUX/SEG21
P23/RFIN1/UPMUX/SEG20
P24/EXCL20/UPMUX/SEG19
P25/EXCL21/UPMUX/SEG18
P26/CLPLS/UPMUX/SEG17
P27/EXCL00/UPMUX/SEG16
N.C.
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
N.C.
P60/RFCLKO0/SEG15
P61/RFCLKO1/SEG14
P62/REMO/SEG13
P63/LFRO/SEG12
P64/#ADTRG/SEG11
P65/SEG10
P66/SEG9
P67/SEG8
N.C.
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
SEG47
N.C.
VPP
PD2
PD1
PD0
P47
P46
P45
P44
P43
P42
P41
P40
P37
N.C.
P17
P16
P15
P14
P13
P12
P11
P10
P06
P05
P04
N.C.
VD1
CV2
CV1
N.C.
SEG47
N.C.
VPP
DCLK/PD2
DSIO/PD1
DST2/PD0
P47
P46
P45
P44
P43
P42
P41
P40
P37/UPMUX
N.C.
P17/EXCL11/UPMUX/ADIN06
P16/FOUT/UPMUX/ADIN05
P15/BZOUT/UPMUX/ADIN04
P14/#BZOUT/UPMUX/ADIN03
P13/UPMUX/ADIN02
P12/UPMUX/ADIN01
P11/UPMUX/ADIN00
P10/UPMUX/VREFA0
P06/EXCL10/UPMUX
P05/EXCL01/UPMUX
P04/RTC1S/UPMUX
N.C.
VD1
CV2
CV1
N.C.
TQFP15-128pin
6
Seiko Epson Corporation
VD2
VDD
VSS
#RESET
OSC1
OSC2
N.C.
P52
P51
P50
P07
P36
P35
P34
P33
P32
P31
P30
N.C.
P03
P02
P01
P00
PD4
PD3
N.C.
VSS
VC4
VC3
VC2
VC1
N.C.
VD2
VDD
VSS
#RESET
OSC1
OSC2
N.C.
P52
P51
P50
P07/EXOSC/UPMUX/EXSVD
P36/UPMUX
P35/UPMUX
P34/UPMUX
P33/UPMUX
P32/UPMUX
P31/UPMUX
P30/UPMUX
N.C.
P03/RFIN0/UPMUX
P02/REF0/UPMUX
P01/SENA0/UPMUX
P00/SENB0/UPMUX
PD4/OSC4
PD3/OSC3
N.C.
VSS
VC4
VC3
VC2
VC1
N.C.
OSC1
OSC2
P52
P51
P50
P07/EXOSC/UPMUX/EXSVD
P36/UPMUX
P35/UPMUX
P34/UPMUX
P33/UPMUX
P32/UPMUX
P31/UPMUX
P30/UPMUX
P03/RFIN0/UPMUX
P02/REF0/UPMUX
P01/SENA0/UPMUX
P00/SENB0/UPMUX
PD4/OSC4
PD3/OSC3
VSS
VC4
VC3
VC2
VC1
OSC1
OSC2
P52
P51
P50
P07
P36
P35
P34
P33
P32
P31
P30
P03
P02
P01
P00
PD4
PD3
VSS
VC4
VC3
VC2
VC1
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
Y
(0, 0)
X
CP4
CP3
CP2
CP1
VDD
CP4
CP3
CP2
CP1
VDD
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
P87
P86
P85
P84
P83
P82
P81
P80
P73
P72
P71
P70
SEG24
SEG25
SEG26
SEG27
SEG28
SEG29
SEG30
SEG31
SEG32
SEG33
SEG34
P87/COM0
P86/COM1
P85/COM2
P84/COM3
P83/COM4/SEG0
P82/COM5/SEG1
P81/COM6/SEG2
P80/COM7/SEG3
P73/SEG4
P72/SEG5
P71/SEG6
P70/SEG7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
56
55
54
53
52
P20
P21
P22
P23
P24
P25
P26
P27
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
P60
P61
P62
P63
P64
P65
P66
P67
P04
P05
P06
P10
P11
P12
P13
P14
P15
P16
P17
P37
P40
P41
P42
P43
P44
P45
P46
P47
PD0
PD1
PD2
VPP
SEG47
85
86
87 Die No. CJxxxxxxx
P20/SENB1/UPMUX/SEG23
P21/SENA1/UPMUX/SEG22
P22/REF1/UPMUX/SEG21
P23/RFIN1/UPMUX/SEG20
P24/EXCL20/UPMUX/SEG19
P25/EXCL21/UPMUX/SEG18
P26/CLPLS/UPMUX/SEG17
P27/EXCL00/UPMUX/SEG16
SEG46
SEG45
SEG44
SEG43
SEG42
SEG41
SEG40
SEG39
SEG38
SEG37
SEG36
SEG35
P60/RFCLKO0/SEG15
P61/RFCLKO1/SEG14
P62/REMO/SEG13
P63/LFRO/SEG12
P64/#ADTRG/SEG11
P65/SEG10
P66/SEG9
P67/SEG8
P04/RTC1S/UPMUX
P05/EXCL01/UPMUX
P06/EXCL10/UPMUX
P10/UPMUX/VREFA0
P11/UPMUX/ADIN00
P12/UPMUX/ADIN01
P13/UPMUX/ADIN02
P14/#BZOUT/UPMUX/ADIN03
P15/BZOUT/UPMUX/ADIN04
P16/FOUT/UPMUX/ADIN05
P17/EXCL11/UPMUX/ADIN06
P37/UPMUX
P40
P41
P42
P43
P44
P45
P46
P47
DST2/PD0
DSIO/PD1
DCLK/PD2
VPP
SEG47
VD2
VDD
VSS
#RESET
Pad
name
CV1
CV2
VD1
VD2
VDD
VSS
#RESET
Port function
or signal
assignment
CV1
CV2
VD1
84
83
82
81
Chip
2.924 mm
S1C17W18
3.200 mm
Seiko Epson Corporation
7
S1C17W18
■ PIN DESCRIPTIONS
Symbol meanings
P01
P02
P03
P04
P05
P06
P07
8
VDD
VSS
VPP
VD1
VD2
CV1–2
VC1–4
CP1–4
OSC1
OSC2
#RESET
P00
SENB0
UPMUX
P01
SENA0
UPMUX
P02
REF0
UPMUX
P03
RFIN0
UPMUX
P04
RTC1S
UPMUX
P05
EXCL01
UPMUX
P06
EXCL10
UPMUX
P07
EXOSC
UPMUX
EXSVD
I/O
Initial state
Tolerant
fail-safe
structure
P
P
P
A
A
A
P
A
A
A
I
I/O
A
I/O
I/O
A
I/O
I/O
A
I/O
I/O
A
I/O
I/O
O
I/O
I/O
I
I/O
I/O
I
I/O
I/O
I
I/O
A
–
–
–
–
–
–
–
–
–
–
I (Pull-up)
Hi-Z
–
–
–
–
–
–
–
–
–
–
–
–
Hi-Z
–
Hi-Z
–
Hi-Z
–
Hi-Z
✓
Hi-Z
✓
Hi-Z
–
Hi-Z
✓
Function
Power supply (+)
GND
Power supply for Flash programming
DC-DC converter output
DC-DC converter stabilization capacitor connect pin
DC-DC converter charge pump capacitor connect pins
LCD panel driver power supply
LCD power supply booster capacitor connect pins
OSC1 oscillator circuit input
OSC1 oscillator circuit output
Reset input
I/O port
R/F converter Ch.0 sensor B oscillator pin
User-selected I/O (universal port multiplexer)
I/O port
R/F converter Ch.0 sensor A oscillator pin
User-selected I/O (universal port multiplexer)
I/O port
R/F converter Ch.0 reference oscillator pin
User-selected I/O (universal port multiplexer)
I/O port
R/F converter Ch.0 oscillation input
User-selected I/O (universal port multiplexer)
I/O port
Real-time clock 1-second cycle pulse output
User-selected I/O (universal port multiplexer)
I/O port
16-bit PWM timer Ch.0 event counter input 1
User-selected I/O (universal port multiplexer)
I/O port
16-bit PWM timer Ch.1 event counter input 0
User-selected I/O (universal port multiplexer)
I/O port
Clock generator external clock input
User-selected I/O (universal port multiplexer)
External power supply voltage detection input
Seiko Epson Corporation
64pin
VDD
VSS
VPP
VD1
VD2
CV1–2
VC1–4
CP1–4
OSC1
OSC2
#RESET
P00
Assigned
signal
80pin
Pin/pad
name
128pin/chip
Assigned signal: The signal listed at the top of each pin is assigned in the initial state. The pin function must be
switched via software to assign another signal (see the “I/O Ports” chapter).
I/O:
I
= Input
O
= Output
I/O
= Input/output
P
= Power supply
A
= Analog signal
Hi-Z
= High impedance state
Initial state:
I (Pull-up)
= Input with pulled up
I (Pull-down) = Input with pulled down
Hi-Z
= High impedance state
O (H)
= High level output
O (L)
= Low level output
Tolerant fail-safe structure:
✓
= Over voltage tolerant fail-safe type I/O cell included (see the “I/O Ports” chapter)
The over voltage tolerant fail-safe type I/O cell allows interfacing without passing unnecessary current even if a voltage exceeding VDD is applied to the port. Also unnecessary current is not consumed when the port is externally biased without supplying VDD.
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
P11
P12
P13
P14
P15
P16
P17
P20
P21
P22
P23
P24
P25
P26
P27
P30
P10
UPMUX
VREFA0
P11
UPMUX
ADIN00
P12
UPMUX
ADIN01
P13
UPMUX
ADIN02
P14
#BZOUT
UPMUX
ADIN03
P15
BZOUT
UPMUX
ADIN04
P16
FOUT
UPMUX
ADIN05
P17
EXCL11
UPMUX
ADIN06
P20
SENB1
UPMUX
SEG23
P21
SENA1
UPMUX
SEG22
P22
REF1
UPMUX
SEG21
P23
RFIN1
UPMUX
SEG20
P24
EXCL20
UPMUX
SEG19
P25
EXCL21
UPMUX
SEG18
P26
CLPLS
UPMUX
SEG17
P27
EXCL00
UPMUX
SEG16
P30
UPMUX
I/O
Initial state
Tolerant
fail-safe
structure
I/O
I/O
A
I/O
I/O
A
I/O
I/O
A
I/O
I/O
A
I/O
O
I/O
A
I/O
O
I/O
A
I/O
O
I/O
A
I/O
I
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
I
I/O
A
I/O
I
I/O
A
I/O
O
I/O
A
I/O
I
I/O
A
I/O
I/O
Hi-Z
–
Hi-Z
–
Hi-Z
–
Hi-Z
–
Hi-Z
–
Hi-Z
–
Hi-Z
–
Hi-Z
–
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Function
I/O port
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 reference voltage input
I/O port
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 analog signal input 0
I/O port
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 analog signal input 1
I/O port
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 analog signal input 2
I/O port
Sound generator inverted output
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 analog signal input 3
I/O port
Sound generator output
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 analog signal input 4
I/O port
Clock external output
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 analog signal input 5
I/O port
16-bit PWM timer Ch.1 event counter input 1
User-selected I/O (universal port multiplexer)
12-bit A/D converter Ch.0 analog signal input 6
I/O port
R/F converter Ch.1 sensor B oscillator pin
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
R/F converter Ch.1 sensor A oscillator pin
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
R/F converter Ch.1 reference oscillator pin
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
R/F converter Ch.1 oscillation input
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
16-bit PWM timer Ch.2 event counter input 0
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
16-bit PWM timer Ch.2 event counter input 1
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
IR remote controller clear pulse output
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
16-bit PWM timer Ch.0 event counter input 0
User-selected I/O (universal port multiplexer)
LCD segment output
I/O port
User-selected I/O (universal port multiplexer)
Seiko Epson Corporation
64pin
P10
Assigned
signal
80pin
Pin/pad
name
128pin/chip
S1C17W18
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
9
P32
P33
P34
P35
P36
P37
P40
P41
P42
P43
P44
P45
P46
P47
P50
P51
P52
P60
P61
P62
P63
P64
P65
P66
P67
P70
P71
P72
P73
P80
P81
10
P31
UPMUX
P32
UPMUX
P33
UPMUX
P34
UPMUX
P35
UPMUX
P36
UPMUX
P37
UPMUX
P40
P41
P42
P43
P44
P45
P46
P47
P50
P51
P52
P60
RFCLKO0
SEG15
P61
RFCLKO1
SEG14
P62
REMO
SEG13
P63
LFRO
SEG12
P64
#ADTRG0
SEG11
P65
SEG10
P66
SEG9
P67
SEG8
P70
SEG7
P71
SEG6
P72
SEG5
P73
SEG4
P80
COM7
SEG3
P81
COM6
SEG2
I/O
Initial state
Tolerant
fail-safe
structure
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
O
A
I/O
O
A
I/O
O
A
I/O
O
A
I/O
I
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
I/O
A
A
I/O
A
A
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
Hi-Z
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Function
I/O port
User-selected I/O (universal port multiplexer)
I/O port
User-selected I/O (universal port multiplexer)
I/O port
User-selected I/O (universal port multiplexer)
I/O port
User-selected I/O (universal port multiplexer)
I/O port
User-selected I/O (universal port multiplexer)
I/O port
User-selected I/O (universal port multiplexer)
I/O port
User-selected I/O (universal port multiplexer)
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
R/F converter Ch.0 clock monitor output
LCD segment output
I/O port
R/F converter Ch.1 clock monitor output
LCD segment output
I/O port
IR remote controller transmit data output
LCD segment output
I/O port
LCD frame signal monitor output
LCD segment output
I/O port
12-bit A/D converter Ch.0 trigger input
LCD segment output
I/O port
LCD segment output
I/O port
LCD segment output
I/O port
LCD segment output
I/O port
LCD segment output
I/O port
LCD segment output
I/O port
LCD segment output
I/O port
LCD segment output
I/O port
LCD common output
LCD segment output
I/O port
LCD common output
LCD segment output
Seiko Epson Corporation
64pin
P31
Assigned
signal
80pin
Pin/pad
name
128pin/chip
S1C17W18
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
–
–
✓
✓
–
–
✓
✓
✓
✓
✓
–
–
–
–
–
–
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
P83
P84
P85
P86
P87
PD0
PD1
PD2
PD3
PD4
SEG24–27
SEG28–34
SEG35–38
SEG39–47
P82
COM5
SEG1
P83
COM4
SEG0
P84
COM3
P85
COM2
P86
COM1
P87
COM0
DST2
PD0
DSIO
PD1
DCLK
PD2
PD3
OSC3
PD4
OSC4
SEG24–27
SEG28–34
SEG35–38
SEG39–47
I/O
Initial state
Tolerant
fail-safe
structure
I/O
A
A
I/O
A
A
I/O
A
I/O
A
I/O
A
I/O
A
O
I/O
I/O
I/O
O
O
I/O
A
I/O
A
A
A
A
A
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
Hi-Z
✓
O (L)
✓
I (Pull-up)
✓
O (H)
–
Hi-Z
–
Hi-Z
–
Hi-Z
Hi-Z
Hi-Z
Hi-Z
–
–
–
–
Function
I/O port
LCD common output
LCD segment output
I/O port
LCD common output
LCD segment output
I/O port
LCD common output
I/O port
LCD common output
I/O port
LCD common output
I/O port
LCD common output
On-chip debugger status output
I/O port
On-chip debugger data input/output
I/O port
On-chip debugger clock output
Output port
I/O port
OSC3 oscillator circuit input
I/O port
OSC3 oscillator circuit output
LCD segment output
LCD segment output
LCD segment output
LCD segment output
64pin
P82
Assigned
signal
80pin
Pin/pad
name
128pin/chip
S1C17W18
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
✓
–
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
–
–
–
–
Universal port multiplexer (UPMUX)
The universal port multiplexer (UPMUX) allows software to select the peripheral circuit input/output function to be assigned
to each pin from those listed below. Note, however, that a function cannot be assigned to two or more pins simultaneously.
Peripheral circuit
Synchronous serial
interface
(SPIA)
I2C
(I2C)
UART
(UART)
16-bit PWM timer
(T16B)
Signal to be assigned
SDIn
SDOn
SPICLKn
#SPISSn
SCLn
SDAn
USINn
USOUTn
TOUTn0/CAPn0
TOUTn1/CAPn1
I/O
I
O
I/O
I
I/O
I/O
I
O
I/O
I/O
Channel number n
n = 0, 1
n=0
n = 0, 1
n = 0, 1, 2
Seiko Epson Corporation
Function
SPIA Ch.n data input
SPIA Ch.n data output
SPIA Ch.n clock input/output
SPIA Ch.n slave-select input
I2C Ch.n clock input/output
I2C Ch.n data input/output
UART Ch.n data input
UART Ch.n data output
T16B Ch.n PWM output/capture input 0
T16B Ch.n PWM output/capture input 1
11
S1C17W18
NOTICE:
No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko
Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out
of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation
that this material is applicable to products requiring high level reliability, such as, medical products. Moreover, no license to any intellectual
property rights is granted by implication or otherwise, and there is no representation or warranty that anything made in accordance with this
material will be free from any patent or copyright infringement of a third party. When exporting the products or technology described in this
material, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and
regulations. You are requested not to use, to resell, to export and/or to otherwise dispose of the products (and any technical information
furnished, if any) for the development and/or manufacture of weapon of mass destruction or for other military purposes.
All brands or product names mentioned herein are trademarks and/or registered trademarks of their respective companies.
©Seiko Epson Corporation 2016, All rights reserved
EPSON semiconductor website
MICRODEVICES OPERATIONS DIVISION
Device Sales & Marketing Department
421-8 Hino, Hino-shi, Tokyo 191-8501, JAPAN
Phone: +81-42-587-5816 FAX: +81-42-587-5117
http://global.epson.com/products/semicon/
Document Code: 413096402
First Issue August 2015
Revised May 2016 in JAPAN L