S1C17701 CMOS 16-bit Single Chip Microcontroller Low Power MCU (operating voltage 1.8 V, 1 A/SLEEP, 2.6 A/HALT) S1C17 High Performance 16-bit RISC CPU Core with C Optimized Compact Code and Serial ICE Support High Quality and Stable Display LCD Driver with Voltage Booster (56 SEG x 32 COM, supports grayscale) Infrared Remote Controller with Carrier Generator 64K-Byte Flash Memory and 4K-Byte RAM DESCRIPTIONS The S1C17701 is a 16-bit MCU that features high-speed operation, low power consumption, small size, large address space, and on-chip ICE. The S1C17701 consists of an S1C17 CPU Core, a 64K-byte Flash memory, a 4K-byte RAM, serial interface modules (UART that supports high bit rate and IrDA 1.0, SPI and I 2C) for connecting various sensor modules, 8-bit timers, 16-bit timers, a PWM & capture timer, a clock timer, a stopwatch timer, a watchdog timer, 28 GPIO ports, an LCD driver with 56-segment x 32-common outputs and a voltage booster, a supply voltage detector, 32 kHz (typ.) and 8.2 MHz (max.) oscillators, and a voltage regulator for generating the 1.8 V internal voltage. The S1C17701 is capable of high-speed operation (8.2 MHz) with low operating voltage (1.8 V). Its 16-bit RISC processor executes one instruction in 1.5 clock cycles. The S1C17701 also provides an on-chip ICE function that allows on-board erasing/ programming of the embedded Flash memory, on-board debugging and evaluating the program by connecting the S1C17701 to the serial ICD Mini (S5U1C17001H) with only three wires. The S1C17701 is suitable for battery driven applications with sensor interfaces and up to 56 x 32-dot LCD display, such as remote controllers and sports watches. This product uses SuperFlash (R) Technology licensed from Silicon Storage Technology, Inc. FEATURES CPU ................................................. * Seiko Epson original 16-bit RISC CPU core S1C17 Main (OSC3) oscillator * Crystal/ceramic oscillator 8.2 MHz (max.) or CR oscillator 2.2 MHz (max.) Sub (OSC1) oscillator.................... * Crystal oscillator 32.768 kHz (typ.) On-chip Flash memory .................. * * * * 64K bytes (for instructions and data) 1,000 erase/program cycles Read/program protection On-board programming by a debugging tool such as ICD Mini (S5U1C17701H) and self-programming by software control On-chip RAM .................................. * 4K bytes On-chip display RAM..................... * 576 bytes I/O ports ......................................... * Max. 28 general-purpose I/O ports (Pins are shared with the peripheral I/O.) Serial interfaces............................. * * * * SPI (master/slave) I 2C (master) UART (115200 bps, IrDA 1.0) Remote controller (REMC) 1 1 1 1 Timers ............................................. * * * * * * * LCD driver....................................... * * 8-bit timer (T8F) 16-bit timer (T16) PWM & capture timer (T16E) Clock timer (CT) Stopwatch timer (SWT) Watchdog timer (WDT) 8-bit OSC1 timer (T8OSC1) 56 SEG x 32 COM or 72 SEG Built-in voltage booster 1 ch. 3 ch. 1 ch. 1 ch. 1 ch. 1 ch. 1 ch. x 16 COM (1/5 bias) ch. ch. ch. ch. Supply voltage detector (SVD)..... * 13 programmable detection levels (1.8 V to 2.7 V) Interrupts ........................................ * Reset * NMI * 16 programmable interrupts (8 levels) SEIKO EPSON CORPORATION S1C17701 Power supply voltage.....................* 1.8 V to 3.6 V (for normal (low-power) operation with the 1.8 V internal voltage) * 2.7 V to 3.6 V (for Flash erasing/programming with the 2.5 V internal voltage) Operating temperature ...................* -20C to 70C Current consumption (typ.) ...........* SLEEP state: 1 A * HALT state: 2.6 A (32 kHz OSC1 crystal oscillator, LCD off) * Run state: 14 A (32 kHz OSC1 crystal oscillator, LCD off) 1800 A (8 MHz OSC3 ceramic oscillator, LCD off) Shipping form..................................* TQFP24-144pin plastic package (16 mm x 16 mm x 1.0 mm, lead pitch: 0.4 mm) * Chip BLOCK DIAGRAM DCLK, DST2, DSIO(P31-33) CPU Core S1C17 Internal RAM (4K bytes) TEST1-3 I/O 2 (0x5000-) Power generator Flash memory (64K bytes) SVD circuit Display RAM (576 bytes) LCD driver #RESET Test circuit Interrupt system #TEST Reset circuit I/O 1 (0x4000-) 2 Oscillator/ Clock generator 8-bit OSC1 timer Prescaler Clock timer 8-bit timer Stopwatch timer 16-bit timer Watchdog timer SIN, SOUT, SCLK (P23-25) UART PWM & capture timer SDI, SDO, SPICLK (P20-22) SPI Remote controller I2C I/O port/ I/O MUX SDA, SCL (P14-15) EPSON SEG0-55/71, COM0-31/15 MISC register Interrupt controller EXCL0-2 (P16, P07, P06) VDD, VSS, VD1, VD2, VC1-VC5, CA-CG OSC1-2, OSC3-4 FOUT1(P13), FOUT3(P30) EXCL3(P27), TOUT(P26) REMI(P04), REMO(P05) P00-07, P10-17, P20-27, P30-33 S1C17701 PIN LAYOUT DIAGRAM 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 VSS VDD P03 P10 P11 P12 P13/FOUT1 P04/REMI P05/REMO P06/EXCL2 P07/EXCL1 P14/SDA P15/SCL P16/EXCL0 P17/#SPISS P20/SDI P21/SDO P22/SPICLK P23/SIN P24/SOUT P25/SCLK P26/TOUT P27/EXCL3 P30/FOUT3 DCLK/P31 DST2/P32 DSIO/P33 #RESET #TEST OSC2 OSC1 VD1 VSS OSC4 OSC3 VDD TQFP24-144pin 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 VC1 VC2 VC3 VC4 VC5 CA CB CC CD CE CF CG VD2 TEST3 TEST2 TEST1 VSS COM16/SEG71 COM17/SEG70 COM18/SEG69 COM19/SEG68 COM20/SEG67 COM21/SEG66 COM22/SEG65 COM23/SEG64 COM24/SEG63 COM25/SEG62 COM26/SEG61 COM27/SEG60 COM28/SEG59 COM29/SEG58 COM30/SEG57 COM31/SEG56 SEG55 SEG54 SEG53 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 SEG41 SEG42 SEG43 SEG44 SEG45 SEG46 SEG47 SEG48 SEG49 SEG50 SEG51 SEG52 P02 P01 P00 COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 COM12 COM13 COM14 COM15 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 EPSON 3 S1C17701 PIN DESCRIPTION Pin No. Pin name 1-39 SEG17-55 40-55 COM31-16/ SEG56-71 56 V SS 57 TEST1 58 TEST2 59 TEST3 60 VD2 61 CG 62 CF 63 CE 64 CD 65 CC 66 CB 67 CA 68 VC5 69 VC4 70 VC3 71 VC2 72 VC1 73 VDD 74 OSC3 75 OSC4 76 V SS 77 VD1 78 OSC1 79 OSC2 80 #TEST 81 #RESET 82 DSIO/P33 83 DST2/P32 84 DCLK/P31 85 P30/FOUT3 86 P27/EXCL3 87 P26/TOUT 88 P25/SCLK 89 P24/SOUT 90 P23/SIN 91 P22/SPICLK 92 P21/SDO 93 P20/SDI 94 P17/#SPISS 95 P16/EXCL0 96 P15/SCL 97 P14/SDA 98 P07/EXCL1 99 P06/EXCL2 100 P05/REMO 101 P04/REMI 102 P13/FOUT1 103 P12 104 P11 105 P10 106 P03 107 VDD 108 V SS 4 I/O O O Initial O (L) O (L) - - - - - - - - - - - - - - - - - - I O - - I O I I I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O - - - - - - - - - - - - - - - - - - - - I O - - I O (Pull-up) (Pull-up) (Pull-up) O (L) O (L) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) (Pull-up) - - I I I I I I I I I I I I I I I I I I I I I I I I I Function LCD segment output pins LCD common output pins* or LCD segment output pins Power supply pin (GND) Test pin (open during normal operation) Test pin (fix at high during normal operation) Test pin (open during normal operation) LCD power voltage booster output pin Power voltage boosting capacitor connect pin Power voltage boosting capacitor connect pin LCD voltage boosting capacitor connect pin LCD voltage boosting capacitor connect pin LCD voltage boosting capacitor connect pin LCD voltage boosting capacitor connect pin LCD voltage boosting capacitor connect pin LCD drive voltage output pin LCD drive voltage output pin LCD drive voltage output pin LCD drive voltage output pin LCD drive voltage output pin Power supply pin (+) OSC3 oscillation input pin OSC3 oscillation output pin Power supply pin (GND) Internal logic and oscillation system voltage regulator output pin OSC1 oscillation input pin OSC1 oscillation output pin Test pin (fix at high during normal operation) Initial reset input pin On-chip debugger data I/O pin* or I/O port pin On-chip debugger status output pin* or I/O port pin On-chip debugger clock output pin* or I/O port pin I/O port pin* or OSC3 divider clock output pin I/O port pin* or T16E external clock input pin I/O port pin* or T16E PWM signal output pin I/O port pin* or UART clock input pin I/O port pin* or UART data output pin I/O port pin* or UART data input pin I/O port pin* or SPI clock I/O pin I/O port pin* or SPI data output pin I/O port pin* or SPI data input pin I/O port pin (with interrupt)* or SPI slave select input pin I/O port pin (with interrupt)* or T16 Ch.0 external clock input pin I/O port pin (with interrupt)* or I 2C clock output pin I/O port pin (with interrupt)* or I 2C data I/O pin I/O port pin (with interrupt)* or T16 Ch.1 external clock input pin I/O port pin (with interrupt)* or T16 Ch.2 external clock input pin I/O port pin (with interrupt)* or Remote control signal output pin I/O port pin (with interrupt)* or Remote control signal input pin I/O port pin (with interrupt)* or OSC1 clock output pin I/O port pin (with interrupt) I/O port pin (with interrupt) I/O port pin (with interrupt) I/O port pin (with interrupt) Power supply pin (+) Power supply pin (GND) EPSON S1C17701 Pin No. Pin name I/O Initial Function 109 P02 I/O I (Pull-up) I/O port pin (with interrupt) 110 P01 I/O I (Pull-up) I/O port pin (with interrupt) 111 P00 I/O I (Pull-up) I/O port pin (with interrupt) 112-127 COM0-15 O O (L) LCD common output pins 128-144 SEG0-16 O O (L) LCD segment output pins Note: The pin names described in boldface type and description with `*' are default settings. BASIC EXTERNAL CONNECTION DIAGRAM OSC1 COM31 1 CG1 COM0 VSS SEG55 SEG0 LCD panel 56 x 32 X'tal1 RCR3 3 2 CG3 Rf OSC2 OSC3 X'tal3 or Ceramic OSC4 CD3 C1 C2 VD1 VC1 VC2 VC3 C3 C4 C5 C6 VC4 VC5 CA CB CC CD CE VD2 CF CG #RESET C7 C8 C9 C10 C11 S1C17701 [The potential of the substrate (back of the chip) is VSS.] DSIO (P33) DST2 (P32) DCLK (P31) + CP VDD #TEST TEST1 TEST2 TEST3 Open Name Recommended value X'tal1 CG1 X'tal3 Ceramic Rf CG3 Crystal oscillator Trimmer capacitor Crystal oscillator Ceramic oscillator Feedback resistor Gate capacitor CD3 Drain capacitor RCR3 Resistor for CR oscillation 32.768 kHz 0-25 pF 0.2-8 MHz 0.2-8 MHz 1 M 15 pF (crystal) 30 pF (ceramic) 15 pF (crystal) 30 pF (ceramic) 30 k VDD ICD or I/O 1: OSC1 = Crystal 2: OSC3 = Crystal or Ceramic (S1C17701F00B100) 3: OSC3 = CR (S1C17701F00E100) Recommended values for external parts Symbol I/O 10k Cres 1.8 V | 3.6 V P00~P03 P04 (REMI) P05 (REMO) P06 (EXCL2) P07 (EXCL1) P10~P12 P13 (FOUT1) P14 (SDA) P15 (SCL) P16 (EXCL0) P17 (#SPISS) P20 (SDI) P21 (SDO) P22 (SPICLK) P23 (SIN) P24 (SOUT) P25 (SCLK) P26 (TOUT) P27 (EXCL3) P30 (FOUT3) Symbol C1 C2 C3 C4 C5 C6 C7-C9 C10 C11 CP Cres Name Capacitor between VSS and VD1 Capacitor between VSS and VC1 Capacitor between VSS and VC2 Capacitor between VSS and VC3 Capacitor between VSS and VC4 Capacitor between VSS and VC5 Booster capacitors Capacitor between VSS and VD2 Booster capacitor Capacitor for power supply Capacitor for #RESET terminal Recommended value 0.1 F 0.1 F 0.1 F 0.1 F 0.1 F 0.1 F 0.1 F 0.1 F 0.1 F 3.3 F 0.47 F Note: The above table is simply an example, and is not guaranteed to work. EPSON 5 S1C17701 NOTICE: No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as, medical products. Moreover, no license to any intellectual property rights is granted by implication or otherwise, and there is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright infringement of a third party. This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from the Ministry of Economy, Trade and Industry or other approval from another government agency. This product uses SuperFlash(R) Technology licensed from Silicon Storage Technology, Inc. (c) SEIKO EPSON CORPORATION 2008, All right reserved. SEIKO EPSON CORPORATION SEMICONDUCTOR OPERATIONS DIVISION IC Sales Dept. IC International Sales Group 421-8, Hino, Hino-shi, Tokyo 191-8501, JAPAN Phone: +81-42-587-5814 FAX: +81-42-587-5117 EPSON Electronic Devices Website http://www.epson.jp/device/semicon_e Document code: 410922503 First issue May, 2007 Printed April, 2008 in Japan L Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Epson: S1C17704F00E100 S1C17704F00B100 S1C17701F00E100