Application Note / Sample Program

Product: S1C17 Family Common

Function Overview Sample program Document Bug report
Startup Guide Startup guide for C-language - Ver1.0
PDF
2018/1/19
-
Startup guide for Assembler - Ver1.1
PDF
2018/1/19
-
S1C17 Core Manual The detail of Seiko Epson original 16-bit RISC-type processor. - Ver1.2
PDF
2018/2/6
-
Processor Status Register (PSR) Read / Write This Application Note explains the read/write method of S1C17 core's PSR. - PDF -
Flash protection This Application Note explains how to set up the Flash Memory Protect function using GNU17 and ICD software development tools.
The Flash Memory Protect function can protect data stored in the flash memory.
ZIP
rev1.1
- PDF
Self-testing sample program and reference information
(IEC 60730 compliant)
Self-testing sample software and reference information. The program is designed to run on the S1C17801, but tests can also be performed on all other S1C17801 family microcontrollers. ZIP - -
TOPPERS_OSEK_17 Sample code to use the real-time operating system (RTOS) released by the TOPPERS project, TOPPERS/OSEK Kernel Release1.1 (OSEK/VDX spec. Version2.2.1 ECC-2 compliant). The code runs on the RTOS "TOPPERS_OSEK_17" customized for S5U1C17701T11/S5U1C17704T11. It implements boot process, OS start-up, and processes by pseudo commands. ZIP - -
UART communication using the internal oscillation, IOSC. Measures the internal oscillation (IOSC) frequency by OSC1 (32KHz),
and sets up the clock for UART communication according to the frequency.
ZIP - -
Small Memory Programming This document explains how the program generated by the GNU17 uses memory (ROM and RAM) and how to decrease the amount of memory used by the program. - rev1.0
PDF
-
Port Nested Interrupt This application note provides the functions that manage port input interrupt priorities and handle nested interrupts. rev1.0
ZIP
2018/1/23
rev1.0
PDF
2018/1/19
 
Library of number of steps, walking distance, and consumed calories This is Epson's original steps calculation library for S1C17 series that is used to calculate the number of steps, walking distance, consumed calories, and others based on the tri-axis acceleration input. rev2.0
ZIP
2017/12/14
rev2.0
PDF
2017/12/14
-

Product: S1C17M00/W00 series(2023/8/7)

"Sample software" for the function verification of each peripheral circuit and "sample driver" for each peripheral circuit are available for all models. The manual is shared with the models in the following table. It describes how to use the sample software and its functions.

Function Overview Sample program Document Bug report
M/W Series Common
Basic sample program pack
(G2)
[Common]
Sample programs are made for S1C17M01/W22/W23.
But it is available for S1C17W00 series.
Support for GNU17 Ver.2 and Ver.3
* Please use new sample software pack (G3) of your MCU model if there is it.
rev1.2.1
ZIP
2016/2/10
rev1.2
PDF
2015/12/25
PDF
2016/12/27
M/W Series Difference of Basic sample program pack
(G2)
[S1C17M10]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.1.1
ZIP
2016/5/20
rev1.1.1
txt
2016/5/20
-
Basic sample program pack
(G3)
[S1C17M01/W22/W23]
Header file, Sample program for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.7.0
ZIP
2020/6/18
rev1.1
PDF
2018/4/5
-
[S1C17M10]
Header file, Sample program for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.2.0
ZIP
2019/1/31
-
[S1C17M12/M13]
Header file, Sample program for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.2.0
ZIP
2019/1/31
-
[S1C17M20/M21/M22/M23/M24/M25]
Header file, Sample program for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.4.0
ZIP
2020/6/18
 
[S1C17M30/M31/M32/M33/M34]
Header file, Sample program for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.3.0
ZIP
2020/6/18
-
[S1C17M40]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.2.0
ZIP
2023/8/7
 
