Epson S1C63656 Technical Manual

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

Quick Links

CMOS 4 - BIT SINGLE CHIP MICROCOMPUTER
S1C63656
Technical Manual
S1C63656 Technical Hardware

Advertisement

Table of Contents
loading

Summary of Contents for Epson S1C63656

  • Page 1 CMOS 4 - BIT SINGLE CHIP MICROCOMPUTER S1C63656 Technical Manual S1C63656 Technical Hardware...
  • Page 2 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...
  • Page 3 Revisions and Additions for this manual Chapter Section Page Item Contents Features Explanation was revised. 5–8 Mask Option Explanation was revised. 2.2.2 Simultaneous high input to terminals Explanation was revised. K00–K03 Table 2.2.2.1 was revised. Memory Map Table 4.1.1(e) was revised. 4.7.1 Configuration of LCD driver Explanation was revised.
  • Page 5 Configuration of product number Devices 63158 0A01 Packing specifications 00 : Besides tape & reel 0A : TCP BL 2 directions 0B : Tape & reel BACK 0C : TCP BR 2 directions 0D : TCP BT 2 directions 0E : TCP BD 2 directions 0F : Tape &...
  • Page 7: Table Of Contents

    4.4 Input Ports (K00–K03 and K10–K13) ............33 4.4.1 Configuration of input ports ..............33 4.4.2 Interrupt function ..................33 4.4.3 Mask option ....................34 4.4.4 I/O memory of input ports ................. 35 4.4.5 Programming notes ................... 37 EPSON S1C63656 TECHNICAL MANUAL...
  • Page 8 4.11.2 Mask option ..................... 88 4.11.3 Master mode and slave mode of serial interface ........88 4.11.4 Data input/output and interrupt function ..........89 4.11.5 I/O memory of serial interface ..............92 4.11.6 Programming notes ................. 95 EPSON S1C63656 TECHNICAL MANUAL...
  • Page 9 5.2 Summary of Notes by Function ..............139 5.3 Precautions on Mounting ................143 ___________________________ 145 CHAPTER ASIC XTERNAL IRING IAGRAM _______________________________ 146 CHAPTER LECTRICAL HARACTERISTICS 7.1 Absolute Maximum Rating ................146 7.2 Recommended Operating Conditions ............146 7.3 DC Characteristics ..................146 EPSON S1C63656 TECHNICAL MANUAL...
  • Page 10 8.2 Ceramic Package for Test Samples ............. 154 ____________________________________________ 155 CHAPTER AYOUT 9.1 Diagram of Pad Layout ................155 9.2 Pad Coordinates ..................156 S1C63656 ____________________ 157 APPENDIX ERIPHERAL IRCUIT OARDS FOR A.1 Names and Functions of Each Part ............157 A.1.1 S5U1C63000P1 ..................
  • Page 11: Outline

    CHAPTER UTLINE The S1C63656 is a microcomputer which has a high-performance 4-bit CPU S1C63000 as the core CPU, ROM (6,144 words × 13 bits), RAM (1,024 words × 4 bits), multiply-divide circuit, serial interface, watchdog timer, programmable timer, time base counters (2 systems), an LCD driver that can drive a maximum 38 segments ×...
  • Page 12: Block Diagram

    K10–K13 Input Port – TEST Power Controller Serial Interface CA–CB P00–P03 I/O Port P10–P13 Output Port R00–R03 Sound Generator SEN0, SEN1, HUD REF0, REF1 R/f Converter Stepping RFIN0, RFIN1 Motor Driver RFOUT Fig. 1.2.1 Block diagram EPSON S1C63656 TECHNICAL MANUAL...
  • Page 13: Pin Layout Diagram

    SEG17 N.C. SEG37 SEG18 OSC1 N.C. N.C. N.C. OSC2 N.C. N.C. N.C. N.C. N.C. N.C. N.C. OSC3 N.C. N.C. OSC4 N.C. COM0 COM2 COM1 TEST COM3 N.C. : No Connection Fig. 1.3.1 Pin layout diagram (QFP20-144pin) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 14: Pin Description

    R/f converter Ch. 0 CR oscillation input pin RFIN1 R/f converter Ch. 1 CR oscillation input pin RFOUT R/f converter oscillation frequency output pin Sound output pin RESET Initial reset input pin TEST Testing input pin EPSON S1C63656 TECHNICAL MANUAL...
  • Page 15: Mask Option

    S1C63656, are used for this selection. Mask pattern of the IC is finally generated based on the data created by winfog and winsog. Refer to the "S5U1C63000A Manual" for winfog and winsog.
  • Page 16 SEG terminal for DC output. Refer to Section 4.7.5, "Segment option", for details. <Option list> The following is the option list for the S1C63656. Multiple selections are available in each option item as indicated in the option list. Select the specifica- tions that meet the target system and check the appropriate box.
  • Page 17 2. External Power 1/3 bias, V (4.5 V panel) 3. External Power 1/3 bias, V (3.0 V panel) 4. External Power 1/2 bias, V (3.0 V panel) 5. Internal Power (3.0 V panel, low-power mode without contrast adjustment function) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 18 SEG output SEG35 DC output SEG36 SEG output SEG37 DC output <address> H: RAM data high-order address (0–9) <Output specification> S: Segment output RAM data low-order address (0–F) Complementary output Data bit (0–3) Nch open drain output EPSON S1C63656 TECHNICAL MANUAL...
  • Page 19: Chapter 2: Power Supply And Initial Reset

    UPPLY AND NITIAL ESET 2.1 Power Supply The S1C63656 operating power voltage is as follows. The operating power voltage range depends on a mask option selection whether the OSC3 clock is used or not. Table 2.1.1 Operating voltage OSC3 oscillation circuit...
  • Page 20: Voltage Regulator For Osc1 Oscillation Circuit

    1/3 bias 1/3 bias 1/2 bias 3.0 V 3.0 V 3.0 V Fig. 2.1.4.1 External elements when LCD system voltage regulator is not used Refer to Section 4.7, "LCD Driver", for control of the LCD drive voltage. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 21: Analog System Power Supply

    R/f converter in order to avoid decreasing the conversion accuracy due to noise. However, the same voltage level as the V –V must be supplied to the V –V EPSON S1C63656 TECHNICAL MANUAL...
  • Page 22: Initial Reset

    CHAPTER 2: POWER SUPPLY AND INITIAL RESET 2.2 Initial Reset To initialize the S1C63656 circuits, initial reset must be executed. There are two ways of doing this. (1) External initial reset by the RESET terminal (2) External initial reset by simultaneous high input to terminals K00–K03 (mask option setting) The circuits are initialized by either (1) or (2).
  • Page 23: Simultaneous High Input To Terminals K00-K03

    Index register X Undefined ∗ See Section 4.1, "Memory Map". Index register Y Undefined Program counter 0110H Stack pointer SP1 Undefined Stack pointer SP2 Undefined Zero flag Undefined Carry flag Undefined Interrupt flag Extension flag Queue register Undefined EPSON S1C63656 TECHNICAL MANUAL...
  • Page 24: Terminal Settings At Initial Resetting

    For setting procedure of the functions, see explanations for each of the peripheral circuits. 2.3 Test Terminal (TEST) This is the terminal used for the factory inspection of the IC. During normal operation, connect the TEST terminal to V EPSON S1C63656 TECHNICAL MANUAL...
  • Page 25: Chapter 3 Cpu, Rom, Ram

    The core CPU can linearly access the program space up to step FFFFH from step 0000H, however, the program area of the S1C63656 is step 0000H to step 17FFH. The program start address after initial reset is assigned to step 0110H. The non-maskable interrupt (NMI) vector and hardware interrupt vectors are allocated to step 0100H and steps 0102H–010EH, respectively.
  • Page 26: Data Rom

    1,024 words × 4 bits. The data ROM is assigned to addresses 8000H to 83FFH on the data memory map, and the data can be read using the same data memory access instructions as the RAM. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 27: Peripheral Circuits And Operation

    IRCUITS AND PERATION The peripheral circuits of S1C63656 (timer, I/O, etc.) are interfaced with the CPU in the memory mapped I/O method. Thus, all the peripheral circuits can be controlled by accessing the I/O memory on the memory map using the memory operation instructions. The following sections explain the detailed operation of each peripheral circuit.
  • Page 28 SIK02 SIK01 SIK00 SIK02 Enable Disable FF20H K00–K03 interrupt selection register SIK01 Enable Disable SIK00 Enable Disable Remarks ∗1 Initial value at initial reset ∗2 Not set in the circuit ∗3 Constantly "0" when being read EPSON S1C63656 TECHNICAL MANUAL...
  • Page 29 SCLK (I) pull-down control register when SIF (slave) is selected FF45H PUL11 P11 pull-down control register (ESIF=0) functions as a general-purpose register when SIF is selected PUL10 P10 pull-down control register (ESIF=0) SIN pull-down control register when SIF is selected EPSON S1C63656 TECHNICAL MANUAL...
  • Page 30 – High Serial I/F transmit/receive data (low-order 4 bits) FF72H ∗2 – High ∗2 – High ∗2 – High ∗2 – High Serial I/F transmit/receive data (high-order 4 bits) FF73H ∗2 – High ∗2 – High EPSON S1C63656 TECHNICAL MANUAL...
  • Page 31 High-order 8-bit destination register FF84H ∗2 DRH1 – (low-order 4 bits) ∗2 DRH0 – ∗2 DRH7 – DRH7 DRH6 DRH5 DRH4 ∗2 DRH6 – High-order 8-bit destination register FF85H ∗2 DRH5 – (high-order 4 bits) ∗2 DRH4 – EPSON S1C63656 TECHNICAL MANUAL...
  • Page 32 MOD16 EVCNT FCSEL PLPOL EVCNT Event ct. Timer Timer 0 counter mode selection FFC0H FCSEL With NR No NR Timer 0 function selection (for event counter mode) PLPOL Timer 0 pulse polarity selection (for event counter mode) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 33 PTD15 PTD14 CD03 CD03 CD02 CD01 CD00 CD02 FFD2H Programmable timer 0 compare data (low-order 4 bits) CD01 CD00 CD07 CD07 CD06 CD05 CD04 CD06 FFD3H Programmable timer 0 compare data (high-order 4 bits) CD05 CD04 EPSON S1C63656 TECHNICAL MANUAL...
  • Page 34 Interrupt mask register (Clock timer 16 Hz) ∗3 ∗2 – Unused ICTC1 ICTC0 ∗3 ∗2 – Unused FFF0H ICTC1 Interrupt factor flag (Programmable timer 1 compare match) ICTC0 Reset Invalid Interrupt factor flag (Programmable timer 0 compare match) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 35 Interrupt factor flag (Motor driver Ch. 2) ISMD1 Reset Invalid Interrupt factor flag (Motor driver Ch. 1) ∗3 ∗2 – Unused ∗3 ∗2 – Unused FFF9H ∗3 ∗2 – Unused Reset Invalid Interrupt factor flag (Clock timer 16 Hz) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 36: Watchdog Timer

    4.2.1 Configuration of watchdog timer The S1C63656 has a built-in watchdog timer that operates with a 256 Hz divided clock from the OSC1 as the source clock. The watchdog timer starts operating after initial reset, however, it can be stopped by the software.
  • Page 37: I/O Memory Of Watchdog Timer

    (1) When the watchdog timer is being used, the software must reset it within 3-second cycles. (2) Because the watchdog timer is set in operation state by initial reset, set the watchdog timer to disabled state (not used) before generating an interrupt (NMI) if it is not used. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 38: Oscillation Circuit

    4.3.1 Configuration of oscillation circuit The S1C63656 has two oscillation circuits (OSC1 and OSC3). OSC1 is a crystal oscillation circuit that supplies the operating clock to the CPU and peripheral circuits. OSC3 is either a CR or a ceramic oscilla- tion circuit.
  • Page 39: Osc3 Oscillation Circuit

    CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Oscillation Circuit) 4.3.3 OSC3 oscillation circuit The S1C63656 has built-in the OSC3 oscillation circuit that generates the CPU's sub-clock (Max. 4 MHz) for high speed operation and the source clock for peripheral circuits needing a high speed clock (pro- grammable timer, FOUT output).
  • Page 40: Switching Of Cpu Clock

    Table 4.3.5.1 shows the instruction execution time according to each frequency of the system clock. Table 4.3.5.1 Clock frequency and instruction execution time Instruction execution time (µsec) Clock frequency 1-cycle instruction 2-cycle instruction 3-cycle instruction OSC1: 32.768 kHz OSC3: 1.1 MHz OSC3: 2 MHz OSC3: 4 MHz EPSON S1C63656 TECHNICAL MANUAL...
  • Page 41: I/O Memory Of Oscillation Circuit

    When the CPU clock is to be OSC3, set CLKCHG to "1"; for OSC1, set CLKCHG to "0". After turning the OSC3 oscillation on (OSCC = "1"), switching of the clock should be done after waiting 5 msec or more. At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 42: Programming Notes

    An error in the CPU operation can result if this processing is performed at the same time by the one instruction. (3) When selecting OSC3 for the time base counter clock of the R/f converter, the maximum frequency of the OSC3 clock is limited to 2 MHz. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 43: Input Ports (K00-K03 And K10-K13)

    4.4 Input Ports (K00–K03 and K10–K13) 4.4.1 Configuration of input ports The S1C63656 has eight bits of general-purpose input ports (K00–K03, K10–K13). Each input port termi- nal provides an internal pull-down resistor that can be enabled by mask option. Figure 4.4.1.1 shows the configuration of input port.
  • Page 44: Mask Option

    K13) with the input port mask option. When "Gate direct" is selected, take care that the floating status does not occur for the input. Select "With pull-down resistor" for input ports that are not being used. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 45: I/O Memory Of Input Ports

    The reading is "1" when the terminal voltage of the eight bits of the input ports (K00–K03, K10–K13) goes high (V ), and "0" when the voltage goes low (V These bits are dedicated for reading, so writing cannot be done. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 46 RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. At initial reset, these flags are set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 47: Programming Notes

    "1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 48: Output Ports (R00-R03)

    (R00–R03) 4.5.1 Configuration of output ports The S1C63656 has four bits of general output ports. Output specifications of the output ports can be selected individually with the mask option. Two kinds of output specifications are available: complementary output and P-channel open drain output.
  • Page 49: High Impedance Control

    R02 and R03 registers when the special output has been selected. • Be aware that the output terminal shifts into high impedance status when "1" is written to the high impedance control register (R02HIZ, R03HIZ). EPSON S1C63656 TECHNICAL MANUAL...
  • Page 50 Note: A hazard may occur when the FOUT signal is turned on and off. Figure 4.5.4.3 shows the output waveform of the FOUT signal. R03HIZ register Fix at "0" R03 register Fix at "1" FOUTE register "0" "1" "0" FOUT output Fig. 4.5.4.3 Output waveform of FOUT signal EPSON S1C63656 TECHNICAL MANUAL...
  • Page 51: I/O Memory Of Output Ports

    (V When the output ports R02 and R03 are used for special output (TOUT, FOUT), fix the R02 register and the R03 register at "1". At initial reset, these registers are all set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 52: Programming Notes

    Refer to Section 4.3, "Oscillation Circuit", for the control and notes. is available when a mask option for using the OSC3 oscillation circuit is selected. If the system OSC3 uses the OSC1 oscillation circuit only, do not set the FOFQ register to "11". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 53: I/O Ports (P00-P03 And P10-P13)

    CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) 4.6 I/O Ports (P00–P03 and P10–P13) 4.6.1 Configuration of I/O ports The S1C63656 has eight bits of general-purpose I/O ports. Figure 4.6.1.1 shows the configuration of the I/ O port. Pull-down control...
  • Page 54: Mask Option

    I/O control. (See Table 4.6.1.1.) 4.6.4 Pull-down during input mode A pull-down resistor that operates during the input mode is built into each I/O port of the S1C63656. Mask option can set the use or non-use of this pull-down.
  • Page 55: I/O Memory Of I/O Ports

    Serial I/F clock trigger (writing) FF70H Stop Serial I/F clock status (reading) ESIF Serial I/F enable (P1 port function selection) *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read EPSON S1C63656 TECHNICAL MANUAL...
  • Page 56 Make this waiting time the amount of time or more calculated by the following expression. 10 × C × R C: terminal capacitance 5 pF + parasitic capacitance ? pF R: pull-down resistance 375 k Ω (Max.) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 57: Programming Note

    Make this waiting time the amount of time or more calculated by the following expression. 10 × C × R C: terminal capacitance 5 pF + parasitic capacitance ? pF R: pull-down resistance 375 kΩ (Max.) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 58: Lcd Driver (Com0-Com3, Seg0-Seg37)

    ALOFF, ALON (all on) has priority over the ALOFF (all off). (2) Setting of drive duty In the S1C63656, the drive duty can be set to 1/4 or 1/3 using the LDUTY1 and LDUTY0 registers as shown in Table 4.7.3.1.
  • Page 59 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) COM0 COM1 LCD lighting status COM0 COM1 COM2 COM2 COM3 SEG0–37 COM3 Not lit SEG0 SEG37 Frame Fig. 4.7.3.1 Dynamic drive waveform for 1/4 duty EPSON S1C63656 TECHNICAL MANUAL...
  • Page 60 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) COM0 COM1 LCD lighting status COM0 COM1 COM2 COM2 SEG0–37 Not lit COM3 SEG0 SEG37 Frame Fig. 4.7.3.2 Dynamic drive waveform for 1/3 duty EPSON S1C63656 TECHNICAL MANUAL...
  • Page 61 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) (3) Static drive The S1C63656 provides software setting of the LCD static drive. However, this function is available only when "External power supply 1/2 bias (for 3.0 V panel)" is selected by mask option.
  • Page 62: Display Memory

    2. When DC output is selected, either complementary output or N-channel open drain output can be selected for each terminal with the mask option. ∗ The terminal pairs are combination of SEG2 × n and SEG2 × n + 1 (where n is an integer from 0 to 18). EPSON S1C63656 TECHNICAL MANUAL...
  • Page 63 SEG output SEG35 DC output SEG36 SEG output SEG37 DC output <address> H: RAM data high-order address (0–9) <Output specification> S: Segment output RAM data low-order address (0–F) Complementary output Data bit (0–3) Nch open drain output EPSON S1C63656 TECHNICAL MANUAL...
  • Page 64: Lcd Contrast Adjustment

    When an external power supply is selected by mask option, the LC0–LC3 register becomes invalid. Furthermore, the contrast adjustment function cannot be used when "Internal power supply (low-power mode)" is selected. Setting the above register is ignored. In this case, the V voltage is fixed at 0.98 V (Typ.). EPSON S1C63656 TECHNICAL MANUAL...
  • Page 65: I/O Memory Of Lcd Driver

    Table 4.7.7.2 Drive duty setting LDUTY1 LDUTY0 Drive duty Common terminal used Maximum segment number 114 (38 × 3) COM0–COM2 – – – – – – 152 (38 × 4) COM0–COM3 At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 66: Programming Note

    Because at initial reset, the contents of display memory are undefined and LC3–LC0 (LCD contrast) is set to 0000B, there is need to initialize by the software. Furthermore, take care of the registers LPWR and ALOFF because these are set so that the display goes off. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 67: Clock Timer

    4.8 Clock Timer 4.8.1 Configuration of clock timer The S1C63656 has a built-in clock timer that uses OSC1 (crystal oscillator) as the source oscillator. The clock timer is configured of an 8-bit binary counter that serves as the input clock, f...
  • Page 68: Interrupt Function

    Selection of whether to mask the separate interrupts can be made with the interrupt mask registers (EIT0, EIT1, EIT2, EIT3, EIT4). However, regardless of the interrupt mask register setting, the interrupt factor flag is set to "1" at the falling edge of the corresponding signal. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 69: I/O Memory Of Clock Timer

    The clock timer is reset by writing "1" to TMRST. When the clock timer is reset in the RUN status, opera- tion restarts immediately. Also, in the STOP status the reset data is maintained. No operation results when "0" is written to TMRST. This bit is write-only, and so is always "0" at reading. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 70: Programming Notes

    "1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 71: Stopwatch Timer

    4.9.1 Configuration of stopwatch timer The S1C63656 has a 1/1,000 sec stopwatch timer. The stopwatch timer is configured of a 3-stage, 4-bit BCD counter serving as the input clock of a 1,000 Hz signal output from the prescaler. Data can be read out four bits (1/1,000 sec, 1/100 sec and 1/10 sec) at a time by the software.
  • Page 72: Capture Buffer And Hold Function

    Figure 4.9.3.1 shows the timing for data holding and reading. Direct LAP input (K01/K00) Direct LAP internal signal Capture renewal flag CRNWF SWD0–3 reading SWD4–7 reading SWD8–11 reading Data holding Fig. 4.9.3.1 Timing for data holding and reading EPSON S1C63656 TECHNICAL MANUAL...
  • Page 73: Stopwatch Timer Run/Stop And Reset

    SWRUN control. The chattering judgment is performed at the point where the key turns off, and a chattering less than 46.8–62.5 msec is removed. Therefore, more time is needed for an interval be- tween RUN and STOP key inputs. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 74 Capture renewal flag CRNWF SWD0–3 reading SWD4–7 reading SWD8–11 reading Data holding 1 Hz interrupt factor flag ISW1 Lap data carry-up request flag LCURF Counter data Fig. 4.9.5.3 Timing for data holding and reading during direct LAP input EPSON S1C63656 TECHNICAL MANUAL...
  • Page 75 5. Both the RUN and LAP keys and the mask key are pressed at the same time if no other key is held down. (RUN and LAP functions are effective.) Simultaneous key input is referred to as two or more key inputs are sampled at the same falling edge of 1,024 Hz clock. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 76: Interrupt Function

    The respective interrupts can be masked separately through the interrupt mask registers (EISW10, EISW1). However, regardless of the setting of the interrupt mask registers, the interrupt factor flags are set to "1" by the overflow of their corresponding counters. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 77 995 996 997 998 999 000 001 002 003 004 005 006 Capture buffer SWD0–3 reading SWD4–7 reading SWD8–11 reading CRNWF 1 Hz interrupt factor flag ISW1 LCURF Direct RUN interrupt Direct LAP interrupt 10 Hz interrupt 1 Hz interrupt Fig. 4.9.6.2 Timing chart for stopwatch timer EPSON S1C63656 TECHNICAL MANUAL...
  • Page 78: I/O Memory Of Stopwatch Timer

    Data (BCD) of the 1/10 sec column of the capture buffer can be read out. These 4 bits are read-only, and cannot be used for writing operations. At initial reset, the timer data is set to "0". Note: Be sure to data reading in the order of SWD0–3 → SWD4–7 → SWD8–11. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 79 Also, in the STOP status the reset data is maintained. Since this reset does not affect the capture buffer, the capture buffer data in hold status is not cleared and is maintained. This bit is write-only, and is always "0" at reading. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 80 The interrupt mask registers EIRUN, EILAP, EISW1 and EISW10 are used to separately select whether to mask the direct RUN, direct LAP, 1 Hz and 10 Hz interrupts. At initial reset, these registers are set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 81: Programming Notes

    "1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 82: Programmable Timer

    4.10.1 Configuration of programmable timer The S1C63656 has two 8-bit programmable timer systems (timer 0 and timer 1) built-in. The timers are composed of 8-bit presettable down counters and they can be used as 8 bits × 2 channels or 16 bits ×...
  • Page 83: Basic Count Operation

    In addition to reloading the counter, this underflow signal controls the interrupt generation, pulse (TOUT signal) output and clock supplying to the serial interface. PTRUNx PTRSTx RLDx0–x7 Input clock PTDx7 PTDx6 PTDx5 PTDx4 PTDx3 PTDx2 PTDx1 PTDx0 Preset Reload & underflow interrupt Fig. 4.10.2.1 Basic operation timing of down counter EPSON S1C63656 TECHNICAL MANUAL...
  • Page 84: Setting The Input Clock

    "1" is written, the rising edge is selected. The count down timing is shown in Figure 4.10.4.1. EVCNT PTRUN0 PLPOL K13 input Count data Fig. 4.10.4.1 Timing chart in event counter mode EPSON S1C63656 TECHNICAL MANUAL...
  • Page 85: Pwm Mode (Timer 0, Timer 1)

    Compare match signal Underflow signal Timer output signal Compare match interrupt Underflow interrupt CD register value RLD register value + 1 Normal mode Compare match signal Underflow signal Timer output signal Underflow interrupt Fig. 4.10.5.1 Generating PWM waveform EPSON S1C63656 TECHNICAL MANUAL...
  • Page 86: 16-Bit Timer (Timer 0 + Timer 1)

    When timers 0 and 1 are used as a 16-bit timer, an interrupt is generated by an underflow of timer 1. In this case, IPT0 is not set to "1" by a timer 0 underflow. The compare match interrupt uses ICTC1 of timer EPSON S1C63656 TECHNICAL MANUAL...
  • Page 87: Control Of Tout Output

    Figure 4.10.8.2 shows the output waveform of the TOUT signal. R02HIZ register Fix at "0" R02 register Fix at "1" PTOUT register "0" "1" "0" TOUT output Fig. 4.10.8.2 Output waveform of the TOUT signal EPSON S1C63656 TECHNICAL MANUAL...
  • Page 88: Transfer Rate Setting For Serial Interface

    Oscillation frequency (OSC1/OSC3) bps: Transfer rate (00H can be set to RLD1x) Be aware that the maximum clock frequency for the serial interface is limited to 1 MHz when OSC3 is used as the clock source. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 89: I/O Memory Of Programmable Timer

    PTD14 CD03 CD03 CD02 CD01 CD00 CD02 FFD2H Programmable timer 0 compare data (low-order 4 bits) CD01 CD00 *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit EPSON S1C63656 TECHNICAL MANUAL...
  • Page 90 At initial reset, these registers are set to "0". Note: When the mask option to disable the OSC3 oscillation circuit is selected, no source clock can be selected (fixed at OSC1). Do not set the CKSELx register to "1". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 91 K13 input port terminal. Setting of this register is effective only when timer 0 is used in the event counter mode. At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 92 The compare match signal is used for generating an interrupt and controlling the duty ratio of the PWM waveform. At initial reset, these registers are set to "00H". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 93 R02 and when "0" is written, the terminal goes to a high ) level. However, the data register R02 must always be "1" and the high impedance control register R02HIZ must always be "0" (data output state). At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 94 RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. At initial reset, these flags are set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 95: Programming Notes

    "1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 96 . Be especially careful when using the OSC1 (low- speed clock) as the clock source of the programmable timer and the CPU is operating with the OSC3 (high-speed clock). EPSON S1C63656 TECHNICAL MANUAL...
  • Page 97: Serial Interface (Sin, Sout, Sclk, Srdy)

    The synchronous clock for serial data input/output may be set by selecting by software any one of three types of master mode (internal clock mode: when the S1C63656 is to be the master for serial input/ output) and a type of slave mode (external clock mode: when the S1C63656 is to be the slave for serial input/output).
  • Page 98: Mask Option

    4.11.3 Master mode and slave mode of serial interface The serial interface of the S1C63656 has two types of operation mode: master mode and slave mode. The master mode uses an internal clock as the synchronous clock for the built-in shift register, and outputs this internal clock from the SCLK (P12) terminal to control the external (slave side) serial device.
  • Page 99: Data Input/Output And Interrupt Function

    Serial data output procedure and interrupt The S1C63656 serial interface is capable of outputting parallel data as serial data, in units of 8 bits. By setting the parallel data to the data registers SD0–SD3 (FF72H) and SD4–SD7 (FF73H) and writing "1"...
  • Page 100 Serial data input procedure and interrupt The S1C63656 serial interface is capable of inputting serial data as parallel data, in units of 8 bits. The serial data is input from the SIN (P10) terminal, synchronizes with the synchronous clock, and is sequentially read in the 8-bit shift register.
  • Page 101 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) Timing chart The S1C63656 serial interface timing charts are shown in Figures 4.11.4.2 and 4.11.4.3. SCTRG (W) SCTRG (R) SCLK 8-bit shift register SOUT ISIF SRDY (Slave mode) (a) When SCPS = "1"...
  • Page 102: I/O Memory Of Serial Interface

    When "1" is written to the ESIF register, P10, P11, P12 and P13 function as SIN, SOUT, SCLK, SRDY, respectively. In the slave mode, the P13 terminal functions as SRDY output terminal, while in the master mode, it functions as the I/O port terminal. At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 103 Falling edge of SCLK _________ When "0" is written: Rising edge of SCLK Reading: Valid Select whether the fetching for the serial input data to registers (SD0–SD7) at the rising edge or falling edge of the synchronous signal. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 104 Write data to be output in these registers. The register data is converted into serial data and output from the SOUT (P11) terminal; data bits set at "1" are output as high (V ) level and data bits set at "0" are output as low (V ) level. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 105: Programming Notes

    "1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 106: Sound Generator

    4.12 Sound Generator 4.12.1 Configuration of sound generator The S1C63656 has a built-in sound generator for generating a buzzer signal. Hence, the generated buzzer signal can be output from the BZ terminal. Aside permitting the respective setting of the buzzer signal frequency and sound level to 8 stages, it permits the adding of a digital envelope by means of duty ratio control.
  • Page 107: Setting Of Buzzer Frequency And Sound Level

    Level 8 (Min.) Fig. 4.12.3.1 Duty ratio of the buzzer signal waveform Note: When a digital envelope has been added to the buzzer signal, the BDTY0–BDTY2 settings will be invalid due to the control of the duty ratio. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 108: Digital Envelope

    BZFQ0–2 ENON ENRST ENRTM BZ signal Level 1 (Max.) duty ratio 8 (Min.) = 62.5 msec = 125 msec –4 –4 = 62.5 msec = 125 msec 02–07 12–17 Fig. 4.12.4.1 Timing chart for digital envelope EPSON S1C63656 TECHNICAL MANUAL...
  • Page 109: One-Shot Output

    One-shot output is invalid during normal buzzer output (during BZE = "1"). Figure 4.12.5.1 shows timing chart for one-shot output. 256 Hz SHTPW BZSHT (W) BZSHT (R) BZSTP BZ output Fig. 4.12.5.1 Timing chart for one-shot output EPSON S1C63656 TECHNICAL MANUAL...
  • Page 110: I/O Memory Of Sound Generator

    Buzzer frequency (Hz) 4096.0 3276.8 2730.7 2340.6 2048.0 1638.4 1365.3 1170.3 Select the buzzer frequency from among the above 8 types that have divided the oscillation clock. At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 111 When "1" has been written in ENRTM, it becomes 125 msec (8 Hz) units and when "0" has been written, it becomes 62.5 msec (16 Hz) units. At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 112: Programming Notes

    BZE register. (2) The one-shot output is only valid when the normal buzzer output is off (BZE = "0") and will be invalid when the normal buzzer output is on (BZE = "1"). EPSON S1C63656 TECHNICAL MANUAL...
  • Page 113: Integer Multiplier

    4.13 Integer Multiplier 4.13.1 Configuration of integer multiplier The S1C63656 has a built-in unsigned-integer multiplier. This multiplier performs 8 bits × 8 bits of multiplication or 16 bits ÷ 8 bits of division and returns the results and three flag states.
  • Page 114: Division Mode

    = 0AH. However, since the operation flags (NF/VF/ZF) are changed in each step, they cannot indicate the states according to the final operation results. Note: Make sure that the division results are correct using software as the hardware does not check. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 115: Execution Cycle

    ; Jump to error routine if VF = "1" %y, -4 ; Set DRL again %ba, [%y]+ [%x]+, %ba ; Store result (quotient) into RAM %ba, [%y]+ [%x]+, %ba ; Store result (remainder) into RAM EPSON S1C63656 TECHNICAL MANUAL...
  • Page 116: I/O Memory Of Integer Multiplier

    After the operation has finished, the low-order 8 bits of the product or the quotient are loaded to this register. However, if an overflow occurs in a division process, the quotient is not loaded and the low-order 8 bits of the dividend remains. At initial reset, this register is undefined. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 117: Programming Note

    CALMD until the operation result is set to the destination register DRH/DRL and the operation flags. While this operation is in process, do not read/write from/to the destination register DRH/DRL and do not read NF/VF/ZF. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 118: R/F Converter

    4.14 R/f Converter 4.14.1 Configuration of R/f converter The S1C63656 has a CR oscillation type R/f converter. Two systems (channel 0 and channel 1) of CR oscillation circuit are built into this R/f converter, so it is possible to compose two types of R/f conversion circuits by connecting different sensors to each CR oscillation circuit.
  • Page 119: Connection Terminals And Cr Oscillation Circuit

    CR oscillation clock. Difference in counted oscillation frequency can be evaluated in terms of the difference between the respective resistance values. Measurement results can be obtained from the changes in resistance values after correcting the difference according to the program. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 120 The "L" pulse width of the RFOUT output must be 10 µsec or more (when V = 3.0 V, R = 50 SEN0/1 kΩ, C = 1000 pF). RFIN0/1 terminal 10 µsec or more RFOUT output Fig. 4.14.2.3 Oscillation waveform EPSON S1C63656 TECHNICAL MANUAL...
  • Page 121 Tr1 = ON, S1 = ON Tr2 = ON, S2 = ON Count clock RFIN1 RFOUT Fig. 4.14.2.5 CR oscillation circuit for resistive humidity sensor The oscillation waveform is the same as Figure 4.14.2.3. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 122: Operation Of R/F Conversion

    RFRUNR register is set to "0", and the R/f converter circuit stops operation completely. The time base counter value should be saved into the RAM for R/f conversion of the sensor. Figure 4.14.3.1 shows a timing chart for the reference oscillation. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 123 The time base counter is enabled at the falling edge of the first input clock. Then, it counts up by the rising edge of the input clock. Depending on the timing, the measurement counter may not count the CR oscillation clock at the time RFRUNS is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 124 (3) Read the measurement counter and process the m - n value by the program Fig. 4.14.3.3 Sequence of R/f conversion Note: Set the initial value of the measurement counter taking into account the measurable range and the overflow of counters. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 125: Interrupt Function

    Fig. 4.14.4.2 Sensor oscillate completion interrupt Input clock RFRUNS register Count-up Time base counter Measurement counter clock Measurement counter FFFFDH FFFFEH FFFFFH Oscillation by sensor resistance OVMC, IRFM Interrupt request Fig. 4.14.4.3 Measurement counter overflow interrupt EPSON S1C63656 TECHNICAL MANUAL...
  • Page 126 • When an interrupt occurs by the counter overflow, the same interrupt will occur if the overflow flag (OVMC or OVTBC) is not reset. Be sure to check and reset to "0" (writing "1") the overflow flag when the R/f converter interrupt occurs. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 127: I/O Memory Of R/F Converter

    Interrupt factor flag (R/f converter reference oscillate completion) IRFM Reset Invalid Interrupt factor flag (R/f converter sensor oscillate completion) *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit EPSON S1C63656 TECHNICAL MANUAL...
  • Page 128 When "0" is written: Channel 0 Reading: Valid When "1" is written to SENSEL, channel 1 is selected for R/f conversion and when "0" is written, channel 0 is selected. At initial reset, this register is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 129 If an overflow occurs while counting the oscillation of the reference resistance, OVTBC is set to "1" and the interrupt occurs at the same time. This flag is reset by writing "1" or starting R/f conversion. At initial reset, this flag is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 130: Programming Notes

    (FF92H → FF93H → FF94H → FF95H → FF96H). Furthermore, an LD instruction should be used for writing data to the measurement counter and a read-modify-write instruction (AND, OR, ADD, SUB, etc.) cannot be used. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 131: Stepping Motor Driver

    4.15 Stepping Motor Driver 4.15.1 Configuration of stepping motor driver The S1C63656 has 2 channels (Ch. 1 and Ch. 2) of stepping motor drivers allowing control of two step- ping motors. By configuring the timing signal with software, low-power combination clocks and watches can be implemented.
  • Page 132: Setting Up The Motor-Drive Pulse

    7.08 msec 56.64 msec 3.42 msec 27.34 msec Note: Make sure that the motor driver idles when selecting the source clock for generating the pulse width using PFTYP or the pulse width using PFWA0–PFWA4 or PFWB0–PFWB4. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 133: Pulse Output Control

    "1" to the FTRG1/FTRG2 bit and an interrupt is generated. The interrupt can also be masked by setting the corresponding interrupt mask register EISMD1/EISMD2. However, the interrupt factor flag is set to "1" upon completion of a pulse output from the corresponding channel regardless of the interrupt mask register setting. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 134: I/O Memory Of Stepping Motor Driver

    ISMD2 Interrupt factor flag (Motor driver Ch. 2) ISMD1 Reset Invalid Interrupt factor flag (Motor driver Ch. 1) *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read EPSON S1C63656 TECHNICAL MANUAL...
  • Page 135 5.86 msec 46.88 msec 6.10 msec 48.83 msec 6.35 msec 50.78 msec 6.59 msec 52.73 msec 6.84 msec 54.69 msec 7.08 msec 56.64 msec 3.42 msec 27.34 msec At initial reset, these registers are set to "00H". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 136 RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. At initial reset, these flags are set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 137: Programming Notes

    "1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 138: Svd (Supply Voltage Detection) Circuit

    4.16 SVD (Supply Voltage Detection) Circuit 4.16.1 Configuration of SVD circuit The S1C63656 has a built-in SVD (supply voltage detection) circuit, so that the software can find when the source voltage lowers. Turning the SVD circuit on/off and the SVD criteria voltage setting can be done with software.
  • Page 139: I/O Memory Of Svd Circuit

    When "1" is read: Supply voltage (V –V ) < Criteria voltage Writing: Invalid The result of supply voltage detection at time of SVDON is set to "0" can be read from this latch. At initial reset, SVDDT is set to "0". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 140: Programming Notes

    SVD detection result, follow the programming sequence below. 1. Set SVDON to "1" 2. Maintain for 500 µsec minimum 3. Set SVDON to "0" 4. Read SVDDT (2) The SVD circuit should normally be turned off because SVD operation increase current consumption. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 141: Interrupt And Halt

    NMI are masked and interrupts cannot be accepted until the other one is set. <HALT> The S1C63656 has HALT functions that considerably reduce the current consumption when it is not necessary. The CPU enters HALT status when the HALT instruction is executed.
  • Page 142 SIK11 Input comparison register EIK1 Interrupt selection register KCP12 SIK12 KCP13 SIK13 ISMD2 EISMD2 ISMD1 EISMD1 EIT4 EIT3 EIT2 EIT1 EIT0 IRUN EIRUN ILAP EILAP ISW1 EISW1 ISW10 Fig. 4.17.1 Configuration of the interrupt circuit EISW10 EPSON S1C63656 TECHNICAL MANUAL...
  • Page 143: Interrupt Factor

    "1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the interrupt enabled state. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 144: Interrupt Mask

    R/f converter 0104H Programmable timer 0106H Serial interface 0108H K00–K03, K10–K13 input 010AH Motor driver 010CH Clock timer 010EH Stopwatch timer The four low-order bits of the program counter are indirectly addressed through the interrupt request. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 145: I/O Memory Of Interrupt

    ∗2 – Unused FFE9H ∗3 ∗2 – Unused EIT4 Enable Mask Interrupt mask register (Clock timer 16 Hz) *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit EPSON S1C63656 TECHNICAL MANUAL...
  • Page 146 Refer to Section 4.11, "Serial Interface". KCP03–KCP00, KCP13–KCP10: Input comparison registers (FF22H, FF26H) SIK03–SIK00, SIK13–SIK10: Interrupt selection registers (FF20H, FF24H) EIK0, EIK1: Interrupt mask registers (FFE3H•D0, FFE4H•D0) IK0, IK1: Interrupt factor flags (FFF3H•D0, FFF4H•D0) Refer to Section 4.4, "Input Ports". EPSON S1C63656 TECHNICAL MANUAL...
  • Page 147: Programming Notes

    SP1 and SP2 must be set as a pair. When one of them is set, all the interrupts including NMI are masked and interrupts cannot be accepted until the other one is set. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 148: Chapter 5: Summary Of Notes

    UMMARY OF OTES 5.1 Notes for Low Current Consumption The S1C63656 contains control registers for each of the circuits so that current consumption can be reduced. These control registers reduce the current consumption through programs that operate the circuits at the minimum levels.
  • Page 149: Summary Of Notes By Function

    0000H to 00FFH. Therefore, pay attention to the SP1 value because it may be set to 0200H or more exceeding the 4-bit/16-bit accessible range in the S1C63656 or it may be set to 00FFH or less. Memory accesses except for stack operations by SP1 are 4-bit data access. After initial reset, all the interrupts including NMI are masked until both the stack pointers SP1 and SP2 are set by software.
  • Page 150 Table 5.2.1 Counter change with OSC3 between readings low-order and high-order data with OSC1 Count clock Counter change between reading OSC3/1 0200H OSC3/4 001AH OSC3/32 0002H In 16-bit mode, the counter data must be read in the order below. PTD00–PTD03 → PTD04–PDT07 → PTD10–PTD13 → PTD14–PTD17 EPSON S1C63656 TECHNICAL MANUAL...
  • Page 151 SD0–SD7. (4) Be aware that the maximum clock frequency for the serial interface is limited to 1 MHz when OSC3 is used as the clock source of the programmable timer or in the slave mode. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 152 SP1 and SP2 must be set as a pair. When one of them is set, all the interrupts including NMI are masked and interrupts cannot be accepted until the other one is set. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 153: Precautions On Mounting

    In particular, the V –V voltages affect the display quality. Do not connect anything to the V –V terminals when the LCD driver is not used. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 154 (1) Design the product and implement the IC on the board so that it is shielded from visible radiation in actual use. (2) The inspection process of the product needs an environment that shields the IC from visible radiation. (3) As well as the face of the IC, shield the back and side too. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 155: Chapter 6: Basic External Wiring Diagram

    30 pF Resistor for OSC3 CR oscillation 30 kΩ (2 MHz) 0.2 µF –C Capacitor 3.3 µF Capacitor 0.1 µF RESET terminal capacitor Note: The above table is simply an example, and is not guaranteed to work. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 156: Chapter Electrical Characteristics

    -0.05V SEG0–37 µA (during LCD output) +0.05V µA Segment output current =0.9·V SEG0–37 -300 µA (during DC output) =0.1·V Ω R/f converter transistor ON =0.1V =1.8V RFINTr Ω resistance =0.1V =1.8V REFTr Ω =0.1V =1.8V SEN0Tr SEN1Tr EPSON S1C63656 TECHNICAL MANUAL...
  • Page 157: Analog Circuit Characteristics And Power Current Consumption

    No panel load. When SVD circuit, R/f converter and motor driver are in OFF status. ∗2 When the mask option to disable OSC3 is selected. ∗3 When a mask option for using OSC3 is selected. ∗4 Without LCD contrast adjustment EPSON S1C63656 TECHNICAL MANUAL...
  • Page 158: Oscillation Characteristics

    Unless otherwise specified: =3.0V, V =0V, R =30kΩ (2MHz), Ta=-20 to 70°C Item Symbol Condition Min. Typ. Max. Unit Oscillation frequency dispersion OSC3 Oscillation start voltage Vsta Oscillation start time =2.4 to 3.6V Oscillation stop voltage Vstp EPSON S1C63656 TECHNICAL MANUAL...
  • Page 159 The oscillation characteristics change depending on the conditions (components used, board pattern, etc.). Use the following characteristics as reference values and evaluate the characteristics on the actual product. 10000 = 2.4–3.6 V Ta = 25°C Typ. value 1000 Resistor value for CR oscillation R [kΩ] EPSON S1C63656 TECHNICAL MANUAL...
  • Page 160: Serial Interface Ac Characteristics

    Transmitting data output delay time Receiving data input set-up time Receiving data input hold time Note that the maximum clock frequency is limited to 1 MHz. <Master mode> SCLK OUT SOUT <Slave mode> SCLK IN SOUT EPSON S1C63656 TECHNICAL MANUAL...
  • Page 161: Timing Chart

    CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.7 Timing Chart System clock switching OSCC 5 msec min. ∗ CLKCHG ∗ 1 instruction execution time or longer EPSON S1C63656 TECHNICAL MANUAL...
  • Page 162: R/F Converter Characteristics

    R/f converter oscillation frequency - resistance characteristic (reference value) Ta = -20 ~ 70°C, C = 1000 pF, V = 3.0 V 1,000,000 100,000 +20% 10,000 -20% 1,000 Typ. 1,000 Resistance [kΩ] (external SEN0, SEN1 or REF) EPSON S1C63656 TECHNICAL MANUAL...
  • Page 163: Chapter 8: Package

    CHAPTER 8: PACKAGE CHAPTER ACKAGE 8.1 Plastic Package QFP20-144pin (Unit: mm) ±0.4 ±0.1 INDEX +0.1 –0.05 +0.05 0.125 –0.025 0° 10° ±0.2 The dimensions are subject to change without notice. EPSON S1C63656 TECHNICAL MANUAL...
  • Page 164: Ceramic Package For Test Samples

    CHAPTER 8: PACKAGE 8.2 Ceramic Package for Test Samples QFP17-144pin (Unit: mm) ±0.25 22.00 ±0.19 19.20 0.50 0.20 ±0.20 0.50 EPSON S1C63656 TECHNICAL MANUAL...
  • Page 165: Chapter Pad Layout

    CHAPTER 9: PAD LAYOUT CHAPTER AYOUT 9.1 Diagram of Pad Layout (0, 0) Die No. 4.80 mm Chip thickness: 400 µm Pad opening: 90 µm EPSON S1C63656 TECHNICAL MANUAL...
  • Page 166: Pad Coordinates

    SEG15 2.266 0.727 SEG20 -2.266 0.961 -0.123 -1.368 SEG16 2.266 0.847 SEG21 -2.266 0.841 -0.013 -1.368 SEG17 2.266 0.967 SEG22 -2.266 0.721 0.097 -1.368 SEG18 2.266 1.087 SEG23 -2.266 0.601 0.207 -1.368 – – – – EPSON S1C63656 TECHNICAL MANUAL...
  • Page 167: Appendix Peripheral Circuit Boards For S1C63656

    This description of the S1C63 Family Peripheral Circuit Board (S5U1C63000P1) provided in this docu- ment assumes that circuit data for the S1C63656 has already been downloaded to the board. For informa- tion on downloading various circuit data, please see Section A.3. Please refer to the user’s manual provided with your ICE for detailed information on its functions and method of use.
  • Page 168 APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 (4) Register monitor pins These pins correspond one-to-one to the registers and motor driver outputs listed below. The pin outputs a high for logic "1" and a low for logic "0". Monitor Pin No.
  • Page 169 APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 (7) RESET switch This switch initializes the internal circuits of this board and feeds a reset signal to the ICE. (8) External part connecting socket Unused (9) CLK and PRG switch If power to the ICE is shut down before circuit data downloading is complete, the circuit configura- tion in this board will remain incomplete, and the debugger may not be able to start when you power on the ICE once again.
  • Page 170: S5U1C63658P2

    APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 A.1.2 S5U1C63658P2 The S5U1C63658P2 board provides the R/f converter function that supports resistive sensors such as a thermistor and resistive humidity sensors. The following explains the names and functions of each part of the S5U1C63658P2 board.
  • Page 171: Connecting To The Target System

    APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 A.2 Connecting to the Target System This section explains how to connect the S5U1C63000P1 to the target system. First insert the S5U1C63000P1 board into the second upper slot of the ICE and the S5U1C63658P2 board into the top slot.
  • Page 172 APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 To connect this board (S5U1C63000P1) to the target system, use the I/O connecting cables supplied with the board (80-pin/40-pin × 2, 100-pin/50-pin × 2, flat type). Take care when handling the connectors, since they conduct electrical power (V = +3.3 V).
  • Page 173 APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 Table A.2.1 I/O connector pin assignment 40-pin CN1-1 connector 40-pin CN1-2 connector 50-pin CN2-1 connector 50-pin CN2-2 connector Pin name Pin name Pin name Pin name (= 3.3 V) (= 3.3 V) (= 3.3 V) (= 3.3 V)
  • Page 174: Downloading To S5U1C63000P1

    APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 A.3 Downloading to S5U1C63000P1 A.3.1 Downloading Circuit Data 1 – when new ICE (S5U1C63000H2) is used The S5U1C63000P1 board comes with the FPGA that contains factory inspection data, therefore the circuit data for the model to be used should be downloaded. The following explains the downloading proce- dure.
  • Page 175: Usage Precautions

    APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 A.4 Usage Precautions To ensure correct use of the peripheral circuit board, please observe the following precautions. A.4.1 Operational precautions (1) Before inserting or removing cables, turn off power to all pieces of connected equipment.
  • Page 176 OSC3 oscillation circuit by mask option. <Access to undefined address space> If any undefined space in the S1C63656's internal ROM/RAM or I/O is accessed for data read or write operations, the read/written value is indeterminate. Additionally, it is important to remain aware that indeterminate state differs between S5U1C63000P1 and the actual IC.
  • Page 177 APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 <R/f converter> - If the debugger breaks executing of the target program while the R/f converter is counting the oscillation, the R/f converter stops counting. Note that the R/f converter will not able to load a proper result if the count operation is resumed from that point.
  • Page 178: Product Specifications

    APPENDIX PERIPHERAL CIRCUIT BOARDS FOR S1C63656 A.5 Product Specifications A.5.1 Specifications of S5U1C63000P1 S5U1C63000P1 254 mm (wide) × 144.8 mm (depth) × 13 mm (height) Dimension: (including screws) Weight: Approx. 300 g Power supply: DC 5 V ± 5%, less than 1 A (supplied from ICE main unit)
  • Page 179 Riesstrasse 15 Hi- Tech Park, Shenzhen 80992 Munich, GERMANY Phone: +86-755-2699-3828 Fax: +86-755-2699-3838 Phone: +49-89-14005-0 Fax: +49-89-14005-110 EPSON TAIWAN TECHNOLOGY & TRADING LTD. DÜSSELDORF BRANCH OFFICE 14F, No. 7, Song Ren Road Altstadtstrasse 176 Taipei 110 51379 Leverkusen, GERMANY Phone: +886-2-8786-6688...
  • Page 180 S1C63656 Technical Manual SEMICONDUCTOR OPERATIONS DIVISION EPSON Electronic Devices Website http://www.epson.jp/device/semicon_e Document code: 405218203 First issue October, 2004 Printed March, 2007 in Japan...

Table of Contents