Silicon Storage Technology, Inc. SuperFlash SEIKO EPSON CORPORATION 2011, All rights reserved.

Similar documents
SEIKO EPSON CORPORATION 2011, All rights reserved.

S1C17W12 S1C17W13 (WDT2) (RTCA) 16 (T16) 16PWM (T16B) SQFN7-48pin TQFP12-48pin SQFN7-48pin NMI, NMI/ Hz, / / / // / 1, 3 SPIA 2 / PWM PWM : 2/ (

S1C17M30 S1C17M31 S1C17M32 S1C17M33 S1C17M34 (SVD3) (1, ) : 28 ( V)/: 32 ( V), UART(UART3) 2, IrDA1.0,, (SPIA) (T16) I 2 C(I2C)

S1C17M20/M23 S1C17M21/M24 S1C17M22/M25 24PKG 32PKG (SVD3) (1, ) : 28 ( V)/: 32 ( V), UART(UART3) 2, IrDA1.0,, (SPIA) I 2 C(I2C)

SEIKO EPSON CORPORATION 2011, All rights.

S1C60N05データシート

S5U1C8F360T1 Manual (S1C8F360 DEMO Board)

S1C60N08/60R08データシート

(Making the electronic circuit with use of micro-processor)

R1RW0408D シリーズ

RW1097-0A-001_V0.1_170106

NL-22/NL-32取扱説明書_操作編

R1RW0416DI シリーズ

R1RP0416D シリーズ

mbed祭りMar2016_プルアップ.key

1

タイマ ウォッチドッグタイマ (WDT) NMI, またはウォッチドッグタイマリセットを 生 成 リアルタイムクロック (RTCA) 128~1 Hz カウンタ 秒 / 分 / 時 / 日 / 曜 日 / 月 / 年 カウンタ 1 秒 補 正 のための 論 理 緩 急 機 能 アラーム 機 能 スト

R1LV0416Dシリーズ データシート

ESP32-KEY-KIT-R1 (ESP-WROOM-32 ) Copyright c 2

VM-53PA1取扱説明書