[S1C17W03/W04]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.5.0
ZIP
2020/6/18
-
[S1C17W12/W13]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.6.0
ZIP
2020/6/18
-
[S1C17W14/W16]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.5.0
ZIP
2020/6/18
-
[S1C17W15]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.6.0
ZIP
2020/6/18
-
[S1C17W18]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.5.0
ZIP
2020/6/18
-
[S1C17W34/W35/W36]
Header files, Sample programs for all peripheral circuits.Support for GNU17 Ver.2 and Ver.3
rev1.5.0
ZIP
2020/6/18
-
REMC
Drive EL lamp
driver
[Common]
Sample program is made for S1C17W22/W23.
But it is available for S1C17W00 series.
rev1.1
ZIP
2016/6/14
rev1.1
PDF
2016/6/14
-
REMC2
Drive EL lamp driver
[Common]
Sample program is made for S1C17W14/W16.
But it is available for S1C17W00 series.
rev1.1
ZIP
2016/6/14
rev1.1
PDF
2016/6/14
-
RFC
Thermo-hygrometer,Salinometer
[Common]
Sample program is made for S1C17W22/W23.
But it is available for S1C17W00 series.
rev1.1
ZIP
2016/6/14
rev1.1
PDF
2016/6/14
-
CLG/TSRVR
Oscillation frequency compensation (OFC)
[S1C17W18]
This document describes methods to compensate for manufacturing variations and temperature drift of oscillators.
Built-in temperature sensor can be used for it.
rev1.0
ZIP
2016/11/17
rev1.0
PDF
2016/11/17
-
UPMUX T16B
Touch key
(Touch button)
[Common]
Sample program is made for S1C17W22/W23.
But it is available for S1C17W00 series.
rev1.0
ZIP
2014/9/24
rev1.0
PDF
2014/9/24
-
Photoplethysmography
(PPG)
[Common]
Sample program is made for S1C17W22/W23.
But it is available for S1C17W00 series.
rev1.0
ZIP
2016/10/19
rev1.0
PDF
2016/10/19
-
Infrared wireless remote controller for air-conditioners Infrared wireless remote controller for air-conditioners.It provided together with S5U1C17M33T1100(SVT17M33). rev1.1
ZIP
2021/6/30
rev1.0
PDF
2018/8/7
-
DMM This is the DMM software installed in the S5U1C17M03T11(SVT17M03). rev1.0
ZIP
2022/6/30
rev1.0
PDF
2022/6/30
-
EEPROM emulation
EEPROM emulation library that provides an EEPROM emulation function using the embedded flash.
[S1C17M23/24/25] rev1.70a
ZIP
2022/6/16
rev1.6
PDF
2022/6/16

 

 

-
[S1C17M30/31/32/34] rev2.50
ZIP
2021/9/13
-
[S1C17M33] rev2.50
ZIP
2021/9/13
-
[S1C17W18] rev2.40
ZIP
2021/9/13
[S1C17W36] rev2.30
ZIP
2021/9/13
FLASH self programming [S1C17M01] rev1.30
ZIP
2016/7/4
rev1.3
PDF
2020/7/30
-
[S1C17M02] rev1.00
ZIP
2022/6/30
-
[S1C17M03] rev1.00
ZIP
2022/6/30
-
[S1C17M10] rev2.20
ZIP
2020/2/28
-
[S1C17M12] rev2.20
ZIP
2020/2/28
-
[S1C17M13] rev2.20
ZIP
2020/2/28
 
[S1C17M20] rev2.20
ZIP
2020/1/23
-
[S1C17M21] rev2.20
ZIP
2020/1/23
-
[S1C17M22] rev2.20
ZIP
2020/1/23
-
[S1C17M23] rev2.20
ZIP
2020/1/23
-
[S1C17M24] rev2.20
ZIP
2020/1/23
-
[S1C17M25] rev2.20
ZIP
2020/1/23
-
[S1C17M30] rev2.20
ZIP
2020/1/23
 
[S1C17M31] rev2.20
ZIP
2020/1/23
 
[S1C17M32] rev2.20
ZIP
2020/1/23
 
[S1C17M33] rev2.20
ZIP
2020/1/23
 
[S1C17M34] rev2.20
ZIP
2020/1/23
 
[S1C17M40] rev1.10
ZIP
2020/2/28
 
[S1C17W03] rev1.10
ZIP
2016/7/4
-
[S1C17W04] rev1.10
ZIP
2016/7/4
-
[S1C17W12] rev2.00
ZIP
2017/12/1
 
[S1C17W13] rev2.00
ZIP
2017/12/1
-
[S1C17W14] rev1.10
ZIP
2016/8/12
-
[S1C17W15] rev1.11
ZIP
2015/9/24
-
[S1C17W16] rev1.20
ZIP
2016/8/12
-
[S1C17W18] rev2.00
ZIP
2017/12/1
-
[S1C17W22] rev1.11
ZIP
2015/9/24
-
[S1C17W23] rev1.0
ZIP
2014/1/8

-
[S1C17W34] rev2.00
ZIP
2017/12/1
-
[S1C17W35] rev2.00
ZIP
2017/12/1
-
[S1C17W36] rev2.00
ZIP
2017/12/1
 
Boot loader
Software that receives program data by using UART circuit when MCU starts, and rewrite the program in built-in flash memory
[S1C17M33] rev1.10
ZIP
2020/1/23
rev1.2
PDF
2020/7/30
 
[S1C17W18] rev1.10
ZIP
2020/1/23
 
[S1C17W23] rev1.10
ZIP
2020/1/23
 
[S1C17W34] rev1.10
ZIP
2020/1/23
 
[S1C17W35] rev1.10
ZIP
2020/1/23
 
[S1C17W36] rev1.10
ZIP
2020/1/23
-

to old versions

Product: S1C17F00 series(2019/2/28)

"Sample software" for the function verification of each peripheral circuit and "sample driver" for each peripheral circuit are available for all models. The manual is shared with the models in the following table. It describes how to use the sample software and its functions.

Function Overview Sample program Document Errata
Basic sample program pack
(G3)
[S1C17F57]
Header files, Sample programs for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.4.0
ZIP
2019/1/31
rev1.1
PDF
2018/4/5
-
[S1C17F63]
Header files, Sample programs for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.0.0
ZIP
2020/2/28
SVT17F57 Demonstration Software Sample application software provided together with S5U1C17F57T(SVT17F57) to evaluate the S1C17F57 functions. rev1.0
ZIP
2014/9/1
rev1.0
PDF
2014/9/1
-
Self-Programming [S1C17F57] rev1.00
ZIP
2016/6/14
rev1.2
PDF
2018/7/11
-
[S1C17F63] rev1.10
ZIP
2020/2/28

Product: S1C17500 series(2019/1/31)

"Sample software" for the function verification of each peripheral circuit and "sample driver" for each peripheral circuit are available for all models. The manual is shared with the models in the following table. It describes how to use the sample software and its functions.

Function Overview Sample program Document Bug report
Basic sample program pack
(G3)
[S1C17589]
Header files, Sample programs for all peripheral circuits. Support for GNU17 Ver.2 and Ver.3
rev1.6.0
ZIP
2019/1/31
rev1.1
PDF
2018/4/5
-
Self-Programming [S1C17589] rev1.11
ZIP
2015/9/24
- -

to old versions

Product: S1C17600 series(2015/5/19)

"Sample software" for the function verification of each peripheral circuit and "sample driver" for each peripheral circuit are available for all models. The manual is shared with the models in the following table. It describes how to use the sample software and its functions.

Function Overview Sample program Document Additional Document Bug report
Basic sample program pack
(G2)
S1C17601 ZIPrev1.1 PDF - PDF
S1C17602 ZIPrev1.1
S1C17604 ZIPrev1.0 PDF -
S1C17622 ZIPrev1.0
S1C17624 ZIPrev1.0
S1C17653/651 ZIPrev1.0 PDF - PDF
2014/10/10
ZIP
2014/10/10
S1C17656 rev1.0
ZIP
2014/11/17
rev1.0
PDF
2014/11/17
- -
SVT17602 Demonstration Software Sample application software provided together with S5U1C17602T11 (SVT17602) to evaluate the S1C17602 functions. It shows the functions of clock (time indication, time setup), temperature-humidity measurement, luminance measurement, battery power level indication, and the test mode selectable from the menu on the LCD panel and executes the function selected. ZIP - - -
SVT17656 Demonstration Software This is a sample application program like an eToken, or a security card. It can be operated by capacitive touch key. rev1.0
ZIP
2015/5/19
- - -
T16A PPORT [Common]
Touch key Document
rev1.0
ZIP
2015/5/19
rev1.0
PDF
Touch Key
2015/5/19
- -
FLASH Self programming [S1C17601]
Sample code to achieve self-rewrite of application programs,using the FL internal flash erase/write program.
rev1.0
ZIP
2015/9/9
- - -
[S1C17602]
Sample code to achieve self-rewrite of application programs,using the FL internal flash erase/write program.
ZIP - - -
[S1C17656]
Sample code to achieve self-rewrite of application programs,using the FL internal flash erase/write program.
rev1.11
ZIP
2015/9/24
- - -

