Sign In
Upload
Manuals
Brands
Epson Manuals
Microcontrollers
S1C17M33
Epson S1C17M33 Manuals
Manuals and User Guides for Epson S1C17M33. We have
1
Epson S1C17M33 manual available for free PDF download: Technical Manual
Epson S1C17M33 Technical Manual (371 pages)
CMOS 16-BIT SINGLE CHIP
Brand:
Epson
| Category:
Microcontrollers
| Size: 10 MB
Table of Contents
Notational Conventions and Symbols in this Manual
3
Table of Contents
4
Overview
15
Features
15
Block Diagram
17
Pins
18
S1C17M30 Pin Configuration Diagram (TQFP12-48PIN)
18
S1C17M31 Pin Configuration Diagram (TQFP12-48PIN)
19
S1C17M32 Pin Configuration Diagram (TQFP13-64PIN)
20
S1C17M33 Pin Configuration Diagram (TQFP14-80PIN)
21
S1C17M33 Pad Configuration Diagram (Chip)
22
S1C17M34 Pin Configuration Diagram (TQFP13-64PIN)
24
Pin Descriptions
25
Power Supply, Reset, and Clocks
30
Power Generator (PWG)
30
Overview
30
Pins
30
Regulator Operation Mode
30
System Reset Controller (SRC)
31
Overview
31
Input Pin
31
Reset Sources
32
Initialization Conditions (Reset Groups)
32
Clock Generator (CLG)
33
Overview
33
Input/Output Pins
34
Clock Sources
34
OSC1 Oscillator Circuit
35
Crystal Oscillator
35
Internal Oscillator
35
OSC3 Oscillator Circuit
36
Operations
37
System Clock Switching
39
Operating Mode
41
Initial Boot Sequence
41
Transition between Operating Modes
41
Interrupts
43
Control Registers
43
PWG V D1 Regulator Control Register
43
CLG System Clock Control Register
44
CLG Oscillation Control Register
45
CLG OSC1 Control Register
46
CLG OSC3 Control Register
47
CLG Interrupt Flag Register
48
CLG Interrupt Enable Register
49
CLG FOUT Control Register
50
CLG Oscillation Frequency Trimming Register 1
50
CLG Oscillation Frequency Trimming Register 2
51
CPU and Debugger
52
Overview
52
CPU Core
53
CPU Registers
53
Instruction Set
53
Reading PSR
53
I/O Area Reserved for the S1C17 Core
53
Debugger
53
Debugging Functions
53
Resource Requirements and Debugging Tools
54
List of Debugger Input/Output Pins
54
External Connection
54
Flash Security Function
55
Control Register
55
MISC PSR Register
55
Debug RAM Base Register
56
Memory and Bus
57
Overview
57
Bus Access Cycle
57
Flash Memory
58
Flash Memory Pin
58
Flash Bus Access Cycle Setting
58
Flash Programming
59
Ram
59
Display Data RAM
59
Peripheral Circuit Control Registers
60
System-Protect Function
64
Control Registers
65
MISC System Protect Register
65
MISC IRAM Size Register
65
FLASHC Flash Read Cycle Register
65
Interrupt Controller (ITC)
66
Overview
66
Vector Table
66
Vector Table Base Address (TTBR)
68
Initialization
68
Maskable Interrupt Control and Operations
68
Peripheral Circuit Interrupt Control
68
ITC Interrupt Request Processing
69
Conditions to Accept Interrupt Requests by the CPU
69
Nmi
69
Software Interrupts
69
Interrupt Processing by the CPU
70
Control Registers
70
MISC Vector Table Address Low Register
70
MISC Vector Table Address High Register
70
ITC Interrupt Level Setup Register X
70
O Ports (PPORT)
73
Overview
73
I/O Cell Structure and Functions
74
Schmitt Input
75
Over Voltage Tolerant Fail-Safe Type I/O Cell
75
Pull-Up/Pull-Down
75
CMOS Output and High Impedance State
75
Clock Settings
75
PPORT Operating Clock
75
Clock Supply in SLEEP Mode
76
Clock Supply in DEBUG Mode
76
Operations
76
Initialization
76
Port Input/Output Control
77
Interrupts
78
Control Registers
79
Px Port Data Register
79
Px Port Enable Register
79
Px Port Pull-Up/Down Control Register
80
Px Port Interrupt Flag Register
80
Px Port Interrupt Control Register
80
Px Port Chattering Filter Enable Register
81
Px Port Mode Select Register
81
Px Port Function Select Register
81
P Port Clock Control Register
82
P Port Interrupt Flag Group Register
83
Control Register and Port Function Configuration of this IC
84
P0 Port Group
84
P1 Port Group
86
P2 Port Group
89
P3 Port Group
91
P4 Port Group
93
P5 Port Group
96
P6 Port Group
98
P7 Port Group
100
Pd Port Group
102
Common Registers between Port Groups
104
Universal Port Multiplexer (UPMUX)
105
Overview
105
Peripheral Circuit I/O Function Assignment
105
Control Registers
106
Pxy-Xz Universal Port Multiplexer Setting Register
106
Watchdog Timer (WDT2)
107
Overview
107
Clock Settings
107
WDT2 Operating Clock
107
Clock Supply in DEBUG Mode
107
Operations
108
WDT2 Control
108
Operations in HALT and SLEEP Modes
109
Control Registers
109
WDT2 Clock Control Register
109
WDT2 Control Register
110
WDT2 Counter Compare Match Register
110
Real-Time Clock (RTCA)
112
Overview
112
Output Pin and External Connection
112
Output Pin
112
Clock Settings
113
RTCA Operating Clock
113
Theoretical Regulation Function
113
Operations
114
RTCA Control
114
Time Setting
114
Alarm Setting
114
Real-Time Clock Counter Operations
115
Stopwatch Control
115
Stopwatch Count-Up Pattern
115
Interrupts
116
Control Registers
117
RTC Control Register
117
RTC Second Alarm Register
118
RTC Hour/Minute Alarm Register
119
RTC Stopwatch Control Register
119
RTC Second/1Hz Register
120
RTC Hour/Minute Register
121
RTC Month/Day Register
122
RTC Year/Week Register
122
RTC Interrupt Flag Register
123
RTC Interrupt Enable Register
124
Supply Voltage Detector (SVD3)
126
Overview
126
Input Pins and External Connection
127
Input Pins
127
External Connection
127
Clock Settings
127
SVD3 Operating Clock
127
Clock Supply in SLEEP Mode
127
Clock Supply in DEBUG Mode
128
Operations
128
SVD3 Control
128
SVD3 Operations
129
SVD3 Interrupt and Reset
129
SVD3 Interrupt
129
SVD3 Reset
130
Control Registers
130
SVD3 Clock Control Register
130
SVD3 Control Register
131
SVD3 Status and Interrupt Flag Register
132
SVD3 Interrupt Enable Register
133
16-Bit Timers (T16)
134
Overview
134
Input Pin
134
Clock Settings
135
T16 Operating Clock
135
Clock Supply in SLEEP Mode
135
Clock Supply in DEBUG Mode
135
Event Counter Clock
135
Operations
135
Initialization
135
Counter Underflow
136
Operations in Repeat Mode
136
Operations in One-Shot Mode
136
Counter Value Read
137
Interrupt
137
Control Registers
137
T16 Ch.n Clock Control Register
137
T16 Ch.n Mode Register
138
T16 Ch.n Control Register
138
T16 Ch.n Reload Data Register
139
T16 Ch.n Counter Data Register
139
T16 Ch.n Interrupt Flag Register
139
T16 Ch.n Interrupt Enable Register
140
Uart (Uart3)
141
Overview
141
Input/Output Pins and External Connections
142
List of Input/Output Pins
142
External Connections
142
Input Pin Pull-Up Function
142
Output Pin Open-Drain Output Function
142
Input/Output Signal Inverting Function
142
Clock Settings
142
UART3 Operating Clock
142
Clock Supply in SLEEP Mode
143
Clock Supply in DEBUG Mode
143
Baud Rate Generator
143
Data Format
143
Operations
144
Initialization
144
Data Transmission
145
Data Reception
146
Irda Interface
147
Carrier Modulation
147
Receive Errors
148
Framing Error
148
Parity Error
148
Overrun Error
149
Interrupts
149
Control Registers
149
UART3 Ch.n Clock Control Register
149
UART3 Ch.n Mode Register
150
UART3 Ch.n Baud-Rate Register
151
UART3 Ch.n Control Register
152
UART3 Ch.n Transmit Data Register
152
UART3 Ch.n Receive Data Register
152
UART3 Ch.n Status and Interrupt Flag Register
153
UART3 Ch.n Interrupt Enable Register
154
UART3 Ch.n Carrier Waveform Register
154
Synchronous Serial Interface (SPIA)
155
Overview
155
Input/Output Pins and External Connections
156
List of Input/Output Pins
156
External Connections
156
Pin Functions in Master Mode and Slave Mode
157
Input Pin Pull-Up/Pull-Down Function
157
Clock Settings
157
SPIA Operating Clock
157
Clock Supply in DEBUG Mode
158
SPI Clock (Spiclkn) Phase and Polarity
158
Data Format
159
Operations
159
Initialization
159
Data Transmission in Master Mode
159
Data Reception in Master Mode
161
Terminating Data Transfer in Master Mode
162
Data Transfer in Slave Mode
162
Terminating Data Transfer in Slave Mode
164
Interrupts
164
Control Registers
165
SPIA Ch.n Mode Register
165
SPIA Ch.n Control Register
166
SPIA Ch.n Transmit Data Register
167
SPIA Ch.n Receive Data Register
167
SPIA Ch.n Interrupt Flag Register
167
SPIA Ch.n Interrupt Enable Register
168
C (I2C)
169
Overview
169
Input/Output Pins and External Connections
170
List of Input/Output Pins
170
External Connections
170
Clock Settings
171
I2C Operating Clock
171
Clock Supply in DEBUG Mode
171
Baud Rate Generator
171
Operations
172
Initialization
172
Data Transmission in Master Mode
173
Data Reception in Master Mode
175
Data Receiving Procedure
175
10-Bit Addressing in Master Mode
177
Data Transmission in Slave Mode
178
Data Reception in Slave Mode
180
Slave Operations in 10-Bit Address Mode
182
Automatic Bus Clearing Operation
182
Error Detection
183
Interrupts
184
Control Registers
185
I2C Ch.n Clock Control Register
185
I2C Ch.n Mode Register
186
I2C Ch.n Baud-Rate Register
186
I2C Ch.n Own Address Register
186
I2C Ch.n Control Register
187
I2C Ch.n Transmit Data Register
188
I2C Ch.n Receive Data Register
188
I2C Ch.n Status and Interrupt Flag Register
188
I2C Ch.n Interrupt Enable Register
189
16-Bit PWM Timers (T16B)
191
Overview
191
Input/Output Pins
192
Clock Settings
193
T16B Operating Clock
193
Clock Supply in SLEEP Mode
193
Clock Supply in DEBUG Mode
193
Event Counter Clock
193
Operations
194
Initialization
194
Counter Block Operations
195
Comparator/Capture Block Operations
198
TOUT Output Control
206
Interrupt
212
Control Registers
212
T16B Ch.n Clock Control Register
212
T16B Ch.n Counter Control Register
213
T16B Ch.n Max Counter Data Register
214
T16B Ch.n Timer Counter Data Register
214
T16B Ch.n Counter Status Register
215
T16B Ch.n Interrupt Flag Register
216
T16B Ch.n Interrupt Enable Register
217
T16B Ch.n Comparator/Capture M Control Register
218
T16B Ch.n Compare/Capture M Data Register
220
Sound Generator (SNDA)
221
Overview
221
Output Pins and External Connections
222
List of Output Pins
222
Output Pin Drive Mode
222
External Connections
222
Clock Settings
223
SNDA Operating Clock
223
Clock Supply in SLEEP Mode
223
Clock Supply in DEBUG Mode
223
Operations
223
Initialization
223
Buzzer Output in Normal Buzzer Mode
223
Buzzer Output in One-Shot Buzzer Mode
226
Output in Melody Mode
227
Interrupts
229
Control Registers
229
SNDA Clock Control Register
229
SNDA Select Register
230
SNDA Control Register
231
SNDA Data Register
231
SNDA Interrupt Flag Register
232
SNDA Interrupt Enable Register
233
IR Remote Controller (REMC3)
234
Overview
234
Input/Output Pins and External Connections
234
Output Pin
234
External Connections
235
Clock Settings
235
REMC3 Operating Clock
235
Clock Supply in SLEEP Mode
235
Clock Supply in DEBUG Mode
235
Operations
235
Initialization
235
Data Transmission Procedures
236
REMO Output Waveform
236
Continuous Data Transmission and Compare Buffers
238
Interrupts
239
Application Example: Driving el Lamp
240
Control Registers
240
REMC3 Clock Control Register
240
REMC3 Data Bit Counter Control Register
241
REMC3 Data Bit Counter Register
242
REMC3 Data Bit Active Pulse Length Register
243
REMC3 Data Bit Length Register
243
REMC3 Status and Interrupt Flag Register
243
REMC3 Interrupt Enable Register
244
REMC3 Carrier Waveform Register
244
REMC3 Carrier Modulation Control Register
245
LCD Driver (LCD8A)
246
Overview
246
Output Pins and External Connections
248
List of Output Pins
248
External Connections
248
Lcd Panel
248
Clock Settings
249
LCD8A Operating Clock
249
Clock Supply in SLEEP Mode
249
Clock Supply in DEBUG Mode
249
Frame Frequency
249
LCD Power Supply
250
Internal Generation Mode
250
External Voltage Application Mode 1
250
External Voltage Application Mode
251
(Only for Model with LCD Power Supply)
251
LCD Voltage Regulator Settings
251
LCD Voltage Booster Setting
251
LCD Contrast Adjustment
251
Operations
252
Initialization
252
Display On/Off
252
Inverted Display
253
Drive Duty Switching
253
Drive Waveforms
254
Partial Common Output Drive
256
N-Segment-Line Inverse AC Drive
256
Display Data RAM
256
Display Area Selection
256
Segment Pin Assignment
257
Common Pin Assignment
257
Interrupt
259
Control Registers
259
LCD8A Clock Control Register
259
LCD8A Control Register
260
LCD8A Power Control Register
261
LCD8A Display Control Register
263
LCD8A COM Pin Control Register 0
263
LCD8A Interrupt Flag Register
264
LCD8A Interrupt Enable Register
264
F Converter (RFC)
265
Overview
265
Input/Output Pins and External Connections
266
List of Input/Output Pins
266
External Connections
266
Clock Settings
267
RFC Operating Clock
267
Clock Supply in SLEEP Mode
267
Clock Supply in DEBUG Mode
267
Operations
267
Initialization
267
Operating Modes
268
Oscillation Mode
268
RFC Counters
268
Converting Operations and Control Procedure
269
Forced Termination
270
CR Oscillation Frequency Monitoring Function
271
Interrupts
271
Control Registers
272
RFC Ch.n Clock Control Register
272
RFC Ch.n Control Register
272
RFC Ch.n Oscillation Trigger Register
273
RFC Ch.n Measurement Counter Low and High Registers
274
RFC Ch.n Time Base Counter Low and High Registers
274
RFC Ch.n Interrupt Flag Register
275
RFC Ch.n Interrupt Enable Register
275
12-Bit A/D Converter (ADC12A)
276
Overview
276
Input Pins and External Connections
277
List of Input Pins
277
External Connections
277
Clock Settings
277
ADC12A Operating Clock
277
Sampling Time
277
Operations
278
Initialization
278
Conversion Start Trigger Source
278
Conversion Mode and Analog Input Pin Settings
279
A/D Conversion Operations and Control Procedures
279
Interrupts
281
Control Registers
281
ADC12A Ch.n Control Register
281
ADC12A Ch.n Trigger/Analog Input Select Register
282
ADC12A Ch.n Configuration Register
283
ADC12A Ch.n Interrupt Flag Register
284
ADC12A Ch.n Interrupt Enable Register
285
ADC12A Ch.n Result Register M
285
Temperature Sensor/Reference Voltage Generator (TSRVR)
286
Overview
286
Output Pin and External Connections
286
Output Pin
286
External Connections
287
Operations
287
Reference Voltage Setting
287
Temperature Sensor Setting
287
Control Registers
288
TSRVR Ch.n Temperature Sensor Control Register
288
TSRVR Ch.n Reference Voltage Generator Control Register
288
Multiplier/Divider (COPRO2)
289
Overview
289
Operation Mode and Output Mode
289
Multiplication
290
Division
291
Mac
293
Reading Operation Results
295
Electrical Characteristics
296
Absolute Maximum Ratings
296
Recommended Operating Conditions
296
Current Consumption
297
System Reset Controller (SRC) Characteristics
299
Clock Generator (CLG) Characteristics
299
Flash Memory Characteristics
302
Input/Output Port (PPORT) Characteristics
302
Supply Voltage Detector (SVD3) Characteristics
303
UART (UART3) Characteristics
305
Synchronous Serial Interface (SPIA) Characteristics
305
I 2 C (I2C) Characteristics
306
LCD Driver (LCD8A) Characteristics
307
R/F Converter (RFC) Characteristics
309
12-Bit A/D Converter (ADC12A) Characteristics
310
Temperature Sensor/Reference Voltage Generator (TSRVR) Characteristics
311
Basic External Connection Diagram
312
Package
314
Appendix A List of Peripheral Circuit Control Registers
317
Misc Registers (MISC)
317
Power Generator (PWG)
317
Flash Controller (FLASHC)
323
Debugger (DBG)
358
Appendix B Power Saving
359
Other Power Saving Methods
360
Appendix C Mounting Precautions
361
Power Supply Circuit
362
Unused Pins
362
Appendix D Measures against Noise
364
Power Supply Pins
364
Appendix E Initialization Routine
366
Interrupt Handler
367
Appendix F EEPROM Function
368
Revision History
369
Advertisement
Advertisement
Related Products
Epson S1C17M30
Epson S1C17M31
Epson S1C17M32
Epson S1C17M34
Epson S1C17M20
Epson S1C17M21
Epson S1C17M23
Epson S1C17M25
Epson S1C17M12
Epson S1C17M01
Epson Categories
Printer
Projector
All in One Printer
Scanner
Printer Accessories
More Epson Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL