Sign In
Upload
Manuals
Brands
Epson Manuals
Microcontrollers
S1C17001
Epson S1C17001 Manuals
Manuals and User Guides for Epson S1C17001. We have
1
Epson S1C17001 manual available for free PDF download: Technical Manual
Epson S1C17001 Technical Manual (351 pages)
CMOS 16-BIT SINGLE CHIP MICROCONTROLLER
Brand:
Epson
| Category:
Microcontrollers
| Size: 1.61 MB
Table of Contents
Table of Contents
3
1 Overview
10
Features
10
Block Diagram
11
Pins
12
Pinout Diagram
12
Pin Descriptions
13
2 Cpu
14
S1C17 Core Features
14
CPU Registers
15
Command Set
16
Vector Table
20
Processor Information
21
3 Memory Map and Bus Control
22
Bus Cycle
23
Access Size Restrictions
23
Command Execution Cycle Restrictions
23
Internal ROM Area
24
Internal ROM
24
ROM Read Access Cycle Settings
24
0X5320: ROM Control Register (MISC_FL)
24
Internal RAM Area
25
Internal RAM
25
Internal Peripheral Circuit Area
26
Internal Peripheral Circuit Area 1 (0X4000 Onward)
26
Internal Peripheral Circuit Area 2 (0X5000 Onward)
26
I/O Map
27
Core I/O Reserved Area
30
4 Power Supply Voltage
32
5 Initial Reset
34
Initial Reset Factors
34
RESET Pin
34
P0 Port Key-Entry Reset
35
Reset by Watchdog Timer
35
Initial Reset Sequence
36
Initial Settings at Initial Resetting
37
6 Interrupt Controller (ITC)
38
ITC Configuration
38
Vector Table
39
Maskable Interrupt Control
40
ITC Enable
40
Interrupt Request from Peripheral Module and Interrupt Flag
40
Interrupt Permission/Prohibition
41
Processing for Multiple Interrupts
42
Interrupt Trigger Modes
43
S1C17 Core Interrupt Processing
45
Nmi
46
Software Interrupts
47
HALT and SLEEP Mode Cancellation by Interrupt Factors
48
Control Register Details
49
0X4300: Interrupt Flag Register (ITC_IFLG)
50
0X4302: Interrupt Enable Register (ITC_EN)
52
0X4304: ITC Control Register (ITC_CTL)
53
0X4306: External Interrupt Level Setup Register 0 (ITC_ELV0)
54
0X4308: External Interrupt Level Setup Register 1 (ITC_ELV1)
55
0X430A: External Interrupt Level Setup Register 2 (ITC_ELV2)
56
0X430C: External Interrupt Level Setup Register 3 (ITC_ELV3)
57
0X430E: Internal Interrupt Level Setup Register 0 (ITC_ILV0)
58
0X4310: Internal Interrupt Level Setup Register 1 (ITC_ILV1)
59
0X4312: Internal Interrupt Level Setup Register 2 (ITC_ILV2)
60
0X4314: Internal Interrupt Level Setup Register 3 (ITC_ILV3)
61
Precautions
62
7 Oscillator Circuit (OSC)
64
OSC Module Configuration
64
OSC3 Oscillator Circuit
65
OSC1 Oscillator Circuit
67
System Clock Switching
68
8-Bit OSC1 Timer Clock Control
69
Clock External Output (FOUT3, FOUT1)
70
RESET and NMI Input Noise Filters
72
Control Register Details
73
0X5060: Clock Source Select Register (OSC_SRC)
74
0X5061: Oscillation Control Register (OSC_CTL)
75
0X5062: Noise Filter Enable Register (OSC_NFEN)
76
0X5064: FOUT Control Register (OSC_FOUT)
77
X5065: T8OSC1 Clock Control Register (OSC_T8OSC1)
78
Precautions
79
8 Clock Generator (CLG)
80
Clock Generator Configuration
80
CPU Core Clock (CCLK) Control
81
Peripheral Module Clock (PCLK) Control
82
Control Register Details
83
0X5080: PCLK Control Register (CLG_PCLK)
84
0X5081: CCLK Control Register (CLG_CCLK)
85
Precautions
86
9 Prescaler (PSC)
88
Prescaler Configuration
88
Control Register Details
89
0X4020: Prescaler Control Register (PSC_CTL)
89
Precautions
90
10 Input/Output Port (P)
92
Input/Output Port Configuration
92
Input/Output Port Pin Function Selection (Port MUX)
93
Data Input/Output
94
Pull-Up Control
95
Input Interface Level
96
P0 Port Chattering Filter Function
97
Port Input Interrupt
98
Control Register Details
101
X5200/0X5210/0X5220/0X5230: Px Port Input Data Registers (Px_In)
102
0X5201/0X5211/0X5221/0X5231: Px Port Output Data Registers (Px_Out)
103
0X5202/0X5212/0X5222/0X5232: Px Port I/O Direction Control Registers (Px_Io)
104
0X5203/0X5213/0X5223/0X5233: Px Port Pull-Up Control Registers (Px_Pu)
105
0X5205/5215: Px Port Interrupt Mask Registers (Px_Imsk)
106
0X5206/5216: Px Port Interrupt Edge Select Registers (Px_Edge)
107
0X5207/5217: Px Port Interrupt Flag Registers (Px_Iflg)
108
0X5208: P0 Port Chattering Filter Control Register (P0_CHAT)
109
0X5209: P0 Port Key-Entry Reset Configuration Register (P0_KRST)
110
0X52A0: P0 Port Function Select Register (P0_PMUX)
111
0X52A1: P1 Port Function Select Register (P1_PMUX)
112
X52A2: P2 Port Function Select Register (P2_PMUX)
113
0X52A3: P3 Port Function Select Register (P3_PMUX)
114
Precautions
115
16-Bit Timer (T16)
116
16-Bit Timer Overview
116
16-Bit Timer Operating Modes
117
Internal Clock Mode
117
External Clock Mode
118
Pulse Width Measurement Mode
119
Count Mode
120
16-Bit Timer Reload Register and Underflow Cycle
121
16-Bit Timer Reset
122
16-Bit Timer RUN/STOP Control
123
16-Bit Timer Output Signal
124
16-Bit Timer Interrupts
125
Control Register Details
126
0X4220/0X4240/0X4260: 16-Bit Timer Ch.X Input Clock Select Registers (T16_Clkx)
127
0X4222/0X4242/0X4262: 16-Bit Timer Ch.X Reload Data Registers (T16_Trx)
128
0X4224/0X4244/0X4264: 16-Bit Timer Ch.X Counter Data Registers (T16_Tcx)
129
0X4226/0X4246/0X4266: 16-Bit Timer Ch.X Control Registers (T16_Ctlx)
130
Precautions
132
12 8-Bit Timer (T8F)
134
8-Bit Timer Overview
134
8-Bit Timer Count Mode
135
Count Clock
136
8-Bit Timer Reload Register and Underflow Cycle
137
8-Bit Timer Reset
138
8-Bit Timer RUN/STOP Control
139
8-Bit Timer Output Signal
140
Fine Mode
141
8-Bit Timer Interrupts
142
Control Register Details
143
0X4200: 8-Bit Timer Input Clock Select Register (T8F_CLK)
144
0X4202: 8-Bit Timer Reload Data Register (T8F_TR)
145
0X4204: 8-Bit Timer Counter Data Register (T8F_TC)
146
0X4206: 8-Bit Timer Control Register (T8F_CTL)
147
Precautions
149
13 PWM & Capture Timer (T16E)
150
PWM & Capture Timer Overview
150
PWM & Capture Timer Operating Modes
151
Setting and Resetting Counter Value
152
Compare Data Settings
153
PWM & Capture Timer RUN/STOP Control
154
Clock Output Control
155
PWM & Capture Timer Interrupts
158
Control Register Details
160
0X5300: PWM Timer Compare Data a Register (T16E_CA)
161
0X5302: PWM Timer Compare Data B Register (T16E_CB)
162
0X5304: PWM Timer Counter Data Register (T16E_TC)
163
0X5306: PWM Timer Control Register (T16E_CTL)
164
0X5308: PWM Timer Input Clock Select Register (T16E_CLK)
166
0X530A: PWM Timer Interrupt Mask Register (T16E_IMSK)
167
0X530C: PWM Timer Interrupt Flag Register (T16E_IFLG)
168
Precautions
169
14 8-Bit OSC1 Timer (T8OSC1)
170
8-Bit OSC1 Timer Overview
170
8-Bit OSC1 Timer Count Mode
171
Count Clock
172
Resetting 8-Bit OSC1 Timer
173
Compare Data Settings
174
8-Bit OSC1 Timer RUN/STOP Control
175
8-Bit OSC1 Timer Interrupts
176
Control Register Details
178
0X50C0: 8-Bit OSC1 Timer Control Register (T8OSC1_CTL)
179
0X50C1: 8-Bit OSC1 Timer Counter Data Register (T8OSC1_CNT)
180
0X50C2: 8-Bit OSC1 Timer Compare Data Register (T8OSC1_CMP)
181
0X50C3: 8-Bit OSC1 Timer Interrupt Mask Register (T8OSC1_IMSK)
182
0X50C4: 8-Bit OSC1 Timer Interrupt Flag Register (T8OSC1_IFLG)
183
Precautions
184
15 Clock Timer (CT)
186
Clock Timer Overview
186
Operation Clock
187
Clock Timer Resetting
188
Clock Timer RUN/STOP Control
189
Clock Timer Interrupts
190
Control Register Details
192
0X5000: Clock Timer Control Register (CT_CTL)
193
0X5001: Clock Timer Counter Register (CT_CNT)
194
0X5002: Clock Timer Interrupt Mask Register (CT_IMSK)
195
0X5003: Clock Timer Interrupt Flag Register (CT_IFLG)
196
Precautions
197
16 Stopwatch Timer (SWT)
198
Stopwatch Timer Overview
198
BCD Counters
199
Operation Clock
200
Stopwatch Timer Resetting
201
Stopwatch Timer RUN/STOP Control
202
Stopwatch Timer Interrupts
203
0X5020: Stopwatch Timer Control Register (SWT_CTL)
206
0X5021: Stopwatch Timer BCD Counter Register (SWT_BCNT)
207
0X5022: Stopwatch Timer Interrupt Mask Register (SWT_IMSK)
208
0X5023: Stopwatch Timer Interrupt Flag Register (SWT_IFLG)
209
Precautions
210
17 Watchdog Timer (WDT)
212
Watchdog Timer Overview
212
Operation Clock
213
Watchdog Timer Control
214
Nmi/Reset Mode Selection
214
Watchdog Timer Run/Stop Control
214
Watchdog Timer Resetting
214
Operation in Standby Mode
214
Control Register Details
215
0X5040: Watchdog Timer Control Register (WDT_CTL)
216
0X5041: Watchdog Timer Status Register (WDT_ST)
217
Precautions
218
18 Uart
220
UART Configuration
220
UART Pin
221
Transfer Clock
222
Transfer Data Settings
223
Data Transfer Control
224
Receive Errors
227
UART Interrupts
228
Irda Interface
230
Control Register Details
232
0X4100: UART Status Register (UART_ST)
233
0X4101: UART Transmit Data Register (UART_TXD)
235
0X4102: UART Receive Data Register (UART_RXD)
236
0X4103: UART Mode Register (UART_MOD)
237
0X4104: UART Control Register (UART_CTL)
238
X4105: UART Expansion Register (UART_EXP)
239
Precautions
240
19 Spi
242
SPI Configuration
242
SPI Input/Output Pins
243
SPI Clock
244
Data Transfer Condition Settings
245
Data Transfer Control
246
SPI Interrupts
249
Control Register Details
251
0X4320: SPI Status Register (SPI_ST)
252
0X4322: SPI Transmit Data Register (SPI_TXD)
253
0X4324: SPI Receive Data Register (SPI_RXD)
254
0X4326: SPI Control Register (SPI_CTL)
255
Precautions
257
20 I C
258
C Configuration
258
I C Input/Output Pins
259
C Clock
260
Settings before Data Transfer
261
Data Transfer Control
262
I C Interrupts
268
I 2 C Interrupts
268
Control Register Details
270
0X4340: I 2 C Enable Register (I2C_EN)
271
0X4342: I 2 C Control Register (I2C_CTL)
272
0X4344: I 2 C Data Register (I2C_DAT)
274
0X4346: I 2 C Interrupt Control Register (I2C_ICTL)
276
21 Remote Controller (REMC)
278
REMC Configuration
278
REMC Input/Output Pin
279
Carrier Generation
280
Data Length Counter Clock Settings
281
Data Transfer Control
282
REMC Interrupts
285
Control Register Details
287
0X5340: REMC Configuration Register (REMC_CFG)
288
X5341: REMC Prescaler Clock Select Register (REMC_PSC)
289
0X5342: REMC H Carrier Length Setup Register (REMC_CARH)
290
X5343: REMC L Carrier Length Setup Register (REMC_CARL)
291
0X5344: REMC Status Register (REMC_ST)
292
0X5345: REMC Length Counter Register (REMC_LCNT)
293
0X5346: REMC Interrupt Mask Register (REMC_IMSK)
294
0X5347: REMC Interrupt Flag Register (REMC_IFLG)
295
Precautions
296
22 On-Chip Debugger (DBG)
298
Resource Requirements and Debugging Tool
298
Debug Break Operation Status
299
Control Register Details
300
0X5322: OSC1 Peripheral Control Register (MISC_OSC1)
301
0Xffff90: Debug RAM Base Register (DBRAM)
302
23 Basic External Connection Diagram
304
24 Electrical Characteristics
306
Absolute Maximum Ratings
306
Recommended Operating Conditions
306
DC Characteristics
307
Consumption Current
308
AC Characteristics
309
SPI AC Characteristics
309
I 2 C AC Characteristics
309
External Clock Input AC Characteristics
310
System AC Characteristics
310
Oscillation Characteristics
311
25 Package
312
Appendix A I/O Register List
318
0X4100-0X4105
318
UART (with Irda
318
0X4200-0X4206
319
8-Bit Timer (with Fine Mode
319
0X4220-0X4266
320
16-Bit Timer
320
0X4300-0X4314
322
Interrupt Controller
322
Spi
324
0X4340-0X4346
325
I 2 C
325
0X5000-0X5003
326
Clock Timer
326
0X5020-0X5023
327
Stopwatch Timer
327
0X5040-0X5041
328
Watchdog Timer
328
0X5060-0X5065
329
Oscillator
329
0X5080-0X5081
330
Clock Generator
330
0X50C0-0X50C4
331
8-Bit OSC1 Timer
331
0X5200-0X52A3
332
P Port & Port MUX
332
0X5300-0X530C
334
PWM & Capture Timer
334
0X5320-0X5322
335
MISC Registers
335
0X5340-0X5347
336
Remote Controller
336
0Xffff80-0Xffff90
337
S1C17 Core I/O
337
Appendix B Power Saving
338
Clock Control Power Saving
338
Appendix C Mounting Precautions
341
Appendix D Initialization Routine
344
Appendix E S1C17001 Mask ROM Code Development
346
Appendix F Revision History
347
Advertisement
Advertisement
Related Products
Epson S1C17F13
Epson S1C17M22
Epson S1C17M24
Epson S1C17621
Epson S1C17M13
Epson S1C17M10
Epson S1C17W16
Epson S1C17W12
Epson S1C17W13
Epson S1C17W14
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