to old versions

Product: S1C17700 series(2010/11/4)

"Sample software" for the function verification of each peripheral circuit and "sample driver" for each peripheral circuit are available for all models. The manual is shared with the models in the following table. It describes how to use the sample software and its functions.

Function Overview Sample program Document Additional Document Bug report
Basic sample program pack
(G2)
S1C17705 ZIPrev1.1 PDF - PDF
S1C17711 ZIPrev1.1
S1C17703 ZIPrev1.1 PDF -
FLASH Self programming [S1C17702]
Sample code to achieve self-rewrite of application programs,using the FL internal flash erase/write program.
ZIP - -
[S1C17703]
Sample code to achieve self-rewrite of application programs,using the FL internal flash erase/write program.
rev1.0
ZIP
2015/6/23
- -
[S1C17705]
Sample code to achieve self-rewrite of application programs,using the FL internal flash erase/write program.
ZIP - -

to old versions

Function Description Sample program
SVT17702 Demonstration Software Sample application software provided together with S5U1C17702T11 (SVT17702) to evaluate the S1C17702 functions. It shows the functions of clock (time indication, time setup), stopwatch, battery power level indication, and LCD display (rotate and scroll) in the menu on the LCD panel and executes the function selected. It also runs a test program if switched to another mode. ZIP

Product: S1C17803