3 SIMPLE ver 3.2: SIMPLE (SIxteen-bit MicroProcessor for Laboratory Experiment) 1 16 SIMPLE SIMPLE 2 SIMPLE 2.1 SIMPLE (main memo

PIN S 5 K 0 K 1 K 2 K 3 K 4 V DD V 0 V 1 V 2 V SS OSC SEG 32 SEG 31 SEG 30 SEG 29 SEG 28 SEG 27 SEG 26 SEG 25 SEG 24 SEG 23 SEG 22 SEG 21 SEG 20 SEG 1

A Responsive Processor for Parallel/Distributed Real-time Processing

AD5933: 1 MSPS、12 ビット・インピーダンス・コンバータネットワーク・アナライザ

NJU3555 NJU

R1LV1616H-I シリーズ

MAX191 EV J

untitled

DS

Express5800/R110a-1Hユーザーズガイド

.,. 0. (MSB). =2, =1/2.,. MSB LSB, LSB MSB. MSB 0 LSB 0 0 P

MAX7319 EV.J

TOS7200 CD-ROM DUT PC 1.0X p.15 NEMA Vac/10 A [85-AA-0003] m : CEE7/7 : 250Vac/10 A [85-AA-0005] : GB1002 : 250Vac/10A [ ] 2016

Nios® II HAL API を使用したソフトウェア・サンプル集 「Modular Scatter-Gather DMA Core」

ADC121S Bit, ksps, Diff Input, Micro Pwr Sampling ADC (jp)

LMC6022 Low Power CMOS Dual Operational Amplifier (jp)

N Express5800/R320a-E4 N Express5800/R320a-M4 ユーザーズガイド

Express5800/R320a-E4, Express5800/R320b-M4ユーザーズガイド

main.dvi

S1C31D50 (rev1.0) 32-bit Single Chip Microcontroller ARM 32- ビット RISC CPU コア Cortex -M0+ 192K バイト Flash メモリ (Program& 音声共用 ) 8K バイト RAM を内蔵 2ch 音声ミキシン

Express5800/R320a-E4/Express5800/R320b-M4ユーザーズガイド

DAC121S101/DAC121S101Q 12-Bit Micro Power, RRO Digital-to-Analog Converter (jp)

R1EV5801MBシリーズ データシート

MEDIAEDGE MEDIAEDGE TEL FAX :00 12:00 13:00 17: MEDIAEDGE MEDIAEDGE 8. HDMI HDMIHigh-Definition M

HN58V256Aシリーズ/HN58V257Aシリーズ データシート

AD9833: 低消費電力 20 mW 2.3 〜 5.5 V プログラマブル波形発生器

HN58C256A シリーズ/HN58C257A シリーズ データシート

プロセッサ・アーキテクチャ

untitled

Microsoft Word - AK2300-MS0997-J-00_ doc

Express5800/320Fc-MR

S1D13505F00Aデータシート

NL-20取扱説明書_操作編

AN6591FJM

untitled

内蔵メモリ Flash EEPROM - 128K バイト (S1C17501F0A) - 96K バイト (S1C17501F1A) RAM - 4K バイト - 2K バイト ( バッテリーバックアップ可能 ) 動作クロック メインクロック - 48MHz USB を使用する場合 - 1~48M

EVBUM2149JP - 静電容量タッチセンサ用容量デジタルコンバータLSI評価キット取扱説明書


橡EN1165.PDF

Jan/25/2019 errata_c17m11_10 S1C17 マニュアル正誤表 項目 リセット保持時間 対象マニュアル発行 No. 項目ページ S1C17M10 テクニカルマニュアル システムリセットコントローラ (SRC) 特性 19-3 S1C17M20/M

51505agj.PDF

1 2

1 142

TK-S686_S686WP

ESP8266-CORE-R Copyrig

XC9500 ISP CPLD JTAG Port 3 JTAG Controller In-System Programming Controller 8 36 Function Block Macrocells to 8 /GCK /GSR /GTS 3 2 or 4 Blocks FastCO

untitled

OPA134/2134/4134('98.03)

ma_sk_3302_jp

DebugFactory Builder 4 for AMOTユーザーズマニュアル


LMV851/LMV852/LMV854 8 MHz Low Power CMOS, EMI Hardened Operational Amplifi(jp)

ADC082S021 2 Channel, 50 ksps to 200 ksps, 8-Bit A/D Converter (jp)

エミフィルによるノイズ対策 アプリケーション編

Arduino UNO IS Report No. Report Medical Information System Laboratory

ADC78H90 8-Channel, 500 kSPS, 12-Bit A/D Converter (jp)

EQUIUM EQUIUM S5010 1

Express5800/320Fa-L/320Fa-LR

untitled


AD8212: 高電圧の電流シャント・モニタ

CDR1000_J

iExpress5800/N サーバハードウェア

1

R3111x NO.JA R3111x CMOS IC IC Nch CMOS 2 Rx5VL TO-92 SOT-89 SOT-23-3 SOT-23-5 SC-82AB SON TYP. 0.8µA (VDD=1.5V) 0.7V 10.0V (Topt=2

「FPGAを用いたプロセッサ検証システムの製作」

MAX1241EV Kit.J

untitled

1 124

c120-e pdf

untitled

MAX1213N EV.J

00-COVER.P65

Plastic Package (Note 12) Note 1: ( ) Top View Order Number T or TF See NS Package Number TA11B for Staggered Lead Non-Isolated Package or TF11B for S

EVBUM2170JP - LC87F1M16A評価ボードユーザーマニュアル

1 2

untitled

本機をお使いの方へ

Express5800/320Fa-L/320Fa-LR/320Fa-M/320Fa-MR

LMC6082 Precision CMOS Dual Operational Amplifier (jp)

Transcription:

CMOS 16-BIT SINGLE CHIP MICROCONTROLLER S1C17601 Rev. 1.1

1. 2. 3. 4. 5. 6. Silicon Storage Technology, Inc. SuperFlash SEIKO EPSON CORPORATION 2011, All rights reserved.

S1 C 33209 F 00E1 00 00 : & 0A : TCP BL 2 0B : & BACK 0C : TCP BR 2 0D : TCP BT 2 0E : TCP BD 2 0F : & FRONT 0G: TCP BT 4 0H : TCP BD 4 0J : TCP SL 2 0K : TCP SR 2 0L : & LEFT 0M: TCP ST 2 0N : TCP SD 2 0P : TCP ST 4 0Q: TCP SD 4 0R : & RIGHT 99 : D: F: QFP B: BGA C: S1: S5U1 C 33000 H2 1 00 00: 1: Version 1 Hx : ICE Dx : Ex : ROM Mx: ROM Tx : Cx : Sx : 33L01: S1C33L01 C: S5U1:

- - 1...1-1 1.1...1-2 1.2...1-3 1.3...1-4 1.3.1...1-4 1.3.2...1-8 2 CPU...2-1 2.1 S1C17...2-1 2.2 CPU...2-2 2.3...2-3 2.4...2-7 2.5 PSR...2-8 2.6...2-9 3,...3-1 3.1...3-2 3.1.1...3-2 3.1.2...3-2 3.2 Flash...3-3 3.2.1 Flash...3-3 3.2.2 Flash...3-3 3.2.3...3-3 0xfffc 0xfffe: Flash Protect Bits... 3-4 3.2.4 Flash...3-4 0x5320: FLASHC Control Register (MISC_FL)... 3-4 3.3 RAM...3-5 3.3.1 RAM...3-5 0x5326: IRAM Size Select Register (MISC_IRAMSZ)... 3-5 3.4 RAM...3-6 3.4.1 RAM...3-6 3.5...3-7 3.5.1 1 0x4000~...3-7 3.5.2 2 0x5000~...3-7 3.6 I/O...3-8 4...4-1 4.1...4-1 4.2...4-2 4.3...4-3 4.4...4-4 4.5...4-5 0x5120: VD1 Control Register (VD1_CTL)... 4-6 0x50a3: LCD Voltage Regulator Control Register (LCD_VREG)... 4-7 4.6...4-8 5...5-1 5.1...5-1 5.1.1 #RESET...5-1 5.1.2 P0...5-2 5.1.3...5-2 S1C17601 TECHNICAL MANUAL Seiko Epson Corporation i

5.2...5-3 5.3...5-4 6 ITC...6-1 6.1 ITC...6-1 6.2...6-2 6.3...6-3 6.3.1...6-3 6.3.2 ITC...6-3 6.3.3 S1C17...6-4 6.4 NMI...6-5 6.5...6-6 6.6 HALT, SLEEP...6-7 6.7...6-8 0x4306: Interrupt Level Setup Register 0 (ITC_LV0)... 6-9 0x4308: Interrupt Level Setup Register 1 (ITC_LV1)... 6-10 0x430a: Interrupt Level Setup Register 2 (ITC_LV2)... 6-11 0x430c: Interrupt Level Setup Register 3 (ITC_LV3)... 6-12 0x430e: Interrupt Level Setup Register 4 (ITC_LV4)... 6-13 0x4310: Interrupt Level Setup Register 5 (ITC_LV5)... 6-14 0x4312: Interrupt Level Setup Register 6 (ITC_LV6)... 6-15 0x4314: Interrupt Level Setup Register 7 (ITC_LV7)... 6-16 0x4316: Interrupt Level Setup Register 8 (ITC_LV8)... 6-17 0x4318: Interrupt Level Setup Register 9 (ITC_LV9)... 6-18 6.8...6-19 7 OSC...7-1 7.1 OSC...7-1 7.2 IOSC...7-2 7.3 OSC3...7-3 7.4 OSC1...7-5 7.5...7-6 7.6 LCD...7-8 7.7 8 OSC1...7-9 7.8 SVD...7-10 7.9 RFC...7-11 7.10 FOUTH, FOUT1...7-12 7.11 RESET, NMI...7-14 7.12...7-15 0x5060: Clock Source Select Register (OSC_SRC)... 7-16 0x5061: Oscillation Control Register (OSC_CTL)... 7-17 0x5062: Noise Filter Enable Register (OSC_NFEN)... 7-19 0x5063: LCD Clock Setup Register (OSC_LCLK)... 7-20 0x5064: FOUT Control Register (OSC_FOUT)... 7-21 0x5065: T8OSC1 Clock Control Register (OSC_T8OSC1)... 7-22 0x5066: SVD Clock Control Register (OSC_SVD)... 7-23 0x5067: RFC Clock Control Register (OSC_RFC)... 7-24 7.13...7-25 8 CLG...8-1 8.1...8-1 8.2 CPU CCLK...8-2 8.3 PCLK...8-3 8.4...8-4 ii Seiko Epson Corporation S1C17601 TECHNICAL MANUAL

0x5080: PCLK Control Register (CLG_PCLK)... 8-5 0x5081: CCLK Control Register (CLG_CCLK)... 8-6 8.5...8-7 9 PSC...9-1 9.1...9-1 9.2...9-2 0x4020: Prescaler Control Register (PSC_CTL)... 9-2 9.3...9-3 10 P...10-1 10.1...10-1 10.2 MUX...10-2 10.3...10-3 10.4...10-5 10.5...10-6 10.6 P0/P1...10-7 10.7...10-8 10.8...10-10 0x5200/0x5210/0x5220: Px Port Input Data Registers (Px_IN)... 10-11 0x5201/0x5211/0x5221: Px Port Output Data Registers (Px_OUT)... 10-12 0x5202/0x5212/0x5222: Px Port Output Enable Registers (Px_OEN)... 10-13 0x5203/0x5213/0x5223: Px Port Pull-up Control Registers (Px_PU)... 10-14 0x5204/0x5214/0x5224: Px Port Schmitt Trigger Control Registers (Px_SM)... 10-15 0x5205/0x5215: Px Port Interrupt Mask Registers (Px_IMSK)... 10-16 0x5206/0x5216: Px Port Interrupt Edge Select Registers (Px_EDGE)... 10-17 0x5207/0x5217: Px Port Interrupt Flag Registers (Px_IFLG)... 10-18 0x5208/0x5218: Px Port Chattering Filter Control Register (Px_CHAT)... 10-19 0x5209: P0 Port Key-Entry Reset Configuration Register (P0_KRST)... 10-21 0x520a/0x521a/0x522a: Px Port Input Enable Registers (Px_IEN)... 10-22 0x52a0: P0 Port Function Select Register (P0_PMUX)... 10-23 0x52a1: P0 Port Function Select Register (P0_PMUX)... 10-24 0x52a2: P1 Port Function Select Register (P1_PMUX)... 10-25 0x52a3: P1 Port Function Select Register (P1_PMUX)... 10-26 0x52a4: P2 Port Function Select Register (P2_PMUX)... 10-27 0x52a5: P2 Port Function Select Register (P2_PMUX)... 10-28 10.9...10-29 11 16 T16...11-1 11.1 16...11-1 11.2 16...11-2 11.2.1...11-2 11.2.2...11-3 11.2.3...11-4 11.3...11-5 11.4 16...11-6 11.5 16...11-7 11.6 16 RUN/STOP...11-8 11.7 16...11-9 11.8 16...11-10 11.9...11-11 0x4220/0x4240/0x4260: 16-bit Timer Ch.x Input Clock Select Registers (T16_CLKx)... 11-12 0x4222/0x4242/0x4262: 16-bit Timer Ch.x Reload Data Registers (T16_TRx)... 11-13 0x4224/0x4244/0x4264: 16-bit Timer Ch.x Counter Data Registers (T16_TCx)... 11-14 0x4226/0x4246/0x4266: 16-bit Timer Ch.x Control Registers (T16_CTLx)... 11-15 S1C17601 TECHNICAL MANUAL Seiko Epson Corporation iii

0x4228/0x4248/0x4268: 16-bit Timer Ch.x Interrupt Control Registers (T16_INTx)... 11-17 11.10...11-18 12 8 T8F...12-1 12.1 8...12-1 12.2 8...12-2 12.3...12-3 12.4 8...12-4 12.5 8...12-5 12.6 8 RUN/STOP...12-6 12.7 8...12-7 12.8...12-8 12.9 8...12-9 12.10...12-10 0x4200: 8-bit Timer Input Clock Select Register (T8F_CLK)... 12-11 0x4202: 8-bit Timer Reload Data Register (T8F_TR)... 12-12 0x4204: 8-bit Timer Counter Data Register (T8F_TC)... 12-13 0x4206: 8-bit Timer Control Register (T8F_CTL)... 12-14 0x4208: 8-bit Timer Interrupt Control Register (T8F_INT)... 12-16 12.11...12-17 13 PWMT16E...13-1 13.1 PWM...13-1 13.2 PWM...13-2 13.3 /...13-3 13.4...13-4 13.5 PWM RUN/STOP...13-5 13.6...13-6 13.7 PWM...13-9 13.8...13-11 0x5300/0x5360: PWM Timer Ch.x Compare Data A Registers (T16E_CAx)... 13-12 0x5302/0x5362: PWM Timer Ch.x Compare Data B Registers (T16E_CBx)... 13-13 0x5304/0x5364: PWM Timer Ch.x Counter Data Registers (T16E_TCx)... 13-14 0x5306/0x5366: PWM Timer Ch.x Control Registers (T16E_CTLx)... 13-15 0x5308/0x5368: PWM Timer Ch.x Input Clock Select Registers (T16E_CLKx)... 13-17 0x530a/0x536a: PWM Timer Ch.x Interrupt Mask Registers (T16E_IMSKx)... 13-18 0x530c/0x536c: PWM Timer Ch.x Interrupt Flag Registers (T16E_IFLGx)... 13-19 13.9...13-20 14 8 OSC1T8OSC1...14-1 14.1 8 OSC1...14-1 14.2 8 OSC1...14-2 14.3...14-3 14.4 8 OSC1...14-4 14.5...14-5 14.6 8 OSC1 RUN/STOP...14-6 14.7 8 OSC1...14-7 14.8 PWM...14-8 14.9...14-9 0x50c0: 8-bit OSC1 Timer Control Register (T8OSC1_CTL)... 14-10 0x50c1: 8-bit OSC1 Timer Counter Data Register (T8OSC1_CNT)... 14-11 0x50c2: 8-bit OSC1 Timer Compare Data Register (T8OSC1_CMP)... 14-12 0x50c3: 8-bit OSC1 Timer Interrupt Mask Register (T8OSC1_IMSK)... 14-13 iv Seiko Epson Corporation S1C17601 TECHNICAL MANUAL

0x50c4: 8-bit OSC1 Timer Interrupt Flag Register (T8OSC1_IFLG)... 14-14 0x50c5: 8-bit OSC1 Timer PWM Duty Data Register (T8OSC1_DUTY)... 14-15 14.10...14-16 15 CT...15-1 15.1...15-1 15.2...15-2 15.3...15-3 15.4 RUN/STOP...15-4 15.5...15-5 15.6...15-6 0x5000: Clock Timer Control Register (CT_CTL)... 15-7 0x5001: Clock Timer Counter Register (CT_CNT)... 15-8 0x5002: Clock Timer Interrupt Mask Register (CT_IMSK)... 15-9 0x5003: Clock Timer Interrupt Flag Register (CT_IFLG)... 15-10 15.7...15-11 16 SWT...16-1 16.1...16-1 16.2 BCD...16-2 16.3...16-3 16.4...16-4 16.5 RUN/STOP...16-5 16.6...16-6 16.7...16-7 0x5020: Stopwatch Timer Control Register (SWT_CTL)... 16-8 0x5021: Stopwatch Timer BCD Counter Register (SWT_BCNT)... 16-9 0x5022: Stopwatch Timer Interrupt Mask Register (SWT_IMSK)... 16-10 0x5023: Stopwatch Timer Interrupt Flag Register (SWT_IFLG)... 16-11 16.8...16-12 17 WDT...17-1 17.1...17-1 17.2...17-2 17.3...17-3 17.3.1 NMI/...17-3 17.3.2 RUN/STOP...17-3 17.3.3...17-3 17.3.4...17-3 17.4...17-4 0x5040: Watchdog Timer Control Register (WDT_CTL)... 17-5 0x5041: Watchdog Timer Status Register (WDT_ST)... 17-6 17.5...17-7 18 UART...18-1 18.1 UART...18-1 18.2 UART...18-2 18.3...18-3 18.4...18-4 18.5...18-5 18.6...18-8 18.7 UART...18-9 18.8 IrDA...18-11 S1C17601 TECHNICAL MANUAL Seiko Epson Corporation v

18.9...18-13 0x4100: UART Status Registers (UART_ST)... 18-14 0x4101: UART Transmit Data Registers (UART_TXD)... 18-16 0x4102: UART Receive Data Registers (UART_RXD)... 18-17 0x4103: UART Mode Registers (UART_MOD)... 18-18 0x4104: UART Control Registers (UART_CTL)... 18-19 0x4105: UART Expansion Registers (UART_EXP)... 18-20 18.10...18-21 19 SPI...19-1 19.1 SPI...19-1 19.2 SPI...19-2 19.3 SPI...19-3 19.4...19-4 19.5...19-5 19.6 SPI...19-8 19.7...19-9 0x4320: SPI Status Register (SPI_ST)... 19-10 0x4322: SPI Transmit Data Register (SPI_TXD)... 19-11 0x4324: SPI Receive Data Register (SPI_RXD)... 19-12 0x4326: SPI Control Register (SPI_CTL)... 19-13 19.8...19-15 20 I 2 CI 2 CM...20-1 20.1 I 2 C...20-1 20.2 I 2 C...20-2 20.3 I 2 C...20-3 20.4...20-4 20.5...20-5 20.6 I 2 C...20-10 20.7...20-11 0x4340: I 2 C Enable Register (I2C_EN)... 20-12 0x4342: I 2 C Control Register (I2C_CTL)... 20-13 0x4344: I 2 C Data Register (I2C_DAT)... 20-15 0x4346: I 2 C Interrupt Control Register (I2C_ICTL)... 20-17 21 I 2 C I 2 CS...21-1 21.1 I 2 C...21-1 21.2 I 2 C...21-2 21.3 I 2 C...21-3 21.4 I 2 C...21-4 21.4.1...21-4 21.4.2...21-4 21.4.3...21-4 21.5...21-6 21.6 I 2 C...21-11 21.7...21-13 0x4360: I 2 C Slave Transmit Data Register (I2CS_TRNS)... 21-14 0x4362: I 2 C Slave Receive Data Register (I2CS_RECV)... 21-15 0x4364: I 2 C Slave Address Setup Register (I2CS_SADRS)... 21-16 0x4366: I 2 C Slave Control Register (I2CS_CTL)... 21-17 0x4368: I 2 C Slave Status Register (I2CS_STAT)... 21-20 0x436a: I 2 C Slave Access Status Register (I2CS_ASTAT)... 21-23 0x436c: I 2 C Slave Interrupt Control Register (I2CS_ICTL)... 21-24 vi Seiko Epson Corporation S1C17601 TECHNICAL MANUAL

21.8...21-25 22 LCD LCD8...22-1 22.1 LCD...22-1 22.2 LCD...22-2 22.3 LCD...22-3 22.3.1 LCD...22-3 22.3.2...22-3 22.4...22-4 22.5...22-10 22.6...22-12 22.6.1 On/Off...22-12 22.6.2 LCD...22-12 22.6.3...22-12 22.7 LCD...22-13 22.8...22-14 0x50a0: LCD Display Control Register (LCD_DCTL)... 22-15 0x50a1: LCD Contrast Adjust Register (LCD_CADJ)... 22-17 0x50a2: LCD Clock Control Register (LCD_CCTL)... 22-18 0x50a3: LCD Voltage Regulator Control Register (LCD_VREG)... 22-19 0x50a5: LCD Interrupt Mask Register (LCD_IMSK)... 22-20 0x50a6: LCD Interrupt Flag Register (LCD_IFLG)... 22-21 22.9...22-22 23 A/DADC10SA...23-1 23.1 A/D...23-1 23.2 ADC...23-2 23.3 A/D...23-3 23.4 A/D...23-6 23.5 A/D...23-9 23.6...23-11 0x5380: ADC10 Conversion Result Register (ADC10_ADD)... 23-12 0x5382: ADC10 Trigger/Channel Select Register (ADC10_TRG)... 23-13 0x5384: ADC10 Control/Status Register (ADC10_CTL)... 23-15 0x5386: ADC10 Divided Frequency Register (ADC10_DIV)... 23-17 23.7...23-18 24 R/FRFC...24-1 24.1 R/F...24-1 24.2 RFC...24-2 24.3...24-3 24.4...24-6 24.5 R/F...24-9 24.6...24-11 0x53a0: RFC Control Register (RFC_CTL)... 24-12 0x53a2: RFC Oscillation Start Register (RFC_TRG)... 24-13 0x53a4/0x53a6: RFC measurement Counter Data Register (RFC_MC)... 24-14 0x53a8/0x53aa: RFC Time Base Counter Data Register (RFC_TC)... 24-15 0x53ac: RFC Interrupt Mask Register (RFC_IMSK)... 24-16 0x53ae: RFC Interrupt Flag Register (RFC_IFLG)... 24-17 24.7...24-18 25 SVD...25-1 25.1 SVD...25-1 S1C17601 TECHNICAL MANUAL Seiko Epson Corporation vii

25.2 SVD...25-2 25.3...25-3 25.4 SVD...25-4 25.5 SVD...25-5 25.6...25-6 0x5100: SVD Enable Register (SVD_EN)... 25-7 0x5101: SVD Compare Voltage Register (SVD_CMP)... 25-8 0x5102: SVD Detection Result Register (SVD_RSLT)... 25-9 0x5103: SVD Interrupt Mask Register (SVD_IMSK)... 25-10 0x5104: SVD Interrupt Flag Register (SVD_IFLG)... 25-11 25.7...25-12 26 DBG...26-1 26.1...26-1 26.2...26-2 26.3...26-3 26.4...26-4 0x5322: OSC1 Peripheral Control Register (MISC_OSC1)... 26-5 0x5326: IRAM Size Select Register (MISC_IRAMSZ)... 26-6 0xffff90: Debug RAM Base Register (DBRAM)... 26-7 0xffffa0: Debug Control Register (DCR)... 26-8 0xffffb8: Instruction Break Address Register 2 (IBAR2)... 26-10 0xffffbc: Instruction Break Address Register 3 (IBAR3)... 26-11 0xffffd0: Instruction Break Address Register 4 (IBAR4)... 26-12 27...27-1 27.1...27-1 27.2...27-2 27.3...27-3 27.4...27-4 27.5...27-5 27.6...27-7 28...28-1 28.1...28-1 28.2...28-1 28.3...28-2 28.4...28-4 28.5 LCD...28-6 28.6 SVD...28-9 28.7 A/D...28-10 28.8 Flash...28-11 28.9 SPI...28-12 28.10 I 2 C...28-13 28.11...28-14 28.12...28-15 28.13 R/F...28-16 29...29-1 30...30-1 Appendix A I/O... AP-1 0x4020 Prescaler... AP-5 viii Seiko Epson Corporation S1C17601 TECHNICAL MANUAL

0x4100 0x4105 UART (with IrDA)... AP-6 0x4200 0x4208 8-bit Timer (with Fine Mode)... AP-7 0x4220 0x4268 16-bit Timer... AP-8 0x4306 0x4318 Interrupt Controller... AP-10 0x4320 0x4326 SPI... AP-11 0x4340 0x4346 I 2 C Master... AP-12 0x4360 0x436c I 2 C Slave... AP-13 0x5000 0x5003 Clock Timer... AP-14 0x5020 0x5023 Stopwatch Timer... AP-15 0x5040 0x5041 Watchdog Timer... AP-16 0x5060 0x5067 Oscillator... AP-17 0x5080 0x5081 Clock Generator... AP-18 0x50a0 0x50a6 LCD Driver... AP-19 0x50c0 0x50c5 8-bit OSC1 Timer... AP-20 0x5100 0x5104 SVD Circuit... AP-21 0x5120 Power Generator... AP-22 0x5200 0x52a5 P Port & Port MUX... AP-23 0x5300 0x530c PWM Timer Ch.0... AP-27 0x5320 0x532c MISC Registers... AP-28 0x5360 0x536c PWM Timer Ch.1... AP-29 0x5380 0x5386 ADC10SA... AP-30 0x53a0 0x53ae RFC... AP-31 0x53c0 0x53d3 SEGRAM... AP-32 0xffff84 0xffffd0 S1C17 Core I/O... AP-33 Appendix B Flash... AP-34 B.1... AP-34 B.2... AP-35 Appendix C... AP-36 C.1... AP-36 C.2... AP-39 Appendix D... AP-40 Appendix E... AP-44 Appendix F... AP-46 S1C17601 TECHNICAL MANUAL Seiko Epson Corporation ix

1 1 S1C17601 ICE 16 MCU A/DR/F I/F S1C17601 Technical Manual Seiko Epson Corporation 1-1

1 1.1 S1C17601 CPU EPSON 16 RISC CPU S1C17 16 16 + 32 16 16 IOSC 2.7MHz typ. 5μS max. OSC3 / 8.2MHz max. OSC1 32.768kHz typ. Flash 32K / 1,000 min. / ICD Mini S5U1C17001H RAM 2K RAM 20 A/D 10 4ch. RF DC /AC / 1ch. 24 SPI/ 1ch. I 2 C 1ch. I 2 C 1ch. UART 460800bps IrDA1.0 1ch. 8 T8F 1ch. 16 T16 3ch. PWMT16E 2ch. CT 1ch. SWT 1ch. WDT 1ch. 8 OSC1 PWMT8OSC1 1ch. LCD 16SEG 8COM 20SEG 4COM 1/3 16 SVD 15 1.8V 3.2V NMI P 3 4 9 LCD SVD ADC RFC 1.8V 3.6V 2.7V 3.6V Flash / 2-25 C 70 C SLEEP 0.6μA typ. OSC1=OFF, IOSC=OFF, OSC3=OFF HALT 2.0μA typ. OSC1=32kHz, IOSC=OFF, OSC3=OFF, PCKEN=0x0, LCD OFF 2.7μA typ. OSC1=32kHz, IOSC=OFF, OSC3=OFF, PCKEN=0x0, LCD ON,, VC2 12μA typ. OSC1=32kHz, IOSC=OFF, OSC3=OFF, LCD OFF 340μA typ. OSC1=OFF, IOSC=OFF, OSC3=1MHz TQFP13-64 10mm 10mm 0.5mm VFBGA8H-81 8mm 8mm 0.8mm 100μm 1-2 Seiko Epson Corporation S1C17601 Technical Manual

1 1.2 TEST1 3 32 bits 1 cycle Internal RAM (2K bytes) Flash memory (32K bytes) Display RAM (20 bytes) CPU Core S1C17 16 bits 1 5 cycles 16 bits 1 cycles 8/16 bits 1 cycle I/O 2 (0x5000 ) Power generator R/F converter A/D converter DCLK, DST2, DSIO(P27 25) VDD, VSS, VD1, VC1 VC3, CA CB RFIN, REF, SENA, SENB(P15 12) RFCLKO(P00) AIN0 3, #ADTRG (P07 04, P03) SVD circuit #TEST Test circuit #RESET Reset circuit I/O 1 (0x4000 ) Interrupt controller 8/16 bits 1 cycle Interrupt system LCD driver MISC register Oscillator/ Clock generator 8-bit OSC1 PWM timer SEG0 16/19, COM0 7/4 LFRO(P00) OSC1 2, OSC3 4 FOUT1(P16), FOUTH(P22) TOUT5(P24) Prescaler Clock timer 8-bit timer Stopwatch timer EXCL0 2 (P02, P4, P5) SIN, SOUT(P21 20 or P24-23) SCLK(P17) 16-bit timer UART (1ch) Watchdog timer 16-bit PWM timer (2ch) EXCL3(P06), EXCL4(P07), TOUT3(P23), TOUT4(P02), TOUTN3(P24) TOUTN4(P01) SDI, SDO, SPICLK(P21 20, P17) #SPISS(P22) SPI SDA0, SCL0(P11 10) I 2 C master (1ch) I/O port/ I/O MUX P00 07, P10 17, P20 27 SDA1, SCL1(P11 10 or P13-14) #BFR(P12) I 2 C slave (1ch) 1.2.1 S1C17601 Technical Manual Seiko Epson Corporation 1-3

1 1-4 Seiko Epson Corporation S1C17601 Technical Manual 1.3 1.3.1 TQFP13-64pin 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 INDEX DSIO/P25 DST2/P26 DCLK/P27 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 VC1 VC2 VC3 CA CB COM0 COM1 COM2 COM3 COM4/SEG19 COM5/SEG18 COM6/SEG17 COM7/SEG16 SEG15 SEG14 SEG13 AVDD VSS P05/AIN2/EXCL2 P04/AIN3/EXCL1 P03/#ADTRG P02/TOUT4/EXCL0 P01/TOUTN4 P00/RFCLKO/LFRO #TEST #RESET OSC1 OSC2 VD1 OSC3 OSC4 VDD P06/AIN1/EXCL3 P07/AIN0/EXCL4 P10/SCL0/SCL1 P11/SDA0/SDA1 VDD P12/SENB/#BFR P13/SENA/SDA1 P14/REF/SCL1 P15/RFIN P16/FOUT1 P17/SPICLK/SCLK P20/SDO/SOUT P21/SDI/SIN P22/#SPISS/FOUTH P23/TOUT3/SOUT P24/TOUTN3/SIN/T8OUT 1.3.1.1 TQFP13-64pin

1 VFBGA8H-81 A1 Corner Top View Bottom View A1 Corner A B C D E F G H J Index A B C D E F G H J 1 2 3 4 5 6 7 8 9 9 8 7 6 5 4 3 2 1 A B 1 2 3 4 5 6 7 8 9 P24 P23 P16 P15 P13 P11 P06 N.C. N.C. DST2 DSIO P22 P17 P14 P12 P10 P07 P05 A B C DCLK SEG0 P21 P20 VSS VDD AVDD P04 P03 C D SEG1 SEG2 SEG3 VSS VSS VSS P02 P01 P00 D E SEG6 SEG5 SEG4 VSS VSS VSS #TEST OSC2 OSC1 E F SEG7 SEG8 SEG9 VSS VSS VSS #RESET VSS VD1 F G SEG10 SEG11 SEG15 COM5 COM2 TEST1 VC3 VDD OSC3 G H SEG12 SEG13 COM7 COM4 COM0 TEST2 CA VC1 OSC4 H J SEG14 COM6 COM3 COM1 TEST3 CB VC2 N.C. N.C. 1 2 3 4 5 6 7 8 9 J 1.3.1.2 VFBGA8H-81 S1C17601 Technical Manual Seiko Epson Corporation 1-5

1 CHIP-102pad 80 52 81 51 Y (0,0) X 3.056mm 102 30 Die No. CJ601D 1 29 3.864mm 1-6 Seiko Epson Corporation S1C17601 Technical Manual

1 PAD No. X (mm) Y (mm) PAD No. X (mm) Y (mm) PAD No. X (mm) Y (mm) 1-1.418-1.427 DSIO 51 1.831 1.080 VSS 101-1.831-0.930 NC 2-1.318-1.427 DST2 52 1.482 1.427 VDD 102-1.831-1.030 P24 3-1.218-1.427 NC 53 1.382 1.427 OSC4 4-1.118-1.427 DCLK 54 1.282 1.427 OSC3 5-1.018-1.427 NC 55 1.182 1.427 VSS 6-0.918-1.427 SEG0 56 0.982 1.427 VD1 7-0.818-1.427 NC 57 0.882 1.427 OSC2 8-0.718-1.427 SEG1 58 0.782 1.427 OSC1 9-0.618-1.427 NC 59 0.682 1.427 NC 10-0.518-1.427 SEG2 60 0.582 1.427 NC 11-0.418-1.427 NC 61 0.482 1.427 XRESET 12-0.318-1.427 SEG3 62 0.382 1.427 NC 13-0.218-1.427 NC 63 0.282 1.427 NC 14-0.118-1.427 SEG4 64 0.182 1.427 XTEST 15-0.018-1.427 NC 65 0.082 1.427 NC 16 0.082-1.427 SEG5 66-0.018 1.427 NC 17 0.182-1.427 NC 67-0.118 1.427 P00 18 0.282-1.427 SEG6 68-0.218 1.427 NC 19 0.382-1.427 NC 69-0.318 1.427 P01 20 0.482-1.427 SEG7 70-0.418 1.427 NC 21 0.582-1.427 NC 71-0.518 1.427 NC 22 0.682-1.427 SEG8 72-0.618 1.427 P02 23 0.782-1.427 NC 73-0.718 1.427 NC 24 0.882-1.427 SEG9 74-0.818 1.427 P03 25 0.982-1.427 NC 75-0.918 1.427 NC 26 1.082-1.427 SEG10 76-1.018 1.427 P04 27 1.182-1.427 NC 77-1.118 1.427 NC 28 1.282-1.427 SEG11 78-1.218 1.427 P05 29 1.382-1.427 SEG12 79-1.318 1.427 VSS 30 1.831-1.030 SEG13 80-1.418 1.427 AVDD 31 1.831-0.930 NC 81-1.831 1.070 P06 32 1.831-0.830 SEG14 82-1.831 0.970 P07 33 1.831-0.730 NC 83-1.831 0.870 P10 34 1.831-0.630 SEG15 84-1.831 0.770 P11 35 1.831-0.530 COM7 85-1.831 0.670 NC 36 1.831-0.430 COM6 86-1.831 0.570 VDD 37 1.831-0.330 COM5 87-1.831 0.470 P12 38 1.831-0.230 COM4 88-1.831 0.370 P13 39 1.831-0.130 COM3 89-1.831 0.270 P14 40 1.831-0.030 COM2 90-1.831 0.170 P15 41 1.831 0.070 COM1 91-1.831 0.070 VSS 42 1.831 0.170 COM0 92-1.831-0.030 P16 43 1.831 0.270 TEST3 93-1.831-0.130 NC 44 1.831 0.370 TEST2 94-1.831-0.230 P17 45 1.831 0.470 TEST1 95-1.831-0.330 P20 46 1.831 0.570 CB 96-1.831-0.430 P21 47 1.831 0.670 CA 97-1.831-0.530 NC 48 1.831 0.770 VC3 98-1.831-0.630 P22 49 1.831 0.870 VC2 99-1.831-0.730 NC 50 1.831 0.970 VC1 100-1.831-0.830 P23 S1C17601 Technical Manual Seiko Epson Corporation 1-7

1 1.3.2 PAD/ / No. CHIP TQFP VFBGA 1.3.2.1 I/O 1 1 B2 DSIO/P25 I/O I(Pull-UP) *1 / 2 2 B1 DST2/P26 I/O O(L) *1 / 4 3 C1 DCLK/P27 I/O O(H) *1 / *6 4-19 *2 SEG0-15 O O(L) LCD *7 20-23 *3 COM7-4/ O O(L) LCD *1 /LCD SEG16-19 *7 24-27 *3 COM3-0 O O(L) LCD 43 - J6 TEST3 - - OPEN 44 - H6 TEST2 - - OPEN 45 - G6 TEST1 - - OPEN 46 28 H7 CB - - LCD 47 29 J7 CA - - LCD 48 30 G7 VC3 - - LCD 49 31 J8 VC2 - - LCD 50 32 H8 VC1 - - LCD 51 - *4 VSS - - (-) 52 33 *5 VDD - - (+) 53 34 H9 OSC4 O O OSC3 54 35 G9 OSC3 I I OSC3 VDD-VSS 55 - *4 VSS - - (-) 36 F9 VD1 - - 57 37 E8 OSC2 O O OSC1 58 38 E9 OSC1 I I OSC1 61 39 F7 #RESET I I(Pull-UP) 64 40 E7 #TEST I I(Pull-UP) (VDD ) 67 41 D9 P00/RFCLKO/ LFRO I/O I(Pull-UP) *1 /RF /LCD 69 42 D8 P01/TOUTN4 I/O I(Pull-UP) *1 /T16E Ch1PWM( ) 72 43 D7 P02/TOUT4/ EXCL0 I/O I(Pull-UP) *1 /T16E Ch1PWM( )/T16 Ch0 74 44 C9 P03/#ADTRG I/O I(Pull-UP) *1 /AD 76 45 D8 P04/AIN3/ I/O I(Pull-UP) *1 /AD Ch3 /T16 EXCL1 Ch1 78 46 B9 P05/AIN2/ EXCL2 79 47 *4 VSS - - (-) 80 48 C7 AVDD - - (+) 81 49 A8 P06/AIN1/ EXCL3 82 50 B8 P07/AIN0/ EXCL4 83 51 B7 P10/SCL0/ SCL1 84 52 A7 P11/SDA0/ SDA1 I/O I(Pull-UP) *1 /AD Ch2 /T16 Ch2 I/O I(Pull-UP) *1 /AD Ch1 /T16E Ch0 I/O I(Pull-UP) *1 /AD Ch0 /T16E Ch1 I/O I(Pull-UP) *1 /I 2 C /I 2 C I/O I(Pull-UP) *1 /I 2 C /I 2 C 86 53 *4 VDD - - (+) 87 54 B6 P12/SENB/ I/O I(Pull-UP) *1 /RF/I 2 C #BFR 88 55 A6 P13/SENA/ SDA1 I/O I(Pull-UP) *1 /RF/I 2 C 89 56 B5 P14/REF/SCL1 I/O I(Pull-UP) *1 /RF/I 2 C 90 57 A5 P15/RFIN I/O I(Pull-UP) *1 /RF 91 - *4 VSS - - (-) 92 58 A4 P16/FOUT1 I/O I(Pull-UP) *1 /OSC1 94 59 B4 P17/SPICLK/ SCLK 95 60 C4 P20/SDO/ SOUT I/O I(Pull-UP) *1 /SPI /UART I/O I(Pull-UP) *1 /SPI /UART 96 61 C3 P21/SDI/SIN I/O I(Pull-UP) *1 /SPI /UART 1-8 Seiko Epson Corporation S1C17601 Technical Manual

1 PAD/ / No. CHIP TQFP VFBGA 98 62 B3 P22/#SPISS/ FOUTH 100 63 A3 P23/TOUT3/ SOUT 102 64 A2 P24/TOUTN3/ SIN/T8OUT *1: I/O I/O I(Pull-UP) *1 /SPI /HSCLK () I/O I(Pull-UP) *1 /T16E Ch0 PWM( )/UART I/O I(Pull-UP) *1 /T16E Ch0 PWM( )/UART /T8(OSC1) PWM *2: SEG0~15No. VFBGA SEG No. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 No. C2 D1 D2 D3 E3 E2 E1 F1 F2 F3 G1 G2 H1 H2 J2 G3 *3: COM7~0No. VFBGA COM No. 7 6 5 4 3 2 1 0 No. H3 J3 G4 H4 J4 G5 J5 H5 *4: VSSNo. C5, D4, D5, D6, E4, E5, E6, F4, F5, F6, F8 *5: VSSNo. B6, G8 *6: SEG0~15 PAD No. CHIP SEG No. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 PAD No. 6 8 10 12 14 16 18 20 22 24 26 28 29 30 32 34 *7: COM7~0 PAD No. CHIP COM No. 7 6 5 4 3 2 1 0 PAD No. 35 36 37 38 39 40 41 42 : VFBGA, CHIP NC pin S1C17601 Technical Manual Seiko Epson Corporation 1-9

2 CPU 2 CPU S1C17601 S1C17 S1C17 16 RISC 1 8 CPU S1C17 S1C17 Family S1C17 2.1 S1C17 16 RISC 0.35 0.15μm CMOS 16 111 184 1 24 C 24 8 24 2 8 1, 16M 24 16 32 NMI 32 HALT halt SLEEP slp 16 1632 1616 S1C17601 Technical Manual Seiko Epson Corporation 2-1

2 CPU 2.2 CPU S1C178 3 23 0 23 PC 7 SP 6 PSR 5 7 6 5 4 3 2 1 0 4 3 IL[2:0] IE C V Z N 2 1 0 2.2.1 R7 R6 R5 R4 R3 R2 R1 R0 0 2-2 Seiko Epson Corporation S1C17601 Technical Manual

2 CPU 2.3 S1C1716 1 S1C17 Family S1C17 2.3.1 S1C17 ld.b %rd,%rs ( ) () %rd,[%rb] %rd,[%rb]+ %rd,[%rb]- %rd,-[%rb] %rd,[%sp+imm7] %rd,[imm7] [%rb],%rs [%rb]+,%rs [%rb]-,%rs -[%rb],%rs [%sp+imm7],%rs ( ) () ( ) () ( ) () ( ) ( ) [imm7],%rs ( ) ld.ub %rd,%rs ( ) () %rd,[%rb] %rd,[%rb]+ %rd,[%rb]- %rd,-[%rb] %rd,[%sp+imm7] ( ) () ( ) () %rd,[imm7] ( ) () ld %rd,%rs (16 ) %rd,sign7 () %rd,[%rb] %rd,[%rb]+ %rd,[%rb]- %rd,-[%rb] %rd,[%sp+imm7] %rd,[imm7] [%rb],%rs [%rb]+,%rs [%rb]-,%rs -[%rb],%rs [%sp+imm7],%rs (16 ) (16 ) (16 ) (16 ) (16 ) [imm7],%rs (16 ) ld.a %rd,%rs (24 ) %rd,imm7 () %rd,[%rb] (32 ) (*1) %rd,[%rb]+ %rd,[%rb]- %rd,-[%rb] %rd,[%sp+imm7] (32 ) (*1) %rd,[imm7] (32 ) (*1) [%rb],%rs (32) (*1) [%rb]+,%rs [%rb]-,%rs -[%rb],%rs [%sp+imm7],%rs (32) (*1) [imm7],%rs (32) (*1) %rd,%sp SP %rd,%pc PC %rd,[%sp] (32 ) (*1) %rd,[%sp]+ %rd,[%sp]- %rd,-[%sp] S1C17601 Technical Manual Seiko Epson Corporation 2-3

2 CPU ld.a [%sp],%rs (32) (*1) [%sp]+,%rs [%sp]-,%rs -[%sp],%rs %sp,%rs (24 ) SP %sp,imm7 SP add %rd,%rs 16 add/c add/nc add %rd,imm7 (/c: C = 1, /nc: C = 0 ) 16 add.a %rd,%rs 24 add.a/c (/c: C = 1, /nc: C = 0 ) add.a/nc add.a %sp,%rs SP24 %rd,imm7 24 %sp,imm7 SP24 adc %rd,%rs 16 adc/c adc/nc adc %rd,imm7 (/c: C = 1, /nc: C = 0 ) 16 sub %rd,%rs 16 sub/c sub/nc sub %rd,imm7 (/c: C = 1, /nc: C = 0 ) 16 sub.a %rd,%rs 24 sub.a/c sub.a/nc sub.a %sp,%rs (/c: C = 1, /nc: C = 0 ) SP24 %rd,imm7 24 %sp,imm7 SP24 sbc %rd,%rs 16 sbc/c sbc/nc sbc %rd,imm7 (/c: C = 1, /nc: C = 0 ) 16 cmp %rd,%rs 16 cmp/c cmp/nc cmp %rd,sign7 (/c: C = 1, /nc: C = 0 ) 16 cmp.a %rd,%rs 24 cmp.a/c cmp.a/nc cmp.a %rd,imm7 (/c: C = 1, /nc: C = 0 ) 24 cmc %rd,%rs 16 cmc/c cmc/nc cmc %rd,sign7 (/c: C = 1, /nc: C = 0 ) 16 and %rd,%rs and/c and/nc and %rd,sign7 (/c: C = 1, /nc: C = 0 ) or %rd,%rs or/c or/nc or %rd,sign7 (/c: C = 1, /nc: C = 0 ) xor %rd,%rs xor/c xor/nc xor %rd,sign7 (/c: C = 1, /nc: C = 0 ) not %rd,%rs (1 ) not/c not/nc not %rd,sign7 (/c: C = 1, /nc: C = 0 ) (1 ) 2-4 Seiko Epson Corporation S1C17601 Technical Manual

2 CPU & sr %rd,%rs () %rd,imm7 ( ) sa %rd,%rs () %rd,imm7 ( ) sl %rd,%rs () %rd,imm7 ( ) swap %rd,%rs 16 ext imm13 cv.ab %rd,%rs 8 24 cv.as %rd,%rs 16 24 cv.al %rd,%rs 32 24 cv.la %rd,%rs 24 32 cv.ls %rd,%rs 16 32 sign10 jpr jpr.d jpa jpa.d jrgt jrgt.d jrge jrge.d jrlt jrlt.d jrle jrle.d jrugt jrugt.d jruge jruge.d jrult jrult.d jrule jrule.d jreq jreq.d jrne jrne.d call call.d calla calla.d ret ret.d PC %rb imm7 %rb sign7 PC :!Z &!(N ^ V) sign7 PC :!(N ^ V) sign7 PC : N ^ V sign7 PC : Z N ^ V sign7 PC :!Z &!C sign7 PC :!C sign7 PC : C sign7 PC : Z C sign7 PC : Z sign7 PC :!Z sign10 PC %rb imm7 %rb int imm5 intl imm5,imm3 reti reti.d brk retd nop halt HALT slp SLEEP ei di ld.cw %rd,%rs %rd,imm7 ld.ca %rd,%rs %rd,imm7 ld.cf %rd,%rs %rd,imm7 *1 ld.a 32 80 32 8 S1C17601 Technical Manual Seiko Epson Corporation 2-5

2 CPU %rs %rd [%rb] [%rb]+ [%rb]- -[%rb] %sp [%sp],[%sp+imm7] [%sp]+ [%sp]- -[%sp] imm3,imm5,imm7,imm13 sign7,sign10 2.3.2 () ( ) ( ) () ( ) ( ) ( ) ( ) 2-6 Seiko Epson Corporation S1C17601 Technical Manual

2 CPU 2.4 S1C17 6. ITC MISC_TTBRL MISC_TTBRH 0x5328 0x532a TTBR MISC_TTBRL/MISC_TTBRH 0x8000 MISC_TTBRL7 0 0 256 0x5328 0x532a: Vector Table Address Low/High Registers (MISC_TTBRL, MISC_TTBRH) Register name Address Bit Name Function Setting Init. R/W Remarks Vector Table 0x5328 D15 8 TTBR[15:8] Vector table base address A[15:8] 0x0 0xff 0x80 R/W Address Low Register (MISC_TTBRL) (16 bits) D7 0 TTBR[7:0] Vector table base address A[7:0] (fixed at 0) 0x0 0x0 R Vector Table Address High Register (MISC_TTBRH) 0x532a (16 bits) D15 8 reserved 0 when being read. D7 0 TTBR[23:16] Vector table base address A[23:16] 0x0 0xff 0x0 R/W : MISC_TTBRL/MISC_TTBRH MISC Protect Register 0x5324 0x96 MISC_TTBRL/MISC_TTBRH MISC Protect Register 0x5324 0x96 S1C17601 Technical Manual Seiko Epson Corporation 2-7

2 CPU 2.5 PSR S1C17601 S1C17 PSR Processor Status RegisterPSR Register 0x532c PSR PSR 0x532c: PSR Register (MISC_PSR) Register name Address Bit Name Function Setting Init. R/W Remarks PSR Register (MISC_PSR) 0x532c (16 bits) D15 8 reserved 0 when being read. D7 5 PSRIL[2:0] PSR interrupt level (IL) bits 0x0 to 0x7 0x0 R D4 PSRIE PSR interrupt enable (IE) bit 1 1 (enable) 0 0 (disable) 0 R D3 PSRC PSR carry (C) flag 1 1 (set) 0 0 (cleared) 0 R D2 PSRV PSR overflow (V) flag 1 1 (set) 0 0 (cleared) 0 R D1 PSRZ PSR zero (Z) flag 1 1 (set) 0 0 (cleared) 0 R D0 PSRN PSR negative (N) flag 1 1 (set) 0 0 (cleared) 0 R D[7:5] D4 D3 D2 D1 D0 PSRIL[2:0]: PSR Interrupt Level (IL) Bits PSR IL: 0x0 PSRIE: PSR Interrup Enable (IE) Bit PSR IE 1 R : 1 0 R : 0 PSRC: PSR Carry (C) Flag PSR C 1 R : 1 0 R : 0 PSRV: PSR Overflow (V) Flag PSR V 1 R : 1 0 R : 0 PSRZ: PSR Zero (Z) Flag PSR Z 1 R : 1 0 R : 0 PSRN: PSR Negative (N) Flag PSR N 1 R : 1 0 R : 0 2-8 Seiko Epson Corporation S1C17601 Technical Manual

2 CPU 2.6 S1C17601 Processor ID Register 0xffff84 CPU 0xffff84: Processor ID Register (IDIR) Register name Address Bit Name Function Setting Init. R/W Remarks Processor ID Register (IDIR) 0xffff84 (8 bits) D7 0 IDIR[7:0] Processor ID 0x10: S1C17 Core 0x10 0x10 R ID S1C17 ID 0x10 S1C17601 Technical Manual Seiko Epson Corporation 2-9

3, 3, 3.1 S1C17601 ( ) 0xff ffff 0xff fc00 0xff fbff 0x01 0000 0x00 ffff 0x00 8000 0x00 7fff 0x00 6000 0x00 5fff 0x00 5000 0x00 4fff 0x00 4400 0x00 43ff 0x00 4000 0x00 3fff 0x00 0800 0x00 07ff 0x00 07c0 0x00 0000 I/O (1K, 1) reserved Flash (32K, 1~5) ( : 16 ) reserved 2 (4K, 1) reserved 1 (1K, 1) reserved RAM (64 ) RAM (2K, 1) ( : 32 ) 0x5400~0x5fff reserved 0x53c0~0x53ff LCD 0x53a0~0x53bf R/F 0x5380~0x539f A/D 0x5360~0x537f PWM Ch.1 0x5340~0x535f reserved 0x5320~0x533f MISC 0x5300~0x531f PWM Ch.0 0x52c0~0x52ff reserved 0x52a0~0x52bf MUX 0x5280~0x529f reserved 0x5200~0x527f P 0x5140~0x51ff reserved 0x5120~0x513f 0x5100~0x511f SVD 0x50e0~0x50ff reserved 0x50c0~0x50df 8 OSC1 0x50a0~0x50bf LCD 0x5080~0x509f 0x5060~0x507f 0x5040~0x505f 0x5020~0x503f 0x5000~0x501f 0x4380~0x43ff reserved 0x4360~0x437f I 2 C 0x4340~0x435f I 2 C 0x4320~0x433f SPI 0x42c0~0x431f 0x4280~0x42ff reserved 0x4260~0x427f 16 Ch.2 0x4240~0x425f 16 Ch.1 0x4220~0x423f 16 Ch.0 0x4200~0x421f 8 0x4120~0x41ff reserved 0x4100~0x411f UART 0x4040~0x40ff reserved 0x4020~0x403f 0x4000~0x401f reserved (16 ) (16 ) (16 ) (16 ) (16 ) (16 ) (8 ) (8 ) (8 ) (8 ) (8 ) (8 ) (8 ) (8 ) (8 ) (8 ) (8 ) (16 ) (16 ) (16 ) (16 ) (16 ) (16 ) (16 ) (16 ) (8 ) (8 ) 3.1 S1C17601 S1C17601 Technical Manual Seiko Epson Corporation 3-1

3, 3.1 CPU CCLK CCLK 8.2 CPU CCLK CCLK 1 CCLK 13.1 1 CPU 3.1.1 CPU 8 8 1 16 2 32 * 4 16 8 1 16 1 32 * 2 32 8 1 16 1 32 * 1 * 32 8 32 80 8 PSR 8 24 32/ 3.1.1 Flash Flash 16 81632 3.1.2 Flash Flash RAM RAM 3-2 Seiko Epson Corporation S1C17601 Technical Manual

3, 3.2 Flash 3.2.1 Flash 0x80000xffff 32KFlash4K 8 0x8000 2.4 MISC_TTBRL/MISC_TTBRH 0x5328 0x532a Flash 1 5 3.2.2 Flash S1C17601 FlashICD S5U1C17001H / 16 Flash Appendix B Flash 2 : 3.2.2.1 Flash S1C17601 Flash 0xf000~0xffff 7 0xe000~0xefff 6 0xd000~0xdfff 5 0xc000~0xcfff 4 0xb000~0xbfff 3 0xa000~0xafff 2 0x9000~0x9fff 1 0x8000~0x8fff 0 : 7 320xfffc 0xffff 3.2.3 Flash 2 16K 0x0000 CPU 0 S1C17601 Technical Manual Seiko Epson Corporation 3-3

3, 0xfffc 0xfffe: Flash Protect Bits Address Bit Function Setting Init. R/W Remarks 0xfffc (16 bits) 0xfffe (16 bits) D15 2 reserved D1 Flash write-protect bit for 0x0c000 0x0ffff 1 Writable 0 Protected 1 R/W D0 Flash write-protect bit for 0x08000 0x0bfff 1 Writable 0 Protected 1 R/W D15 2 reserved D1 Flash data-read-protect bit for 0x0c000 0x0ffff 1 Readable 0 Protected 1 R/W D0 reserved 1 1 R/W 1 :.data.rodata 0xfffe D0 1 0 3.2.4 Flash S1C17601 FlashFlash MISC Flash Flash CCLK FLCYC[2:0] D[2:0]/MISC_FL 0x5320: FLASHC Control Register (MISC_FL) Register name Address Bit Name Function Setting Init. R/W Remarks FLASHC/ SRAMC Control Register (MISC_FL) 0x5320 (16 bits) D15 10 reserved 0 when being read. D9 8 reserved 0x3 D7 3 reserved 0 when being read. D2 0 FLCYC[2:0] FLASHC read access cycle FLCYC[2:0] Read cycle 0x3 R/W 0x7 0x5 0x4 0x3 0x2 0x1 0x0 reserved 1 cycles 5 cycles 4 cycles 3 cycles 2 cycles D[2:0] FLCYC[2:0]: FLASHC Read Access Cycle Setup Bits Flash 3.2.4.1 Flash FLCYC[2:0] CCLK 0x7 0x5 Reserved 0x4 1 8.2MHz max. 0x3 5 8.2MHz max. 0x2 4 8.2MHz max. 0x1 3 8.2MHz max. 0x0 2 8.2MHz max. : 0x3 : CCLK FLCYC[2:0]=0x4 3-4 Seiko Epson Corporation S1C17601 Technical Manual

3, 3.3 RAM 3.3.1 RAM 0x00x7ff 2KRAMRAM/ 1RAM : RAM 640x7c0 0x7ff S1C17601 RAM 2KB 1KB 512B S1C17601 ROM RAM RAM IRAMSZ[2:0] D[2:0]/MISC_IRAMSZ RAM2KB 0x5326: IRAM Size Select Register (MISC_IRAMSZ) Register name Address Bit Name Function Setting Init. R/W Remarks IRAM Size 0x5326 D15 3 reserved 0 when being read. Select Register (16 bits) D8 DBADR Debug base address select 1 0x0 0 0xfffc00 0 R/W (MISC_IRAMSZ) D6 4 IRAMACTSZ IRAM actual size register 0x3:2KB 0x3 R [2:0] D2 0 IRAMSZ[2:0] IRAM size select IRAMSZ[2:0] Read cycle 0x3 R/W 0x7 0x6 0x5 0x4 0x3 0x2 0x1 0x0 reserved reserved 512B 1KB 2KB reserved reserved reserved D[6:4] D[2:0] IRAMACTSZ[2:0]: IRAM Actual Size Bits RAM IRAMSZ[2:0]: IRAM Size Select Bits RAM 3.3.1.1 RAM IRAMSZ[2:0] RAM 0x7 reserved 0x6 reserved 0x5 512B 0x4 1KB 0x3 2KB 0x2 reserved 0x1 reserved 0x0 reserved : 0x3 : IRAM Size Select Register MISC Protect Register 0x5324 0x96 IRAM Size Select Register MISC Protect Register 0x5324 0x96 S1C17601 Technical Manual Seiko Epson Corporation 3-5

3, 3.4 RAM 3.4.1 RAM 0x53c00x53d3 20 LCDRAM 16 RAM 1 RAM 22.5 3-6 Seiko Epson Corporation S1C17601 Technical Manual

3, 3.5 0x4000 1K 0x5000 4K I/O 3.5.1 1 0x4000~ 0x40001I/O 1 PSC, 8 UART UART, 8 8 T8F, 16 16 T16, 16 ITC, 16 SPI SPI, 16 I 2 CI2C, 16 I 2 C I2C, 16 3.5.2 2 0x5000~ 0x50002I/O 1 CT, 8 SWT, 8 WDT, 8 OSC, 8 CLG, 8 LCD LCD, 8 8 OSC1 PWMT8OSC1, 8 SVD SVD, 8 VD1, 8 & MUX P, 8 PWMT16E, 16 MISC MISC, 16 A/DADC10, 16 R/FRFC, 16 LCD SEGRAM, 16 S1C17601 Technical Manual Seiko Epson Corporation 3-7

3, 3.6 I/O 0xfffc00 0xffffff 1KCPU I/O I/O 3.6.1 I/O I/O S1C17 I/O 0xffff84 IDIR Processor ID Register ID 0xffff90 DBRAM Debug RAM Base Register RAM 0xffffa0 DCR Debug Control Register 0xffffb8 IBAR2 Instruction Break Address Register 2 #2 0xffffbc IBAR3 Instruction Break Address Register 3 #3 0xffffd0 IBAR4 Instruction Break Address Register 4 #4 IDIR 2.6 26 DBG S1C17 S1C17 3-8 Seiko Epson Corporation S1C17601 Technical Manual

4 4 4.1 S1C17601 : 1.8V 3.6V Flash: 2.7V 3.6V VSS GND VDD S1C17601 TQFP13-64pin 2 VDD 1 VSSVFBGA8H-81 2 VDD 11 VSS + GND (AVDD) A/D AVDD AVDD VSS GND AVDD VDD AVDD = VDDE, VSS = GND : AVDD VDD A/D S1C17601 Technical Manual Seiko Epson Corporation 4-1

4 4.2 S1C17601 4.2.1 IC 2 4.2.1 VD1 LCD LCD VC1 VC3 VDD VD1 VD1MD HVLD VD1 OSC1, OSC2 OSC3, OSC4 VDD VC1 VC2 VC3 CA CB LCD VC1~VC3 LHVLD LCD COM0~COM7 SEG0~SEG15 VSS VCSEL 4.2.1 : VD1 VC1 VC3 VD1 VD1 1.8V Flash 2.5V LCD LCD LCD 1/3 VC1 VC2 VC3 S1C17601 LCD LCD / LCD VDD VCSEL 4.2.2 LVDD VCSEL VDD VCSEL 1.8 2.5V 0 2.5 3.6V 1 : VDD 2.5V VCSEL 1 VC1 VC3 4-2 Seiko Epson Corporation S1C17601 Technical Manual

4 4.3 S1C17601 2 1. VDD = 1.8 3.6V VD1 = 1.8V 2. Flash / Flash/ VDD = 2.7 3.6V VD1 = 2.5V VD1 VD1MD D0/VD1_CTL VD1MD 0 VD1 = 1.8V Flash / VD1MD 1 * VD1MD: Flash Erase/Program Mode Bit in the VD1 Control (VD1_CTL) Register (D0/0x5120) : 5ms max. Flash LCD LCDVC1 VC3 DSPC[1:0] D[1:0]/LCD_DCTL 0x0 Off LCD * DSPC[1:0]: LCD Display Control Bits in the LCD Display Control (LCD_DCTL) Register (D[1:0]/0x50a0) LCD LCD Off DSPC[1:0]0 4.3.1 4.3.1 VDD LCD VD1MD VCSEL DSPC[1:0] 1.8 2.5V 0 0 0x0 2.5 3.6V 0 1 0x0 1.8 3.6V 0 0 0x0 Flash / 1.8 2.7V () 2.7 3.6V 1 1 0x0 2.7 3.6V 1 0 0x0 DSPC[1:0] 22.8 0x50a0: LCD Display Control Register (LCD_DCTL) S1C17601 Technical Manual Seiko Epson Corporation 4-3

4 4.4 LCD LCD HVLD D5/VD1_CTL 1 VD1 10μsec HALT/SLEEP : * HVLD: VD1 Heavy Load Protection Mode Bit in the VD1 Control (VD1_CTL) Register (D5/0x5120) LCD LHVLD D4/LCD_VREG 1 VC1 VC3 * LHVLD: LCD Heavy Load Protection Mode Bit in the LCD Voltage Regulator Control (LCD_VREG) Register (D4/0x50a3) : 4-4 Seiko Epson Corporation S1C17601 Technical Manual

4 4.5 4.5.1 0x5120 VD1_CTL VD1 Control Register VD1 0x50a3 LCD_VREG LCD Voltage Regulator Control Register LCD 8 : Reserved 0 1 S1C17601 Technical Manual Seiko Epson Corporation 4-5

4 0x5120: VD1 Control Register (VD1_CTL) Register name Address Bit Name Function Setting Init. R/W Remarks VD1 Control Register (VD1_CTL) D[7:6] D5 D[4:1] D0 0x5120 (8 bits) Reserved D7 6 reserved 0 when being read. D5 HVLD VD1 heavy load protection mode 1 On 0 Off 0 R/W D4 reserved 0 R/W D3 1 reserved 0 when being read. D0 VD1MD Flash erase/program mode 1 Flash (2.5 V) 0 Norm.(1.8 V) 0 R/W HVLD: VD1 Heavy Load Protection Mode Bit 1 R/W : On 0 R/W : Off HVLD 1 VD1 Reserved VD1MD: Flash Erase/Program Mode Bit VD1 1 R/W : VD1 = 2.5V Flash / 0 R/W : VD1 = 1.8V VD1MD 0 VD1 = 1.8V Flash / VD1MD 1 : 5ms max. Flash 4-6 Seiko Epson Corporation S1C17601 Technical Manual

4 0x50a3: LCD Voltage Regulator Control Register (LCD_VREG) Register name Address Bit Name Function Setting Init. R/W Remarks LCD Voltage Regulator Control Register (LCD_VREG) 0x50a3 (8 bits) D7 5 reserved 0 when being read. D4 LHVLD LCD heavy load protection mode 1 On 0 Off 0 R/W D3 1 reserved 0 when being read. D0 VCSEL Power source select for LCD voltage regulator 1 VC = 2V 0 VC = 1V 0 R/W D[7:5] D4 D[3:1] D0 Reserved LHVLD: LCD Heavy Load Protection Mode Bit LCD 1 R/W : On 0 R/W : Off LCD LHVLD 1 VC1 VC3 Reserved VCSEL: Power Source Select for LCD Voltage Regulator VDD 1 R/W : VDD 2.5 3.6V 0 R/W : VDD 1.8 2.5V S1C17601 Technical Manual Seiko Epson Corporation 4-7

4 4.6 VD1 VC1 VC3 VDD 2.5V VCSEL 1 VC1 VC3 Flash / 5ms max. Flash 4-8 Seiko Epson Corporation S1C17601 Technical Manual

5 5 5.1 S1C17601 3 1 #RESET 2 P0P00 P03 3 5.1.1 VDD S Q #RESET R P00 P01 P02 P03 P0KRST WDTMD 5.1.1 CPU CPU 5.1.1 #RESET #RESET Low S1C17601 #RESET Low 28.4 #RESET Low HighCPU #RESET S1C17601 Technical Manual Seiko Epson Corporation 5-1

5 5.1.2 P0 P00 P03 Low P0KRST[1:0] D[1:0]/P0_KRST * P0KRST[1:0]: P0 Port Key-Entry Reset Configuration Bits in the P0 Port Key-Entry Reset Configuration (P0_KRST) Register (D[1:0]/0x5209) 5.1.2.1 P0 P0KRST[1:0] 0x3 0x2 0x1 0x0 P00, P01, P02, P03 P00, P01, P02 P00, P01 P0KRST[1:0] 0x3P00 P03 4 Low : P0Low P0 5.1.3 S1C17601 CPU 4 CPU NMI WDTMD D1/WDT_ST 1WDTMD 0NMI * WDTMD: NMI/Reset Mode Select Bit in the Watchdog Timer Status (WDT_ST) Register (D1/0x5041) 17 WDT : 4 5-2 Seiko Epson Corporation S1C17601 Technical Manual

5 5.2 #RESETCPU 5.2.1 CPU IOSC CR * fiosc: IOSC : SLEEP IOSC #RESET 5.2.1 S1C17601 Technical Manual Seiko Epson Corporation 5-3

5 5.3 CPU R0 R7: 0x0 PSR: 0x0 = 0 SP: 0x0 PC: RAM Appendix I/O 5-4 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 6 ITC 6.1 ITC ITC / 6.1.1 S1C17 NMI 6.1.1 S1C17601 Technical Manual Seiko Epson Corporation 6-1

6 ITC 6.2 S1C17 MISC_TTBRL MISC_TTBRH 0x5328 0x532a 2.4 6.2.1 TTBR MISC_TTBRL/MISC_TTBRH 0x8000 6.2.1 S1C17601 6.2.1 1 No./ No. 0 (0x00) TTBR + 0x00 #RESETLow *2 1 (0x01) TTBR + 0x04 2 (0xfffc00) brk 3 2 (0x02) TTBR + 0x08 NMI *2 4 3 (0x03) TTBR + 0x0c C reserved C 4 (0x04) TTBR + 0x10 P0 P00~P07 *1 5 (0x05) TTBR + 0x14 P1 P10~P17 6 (0x06) TTBR + 0x18 100Hz 10Hz 1Hz 7 (0x07) TTBR + 0x1c 32Hz 8Hz 2Hz 1Hz 8 (0x08) TTBR + 0x20 8 OSC1 9 (0x09) TTBR + 0x24 SVD 10 (0x0a) TTBR + 0x28 LCD 11 (0x0b) TTBR + 0x2c PWM Ch.0 A B 12 (0x0c) TTBR + 0x30 8 13 (0x0d) TTBR + 0x34 16 Ch.0 14 (0x0e) TTBR + 0x38 16 Ch.1 15 (0x0f) TTBR + 0x3c 16 Ch.2 16 (0x10) TTBR + 0x40 UART 17 (0x11) TTBR + 0x44 I 2 C I 2 C I 2 C I 2 C 18 (0x12) TTBR + 0x48 SPI 19 (0x13) TTBR + 0x4c I 2 C 20 (0x14) TTBR + 0x50 PWM Ch.1 A B 21 (0x15) TTBR + 0x54 reserved 22 (0x16) TTBR + 0x58 A/D 23 (0x17) TTBR + 0x5c R/F A B 24 (0x18) TTBR + 0x60 reserved : : : : 31 (0x1f) TTBR + 0x7c reserved *1 *1 *2 NMI 4 20, 22 23 S1C17601 6-2 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 6.3 6.3.1 1 1 ITC S1C17 0 1ITC 1 ITC1 reti 6.3.2 ITC ITC S1C17 6.2.1ITC S1C17 ILPSR S1C17 6.3.3 ITC0 0 S1C17 ITC 07 6.3.2.1 P0 ILV0[2:0] D[2:0]/ITC_LV0 0x4306 P1 ILV1[2:0] D[10:8]/ITC_LV0 0x4306 ILV2[2:0] D[2:0]/ITC_LV1 0x4308 ILV3[2:0] D[10:8]/ITC_LV1 0x4308 8 OSC1 ILV4[2:0] D[2:0]/ITC_LV2 0x430a SVD ILV5[2:0] D[10:8]/ITC_LV2 0x430a LCD ILV6[2:0] D[2:0]/ITC_LV3 0x430c PWM Ch.0 ILV7[2:0] D[10:8]/ITC_LV3 0x430c 8 ILV8[2:0] D[2:0]/ITC_LV4 0x430e 16 Ch.0 ILV9[2:0] D[10:8]/ITC_LV4 0x430e 16 Ch.1 ILV10[2:0] D[2:0]/ITC_LV5 0x4310 16 Ch.2 ILV11[2:0] D[10:8]/ITC_LV5 0x4310 UART ILV12[2:0] D[2:0]/ITC_LV6 0x4312 I 2 C ILV13[2:0] D[10:8]/ITC_LV6 0x4312 SPI ILV14[2:0] D[2:0]/ITC_LV7 0x4314 I 2 C ILV15[2:0] D[10:8]/ITC_LV7 0x4314 PWM Ch.1 ILV16[2:0] D[2:0]/ITC_LV8 0x4316 reserved ILV17[2:0] D[10:8]/ITC_LV8 0x4316 A/D ILV18[2:0] D[2:0]/ITC_LV9 0x4318 R/F ILV19[2:0] D[10:8]/ITC_LV9 0x4318 S1C17601 Technical Manual Seiko Epson Corporation 6-3

6 ITC ITC ITC S1C17 1. 2. S1C17 ITC S1C17 S1C17 ITC 6.3.3 S1C17 S1C17 PSR S1C17IE 1 PSR IL NMI 1 S1C17 S1C17 S1C17 1 PSRPC 2 PSR IE0 3 PSR IL NMI 4PC 2 IE1 3 IL reti PSR 6-4 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 6.4 NMI S1C17601 NMI NMI 2 + 8 S1C17 NMI 17 WDT S1C17601 Technical Manual Seiko Epson Corporation 6-5

6 ITC 6.5 S1C17 int imm5 intl imm5,imm3 imm5 0 31 intl imm3 PSR IL 0 7 6-6 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 6.6 HALT, SLEEP HALT SLEEP CPU ITC CPU NMI ITC CPU HALT SLEP CPU halt slp ITC HALT SLEP Appendix C C.1 S1C17601 Technical Manual Seiko Epson Corporation 6-7

6 ITC 6.7 6.7.1 ITC 0x4306 ITC_LV0 Interrupt Level Setup Register 0 P0 P1 0x4308 ITC_LV1 Interrupt Level Setup Register 1 SWT CT 0x430a ITC_LV2 Interrupt Level Setup Register 2 T8OSC1 SVD 0x430c ITC_LV3 Interrupt Level Setup Register 3 LCD T16E Ch.0 0x430e ITC_LV4 Interrupt Level Setup Register 4 T8F T16 Ch.0 0x4310 ITC_LV5 Interrupt Level Setup Register 5 T16 Ch.1 Ch.2 0x4312 ITC_LV6 Interrupt Level Setup Register 6 UART I 2 C 0x4314 ITC_LV7 Interrupt Level Setup Register 7 SPI I 2 C 0x4316 ITC_LV8 Interrupt Level Setup Register 8 T16E Ch.1 0x4318 ITC_LV9 Interrupt Level Setup Register 9 A/D R/F ITC 16 : Reserved 0 1 6-8 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 0x4306: Interrupt Level Setup Register 0 (ITC_LV0) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x4306 Setup Register 0 (16 bits) (ITC_LV0) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV1[2:0] P1 interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV0[2:0] P0 interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV1[2:0]: P1 Port Interrupt Level Bits P10 7 : 0 S1C17PSR IL ITC ITC ITC_LVx 0x4306 0x4318 S1C17 S1C17 ITC S1C17 S1C17 ITC Reserved ILV0[2:0]: P0 Port Interrupt Level Bits P00 7 : 0 ILV1[2:0] D[10:8] S1C17601 Technical Manual Seiko Epson Corporation 6-9

6 ITC 0x4308: Interrupt Level Setup Register 1 (ITC_LV1) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x4308 Setup Register 1 (16 bits) (ITC_LV1) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV3[2:0] CT interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV2[2:0] SWT interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV3[2:0]: Clock Timer Interrupt Level Bits 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV2[2:0]: Stopwatch Timer Interrupt Level Bits 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] 6-10 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 0x430a: Interrupt Level Setup Register 2 (ITC_LV2) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x430a Setup Register 2 (16 bits) (ITC_LV2) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV5[2:0] SVD interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV4[2:0] T8OSC1 interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV5[2:0]: SVD Interrupt Level Bits SVD 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV4[2:0]: 8-bit OSC1 Timer Interrupt Level Bits 8 OSC10 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] S1C17601 Technical Manual Seiko Epson Corporation 6-11

6 ITC 0x430c: Interrupt Level Setup Register 3 (ITC_LV3) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x430c Setup Register 3 (16 bits) (ITC_LV3) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV7[2:0] T16E Ch.0 interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV6[2:0] LCD interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV7[2:0]: PWM & Capture Timer Ch.0 Interrupt Level Bits PWM Ch.0 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV6[2:0]: LCD Interrupt Level Bits LCD 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] 6-12 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 0x430e: Interrupt Level Setup Register 4 (ITC_LV4) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x430e Setup Register 4 (16 bits) (ITC_LV4) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV9[2:0] T16 Ch.0 interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV8[2:0] T8F interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV9[2:0]: 16-bit Timer Ch.0 Interrupt Level Bits 16 Ch.0 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV8[2:0]: 8-bit Timer Interrupt Level Bits 8 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] S1C17601 Technical Manual Seiko Epson Corporation 6-13

6 ITC 0x4310: Interrupt Level Setup Register 5 (ITC_LV5) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x4310 Setup Register 5 (16 bits) (ITC_LV5) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV11[2:0] T16 Ch.2 interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV10[2:0] T16 Ch.1 interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV11[2:0]: 16-bit Timer Ch.2 Interrupt Level Bits 16 Ch.2 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV10[2:0]: 16-bit Timer Ch.1 Interrupt Level Bits 16 Ch.1 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] 6-14 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 0x4312: Interrupt Level Setup Register 6 (ITC_LV6) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x4312 Setup Register 6 (16 bits) (ITC_LV6) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV13[2:0] I 2 C (slave) interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV12[2:0] UART interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV13[2:0]: I 2 C (slave) Interrupt Level Bits I 2 C slave 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV12[2:0]: UART Interrupt Level Bits UART Ch.0 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] S1C17601 Technical Manual Seiko Epson Corporation 6-15

6 ITC 0x4314: Interrupt Level Setup Register 7 (ITC_LV7) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x4314 Setup Register 7 (16 bits) (ITC_LV7) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV15[2:0] I 2 C (master) interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV14[2:0] SPI interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV15[2:0]: I 2 C (master) Interrupt Level Bits I 2 C 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV14[2:0]: SPI Interrupt Level Bits SPI 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] 6-16 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 0x4316: Interrupt Level Setup Register 8 (ITC_LV8) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x4316 Setup Register 8 (16 bits) (ITC_LV8) D15 3 reserved 0 when being read. D2 0 ILV16[2:0] T16E Ch.1 interrupt level 0 to 7 0x0 R/W D[15:3] D[2:0] Reserved ILV16[2:0]: PWM & Capture Timer Ch.1 Interrupt Level Bits PWM Ch.1 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] S1C17601 Technical Manual Seiko Epson Corporation 6-17

