Table of Contents

Advertisement

Quick Links

CMOS 4-BIT SINGLE CHIP MICROCONTROLLER
S1C63632
Technical Manual
Rev.1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S1C63632 and is the answer not in the manual?

Questions and answers

Summary of Contents for Epson S1C63632

  • Page 1 CMOS 4-BIT SINGLE CHIP MICROCONTROLLER S1C63632 Technical Manual Rev.1.0...
  • Page 2 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.
  • Page 3: Configuration Of Product Number

    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 4: Table Of Contents

    4.4.2 Mask option ....................39 4.4.3 OSC1 oscillation circuit ................40 4.4.4 OSC3 oscillation circuit ................40 4.4.5 Switching the CPU clock ................41 4.4.6 I/O memory of oscillation circuit .............. 42 4.4.7 Programming notes ................... 43 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 5 4.10.5 Setting synchronous clock ..............124 4.10.6 Data input/output and interrupt function ..........125 4.10.7 Data transfer in SPI mode ..............128 4.10.8 I/O memory of serial interface ............... 129 4.10.9 Programming notes ................134 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 6 7.1 Absolute Maximum Rating ................182 7.2 Recommended Operating Conditions ............182 7.3 DC Characteristics ..................183 7.4 Analog Circuit Characteristics and Current Consumption ....... 184 7.5 Oscillation Characteristics ................. 187 7.6 Serial Interface AC Characteristics ............188 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 7 8.2 Ceramic Package for Test Samples ............. 203 ____________________________________________ 204 CHAPTER AYOUT 9.1 Diagram of Pad Layout ................204 9.2 Pad Coordinates ..................205 S1C63632 __________________ 206 APPENDIX ERIPHERAL IRCUIT OARDS FOR A.1 Names and Functions of Each Part ............206 A.1.1 S5U1C63000P6 ..................
  • Page 8: Outline

    CHAPTER UTLINE The S1C63632 is a microcomputer which has a 4-bit CPU S1C63000 as the core CPU, ROM (31,744 words × 13 bits), RAM (8,192 words × 4 bits), multiply-divide circuit, serial interface, watchdog timer, program- mable timer, time base counters (2 systems), a dot matrix LCD driver that can drive a maximum 1,536 dots of LCD panel, and an R/f converter that can measure temperature and humidity using sensors such as a thermistor.
  • Page 9: Block Diagram

    SOUT(P21) CA–CG Interface SRDY/SS(P23) SCLK(P20) Sound BZ(P03) Generator SEN0(P02), REF0(P01), RFOUT(P03) RFIN0(P00) R/f Converter Integer Multiplier SEN1, HUD, REF1 RFIN1 P00–03, P10–13 Test I/O Port TEST P20–23, P30–33 P40–43, P50–53 Fig. 1.2.1 Block diagram Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 10: Pin Layout Diagram

    SEG2 COM18/SEG61 SEG3 COM19/SEG60 SEG4 COM20/SEG59 SEG5 COM21/SEG58 SEG6 COM22/SEG57 SEG7 COM23/SEG56 SEG8 COM24/SEG55 SEG9 COM25/SEG54 SEG10 COM26/SEG53 SEG11 COM27/SEG52 SEG12 COM28/SEG51 SEG13 COM29/SEG50 SEG14 COM30/SEG49 SEG15 COM31/SEG48 Fig. 1.3.1 Pin layout diagram (QFP20-144pin) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 11 SEG61 N.C. SEG46 SEG47 COM29 COM26 COM24 COM19 OSC4 OSC2 SEG50 SEG53 SEG55 SEG60 COM31 COM30 COM25 COM23 OSC3 OSC1 SEG48 SEG49 SEG54 SEG56 N.C. N.C. Top View Fig. 1.3.2 Pin layout diagram (VFBGA10H-144) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 12: Pin Description

    E5, A5, B5, D5, C5, A4, B4, D4, C4, A3, C3, B3, A2, C2, B2, B1, C1, D2, D1, E2, E1, D3, E3, F1, F2, F3, E4, F4, G1, G2, F5, F6, G3, H1, H2, G4, G5, J1, J2, G6, H3, K1, H4, J3, K2, K3, L1, L2 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 13: Mask Option

    The function option generator winfog, that has been prepared as the development software tool of S1C63632, is used for this selection. Mask pattern of the IC is finally generated based on the data created by the winfog. Refer to the "S5U1C63000A Manual"...
  • Page 14 CHAPTER 1: OUTLINE <Option List> The following is the option list for the S1C63632. 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. Be sure to record the specifications for unused functions too, according to the instructions provided.
  • Page 15 4. Use <P10, P11, P12, P13> 7. MULTIPLE KEY ENTRY RESET TIME AUTHORIZE 1. Not Use 2. Use 8. LCD DRIVING POWER 1. 1/5 Bias, V Reference 2. 1/4 Bias, V Reference 3. 1/4 Bias, V Reference Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 16: Power Supply And Initial Reset

    The S1C63632 operating power voltage is as follows: 1.6 V to 5.5 V 2.1.2 Internal power supply circuit The S1C63632 incorporates the power supply circuit shown in Figure 2.1.2.1. When voltage within the range described above is supplied to V (+) and V (GND), all the voltages needed for the internal circuits are generated internally in the IC.
  • Page 17: Internal Voltage Regulator

    . See Chapter 7, "Electrical Characteristics" for the voltage values. In the S1C63632, the LCD drive voltage is supplied to the built-in LCD driver which drives the LCD panel connected to the SEG and COM terminals. Notes: • Be sure not to use the V...
  • Page 18: Initial Reset

    CHAPTER 2: POWER SUPPLY AND INITIAL RESET 2.2 Initial Reset The S1C63632 should be reset to initialize the internal circuits. There are two ways of doing this. (1) External initial reset by the RESET terminal (2) External initial reset by simultaneous high input to P10–P13 ports (mask option) The circuits are initialized by either (1) or (2).
  • Page 19: Simultaneous High Input To P1X Ports (P10-P13)

    ∗ See Section 4.1, "Memory Map". Index register X Undefined 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 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 20: 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 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 21: 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 S1C63632 is step 0000H to step 7BFFH. 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 0101H–010FH, respectively.
  • Page 22: Data Rom

    4,096 words × 4 bits. The data ROM is assigned to addresses 8000H to 8FFFH on the data memory map, and the data can be read using the same data memory access instructions as the RAM. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 23: Peripheral Circuits And Operation

    IRCUITS AND PERATION The peripheral circuits of S1C63632 (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 24 FF16H SWCKE Enable Disable Stopwatch timer clock enable RTCKE Enable Disable Clock timer clock enable Remarks ∗1 Initial value at initial reset ∗2 Not set in the circuit ∗3 Constantly "0" when being read Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 25 R/f is used FF20H High P01 I/O port data functions as a general-purpose register when R/f is used High P00 I/O port data functions as a general-purpose register when R/f is used Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 26 P22 I/O port data FF28H High P21 I/O port data functions as a general-purpose register when SIF is used High P20 I/O port data functions as a general-purpose register when SIF (master) is used Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 27 TOUT_C is used SMT31 Schmitt CMOS P31 input interface level select register functions as a general-purpose register TOUT_B is used SMT30 Schmitt CMOS P30 input interface level select register Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 28 TMRST Reset Reset Invalid Clock timer reset (writing) TMRUN Stop Clock timer Run/Stop Clock timer data (16 Hz) Clock timer data (32 Hz) FF41H Clock timer data (64 Hz) Clock timer data (128 Hz) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 29 General General-purpose register General LDUTY2 LDUTY1 LDUTY0 [LDUTY2–0] LDUTY2 Duty 1/32 (32 Hz) Prohibited 1/24 (42 Hz) FF51H drive duty LDUTY1 [LDUTY2–0] 5–7 selection LDUTY0 Duty 1/24 (21 Hz) 1/16 (32 Hz) Prohibited Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 30 – ∗2 MC19 – MC19 MC18 MC17 MC16 ∗2 MC18 – FF66H Measurement counter MC16–MC19 ∗2 MC17 – ∗2 MC16 – ∗2 – ∗2 – FF67H Time base counter TC0–TC3 ∗2 – ∗2 – Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 31 Invalid Programmable timer 1 reset (reload) PTRST1 PTRUN1 PTRST0 PTRUN0 PTRUN1 Stop Programmable timer 1 Run/Stop FF82H ∗3 ∗2 PTRST0 – Reset Invalid Programmable timer 0 reset (reload) PTRUN0 Stop Programmable timer 0 Run/Stop Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 32 Normal Programmable timer 3 PWM output selection PTSEL3 PTSEL2 CHSEL_B PTOUT_B PTSEL2 Normal Programmable timer 2 PWM output selection FF91H CHSEL_B Timer 3 Timer 2 PTM2–3 TOUT_B output selection PTOUT_B PTM2–3 TOUT_B output control Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 33 MOD16_C EVCNT_C FCSEL_C PLPUL_C EVCNT_C Event ct. Timer PTM4 counter mode selection FFA0H FCSEL_C With NR No NR PTM4 function selection (for event counter mode) PLPUL_C PTM4 pulse polarity selection (for event counter mode) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 34 CD53 CD53 CD52 CD51 CD50 CD52 FFAEH Programmable timer 5 compare data (low-order 4 bits) CD51 CD50 CD57 CD57 CD56 CD55 CD54 CD56 FFAFH Programmable timer 5 compare data (high-order 4 bits) CD55 CD54 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 35 CD67 CD67 CD66 CD65 CD64 CD66 FFBDH Programmable timer 6 compare data (high-order 4 bits) CD65 CD64 CD73 CD73 CD72 CD71 CD70 CD72 FFBEH Programmable timer 7 compare data (low-order 4 bits) CD71 CD70 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 36 EIRUN EILAP EISW1 EISW10 EILAP Enable Mask Interrupt mask register (Stopwatch direct LAP) FFEDH EISW1 Enable Mask Interrupt mask register (Stopwatch timer 1 Hz) EISW10 Enable Mask Interrupt mask register (Stopwatch timer 10 Hz) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 37 IK13 IK12 IK11 IK10 IK12 Interrupt factor flag (Key input interrupt 6 <P42>) FFFCH IK11 Interrupt factor flag (Key input interrupt 5 <P41>) IK10 Reset Invalid Interrupt factor flag (Key input interrupt 4 <P40>) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 38 Interrupt factor flag (Clock timer 128 Hz) Interrupt factor flag (Clock timer 1 Hz) Interrupt factor flag (Clock timer 2 Hz) FFFFH Interrupt factor flag (Clock timer 4 Hz) Reset Invalid Interrupt factor flag (Clock timer 8 Hz) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 39: Chapter 4: Peripheral Circuits And Operation (Power Control)

    4.2 Power Control 4.2.1 Configuration of power supply circuit The S1C63632 has built-in power supply circuits shown in Figure 4.2.1.1 so the voltages to drive the CPU, internal logic circuits, oscillation circuits and LCD driver can be generated on the chip.
  • Page 40: Controlling The Power Supply Voltage Booster/Halver

    2.5 V is used as the power source for the LCD system voltage regulator, the V to V voltages cannot be generated within specifications (when a V reference voltage option is selected). Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 41: Heavy Load Protection Function

    2.5 V). When "0" is written to DBON, the voltage boost operation is deactivated. Be sure to set DBON to "0" (Off) when driving the LCD system voltage regulator with V . Furthermore, do not set both DBON and HLON to "1". At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 42 However, heavy load protection mode increases current consumption compared with normal operation mode. Therefore, do not set heavy load protection mode unless it is necessary. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 43: Programming Notes

    ) if the supply voltage V exceeds 2.5 V, as it may cause damage of the IC. (4) Current consumption increases in heavy load protection mode, therefore do not set heavy load protection mode with software if unnecessary. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 44: Chapter 4: Peripheral Circuits And Operation (Watchdog Timer)

    4.3.1 Configuration of watchdog timer The S1C63632 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 45: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 46: Chapter 4: Peripheral Circuits And Operation (Oscillation Circuit)

    4.4 Oscillation Circuit 4.4.1 Configuration of oscillation circuit The S1C63632 is configured as a twin clock system with two internal oscillation circuits (OSC1 and OSC3). The OSC1 oscillation circuit generates the main-clock (Typ. 32.768 kHz) for low-power operation and the OSC3 oscillation circuit generates the sub-clock (Max. 4.2 MHz) to run the CPU and some peripheral circuits in high speed.
  • Page 47: Osc1 Oscillation Circuit

    ) between the OSC3 terminal and V , and between the OSC4 terminal and V , respectively. When CR oscillation (Max. 2 MHz) is selected, connect a resistor (R ) between the OSC3 and OSC4 terminals. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 48: Switching The Cpu Clock

    CPU clock STOP Standby Status * The return destination from the standby status becomes the program execution status prior to shifting to the standby status. Fig. 4.4.5.1 Status transition diagram for the clock changeover Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 49: I/O Memory Of Oscillation Circuit

    When "0" is written: OSC1 clock is selected Reading: Valid When the CPU clock is to be OSC3, set CLKCHG to "1"; for OSC1, set CLKCHG to "0". At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 50: Programming Notes

    Using a single instruction to process simultaneously can cause a malfunction of the CPU. (4) The S1C63632 supports the SLEEP function and both the OSC1 and OSC3 oscillation circuits stop oscillat- ing when the CPU enters SLEEP mode. To prevent the CPU from a malfunction when it resumes operating from SLEEP mode, switch the CPU clock to OSC1 before placing the CPU into SLEEP mode.
  • Page 51: Chapter 4: Peripheral Circuits And Operation (I/O Ports)

    (P00–P03, P10–P13, P20–P23, P30–P33, P40–P43 and P50–P53) 4.5.1 Configuration of I/O ports The S1C63632 is equipped with 24 bits of I/O ports (P00–P03, P10–P13, P20–P23, P30–P33, P40–P43, and P50–P53) in which the input/output direction can be switched with software. Figure 4.5.1.1 shows the structure of an I/O port.
  • Page 52: Mask Option

    The pull-down resistor for input mode and output specification (complementary output or P-channel open drain output) selected by mask option are effective even when I/O ports are used for input/output of the serial interface and R/f converter. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 53: I/O Control Registers And Input/Output Mode

    I/O port. 4.5.5 Pull-down during input mode A pull-down resistor that activates during the input mode can be built into the I/O ports of the S1C63632. The pull-down resistor becomes effective by writing "1" to the pull-down control register PULxx that corresponds to each port, and the input line is pulled down during input mode.
  • Page 54: Special Output

    (P13/P31/P32/P33) Fig. 4.5.6.1 Output waveform of TOUT_x signal FOUT output (P23) In order for the S1C63632 to provide a clock signal to an external device, the FOUT signal (f OSC1 OSC3 or a divided clock) can be output from the P23 port terminal.
  • Page 55 Refer to Section 4.11, "Sound Generator", for details of the buzzer signal and controlling method. Note: The P03 terminal used for BZ output is also shared with the RFOUT output for the R/f converter. Do not enable the RFOUT and BZ signals to output simultaneously. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 56: Key Input Interrupt Function

    Interrupt polarity select flag (IK10) register (PCP10) rejector Interrupt Address request Address Interrupt select register (SIP10) Address Interrupt mask register (EIK10) Address Noise reject select register (NRSP11, 10) Address Fig. 4.5.7.1 Key input interrupt circuit configuration Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 57 (SIPxx = "1") of the port to be used for releasing SLEEP status before executing the SLP instruction. Furthermore, enable the key input interrupt using the corresponding interrupt mask register (EIKxx = "1") before executing the SLP instruction to run key input interrupt handler routine after SLEEP status is released. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 58: I/O Memory Of I/O Ports

    P12 I/O control register IOC11 Output Input P11 I/O control register IOC10 Output Input P10 I/O control register *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 59 P31 I/O port data functions as a general-purpose register TOUT_B is used High P30 I/O port data *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 60 SIP01 SIP00 SIP02 Enable Disable FF3CH P10–P13 interrupt select register SIP01 Enable Disable SIP00 Enable Disable *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 61 PTM4 function selection (for event counter mode) PLPUL_C PTM4 pulse polarity selection (for event counter mode) *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 62 _ _ _ _ _ Set this register to "0" to use P23 as an I/O port if SRDY output or SS input is not used in slave mode. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 63 When "1" is written as port data, the port terminal goes high (V ), and when "0" is written, the terminal goes low (V Port data can be written also in the input mode. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 64 PUL40–PUL43: P4 port pull-down control register (FF32H) PUL50–PUL53: P5 port pull-down control register (FF36H) Enables the pull-down during input mode. When "1" is written: Pull-down On When "0" is written: Pull-down Off Reading: Valid Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 65 I/O port (P10–P13, P40–P43) generates an interrupt at the falling edge of the input signal. When "0" is written, the I/O port generates an interrupt at the rising edge of the input signal. At initial reset, these registers are set to "1". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 66 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". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 67 During reading BZSHT shows the operation status of the one-shot output circuit. During one-shot output, BZSHT becomes "1" and the output goes off, it shifts to "0". At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 68: Programming Notes

    (7) Before the port function is configured, the circuit that uses the port (e.g. input interrupt, multiple key entry reset, serial interface, event counter input, direct RUN/LAP input for stopwatch) must be disabled. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 69: Chapter 4: Peripheral Circuits And Operation (Lcd Driver)

    4.6.1 Configuration of LCD driver The S1C63632 has a built-in dot matrix LCD driver that can drive an LCD panel with a maximum of 1,536 dots (48 segments × 32 commons). Figures 4.6.1.1 to 4.6.1.3 show the configuration of the LCD driver and the drive power supply.
  • Page 70: Power Supply For Lcd Driving

    Fig. 4.6.1.3 Configuration of LCD driver and drive power supply (V reference, 1/4 bias) 4.6.2 Power supply for LCD driving (1) Mask option The S1C63632 provides three options to configure the internal LCD power supply for generating the LCD drive voltages V –V TYPE 1 reference, 1/5 bias = 1.6 to 2.5 V (power supply voltage booster/halver is used)
  • Page 71 VCHLMOD is set to "0" (Off). Note: The heavy load protection mode increases current consumption compared with normal operation mode. Therefore, do not set heavy load protection mode unless it is necessary. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 72: Controlling Lcd Display

    The contents in the display RAM are not modified. (2) Drive duty and frame frequency The S1C63632 supports three types of LCD drive duty settings, 1/32, 1/24 and 1/16, and can be switched using the LDUTY2–LDUTY0 register as shown in Table 4.6.3.2. Select an appropriate drive duty according to the LCD panel to be used.
  • Page 73 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) 32 Hz – – – – COM0 COM0 COM1 COM2 SEG0 SEG1 (GND) COM0–SEG0 (GND) COM0–SEG1 Fig. 4.6.3.1 Drive waveform for 1/32 duty (FLCKS = "00B") Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 74 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) 42 (21) Hz – – – – COM0 COM0 COM1 COM2 SEG0 SEG1 COM0–SEG0 (GND) (GND) COM0–SEG1 Fig. 4.6.3.2 Drive waveform for 1/24 duty (FLCKS = "00B") Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 75 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) 32 Hz – – – – COM0 COM0 COM1 COM2 SEG0 SEG1 COM0–SEG0 (GND) (GND) COM0–SEG1 Fig. 4.6.3.3 Drive waveform for 1/16 duty (FLCKS = "00B") Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 76: Display Memory

    COM24 COM25 F300H F302H F304H F306H F35EH COM26 COM27 COM28 COM29 F301H F303H F305H F307H F35FH COM30 COM31 Memory address Data bit Fig. 4.6.4.1 Correspondence between display memory and LCD dot matrix (1/32 duty) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 77 COM16 COM17 F200H F202H F204H F206H F26EH COM18 COM19 COM20 COM21 F201H F203H F205H F207H F26FH COM22 COM23 Memory address Data bit Fig. 4.6.4.2 Correspondence between display memory and LCD dot matrix (1/24 duty) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 78 The display memory has read/write capability, and the addresses that have not been used for LCD display can be used as general purpose registers. Note: When a program that access no memory implemented area (F080H–F0FFH, F180H–F1FFH, F280H–F2FFH, F380H–F3FFH) is made, the operation is not guaranteed. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 79: Lcd Contrast Adjustment

    16 levels using the LC3–LC0 register. Table 4.6.5.1 LCD contrast Contrast Light Dark At initial reset, the LC3–LC0 register is set to 0000B. The software should initialize the register to get the desired contrast. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 80: I/O Memory Of Lcd Driver

    1/24 (21 Hz) 1/16 (32 Hz) Prohibited LCD contrast adjustment [LC3—0] — FF52H Contrast Light — Dark *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 81 Display data area 1 F360H Unused area (COM8–COM15) F36FH SEG55 Unused area F370H F37FH SEG63 F380H Not implemented Not implemented Not implemented (prohibition of read/write) (prohibition of read/write) (prohibition of read/write) F3FFH Fig. 4.6.6.1 Display memory map Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 82 FOUT signal is being output. However, heavy load protection mode increases current consumption compared with normal operation mode. Therefore, do not set heavy load protection mode unless it is necessary. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 83 This function is valid only when 1/16 duty is selected, and when 1/24 or 1/32 duty is selected, this register can be used as a general purpose register. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 84 LC3–LC0: LCD contrast adjustment register (FF52H) Adjusts the LCD contrast. Table 4.6.6.6 LCD contrast Contrast Light Dark Setting this register changes the V –V LCD drive voltages. At initial reset, this register is set to "0000B". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 85: Programming Notes

    , wait at least 1 msec for stabilization of the voltage before switching the power voltage for the LCD system voltage regulator to V using VCSEL after the power supply voltage booster/halver is turned on. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 86: Chapter 4: Peripheral Circuits And Operation (Clock Timer)

    4.7 Clock Timer 4.7.1 Configuration of clock timer The S1C63632 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 87: Interrupt Function

    EIT5, EIT6, EIT7) are used to enable or mask each interrupt factor. However, regardless of the interrupt mask register setting, the interrupt factor flag is set to "1" at the falling edge of the corresponding signal. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 88: I/O Memory Of Clock Timer

    When "1" is written to RTCKE, the clock timer operating clock is supplied from the clock manager. If it is not necessary to run the clock timer, stop the clock supply by setting RTCKE to "0" to reduce current consumption. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 89 The interrupt mask registers (EIT0, EIT1, EIT2, EIT3, EIT4, EIT5, EIT6, EIT7) are used to select whether to mask the interrupt to the separate frequencies (128 Hz, 64 Hz, 32 Hz, 16 Hz, 8 Hz, 4 Hz, 2 Hz, 1 Hz). At initial reset, these registers are set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 90: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 91: Chapter 4: Peripheral Circuits And Operation (Stopwatch Timer)

    4.8.1 Configuration of stopwatch timer The S1C63632 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 92: Counter And Prescaler

    CRNWF is set to "1" at that point. In this case, it is necessary to read from SWD0–3 again. The capture renewal flag is renewed by reading SWD8–11. Figure 4.8.4.1 shows the timing for data holding and reading. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 93: Stopwatch Timer Run/Stop And Reset

    When the stopwatch timer is reset in the RUN status, counting restarts from count "000". Also, in the STOP status the reset data "000" is maintained until the next RUN. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 94: Direct Input Function And Key Mask

    After that, be sure to check the capture renewal flag. When the capture renewal flag is set, renewed data is held in the capture buffer. So it is necessary to read from SWD0–3 again. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 95 DKM0–DKM2 registers. Table 4.8.6.2 Key mask selection DKM2 DKM1 DKM0 Mask key combination None (at initial reset) P12, P13 P12, P13, P40 P40, P41 P40, P41, P42 P40, P41, P42, P43 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 96 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 97: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 98 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.8.7.2 Timing chart for stopwatch timer Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 99: I/O Memory Of Stopwatch Timer

    When "1" is written to SWCKE, the stopwatch timer operating clock is supplied from the clock manager. If it is not necessary to run the stopwatch timer, stop the clock supply by setting SWCKE to "0" to reduce current consumption. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 100 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 101 The hold function of the capture buffer works by reading this data. These 4 bits are read-only, and cannot be used for writing operations. At initial reset, the timer data is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 102 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". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 103: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 104: Chapter 4: Peripheral Circuits And Operation (Programmable Timer)

    4.9 Programmable Timer 4.9.1 Configuration of programmable timer The S1C63632 has built-in four (Ch.A–Ch.D) units of 8 bits × 2-channel programmable timers. Each unit may be configured to 8-bit timer × 2 channels or 16-bit timer × 1 channel with software.
  • Page 105 P32 port TOUT_C PWM waveform Compare data register (P32) generator CD50–CD57 Selector PTOUT_C Output control PTSEL5 CHSEL_C Output selection PWM output selection Underflow signal Fig. 4.9.1.3 Configuration of programmable timer Ch.C (Timers 4 and 5) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 106 IC power supply. Refer to <Output Terminals> in Section 5.3, "Precautions on Mounting", for more information. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 107: Controlling Clock Manager

    • Unused timer • Timer used as an event counter that inputs an external clock • Upper 8-bit timer (Timer 1/3/5/7) when the timer unit is used as a 16-bit × 1 channel configuration. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 108: Basic Count Operation

    R/f converter. PTRUNx PTRSTx RLDx0–x7 Count clock PTDx7 PTDx6 PTDx5 PTDx4 PTDx3 PTDx2 PTDx1 PTDx0 Preset Reload & underflow interrupt Fig. 4.9.3.1 Basic operation timing of down counter Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 109: Event Counter Mode (Timers 0, 2, 4 And 6)

    The operation of the event counter mode is the same as the normal timer except it uses the EVIN_A input as the clock. Refer to Section 4.9.3, "Basic count operation" for basic operation and control. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 110: Pwm Mode (Timers 0-7)

    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.9.5.1 Generating PWM waveform Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 111: 16-Bit Timer Mode (Timer 0 + 1, Timer 2 + 3, Timer 4 + 5, Timer 6 + 7)

    In this case, the correct counter data cannot be read. The description above is applied when Timers 2 and 3, Timers 4 and 5 or Timers 6 and 7 are used as a 16- bit timer. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 112: Interrupt Function

    Figure 4.9.8.1 shows the output waveform of the TOUT_A signal. PTOUT_A TOUT_A output Fig. 4.9.8.1 Output waveform of the TOUT_A signal The Ch.B to Ch.D can be controlled the same as above to output the TOUT signal. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 113: Clock Output To Serial Interface And R/F Converter

    CNT1 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 114: I/O Memory Of Programmable Timer

    PTPS71 Frequency /256 OSC1 OSC1 OSC3 OSC3 OSC3 [PTPS73–70] PTPS70 Frequency OSC3 OSC3 OSC3 OSC3 OSC3 *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 115 CD17 CD16 CD15 CD14 CD16 FF8FH Programmable timer 1 compare data (high-order 4 bits) CD15 CD14 *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 116 CD37 CD36 CD35 CD34 CD36 FF9FH Programmable timer 3 compare data (high-order 4 bits) CD35 CD34 *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 117 CD57 CD56 CD55 CD54 CD56 FFAFH Programmable timer 5 compare data (high-order 4 bits) CD55 CD54 *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 118 CD77 CD76 CD75 CD74 CD76 FFBFH Programmable timer 7 compare data (high-order 4 bits) CD75 CD74 *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 119 Interrupt factor flag (Programmable timer 5 underflow) ICTC5 Reset Invalid Interrupt factor flag (Programmable timer 5 compare match) *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 120 • Timer used as an event counter that inputs an external clock • Upper 8-bit timer (Timer 1/3/5/7) when the timer unit is used as 16-bit × 1 channel configuration. At initial reset, these registers are set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 121 When "0" is written, timer mode is selected. In this mode, the timer count the internal clock selected by the PTPS register. This selection is effective even when these timer is used in 16-bit timer mode. At initial reset, these registers are set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 122 When "1" is written, the high-order timer output is selected. In 16-bit timer mode, the high-order timer output is always selected regardless of how these registers are set. At initial reset, these registers are set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 123 When the counter is preset in the RUN status, the counter restarts immediately after presetting. In the case of STOP status, the reload data is preset to the counter and is maintained. No operation results when "0" is written. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 124 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". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 125 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". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 126: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 127 • Read the count data twice and verify if there is any difference between them. • Temporarily stop the programmable timer when the counter data is read to obtain proper data. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 128: Chapter 4: Peripheral Circuits And Operation (Serial Interface)

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

    I/O port. SIN terminal: PUL22 register SCLK terminal: PUL20 register _ _ _ _ _ SS terminal: PUL23 register Refer to Section 4.5, "I/O Ports", for controlling the pull-down resistors. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 130: Operating Mode Of Serial Interface

    SPI slave mode SPI slave mode is provided to use the S1C63632 as an SPI slave device. In this mode, the serial inter- face inputs the synchronous clock that is sent by the external master device from the SCLK terminal to _ _ _ _ _ perform serial transfer.
  • Page 131: Setting Synchronous Clock

    Rising edge ( At initial reset, the clock polarity is set to positive and the phase is set to the rising edge. See Figure 4.10.6.2 for the data transfer timings by the synchronous clock format selected. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 132: Data Input/Output And Interrupt Function

    Serial data output procedure and interrupt The S1C63632 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 and SD4–SD7 and writing "1" to SCTRG bit, it synchronizes with the synchronous clock and the serial data is output to the SOUT (P21) terminal.
  • Page 133 Fig. 4.10.6.1 Serial data input/output permutation SRDY signal When the S1C63632 serial interface is used in the slave mode, the SRDY signal is used to indicate whether the internal serial interface is ready to transmit or receive data for the master side (external) serial device.
  • Page 134 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) Timing chart The S1C63632 serial interface timing charts are shown in Figures 4.10.6.2 . SCTRG (W) SCTRG (R) SCLK 8-bit shift register SOUT ISIF SRDY (Slave mode) (a) When SCPS1 = "0" and SCPS0="0"...
  • Page 135: Data Transfer In Spi Mode

    SPI slave device When using the S1C63632 as an SPI slave device, set the serial interface to SPI slave mode. ESIF = "1", SMOD = "0", ENCS = "1", ESREADY = "0", ESOUT = "1" (when SOUT is used) _ _ _ _ _ The P23 terminal functions as the SS (Slave Select) signal input terminal.
  • Page 136: I/O Memory Of Serial Interface

    ISIF General General-purpose register FFFAH General General-purpose register ISIF Reset Invalid Interrupt factor flag (Serial interface) *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 137 SMT20 and SMT23 registers can be used as general purpose registers. At initial reset, these registers are set to "1" and the ports are configured with a CMOS Schmitt level input interface. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 138 At initial reset, this register is set to "0". SMOD: Operating mode select register (FF59H•D0) Selects the serial interface operating mode from master mode and slave mode. When "1" is written: Master mode When "0" is written: Slave mode Reading: Valid Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 139 _ _ _ _ _ When ENCS is enabled, the P23 terminal can be used as SRDY output or SS input terminal in slave mode (SMOD = "0"). At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 140 When "0" is written: Masked Reading: Valid With this register, it is possible to select whether the serial interface interrupt is to be masked or not. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 141: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 142: Chapter 4: Peripheral Circuits And Operation (Sound Generator)

    4.11 Sound Generator 4.11.1 Configuration of sound generator The S1C63632 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 143: Setting Of Buzzer Frequency And Sound Level

    Fig. 4.11.4.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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 144: Digital Envelope

    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.11.5.1 Timing chart for digital envelope Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 145: One-Shot Output

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

    IOC03 and data register P03 settings are ineffective while the BZ signal is being output. When BZE is set to "0", the P03 port is configured as a general-purpose DC input/output port. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 147 (BZE = "0") and will be invalid when the normal buzzer output is on (BZE = "1"). When a re-trigger is assigned during a one-shot output, the one-shot output time set with SHTPW is measured again from that point (time extension). Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 148 The sound level of this buzzer can be set by selecting this duty ratio. However, when the envelope has been set to on (ENON = "1"), this setting becomes invalid. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 149: 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"). Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 150: Chapter 4: Peripheral Circuits And Operation (Integer Multiplier)

    4.12 Integer Multiplier 4.12.1 Configuration of integer multiplier The S1C63632 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 151: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 152: 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 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 153: I/O Memory Of Integer Multiplier

    This register maintains the latest set value until the next writing, so it is not necessary to set data for each operation if the same multiplier and divisor is used in a series of operations. At initial reset, this register is undefined. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 154 Writing: Invalid When a multiplication process has finished, this flag is always set to "0". VF is a read-only bit, so writing operation is invalid. At initial reset, this flag is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 155: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 156: Chapter 4: Peripheral Circuits And Operation (R/F Converter)

    4.13.1 Configuration of R/f converter The S1C63632 has a built-in CR oscillation type R/f converter that can be used as an A/D converter. Two systems (channel 0 and channel 1) of CR oscillation circuits are built into the 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 157: Controlling Clock Manager

    Note: At initial reset, P00 to P03 are configured as the I/O ports. When using the R/f converter channel 0, switch the terminal functions (ERF0–ERF1 = "01B", RFOUT = "1") in the initialize routine. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 158 Since this monitor has no effect on oscillation frequency, it can be used to adjust R/f conversion accuracy. Oscillation waveforms and waveforms output from the RFOUT terminal are shown in Figure 4.13.3.2. RFIN0/1 terminal RFOUT output (Measurement counter clock) Fig. 4.13.3.2 Oscillation waveform Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 159: Operation Of R/F Conversion

    (FF62H → FF63H → FF64H → FF65H → FF66H). Furthermore, an LD instruc- tion should be used for writing data to the measurement counter and a read-modify-write instruc- tion (AND, OR, ADD, SUB, etc.) cannot be used. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 160 By the above operation, the sensor is oscillated for the same period of time as the reference resistance is oscillated. Therefore, the difference in oscillation frequency can be measured from the values counted by the measurement counter. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 161: Interrupt Function

    CPU even if the interrupt factor flag is set to "1". The interrupt factor flag is reset to "0" by writing "1". Timing of interrupt by the R/f converter is shown in Figures 4.13.5.1 to 4.13.5.4. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 162 Fig. 4.13.5.4 Error interrupt due to time base counter overflow Note: When an error interrupt occurs, reset the overflow flag (OVMC or OVTC) by writing "1". The same error interrupt will occur again if the overflow flag is not reset. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 163: Continuous Oscillation Function

    TC11 – TC11 TC10 ∗2 TC10 – FF69H Time base counter TC8–TC11 ∗2 – ∗2 – *1 Initial value at initial reset *2 Not set in the circuit *3 Constantly "0" when being read Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 164 The R/f converter channel 0 input/output terminals are shared with the I/O port (P00–P02). By setting this register to other than "00B", P00, P01 and P02 are configured as the RFIN0, REF0 and SEN0 terminals, respectively. At initial reset, this register is set to "00B". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 165 RFRUNR is not reset. In this case, reset RFRUNR by writing "0". RFRUNR is reset when the channel for R/f conversion is changed. If RFRUNS and RFRUNR are set to "1" simultaneously, RFRUNR is effective. At initial reset, this register is set to "0". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 166 (AND, OR, ADD, SUB, etc.) cannot be used. If data other than low-order 4 bits is written, the counter cannot be set to the desired value. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 167: Programming Notes

    (AND, OR, ADD, SUB, etc.) cannot be used. If data other than low-order 4 bits is written, the counter cannot be set to the desired value. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 168: Chapter 4: Peripheral Circuits And Operation (Svd Circuit)

    4.14.1 Configuration of SVD circuit The S1C63632 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 169: I/O Memory Of Svd Circuit

    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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 170: Chapter 4: Peripheral Circuits And Operation (Interrupt And Halt/Sleep)

    <HALT/SLEEP> The S1C63632 has the HALT and SLEEP functions that considerably reduce current consumption when it is not necessary. The CPU enters HALT status when the HALT instruction is executed. In HALT status, the operation of the CPU is stopped.
  • Page 171 Interrupt select register PCP11 IK11 SIP11 EIK11 PCP10 IK10 SIP10 EIK10 IRUN EIRUN ILAP EILAP ISW0 EISW0 ISW1 EISW1 EIT3 EIT2 EIT1 EIT0 EIT7 EIT6 EIT5 Fig. 4.15.1 Configuration of the interrupt circuit EIT4 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 172: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 173: Interrupt Mask

    ILAP (FFFDH•D2) EISW1 (FFEDH•D1) ISW1 (FFFDH•D1) EISW10 (FFEDH•D0) ISW10 (FFFDH•D0) EIT3 (FFEEH•D3) (FFFEH•D3) EIT2 (FFEEH•D2) (FFFEH•D2) EIT1 (FFEEH•D1) (FFFEH•D1) EIT0 (FFEEH•D0) (FFFEH•D0) EIT7 (FFEFH•D3) (FFFFH•D3) EIT6 (FFEFH•D2) (FFFFH•D2) EIT5 (FFEFH•D1) (FFFFH•D1) EIT4 (FFEFH•D0) (FFFFH•D0) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 174: Interrupt Vector

    ;PTIMER6 INTERRUPT VECTOR(0x108) INT_DUMMY ;PTIMER7 INTERRUPT VECTOR(0x109) INT_DUMMY ;SIO INTERRUPT VECTOR(0x10A) INT_DUMMY ;P1x PORT INTERRUPT VECTOR(0x10B) INT_DUMMY ;P4x PORT INTERRUPT VECTOR(0x10C) INT_DUMMY ;STOPWATCH INTERRUPT VECTOR(0x10D) INT_DUMMY ;CLOCK TIMER1 INTERRUPT VECTOR(0x10E) INT_DUMMY ;CLOCK TIMER2 INTERRUPT VECTOR(0x10F) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 175 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT/SLEEP) ;****************************************************************************** subinterrupt vector area ;****************************************************************************** .org 0x120 INT_RFC: CALR INTRFC ;call Interrupt RFC RETI INT_DUMMY: RETI ;****************************************************************************** Interrupt RFC ;****************************************************************************** .org 0x800 INTRFC: %yl,P5CTL0@l %xl,ITC_RFC1@l [%y],[%x] ;Port Output Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 176: I/O Memory Of Interrupt

    EISIF General General-purpose register FFEAH General General-purpose register EISIF Enable Mask Interrupt mask register (Serial interface) *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 177 Interrupt factor flag (Programmable timer 7 underflow) ICTC7 Reset Invalid Interrupt factor flag (Programmable timer 7 compare match) *1 Initial value at initial reset *3 Constantly "0" when being read *2 Not set in the circuit Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 178 IPT4, ICTC4: Interrupt factor flags (FFF6H•D1, D0) IPT5, ICTC5: Interrupt factor flags (FFF7H•D1, D0) IPT6, ICTC6: Interrupt factor flags (FFF8H•D1, D0) IPT7, ICTC7: Interrupt factor flags (FFF9H•D1, D0) Refer to Section 4.9, "Programmable Timer". Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 179: Programming Notes

    (5) The interrupt handler routine must be located within the range from "Interrupt vector address (100H– 10FH)" -7FH to +80H. If it is difficult, make a relay point within that range as the destination of the vector jump and branch the program to the interrupt handler from there. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 180: Summary Of Notes

    UMMARY OF OTES 5.1 Notes for Low Current Consumption The S1C63632 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 181: 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 S1C63632 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 182 CHAPTER 5: SUMMARY OF NOTES (4) The S1C63632 supports the SLEEP function and both the OSC1 and OSC3 oscillation circuits stop oscillat- ing when the CPU enters SLEEP mode. To prevent the CPU from a malfunction when it resumes operating from SLEEP mode, switch the CPU clock to OSC1 before placing the CPU into SLEEP mode.
  • Page 183 (period shown in as the figure). Count clock Counter data (Reload data = 25H) (continuous mode) Underflow (interrupt is generated) Counter data is determined by reloading. Fig. 5.2.3 Reload timing for programmable timer Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 184 (AND, OR, ADD, SUB, etc.) cannot be used. If data other than low-order 4 bits is written, the counter cannot be set to the desired value. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 185 (5) The interrupt handler routine must be located within the range from "Interrupt vector address (100H– 10FH)" -7FH to +80H. If it is difficult, make a relay point within that range as the destination of the vector jump and branch the program to the interrupt handler from there. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 186: 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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 187 (5) If there is a possibility that heat stress exceeding the reflow soldering condition is applied to the IC in the bonding process, perform enough evaluation of data stored in the nonvolatile memory before the product is shipped. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 188: Basic External Wiring Diagram

    V Cres Capacitor for RESET terminal Note: C and C are not necessary depending on the selected option for the LCD drive power. Refer to Section 4.6.1, "Configuration of LCD driver", for details. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 189: Chapter Electrical Characteristics

    When LCD drive power is not used, the capacitor is not necessary. In this case, leave the V to V and CA to CG terminals open. ∗2 When 1/4 bias is selected, C is not necessary. In this case, leave the V terminal open. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 190: Dc Characteristics

    =0V, Ta=25°C Pxx, RESET, RFIN1 – – µA Segment/Common output current -0.1V SEGxx, COMxx – – SEGH SEGH µA +0.1V SEGxx, COMxx – – SEGL SEGL ∗1 When CMOS Schmitt level is selected. (P00–P13) Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 191: Analog Circuit Characteristics And Current Consumption

    LC0–3="2H" 3.76 LC0–3="3H" 3.84 LC0–3="4H" 3.92 LC0–3="5H" 4.00 LC0–3="6H" 4.08 LC0–3="7H" Typ. 4.16 Typ. × 0.94 × 1.06 LC0–3="8H" 4.24 LC0–3="9H" 4.32 LC0–3="AH" 4.40 LC0–3="BH" 4.48 LC0–3="CH" 4.56 LC0–3="DH" 4.64 LC0–3="EH" 4.72 LC0–3="FH" 4.80 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 192 The CR oscillation can be performed if the resistance or capacitance is out of the range shown in the table (see characteristic curves), note, however, that the oscillation frequency/IC deviation characteristic value may increase due to parasitic elements on the board and those in the IC. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 193 This value is added to the current consumption during execution or current consumption during execution in heavy load protection mode when the SVD circuit is active. ∗6 This value is added to the current consumption during execution when the R/f converter circuit is active. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 194: Oscillation Characteristics

    – OSC3 CR oscillation circuit (external R type) Unless otherwise specified: =1.6 to 5.5V, V =0V, Ta=25°C Item Symbol Condition Min. Typ. Max. Unit Oscillation start time – – ∆f/∆IC Frequency/IC deviation =constant – Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 195: Serial Interface Ac Characteristics

    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 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 196: Timing Chart

    CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.7 Timing Chart System clock switching OSCC 10 msec min. ∗ CLKCHG ∗ 1 instruction execution time or longer Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 197: Characteristics Curves (Reference Value)

    Ta = 85°C, Max. value –V = 1.6 V = 3.0 V = 5.5 V Low level output current-voltage characteristic Ta = 85°C, Min. value = 5.5 V = 3.0 V = 1.6 V Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 198 Ta = 25°C, Typ. value LCx = FH LCx = 0H LCD drive voltage - supply voltage characteristic (1/5 bias, V reference, power supply voltage booster/halver used) Ta = 25°C, Typ. value LCx = FH LCx = 0H Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 199 LCx = FH LCx = 0H LCD drive voltage - supply voltage characteristic (1/4 bias, V reference, power supply voltage booster/halver not used) Ta = 25°C, Typ. value LCx = FH LCx = 0H Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 200 LCD drive voltage - ambient temperature characteristic (1/4 bias, V reference, power supply voltage booster/halver not used) = 3.0 V, Typ. value 1.06V 1.05V 1.04V 1.03V 1.02V 1.01V 1.00V 0.99V 0.98V 0.97V 0.96V 0.95V 0.94V 0.93V 0.92V Ta [°C] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 201 (1/4 bias, V reference, power supply voltage booster/halver not used) When a load is connected to V terminal only LCx = FH, Ta = 25°C, Typ. value 5.00 4.90 4.80 4.70 4.60 4.50 4.40 [µA] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 202 CHAPTER 7: ELECTRICAL CHARACTERISTICS SVD voltage - ambient temperature characteristic SVDSx = FH, Typ. value 1.05V 1.04V 1.03V 1.02V 1.01V 1.00V 0.99V 0.98V 0.97V 0.96V 0.95V Ta [°C] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 203 Ta [°C] RUN state current consumption - temperature characteristic (During operation with OSC1) <Crystal oscillation, f = 32.768 kHz> OSC1 = 5.5 V, OSC3 = OFF, Clock manager = OFF, Typ. value Ta [°C] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 204 = 5.5 V, Ta = 25°C, Typ. value OSC3 frequency [MHz] RUN state current consumption - resistor characteristic (During operation with OSC3) <CR oscillation> = 5.5 V, Ta = 25°C, Typ. value 1000 [kΩ] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 205 Oscillation frequency - resistor characteristic (OSC3) <CR oscillation> = 5.5 V, Ta = 25°C, Typ. value 10000 1000 1000 [kΩ] Oscillation frequency - temperature characteristic (OSC3) <CR oscillation> = 30 kΩ, Typ. value 10000 1000 Ta [°C] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 206 1,000 10,000 [kΩ] RFC reference/sensor oscillation frequency - resistance characteristic (AC oscillation mode) = 1000 pF, Ta = 25°C, Typ. value 10,000 1,000 IC deviation = 1.6 V = 5.5 V 1,000 10,000 [kΩ] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 207 = 5.5 V 1,000 10,000 [pF] RFC reference/sensor oscillation frequency - current consumption characteristic (DC/AC oscillation mode) = 1000 pF, Ta = 25°C, Typ. value 10,000 = 5.5 V = 1.6 V 1,000 1,000 10,000 [kHz] Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 208: Chapter Ackage

    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. Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 209: Top View

    – – – – – – – – 0.38 – 0.48 – – 0.08 – – – – – – A1 Corner 1 2 3 4 5 6 7 8 9 10 11 12 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 210: 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 Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 211: Chapter Pad Layout

    CHAPTER 9: PAD LAYOUT CHAPTER AYOUT 9.1 Diagram of Pad Layout Die No. (0, 0) 3.645 mm Chip thickness: 400 µm 77 × 85 µm Pad opening: Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 212: Pad Coordinates

    P21/SOUT -0.242 1.737 SEG13 -1.709 -1.380 COM21/SEG58 1.709 -0.660 P20/SCLK -0.332 1.737 SEG14 -1.709 -1.470 COM20/SEG59 1.709 -0.570 P13/TOUT_A -0.422 1.737 SEG15 -1.709 -1.697 COM19/SEG60 1.709 -0.480 P12/EVIN_A -0.512 1.737 – – – – Seiko Epson Corporation S1C63632 TECHNICAL MANUAL...
  • Page 213: Appendix A P C B S1C63632

    This description of the S1C63 Family Peripheral Circuit Board (S5U1C63000P6) provided in this docu- ment assumes that circuit data for the S1C63632 has already been downloaded to the board. For informa- tion on downloading various circuit data, please see Section A.3. Please refer to the manual provided with your ICE for detailed information on its functions and method of use.
  • Page 214 APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 (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 215 APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 (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 216: S5U1C63632P2

    APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 A.1.2 S5U1C63632P2 The S5U1C63632P2 board provides the R/f converter function that supports resistive sensors such as a thermistor and resistive humidity sensors and the LCD driver function. The following explains the names and functions of each part of the S5U1C63632P2 board.
  • Page 217 APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 (3) CN3 (P0 I/O connector) This is a user connector to input/output the P00 to P03 port signals. The P00 to P03 terminals of the actual IC are shared with the terminals for R/f converter channel 0. The S5U1C63632P2 board pro- vides this connector separated with the R/f converter socket and monitor pins shown in (1) above.
  • Page 218: Connecting To The Target System

    APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 A.2 Connecting to the Target System This section explains how to connect the target system. First insert the S5U1C63000P6 board into the second upper slot of the ICE and the S5U1C63632P2 board into the top slot.
  • Page 219 APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 To connect the S5U1C63000P6 and S5U1C63632P2 to the target system, use the I/O connecting cables supplied with these boards. Take care when handling the connectors, since they conduct electrical power = +3.3 V).
  • Page 220 APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 Table A.2.1 S5U1C63000P6 I/O connector pin assignment 40-pin CN1-1 connector 40-pin CN1-2 connector Pin name Pin name (= 3.3 V) (= 3.3 V) (= 3.3 V) (= 3.3 V) Cannot be connected Cannot be connected...
  • Page 221 APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 Table A.2.2 S5U1C63632P2 I/O connector pin assignment 10-pin CN3 connector 40-pin CN4-1 connector 40-pin CN4-2 connector Pin name Pin name Pin name (= 3.3 V) COM0 SEG24 (= 3.3 V) COM1 SEG25 COM2...
  • Page 222: Downloading To S5U1C63000P6

    APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 A.3 Downloading to S5U1C63000P6 Note: The S1C63632 circuit data is available only for the S5U1C63000P6, and it cannot be downloaded to the previous S5U1C63000P1 board. A.3.1 Downloading Circuit Data 1 – when new ICE (S5U1C63000H2/S5U1C63000H6) is used The S5U1C63000P6 board comes with the FPGA that contains factory inspection data, therefore the circuit data for the model to be used should be downloaded.
  • Page 223: Downloading Circuit Data 2 - When Previous Ice (S5U1C63000H1) Is Used

    APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 A.3.2 Downloading Circuit Data 2 – when previous ICE (S5U1C63000H1) is used The standard ICE (S5U1C63000H1, previous model) did not support the circuit data download function for the S5U1C63000P6 board. To use the download function, update the ICE firmware according to the following procedure.
  • Page 224: Usage Precautions

    APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 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 225: Chapter 7, "Electrical Characteristics", When Setting The Appropriate Wait Time For The Actual Ic

    OSC3 oscillation circuit by mask option. <Access to undefined address space> If any undefined space in the S1C63632'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 S5U1C63000P6 and the actual IC.
  • Page 226 An interrupt processing may start in the S5U1C63000P6 and S5U1C63632P2. <R/f converter> - The R/f converter function is implemented using the S1C63632 chip included in the S5U1C63632P2 board. - If the debugger makes program execution to break while the R/f converter is counting the oscilla- tion, the R/f converter does not stop counting.
  • Page 227: Product Specifications

    APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 A.5 Product Specifications A.5.1 Specifications of S5U1C63000P6 S5U1C63000P6 254 mm (wide) × 144.8 mm (depth) × 16 mm (height) Dimension: (including screws) Weight: Approx. 250 g Power supply: DC 5 V ± 5%, less than 1 A (supplied from ICE main unit)
  • Page 228: Specifications Of S5U1C63632P2

    APPENDIX A PERIPHERAL CIRCUIT BOARDS FOR S1C63632 A.5.2 Specifications of S5U1C63632P2 S5U1C63632P2 254 mm (width) × 144.8 mm (depth) × 13 mm (height) (including screws) Dimension: Weight: Approx. 170 g Power supply: DC 5 V ± 5%, less than 50 mA (supplied from ICE main unit and converted into 3.3 V by the onboard...
  • Page 229: Revision History

    Revision History Code No. Page Contents 411863800 New establishment...
  • Page 230 EPSON HONG KONG LTD. Unit 715-723, 7/F Trade Square, 681 Cheung Sha Wan Road, Kowloon, Hong Kong. Phone: +852-2585-4600 FAX: +852-2827-4346 EPSON TAIWAN TECHNOLOGY & TRADING LTD. 14F, No. 7, Song Ren Road, Taipei 110, TAIWAN Phone: +886-2-8786-6688 FAX: +886-2-8786-6660 EPSON SINGAPORE PTE., LTD.

Table of Contents