Function Description Sample program Bug report
Boot process (bootkit) boot process is executed.
Besides that, functions are also provided for the control of the following peripheral circuits: SRAM controller (SRAMC), clock management unit (CMU), and prescaler (PSC).
ZIP -
Real-Time Clock (RTC) Using the RTC function, the time is obtained and displayed in simulated I/O (hereinafter, SimI/O) or the user-specified time is set.
In addition, it is possible to check the RTC interrupt.
Halt/Sleep The halt command is executed, and then the halt command is canceled by T16F interrupt.
The halt command is executed, and then the halt command is canceled by RTC interrupt.
The sleep command is executed, and then the sleep command is canceled through the invocation of interrupt from the S5U1C17803T1 keyswitch (SW1-6).
The sleep command is executed, and then the sleep command is canceled by RTC interrupt.
8-Bit Timer (T8) 8-bit timer interrupt is invoked, and "T8 Interrupt!" is displayed to SimI/O for each interrupt.
8-Bit Programmable Timers (T8F) 8-bit timer interrupt is invoked, and "T8F ch.0 Interrupt!" is displayed to SimI/O for each interrupt.
16-Bit Timer with Fine Mode (T16F) 16-bit timer interrupt is invoked, and "T16F Interrupt!" is displayed to SimI/O for each interrupt.
16-Bit Timer PWM Timer (T16A) The compare match interrupt (A,B) is invoked, and when compare B match interrupt has occurred 10 times, the compare match interrupt is stopped. "T16A Interrupt!" is displayed to SimI/O for each interrupt.
16-Bit Audio PWM Timer (T16P) PWM waveform created based on the 16-bit timer is outputted.
Watchdog Timer (WDT) NMI interrupt is invoked, and "NMI Interrupt!" is displayed to SimI/O for each interrupt.
UART Transmission is done with the use of 2 units of S5U1C17803T1. Both units operate using the same sample software.
The sending is started by pressing the S5U1C17803T1 keyswitch (SW1). After sending, the received data is displayed to SimI/O, and UART is stopped. Same operations are performed on both units.
Universal Serial Interface (USI UART) Transmission is done with the use of 2 units of S5U1C17803T1. Operate both units using the same sample software.
The sending is started by pressing the S5U1C17803T1 keyswitch (SW1). After sending, the received data is displayed to SimI/O, and UART is stopped. Same operations are performed on both units.
Universal Serial Interface (USI I2C M) Communications with slave CPU board is realized by using the USI I2C master mode function of S1C17803.
Transmission is done with the use of 2 units of S5U1C17803T1.
The receive standby state is brought about by pressing S5U1C17803T1 slave side keyswitch (SW1).
Next, the sending of "HELLO17803" is started by pressing master side SW1.
When the master side sending is completed, the received data at the slave side is displayed to SimI/O.
Thereafter, the "hello17803" send standby state is brought about at the slave side by pressing slave side SW1.
Sending is started by pressing master side SW1.
When receiving is completed, the received data is displayed to SimI/O.
Universal Serial Interface (USI I2C S) Communications with master CPU board is realized by using the USI I2C slave mode function of S1C17803.
Transmission is done with the use of 2 units of S5U1C17803T1.
The receive standby state is brought about by pressing S5U1C17803T1 slave side keyswitch (SW1).
Next, the sending of "HELLO17803" is started by pressing master side SW1.
When the master side sending is completed, the received data at the slave side is displayed to SimI/O.
Thereafter, the "hello17803" send standby state is brought about at the slave side by pressing slave side SW1.
Sending is started by pressing master side SW1.
When receiving is completed, the received data is displayed to SimI/O.
Universal Serial Interface (USI SPI M) Communications with slave CPU board is realized by using the USI SPI master mode function of S1C17803.
Transmission is done with the use of 2 units of S5U1C17803T1.
The transmission is started by pressing the S5U1C17803T1 keyswitch (SW1).
Receiving is done at the same time as sending, and the received data is displayed to SimI/O.
The slave side enters the transmission wait state when SW1 is pressed, and pressing master's SW1 starts the sending from master and when the slave side confirms the reception, the slave's data sending is started.
Universal Serial Interface (USI SPI S) Communications with master CPU board is realized by using the USI SPI slave mode function of S1C17803.
Transmission is done with the use of 2 units of S5U1C17803T1.
The transmission wait state is entered by pressing S5U1C17803T1 keyswitch (SW1) and this triggers data receiving from master, and transmission is carried out.
The received data is displayed to SimI/O.
I2C Master Mode (I2C M) Communications with EEPROM is realized by using the I2C master mode of S1C17803.
"HELLO17803" is written to EEPROM using the I2C Master.
After the writing is completed, "HELLO17803" is read from EEPROM.
The read data is displayed to SimI/O.
I2C Slave Mode (I2C S) Communications with the master is realized by using the I2C slave mode of S1C17803.
Transmission pf I2C Master and I2C Slave is done with the use of 1 unit of S5U1C17803T1.
The communication speed is set as 100 kbps.
"HELLO17803" is sent from master to slave by pressing the S5U1C17803T1 keyswitch (SW1).
"hello17803" is sent from slave to master.
I2S (I2S) The default settings of I2S and the initialization of digital audio DAC on the S5U1C17803T1 audio board are carried out, and sound data is regenerated.
Remote Controller (REMC T) Data sending for infrared remote control is realized by using the sending mode of infrared emission/reception function (REMC) of S1C17803.
The REMC sample software performs intercommunications with the use of 2 units of S5U1C17803T1.
Write "remc t" sample software for sending side S5U1C17803T1 and "rem r" sample software for receiving side S5U1C17803T1.
Pressing the S5U1C17803T1 keyswitch (SW1) sends 1 type of data.
Pressing SW1 sends data 1. After completion of sending, pressing SW1 starts the sending of data 2. The send data has 9 types (send data numbered 1 to 9). The send data number of data already sent is displayed to SimI/O. After all data has been sent, interrupt occurs and the sending ends.
Remote Controller (REMC R) The sample software that realizes data receiving for infrared remote control by using the receiving mode of infrared emission/reception function (REMC) of S1C17803 is explained.
The receiving is started by pressing the S5U1C17803T1 keyswitch (SW1).
The received data is judged to be the intended receive data (receive data numbered 1 to 9) or not.
After judgment, the received data number is displayed to SimI/O.
I/O Ports (GPIO) When interrupt occurs due to the rotation of ED jog encoder (SW7) of S5U1C17803T1, "> Encoder SW interrupt" is displayed to SimI/O.
In addition, the 3-color LED is made to blink each second in the sequence of Green→Unlit→Red→Unlit→Blue→Unlit→ Cyan→Unlit→Yellow→Unlit→Magenta→Unlit→White→Unlit.
AD Converter (ADC) The S5U1C17803T1 keyswitch (SW1-6) input is acquired through ADC CH3, and the pressed keyswitch No. is displayed to SimI/O.
LCD Controller (LCDC) LCDC default settings, checkered pattern display, gradation display, and image data display are carried out.