6 ITC 0x4318: Interrupt Level Setup Register 9 (ITC_LV9) Register name Address Bit Name Function Setting Init. R/W Remarks Interrupt Level 0x4318 Setup Register 9 (16 bits) (ITC_LV9) D[15:11] Reserved D15 11 reserved 0 when being read. D10 8 ILV19[2:0] R/F converter interrupt level 0 to 7 0x0 R/W D7 3 reserved 0 when being read. D2 0 ILV18[2:0] A/D converter interrupt level 0 to 7 0x0 R/W D[10:8] D[7:3] D[2:0] ILV19[2:0]: R/F Converter Interrupt Level Bits R/F 0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] Reserved ILV18[2:0]: A/D Convertere Interrupt Level Bits A/D0 7 : 0 ITC_LV0 0x4306 ILV1[2:0] D[10:8] 6-18 Seiko Epson Corporation S1C17601 Technical Manual

6 ITC 6.8 PSR reti S1C17601 Technical Manual Seiko Epson Corporation 6-19

7 OSC 7 OSC 7.1 OSC S1C17601 3IOSC OSC3 OSC1 IOSC OSC3 S1C17 OSC1 IOSC On/Off IOSC/OSC3 OSC1 7.1.1 OSC OSC3 OSC4 FOUTH OSC1 OSC2 SLEEP, On/Off IOSC OSC3 SLEEP, On/Off FOUTH On/Off SLEEP, On/Off OSC1 wakeup wakeup (1/1~1/4) OSC HSCLK IOSC HSCLK OSC3 OSC1 (1/1~1/8) On/Off HALT HALT CLG PSC CCLK BCLK PCLK S1C17, RAM, Flash, LCD T16, T8F, UART, SPI, I2C( ), T16E, P, MISC, VD1, SVD, ADC, I2C() FOUT1 RESET NMI FOUT1 On/Off On/Off S1C17 S1C17 OSC1 On/Off (1/128) (1/1~1/32) (1/1~1/16K) T8F, T16, T16E, P, UART, SPI, I2C( ), ADC CLK_256Hz CT, SWT, WDT T8OSC1 On/Off On/Off HSCLK (1/512) OSC1 SVD On/Off HSCLK (1/32~1/512) LCLK LCD OSC1 On/Off HSCLK (1/1~1/8) RFC OSC1 On/Off 7.1.1 OSC Appendix C S1C17601 Technical Manual Seiko Epson Corporation 7-1

