S1C17M12/M13 (rev1.0) 16-bit Single Chip Microcontroller 16KB Flash ROM: Read/program protection function, 2KB RAM Supports 1.8V to 5.5V wide range operating voltage. Five-digit seven-segment LED controller (8SEG 15COM (max.)) 2 Supports various kinds of interfaces (UART, SPI, I C) DESCRIPTIONS The S1C17M12/M13 is a 16-bit embedded Flash MCU that features low power consumption. It includes various se- rial interfaces and a seven-segment LED controller on the compact die. It is suitable for control panels with a seven- segment display for housing equipment and FA equipment. FEATURES Model S1C17M12 S1C17M13 CPU CPU core Seiko Epson original 16-bit RISC CPU core S1C17 Other On-chip debugger Embedded Flash memory Capacity 16K bytes (for both instructions and data) Erase/program count 1,000 times (min.) Other Security function to protect from reading/programming by ICDmini On-board programming function using ICDmini Embedded RAM Capacity 2K bytes Clock generator (CLG) System clock source 3 sources (IOSC/OSC3/EXOSC) System clock frequency (operating frequency) 16.8 MHz (max.) IOSC oscillator circuit (boot clock source) 700 kHz (typ.) embedded oscillator 23 s (max.) starting time (time from cancelation of SLEEP state to vector table read by the CPU) OSC3 oscillator circuit 16.8 MHz (max.) crystal/ceramic oscillator 4, 8, 12, and 16 MHz-switchable embedded oscillator EXOSC clock input 16.8 MHz (max.) square or sine wave input Other Configurable system clock division ratio Configurable system clock used at wake up from SLEEP state Operating clock frequency for the CPU and all peripheral circuits is selectable. I/O port (PPORT) Number of general-purpose I/O ports Input/output port: 38 bits (max.) Output port: 1 bit (max.) Pins are shared with the peripheral I/O. Number of input interrupt ports 34 bits (max.) Number of ports that support universal port 21 bits multiplexer (UPMUX) A peripheral circuit I/O function selected via software can be assigned to each port. Number of high drive-capability Nch outputs 8 bits (max.) 7 mA output (max.) Number of high drive-capability Pch outputs 5 bits (max.) 56 mA output (max., Total sum of 5 bits) Timers Watchdog timer (WDT2) Generates NMI or watchdog timer reset. Programmable NMI/reset generation cycle 16-bit timer (T16) 4 channels Generates the SPIA master clock and the ADC12A trigger signal. 16-bit PWM timer (T16B) 1 channel Event counter/capture function PWM waveform generation function Number of PWM output or capture input ports: 2 ports/channel Supply voltage detector (SVD3) Detection voltage VDD or external voltage (two external voltage input ports are provided.) Detection level VDD: 28 levels (1.8 to 5.0 V)/external voltage: 32 levels (1.2 to 5.0 V) Other Intermittent operation mode Generates an interrupt or reset according to the detection level evaluation.S1C17M12/M13 Model S1C17M12 S1C17M13 Serial interfaces UART (UART3) 4 channels Baud-rate generator included, IrDA1.0 supported Open drain output, signal polarity, and baud rate division ratio are configurable. Infrared communication carrier modulation output function Serial interfaces Synchronous serial interface (SPIA) 2 channels 2 to 16-bit variable data length The 16-bit timer (T16) can be used for the baud-rate generator in master mode. 2 I C (I2C) 1 channel Baud-rate generator included IR remote controller (REMC2) Number of transmitter channels 1 channel Other EL lamp drive waveform can be generated for an application example. Seven-segment LED controller (LEDC) LED control output Seven-segment LED outputs up to five digits (8SEG 15COM(max.)) COM time-division dynamic drive control Software configurable anode/cathode common mode and off-state pin status Four-level brightness adjustment function 12-bit A/D converter (ADC12A) Conversion method Successive approximation type Resolution 12 bits Number of conversion channels 1 channel Number of analog signal inputs 8 ports/channel Multiplier/divider (COPRO2) Arithmetic functions 16-bit 16-bit multiplier 16-bit 16-bit + 32-bit multiply and accumulation unit 32-bit 32-bit divider Reset RESET pin Reset when the reset pin is set to low. Power-on reset Reset at power on. Brownout reset Reset when the power supply voltage drops. Key entry reset Reset when the P00 to P01/P02/P03 keys are pressed simultaneously (can be enabled/ disabled using a register). Watchdog timer reset Reset when the watchdog timer overflows (can be enabled/disabled using a register). Supply voltage detector reset Reset when the supply voltage detector detects the set voltage level (can be enabled/dis- abled using a register). Interrupt Non-maskable interrupt 4 systems (Reset, address misaligned interrupt, debug, NMI) Programmable interrupt External interrupt: 1 system (8 levels) Internal interrupt: 14 systems (8 levels) Power supply voltage VDD operating voltage 1.8 to 5.5 V VDD operating voltage for Flash programming 1.8 to 5.5 V (VPP = 7.5 V external power supply is required.) Operating temperature Operating temperature range -40 to 85 C Current consumption (Typ. value) SLEEP mode 0.5 A (TBD) IOSC = OFF, OSC3 = OFF HALT mode 180 A (TBD) OSC3 = 4 MHz (internal oscillator) RUN mode 600 A (TBD) OSC3 = 4 MHz (internal oscillator), CPU = OSC3 (1 wait cycle) 1,700 A (TBD) OSC3 = 16 MHz (internal oscillator), CPU = OSC3 (2 wait cycles) Shipping form 1 TQFP12-48pin (Lead pitch: 0.5 mm) 2 Seiko Epson Corporation