7 OSC 7.2 IOSC IOSC S1C17 7.2.1 IOSC fiosc IOSC On/Off IOSC IOSCEN D2/OSC_CTL 0 1 IOSC SLEEP * IOSCEN: IOSC Enable Bit in the Oscillation Control (OSC_CTL) Register (D2/0x5061) IOSCEN 1 IOSC On IOSC S1C17 IOSC IOSC IOSCSLEEP IOSC On IOSCIOSC 7.2.2 fiosc3/fosc3/fosc1 7.2.2 IOSC IOSCWT[1:0] D[7:6]/OSC_CTL 4 * IOSCWT[1:0]: IOSC Wait Cycle Select Bits in the Oscillation Control (OSC_CTL) Register (D[7:6]/0x5061) 7.2.1 IOSC IOSCWT[1:0] 0x3 8 0x2 16 0x1 32 0x0 64 : 0x0 64 IOSC CPU 28 CPU IOSC max. IOSC 64 VDD IOSCWT[1:0] 0x3 IOSC IOSC max. IOSC 7-2 Seiko Epson Corporation S1C17601 Technical Manual

7 OSC 7.3 OSC3 OSC3IOSC 7.3.1 OSC3 CG3 Rf3 OSC3 X'tal3 or Ceramic RD3 OSC3EN SLEEP fosc3 OSC3WT[1:0] VSS CD3 OSC4 7.3.1 OSC3 OSC3 OSC4 X'tal3 Ceramic Rf OSC3 OSC4 VSS2 CG3 CD3 OSC3 On/Off OSC3 OSC3EN D0/OSC_CTL 0 1 OSC3 SLEEP * OSC3EN: OSC3 Enable Bit in the Oscillation Control (OSC_CTL) Register (D0/0x5061) OSC3EN 0 OSC3 IOSC OSC3 On/Off 7.5 OSC3 OSC3SLEEP OSC3 On OSC3OSC3 OSC3 OSC3WT[1:0] D[5:4]/OSC_CTL 4 * OSC3WT[1:0]: OSC3 Wait Cycle Select Bits in the Oscillation Control (OSC_CTL) Register (D[5:4]/0x5061) 7.3.1 OSC3 OSC3WT[1:0] 0x3 128 0x2 256 0x1 512 0x0 1024 : 0x0 1024 OSC3 OSC3 On OSC3OSC3 OSC3 28 OSC3 OSC3 max. OSC3 : OSC3 OSC3 OSC3 VSS 28 S1C17601 Technical Manual Seiko Epson Corporation 7-3

7 OSC OSC3 OSC3 OSC4 : OSC3 OSC4 OSC3EN D0/OSC_CTL 0 7-4 Seiko Epson Corporation S1C17601 Technical Manual

7 OSC 7.4 OSC1 OSC1 32.768kHz OSC1 8 OSC1 IOSC OSC3 7.4.1 OSC1 CG1 X'tal1 OSC1 Rf1 RD1 CD1 OSC1EN SLEEP fosc1 VSS OSC2 VSS 7.4.1 OSC1 OSC1 OSC2 X'tal1 Typ. 32.768kHz OSC1 VSS CG1 0 25pF OSC1 On/Off OSC1 OSC1EN D1/OSC_CTL 0 1 OSC1 SLEEP * OSC1EN: OSC1 Enable Bit in the Oscillation Control (OSC_CTL) Register (D1/0x5061) OSC1EN 0 OSC1 OSC1 SLEEP OSC1 OnOSC1 OSC1 OSC1 256 28 OSC OSC1 max. OSC1 OSC1 OSC1 OSC2 : OSC1 OSC2 OSC1EN D1/OSC_CTL 0 S1C17601 Technical Manual Seiko Epson Corporation 7-5

7 OSC 7.5 S1C17601 HSCLK OSC1-HSCLK 2 7.5.1 HSCLKSEL CLKSRC IOSC HSCLK OSC3 OSC1 7.5.1 HSCLK S1C17601 HSCLK IOSC OSC3 2 IOSC On IOSC HSCLK OSC3 HSCLK OSC3 On7.3 HSCLKSEL D1/OSC_ SRC 1 IOSC HSCLK IOSC On 7.2HSCLKSEL 0 * HSCLKSEL: High-speed Clock Select Bit in the Clock Source Select (OSC_SRC) Register (D1/0x5060) : HSCLK IOSC OSC3On On HSCLKSEL HSCLK HSCLKSEL OSC1 HSCLK S1C17601 OSC1 OSC1 HSCLK HSCLK OSC1OSC1 On7.4 CLKSRC D0/OSC_SRC 1 HSCLK HSCLK SRCSRC 0 OSC1 HSCLK HSCLK OSC1 HSCLK 1 OSC1 1 * CLKSRC: System Clock Source Select Bit in the Clock Source Select (OSC_SRC) Register (D0/0x5060) : OSC1_HSCLK OSC1 HSCLK CLKSRC CLKSRC OSC1-HSCLK 7.5.1 7-6 Seiko Epson Corporation S1C17601 Technical Manual