Epson S1C88650 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Epson S1C88650. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Epson S1C88650 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Epson S1C88650 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Epson S1C88650 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Epson S1C88650
- nom du fabricant et année de fabrication Epson S1C88650
- instructions d'utilisation, de réglage et d’entretien de l'équipement Epson S1C88650
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Epson S1C88650 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Epson S1C88650 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Epson en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Epson S1C88650, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Epson S1C88650, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Epson S1C88650. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    T echnical Manual CMOS 8 - BIT SINGLE CHIP MICROCOMPUTER S1C88650 Technical Hardware S1C88650[...]

  • Page 2

    NOTICE No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its appl[...]

  • Page 3

    Devices S1 C 88104 F 0A01 Packing specifications  00 : Besides tape & reel  0A : TCP BL 2 directions  0B : T ape & reel BA CK  0C : TCP BR 2 directions  0D : TCP BT 2 directions  0E : TCP BD 2 directions  0F : T ape & reel FR ONT  0G : TCP BT 4 directions  0H [...]

  • Page 4

    [...]

  • Page 5

    S1C88650 TECHNICAL MANUAL EPSON i CONTENTS Contents 1 INTRODUCTION .............................................................................................. 1 1.1 Features ............................................................................................................................. 1 1.2 Block Diagram ...........................[...]

  • Page 6

    ii EPSON S1C88650 TECHNICAL MANUAL CONTENTS 5.3 Watchdog Timer .............................................................................................................. .. 39 5.3.1 Configuration of watchdog timer .......................................................................................... .. 39 5.3.2 Interrupt function ..........[...]

  • Page 7

    S1C88650 TECHNICAL MANUAL EPSON iii CONTENTS 5.10.8 Setting frame frequency for LCD driver ............................................................................... 94 5.10.9 Control of programmable timer ........................................................................................... .9 5 5.10.10 Programming notes ................[...]

  • Page 8

    iv EPSON S1C88650 TECHNICAL MANUAL CONTENTS APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) ...................................... 163 A.1 Names and Functions of Each Part ................................................................................. 163 A.2 Precautions ....................................[...]

  • Page 9

    S1C88650 TECHNICAL MANUAL EPSON 1 1 INTRODUCTION 1 INTR ODUCTION The S1C88650 is an 8-bit microcomputer for portable equipment with an LCD display that has a built-in LCD controller/driver and a character generator (kanji) ROM. This microcomputer features low-voltage (1.8 V) and high-speed (8.2 MHz) operations as well as low-current consumption (2.[...]

  • Page 10

    2 EPSON S1C88650 TECHNICAL MANUAL 1 INTRODUCTION 1.2 Bloc k Diagram Core CPU S1C88 Interrupt Controller System Controller Input Port Oscillator OSC1, 2 OSC3, 4 Reset/Test RESET TEST Watchdog Timer K00–K02 K03 (BREQ) K04–K07 I/O Port Serial Interface External Memory Interface Output Port Programmable Timer /Event Counter Clock Timer Power Genera[...]

  • Page 11

    S1C88650 TECHNICAL MANUAL EPSON 3 1 INTRODUCTION 1.3 Pins 1.3.1 Pin layout diagram QFP22-256pin 129 192 65 128 INDEX 64 1 256 193 Pin No. Pin name 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 Pin No. Pin name SEG88 SEG89 SEG90 SEG91 SEG92 SEG93 SEG[...]

  • Page 12

    4 EPSON S1C88650 TECHNICAL MANUAL 1 INTRODUCTION 1.3.2 Pin description Table 1.3.2.1 S1C88650 pin description Pin No. V DD V SS V D1 V D2 V C1– V C5 CA–CG OSC1 OSC2 OSC3 OSC4 MCU/MPU K00–K02 K03/BREQ K04/EXCL0 K05/EXCL1 K06/EXCL2 K07/EXCL3 R00–R07/A0–A7 R10–R17/A8–A15 R20–R23/A16–A19 R24/RD R25/WR R30–R32/CE0–CE2 R33 (BACK) P0[...]

  • Page 13

    S1C88650 TECHNICAL MANUAL EPSON 5 1 INTRODUCTION 1.4 Mask Option Mask options shown below are provided for the S1C88650. Several hardware specifications are prepared in each mask option, and one of them can be selected according to the application. Multiple specifications are available in each option item as indicated in the Option List. Select the[...]

  • Page 14

    6 EPSON S1C88650 TECHNICAL MANUAL 1 INTRODUCTION 5 I/O PORT PULL UP RESISTOR • P00 ......... ■ ■ 1. With Resistor ■ ■ 2. Gate Direct • P01 ......... ■ ■ 1. With Resistor ■ ■ 2. Gate Direct • P02 ......... ■ ■ 1. With Resistor ■ ■ 2. Gate Direct • P03 ......... ■ ■ 1. With Resistor ■ ■ 2. Gate Direct • P04 .[...]

  • Page 15

    S1C88650 TECHNICAL MANUAL EPSON 7 2 POWER SUPPLY 2P O WER SUPPL Y In this section, we will explain the operating voltage and the configuration of the internal power supply circuit of the S1C88650. 2.1 Operating V oltage The S1C88650 operating power voltage is as follows: 1.8 V to 3.6 V 2.2 Internal P o wer Supply Circuit The S1C88650 incorporates t[...]

  • Page 16

    8 EPSON S1C88650 TECHNICAL MANUAL 3 CPU AND BUS CONFIGURATION 3 CPU AND B US CONFIGURA TION In this section, we will explain the CPU, operating mode and bus configuration. 3.1 CPU The S1C88650 utilize the S1C88 8-bit core CPU whose resistor configuration, command set, etc. are virtually identical to other units in the family of processors incorpora[...]

  • Page 17

    S1C88650 TECHNICAL MANUAL EPSON 9 3 CPU AND BUS CONFIGURATION When multiple exception processing factors are generated at the same time, execution starts with the highest priority item. The priority sequence shown in Table 3.3.1 assumes that the interrupt priority levels are all the same. The interrupt priority levels can be set by software in each[...]

  • Page 18

    10 EPSON S1C88650 TECHNICAL MANUAL 3 CPU AND BUS CONFIGURATION 3.5.2 Bus mode In order to set bus specifications to match the configuration of external expanded memory, two different bus modes described below are selectable in software. ■ Single chip mode 0EFFFFH 010000H 00FFFFH 00FF00H 00FD7FH 00F800H 00F7FFH 00D800H 00D7FFH : 00C000H 00BFFFH 00[...]

  • Page 19

    S1C88650 TECHNICAL MANUAL EPSON 11 3 CPU AND BUS CONFIGURATION 3FFFFFH : 100000H 0F0000H 0EFFFFH 010000H 00FFFFH 00D800H 00D7FFH : 00C000H 00BFFFH 000000H 2FFFFFH Internal memory See Figure 3.2.1 for the internal memory - MPU mode - External memory area Internal memory External memory area - MCU mode - External memory area Internal memory Unused ar[...]

  • Page 20

    12 EPSON S1C88650 TECHNICAL MANUAL 3 CPU AND BUS CONFIGURATION 3.6.2 Address bus The S1C88650 possesses a 20-bit external address bus A0–A19. The terminals and output circuits of address bus A0–A19 are shared with output ports R00–R07 (=A0–A7), R10–R17 (=A8–A15) and R20– R23 (=A16–A19), switching between these functions being determ[...]

  • Page 21

    S1C88650 TECHNICAL MANUAL EPSON 13 3 CPU AND BUS CONFIGURATION _____ _____ Table 3.6.4.1 CE0–CE2 address settings CE0 CE1 CE2 300000H–3FFFFFH 100000H–1FFFFFH 200000H–2FFFFFH 000000H–00D7FFH, 010000H–0FFFFFH 100000H–1FFFFFH 200000H–2FFFFFH Address range (expansion mode) CE signal MCU mode MPU mode _____ When accessing the internal me[...]

  • Page 22

    14 EPSON S1C88650 TECHNICAL MANUAL 3 CPU AND BUS CONFIGURATION 3.6.6 Bus authority release state The S1C88650 is equipped with a bus authority release function on request from an external device so that DMA (Direct Memory Access) transfer can be conducted between external devices. The internal memory cannot be accessed by this function. There are t[...]

  • Page 23

    S1C88650 TECHNICAL MANUAL EPSON 15 4 INITIAL RESET 4 INITIAL RESET Initial reset in the S1C88650 is required in order to initialize circuits. This section of the Manual contains a description of initial reset factors and the initial settings for internal registers, etc. 4.1 Initial Reset F actors There are two initial reset factors for the S1C88650[...]

  • Page 24

    16 EPSON S1C88650 TECHNICAL MANUAL 4 INITIAL RESET 4.1.2 Simultaneous LOW level input at input port terminals K00–K03 Another way of executing initial reset externally is to input a LOW level simultaneously to the input ports (K00–K03) selected by mask option. Since there is a built-in time authorize circuit, be sure to maintain the designated [...]

  • Page 25

    S1C88650 TECHNICAL MANUAL EPSON 17 4 INITIAL RESET 4.2 Initial Settings After Initial Reset The CPU internal registers are initialized as follows during initial reset. Table 4.2.1 Initial settings Register name Code Setting value Data register A Data register B Index (data) register L Index (data) register H Index register IX Index register IY Prog[...]

  • Page 26

    18 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) 5 PERIPHERAL CIRCUITS AND THEIR OPERA TION The peripheral circuits of the S1C88650 is interfaced with the CPU by means of the memory mapped I/O method. For this reason, just as with other memory access operations, peripheral circuits can be controlled by m[...]

  • Page 27

    S1C88650 TECHNICAL MANUAL EPSON 19 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(b) I/O Memory map (00FF10H–00FF14H) SR R/W Address Bit Name Function Comment 10 00FF10 D7 D6 D5 D4 D3 D2 D1 D0 HLMOD SEGREV – – – DTFNT LDUTY1 LDUTY0 Heavy load protection mode Reverse SEG assignment R/W register R/W register R/W regist[...]

  • Page 28

    20 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(c) I/O Memory map (00FF15H–00FF18H) SR R/W Address Bit Name Function Comment 10 00FF15 D7 D6 D5 D4 D3 D2 D1 D0 PRPRT3 PST32 PST31 PST30 PRPRT2 PST22 PST21 PST20 Programmable timer 3 clock control Programmable timer 3 division ratio Programmab[...]

  • Page 29

    S1C88650 TECHNICAL MANUAL EPSON 21 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(d) I/O Memory map (00FF19H–00FF22H) SR R/W Address Bit Name Function Comment 10 00FF19 D7 D6 D5 D4 D3 D2 D1 D0 PRPRT7 PST72 PST71 PST70 PRPRT6 PST62 PST61 PST60 Programmable timer 7 clock control Programmable timer 7 division ratio Programmab[...]

  • Page 30

    22 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(e) I/O Memory map (00FF23H–00FF28H) Address Bit Name SR R/W Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 00FF23 – – – – – ESERR ESREC ESTRA – – – – – Serial I/F (error) interrupt enable register Serial I/F (receiving) inter[...]

  • Page 31

    S1C88650 TECHNICAL MANUAL EPSON 23 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(f) I/O Memory map (00FF29H–00FF31H) SR R/W Address Bit Name Function Comment 10 00FF29 D7 D6 D5 D4 D3 D2 D1 D0 FTC3 FTU3 FTC2 FTU2 FTC1 FTU1 FTC0 FTU0 PTM3 compare match interrupt factor flag PTM3 underflow interrupt factor flag PTM2 compare [...]

  • Page 32

    24 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(g) I/O Memory map (00FF32H–00FF37H) SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 RDR07 RDR06 RDR05 RDR04 RDR03 RDR02 RDR01 RDR00 PTM0 reload data D7 (MSB) PTM0 reload data D6 PTM0 reload data D5 PTM0 reload data D4 PTM0[...]

  • Page 33

    S1C88650 TECHNICAL MANUAL EPSON 25 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(h) I/O Memory map (00FF38H–00FF3DH) SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 00FF38 MODE16_B PTNREN_B – RPTOUT2 PTOUT2 PTRUN2 PSET2 CKSEL2 "0" when being read "0" when being read 0 0 – 0 0 0 [...]

  • Page 34

    26 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(i) I/O Memory map (00FF3EH–00FF41H) SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 PTM27 PTM26 PTM25 PTM24 PTM23 PTM22 PTM21 PTM20 PTM2 data D7 (MSB) PTM2 data D6 PTM2 data D5 PTM2 data D4 PTM2 data D3 PTM2 data D2 PTM2 d[...]

  • Page 35

    S1C88650 TECHNICAL MANUAL EPSON 27 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(j) I/O Memory map (00FF48H–00FF4BH) SR R/W Address Bit Name Function Comment 10 00FF48 D7 D6 D5 D4 D3 D2 D1 D0 – EPR PMD SCS1 SCS0 SMD1 SMD0 ESIF –– 0 0 0 0 0 0 0 R/W R/W R/W R/W R/W R/W R/W – – SCS1 1 1 0 0 SCS0 1 0 1 0 Clock sourc[...]

  • Page 36

    28 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(k) I/O Memory map (00FF52H–00FF60H) SR R/W Address Bit Name Function Comment 10 00FF52 D7 D6 D5 D4 D3 D2 D1 D0 KCP07 KCP06 KCP05 KCP04 KCP03 KCP02 KCP01 KCP00 1 R/W K07 input comparison register K06 input comparison register K05 input compari[...]

  • Page 37

    S1C88650 TECHNICAL MANUAL EPSON 29 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(l) I/O Memory map (00FF61H–00FF70H) SR R/W Address Bit Name Function Comment 10 00FF61 D7 D6 D5 D4 D3 D2 D1 D0 IOC17 IOC16 IOC15 IOC14 IOC13 IOC12 IOC11 IOC10 0 R/W Output Input P17 I/O control register P16 I/O control register P15 I/O contro[...]

  • Page 38

    30 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(m) I/O Memory map (00FF71H–00FF76H) SR R/W Address Bit Name Function Comment 10 Reserved register 00FF71 D7 D6 D5 D4 D3 D2 D1 D0 – – HZR25 HZR24 HZR23 HZR22 HZR21 HZR20 R/W register R/W register R25 high impedance control R24 high impedan[...]

  • Page 39

    S1C88650 TECHNICAL MANUAL EPSON 31 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(n) I/O Memory map (00FFB0H–00FFB5H) SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 00FFB0 MODE16_C PTNREN_C – – – PTRUN4 PSET4 CKSEL4 "0" when being read Reserved register "0" when being read 0 0[...]

  • Page 40

    32 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(o) I/O Memory map (00FFB6H–00FFBBH) SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 PTM57 PTM56 PTM55 PTM54 PTM53 PTM52 PTM51 PTM50 PTM5 data D7 (MSB) PTM5 data D6 PTM5 data D5 PTM5 data D4 PTM5 data D3 PTM5 data D2 PTM5 d[...]

  • Page 41

    S1C88650 TECHNICAL MANUAL EPSON 33 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Memory Map) Table 5.1.1(p) I/O Memory map (00FFBCH–00FFBFH) SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 CDR67 CDR66 CDR65 CDR64 CDR63 CDR62 CDR61 CDR60 PTM6 compare data D7 (MSB) PTM6 compare data D6 PTM6 compare data D5 PTM6 compare data D4 [...]

  • Page 42

    34 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (System Controller and Bus Control) 5.2 System Controller and Bus Control The system controller is a management unit which sets such items as the bus mode in accordance with memory system configuration factors. For the purposes of controlling the system, the following sett[...]

  • Page 43

    S1C88650 TECHNICAL MANUAL EPSON 35 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (System Controller and Bus Control) _____ _____ Table 5.2.2.1 Address settings of CE0–CE2 CE0 CE1 CE2 300000H–3FFFFFH 100000H–1FFFFFH 200000H–2FFFFFH 000000H–00D7FFH, 010000H–0FFFFFH 100000H–1FFFFFH 200000H–2FFFFFH Address range (expansion mode) CE signal M[...]

  • Page 44

    36 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (System Controller and Bus Control) 5.2.6 Control of system controller Table 5.2.6.1 shows the control bits for the system controller. Table 5.2.6.1 System controller control bits SR R/W 10 Address Bit Name Function Comment 00FF00 (MCU) D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 0 [...]

  • Page 45

    S1C88650 TECHNICAL MANUAL EPSON 37 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (System Controller and Bus Control) BUSMOD, CPUMOD: 00FF00H•D7, D6 Bus mode and CPU mode are set as shown in Table 5.2.6.2. Table 5.2.6.2 Bus mode and CPU mode settings 1 1 0 0 1 1 0 0 Expansion Single chip Expansion Bus mode Setting value MCU/MPU terminal 1 (MCU mode) 0[...]

  • Page 46

    38 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (System Controller and Bus Control) 5.2.7 Programming notes (1) ______ All the interrupts including NMI are masked, until you write the optional value into both the "00FF00H" and "00FF01H" addresses. Conse- quently, even if you do not change the content[...]

  • Page 47

    S1C88650 TECHNICAL MANUAL EPSON 39 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Watchdog Timer) 5.3 W atchdog T imer 5.3.1 Configuration of watchdog timer The S1C88650 is equipped with a watchdog timer driven by OSC1 as source oscillation. The watchdog timer must be reset periodically by software, and if reset does not take place within the selected [...]

  • Page 48

    40 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Watchdog Timer) 5.3.3 Control of watchdog timer Table 5.3.3.1 shows the control bits for the watchdog timer. Table 5.3.3.1 Watchdog timer control bits SR R/W Address Bit Name Function Comment 10 00FF40 D7 D6 D5 D4 D3 D2 D1 D0 WDEN FOUT2 FOUT1 FOUT0 WDRST TMRST TMRUN Const[...]

  • Page 49

    S1C88650 TECHNICAL MANUAL EPSON 41 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Oscillation Circuits) 5.4 Oscillation Circuits 5.4.1 Configuration of oscillation circuits The S1C88650 is twin clock system with two internal oscillation circuits (OSC1 and OSC3). The OSC3 oscillation circuit generates the main- clock (Max. 8.2 MHz) to run the CPU and so[...]

  • Page 50

    42 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Oscillation Circuits) 5.4.4 OSC3 oscillation circuit The OSC3 oscillation circuit generates the system clock when the CPU and some peripheral circuits are in high speed operation. This oscillation circuit stops when the SLP instruc- tion is executed, or the SOSC3 register[...]

  • Page 51

    S1C88650 TECHNICAL MANUAL EPSON 43 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Oscillation Circuits) 5.4.6 Control of oscillation circuit Table 5.4.6.1 shows the control bits for the oscillation circuits. Table 5.4.6.1 Oscillation circuit control bits Address Bit Name SR R/W Function Comment 10 00FF02 D7 D6 D5 D4 D3 D2 D1 D0 EBR WT2 WT1 WT0 CLKCHG S[...]

  • Page 52

    44 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports) 5.5 Input P orts (K ports) 5.5.1 Configuration of input ports The S1C88650 is equipped with 8 input port bits (K00–K07) all of which are usable as general purpose input port terminals with interrupt function. K04–K07 terminals doubles as the external cloc[...]

  • Page 53

    S1C88650 TECHNICAL MANUAL EPSON 45 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports) 5.5.3 Pull-up control When "With resistor" is selected by mask option, the software can enable and disable the pull-up resistor for each port (1-bit units). The pull-up resistor becomes effective by writing "1" to the pull-up control regis[...]

  • Page 54

    46 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports) K03 Data bus K02 K00 Input comparison register KCP00 Address K01 Input port K00D Chattering-eliminate circuit Check time setup register CTK00L–CTK02L Interrupt priority level judgement circuit Interrupt request Interrupt factor flag FK00 Address Address Add[...]

  • Page 55

    S1C88650 TECHNICAL MANUAL EPSON 47 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports) 5.5.5 Control of input ports Table 5.5.5.1 shows the input port control bits. Table 5.5.5.1(a) Input port control bits SR R/W Address Bit Name Function Comment 10 00FF52 D7 D6 D5 D4 D3 D2 D1 D0 KCP07 KCP06 KCP05 KCP04 KCP03 KCP02 KCP01 KCP00 1 R/W K07 input c[...]

  • Page 56

    48 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports) Table 5.5.5.1(b) Input port control bits SR R/W Address Bit Name Function Comment 10 00FF20 D7 D6 D5 D4 D3 D2 D1 D0 PK01 PK00 PSIF1 PSIF0 – – PTM1 PTM0 Constantly "0" when being read 0 0 – – 0 R/W R/W R/W – – – – K00–K07 interrupt [...]

  • Page 57

    S1C88650 TECHNICAL MANUAL EPSON 49 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports) KCP00–KCP07: 00FF52H Sets the interrupt generation condition (interrupt generation timing) for input port terminals K00– K07. When "1" is written: Falling edge When "0" is written: Rising edge Reading: Valid KCP0x is the input comparis[...]

  • Page 58

    50 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports) 5.5.6 Programming notes (1) When changing the input terminal from LOW level to HIGH with the built-in pull-up resistor, a delay in the waveform rise time will occur depending on the time constant of the pull-up resistor and the load capacitance of the termina[...]

  • Page 59

    S1C88650 TECHNICAL MANUAL EPSON 51 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Output Ports) 5.6 Output P orts (R ports) 5.6.1 Configuration of output ports The S1C88650 is equipped with 26 bits of output ports (R00–R07, R10–R17, R20–R25, R30–R33). Depending on the bus mode setting, the configura- tion of the output ports may vary as shown i[...]

  • Page 60

    52 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Output Ports) 5.6.4 Control of output ports Table 5.6.4.1 shows the output port control bits. Table 5.6.4.1(a) Output port control bits SR R/W Address Bit Name Function Comment 10 00FF70 D7 D6 D5 D4 D3 D2 D1 D0 – – – – HZR1H HZR1L HZR0H HZR0L R/W register R/W regi[...]

  • Page 61

    S1C88650 TECHNICAL MANUAL EPSON 53 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Output Ports) Table 5.6.4.1(b) Output port control bits SR R/W Address Bit Name Function Comment 10 00FF76 D7 D6 D5 D4 D3 D2 D1 D0 – – – – R33D R32D R31D R30D R/W register R/W register R/W register R/W register R33 output port data R32 output port data R31 output [...]

  • Page 62

    54 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports) 5.7 I/O P orts (P ports) 5.7.1 Configuration of I/O ports The S1C88650 is equipped with 16 bits of I/O ports (P00–P07, P10–P17). The configuration of these I/O ports will vary according to the bus mode as shown below. Table 5.7.1.1 Configuration of I/O port[...]

  • Page 63

    S1C88650 TECHNICAL MANUAL EPSON 55 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports) Readout in input mode consists simply of a direct readout of the input terminal state: the data being "1" when the input terminal is at HIGH (V DD ) level and "0" when it is at LOW (V SS ) level. When the built-in pull-up resistor is enabled[...]

  • Page 64

    56 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports) ■ FOUT output (P16) In order for the S1C88650 to provide clock signal to an external device, a FOUT signal (oscillation clock f OSC1 or f OSC3 dividing clock) can be output from the P16 port terminal. The output control for the FOUT signal is done by the regi[...]

  • Page 65

    S1C88650 TECHNICAL MANUAL EPSON 57 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports) 5.7.6 Control of I/O ports Table 5.7.6.1 shows the I/O port control bits. Table 5.7.6.1(a) I/O port control bits 00FF61 D7 D6 D5 D4 D3 D2 D1 D0 IOC17 IOC16 IOC15 IOC14 IOC13 IOC12 IOC11 IOC10 P17 I/O control register P16 I/O control register P15 I/O control reg[...]

  • Page 66

    58 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports) Table 5.7.6.1(b) I/O port control bits SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 00FF30 MODE16_A PTNREN_A – – PTOUT0 PTRUN0 PSET0 CKSEL0 "0" when being read Reserved register "0" when being read 0 0 – 0 0 0 0 [...]

  • Page 67

    S1C88650 TECHNICAL MANUAL EPSON 59 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports) ■ DC output control P00D–P07D: 00FF62H P10D–P17D: 00FF63H How I/O port terminal Pxx data readout and output data settings are performed. When writing data: When "1" is written: HIGH level When "0" is written: LOW level When the I/O por[...]

  • Page 68

    60 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (I/O Ports) RPTOUT2: 00FF38H•D4 RPTOUT3: 00FF39H•D4 ___________ ___________ Controls the TOUT2/TOUT3 (inverted TOUT2/ TOUT3) signal output. When "1" is written: _________ TOUT signal output When "0" is written: DC output Reading: Valid RPTOUT2 and R[...]

  • Page 69

    S1C88650 TECHNICAL MANUAL EPSON 61 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) 5.8 Serial Interface 5.8.1 Configuration of serial interface The S1C88650 incorporates a full duplex serial interface (when asynchronous system is selected) that allows the user to select either clock synchro- nous system or asynchronous system. The data[...]

  • Page 70

    62 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) The serial interface terminals are configured according to the transfer mode set using the registers SMD0 and SMD1. SIN and SOUT are serial data input and output terminals which function identically in clock synchronous system _________ and asynchronous [...]

  • Page 71

    S1C88650 TECHNICAL MANUAL EPSON 63 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) This register setting is invalid in clock synchronous slave mode and the external clock input from the _________ SCLK terminal is used. When the "programmable timer" is selected, the programmable timer 1 underflow signal is divided by 2 and thi[...]

  • Page 72

    64 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) 5.8.5 Transmit-receive control Below is a description of the registers which handle transmit-receive control. With respect to transmit- receive control procedures and operations, please refer to the following sections in which these are discussed on a mo[...]

  • Page 73

    S1C88650 TECHNICAL MANUAL EPSON 65 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) (2) Port selection Because serial interface input/output ports SIN, _________ _________ SOUT, SCLK and SRDY are set as I/O port terminals P10–P13 at initial reset, "1" must be written to the serial interface enable register ESIF in order to s[...]

  • Page 74

    66 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) ■ Data transmit procedure The control procedure and operation during transmitting is as follows. (1) Write "0" in the transmit enable register TXEN and the receive enable register RXEN to reset the serial interface. (2) Write "1" in[...]

  • Page 75

    S1C88650 TECHNICAL MANUAL EPSON 67 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) ■ Data receive procedure The control procedure and operation during receiving is as follows. (1) Write "0" in the receive enable register RXEN and transmit enable register TXEN to reset the serial interface. (2) Write "1" in the rec[...]

  • Page 76

    68 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) _________ The SRDY signal changes the "1" to "0," immedi- ately after writing "1" into the transmit control bit TXTRG or the receive control bit RXTRG and returns from "0" to "1", at the point where the f[...]

  • Page 77

    S1C88650 TECHNICAL MANUAL EPSON 69 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) 5.8.7 Operation of asynchronous transfer Asynchronous transfer is a mode that transfers by adding a start bit and a stop bit to the front and the back of each piece of serial converted data. In this mode, there is no need to use a clock that is fully syn[...]

  • Page 78

    70 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) (6) Clock source control When the programmable timer is selected for the clock source, set transfer rate on the pro- grammable timer side. (See "5.10 Programmable Timer".) When the divided signal of OSC3 oscillation circuit is selected for the [...]

  • Page 79

    S1C88650 TECHNICAL MANUAL EPSON 71 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) ■ Data receive procedure The control procedure and operation during receiving is as follows. (1) Write "0" in the receive enable register RXEN to set the receiving disable status and to reset the respective PER, OER, FER flags that indicate p[...]

  • Page 80

    72 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) ■ Receive error During receiving the following three types of errors can be detected by an interrupt. (1) Parity error When writing "1" to the EPR register to select "with parity check", a parity check (vertical parity check) is exe[...]

  • Page 81

    S1C88650 TECHNICAL MANUAL EPSON 73 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) TXEN TXTRG(RD) TXTRG(WR) SOUT Interrupt (In 8-bit mode/Non parity) D0 D1 D2 D3 D4 D5 D6 D7 Sumpling clock (a) Transmit timing RXEN RXTRG(RD) RXTRG(WR) SIN TRXD OER control signal OER Interrupt (In 8-bit mode/Non parity) D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D6 D[...]

  • Page 82

    74 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) Data bus Interrupt request Address Error generation Interrupt factor flag FSERR Address Interrupt enable register ESERR Address Receive completion Interrupt factor flag FSREC Address Interrupt enable register ESREC Address Transmit completion Interrupt f[...]

  • Page 83

    S1C88650 TECHNICAL MANUAL EPSON 75 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) 5.8.9 Control of serial interface Table 5.8.9.1 show the serial interface control bits. Table 5.8.9.1(a) Serial interface control bits 00FF48 D7 D6 D5 D4 D3 D2 D1 D0 – EPR PMD SCS1 SCS0 SMD1 SMD0 ESIF "0" when being read Only for asynchronous[...]

  • Page 84

    76 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) SMD0, SMD1: 00FF48H•D1, D2 Set the transfer modes according to Table 5.8.9.2. Table 5.8.9.2 Transfer mode settings SMD1 SMD0 Mode 1 1 0 0 1 0 1 0 Asynchronous 8-bit Asynchronous 7-bit Clock synchronous slave Clock synchronous master SMD0 and SMD1 can a[...]

  • Page 85

    S1C88650 TECHNICAL MANUAL EPSON 77 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) SCS0, SCS1: 00FF48H•D3, D4 Select the clock source according to Table 5.8.9.3. Table 5.8.9.3 Clock source selection SCS1 1 1 0 0 SCS0 1 0 1 0 Clock source Programmable timer f OSC3 / 4 f OSC3 / 8 f OSC3 / 16 SCS0 and SCS1 can also be read out. In the c[...]

  • Page 86

    78 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) RXTRG: 00FF49H•D3 Functions as the receiving start trigger or prepara- tion for the following data receiving and the opera- tion status indicator (during receiving/during stop). When "1" is read: During receiving When "0" is read: D[...]

  • Page 87

    S1C88650 TECHNICAL MANUAL EPSON 79 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) FER: 00FF49H•D6 Indicates the generation of a framing error. When "1" is read: Error When "0" is read: No error When "1" is written: Reset to "0" When "0" is written: Invalid FER is an error flag that i[...]

  • Page 88

    80 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Serial Interface) 5.8.10 Programming notes (1) Be sure to initialize the serial interface mode in the transmitting/receiving disable status (TXEN = RXEN = "0"). (2) Do not perform double trigger (writing "1") to TXTRG (RXTRG) when the serial interface [...]

  • Page 89

    S1C88650 TECHNICAL MANUAL EPSON 81 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Clock Timer) 5.9 Cloc k T imer 5.9.1 Configuration of clock timer The S1C88650 has built in a clock timer that uses the OSC1 oscillation circuit as clock source. The clock timer is composed of an 8-bit binary counter that uses the 256 Hz signal dividing f OSC1 as its inpu[...]

  • Page 90

    82 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Clock Timer) 256 Hz 128 Hz 64 Hz 32 Hz 16 Hz 8 Hz 4 Hz 2 Hz 1 Hz 32 Hz interrupt 8 Hz interrupt 2 Hz interrupt 1 Hz interrupt OSC1/128 TMD0 TMD1 TMD2 TMD3 TMD4 TMD5 TMD6 TMD7 Data bus Interrupt request Address 32 Hz falling edge Interrupt factor flag FTM32 Address Interru[...]

  • Page 91

    S1C88650 TECHNICAL MANUAL EPSON 83 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Clock Timer) 5.9.3 Control of clock timer Table 5.9.3.1 shows the clock timer control bits. Table 5.9.3.1 Clock timer control bits D7 D6 D5 D4 D3 D2 D1 D0 WDEN FOUT2 FOUT1 FOUT0 FOUTON WDRST TMRST TMRUN Watchdog timer enable FOUT frequency selection FOUT output control Wa[...]

  • Page 92

    84 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Clock Timer) TMD0–TMD7: 00FF41H The clock timer data can be read out. Each bit of TMD0–TMD7 and frequency corre- spondence are as follows: TMD0: 128 Hz TMD4: 8 Hz TMD1: 64 Hz TMD5: 4 Hz TMD2: 32 Hz TMD6: 2 Hz TMD3: 16 Hz TMD7: 1 Hz Since the TMD0–TMD7 is exclusively[...]

  • Page 93

    S1C88650 TECHNICAL MANUAL EPSON 85 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Clock Timer) 5.9.4 Programming notes (1) The clock timer is actually made to RUN/STOP in synchronization with the falling edge of the 256 Hz signal after writing to the TMRUN register. Consequently, when "0" is written to the TMRUN, the timer shifts to STOP stat[...]

  • Page 94

    86 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) 5.10 Programmable T imer 5.10.1 Configuration of programmable timer The S1C88650 has four built-in 16-bit program- mable timer systems. Each system timer consists of a 16-bit presettable down counter , and can be used as 16-bit × 1 channel or 8-bit ×[...]

  • Page 95

    S1C88650 TECHNICAL MANUAL EPSON 87 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) Fi g. 5.10.1.2 Configuration of 16-bit pr ogrammable timer (T imers 4–7) Data bus 8-bit reload data register (RDR4) 8-bit down counter (PTM4) 8-bit compare data register (CDR4) Timer 4 control registers Control circuit Clock selection circuit Prescal[...]

  • Page 96

    88 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) 8-bit data High-order 8-bit data [8-bit mode] 8-bit data Timer 0 input clock Timer 1 input clock Interrupt request TOUT output Interrupt request TOUT output [16-bit mode] Low-order 8-bit data Timer 0 input clock Timer 0 underflow signal Interrupt reque[...]

  • Page 97

    S1C88650 TECHNICAL MANUAL EPSON 89 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.3.2 Division ratio and contr ol re gisters (OSC1) f OSC1 /128 f OSC1 /64 f OSC1 /32 f OSC1 /16 f OSC1 /8 f OSC1 /4 f OSC1 /2 f OSC1 /1 (OSC3) f OSC3 /4096 f OSC3 /1024 f OSC3 /256 f OSC3 /64 f OSC3 /32 f OSC3 /8 f OSC3 /2 f OSC3 /1 PSTx2 1 [...]

  • Page 98

    90 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) Compare data register The programmable timer has a built-in data comparator so that count data can be compar ed with an optional value. The compare data r egister (CDRx) is used to set the value to be compared. In the 8-bit mode, CDRx is used as an 8-b[...]

  • Page 99

    S1C88650 TECHNICAL MANUAL EPSON 91 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) 5.10.5 Interrupt function The 16-bit programmable timer can generate an interrupt with the compar e match signal and underflow signal of each timer . Figure 5.10.5.1 shows the configuration of the 16- bit programmable timer interr upt circuit. The comp[...]

  • Page 100

    92 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) Timer 5 Data bus Timer 4 interrupt request Address Underflow Interrupt factor flag FTU4 Address Interrupt enable register ETU4 Timer 5 interrupt request Address Compare match Interrupt factor flag FTC4 Address Interrupt enable register ETC4 Interrupt p[...]

  • Page 101

    S1C88650 TECHNICAL MANUAL EPSON 93 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) 5.10.6 Setting of TOUT output The 16-bit programmable timer can generate TOUT signals with the underflow and compare match signals of each timer. The TOUT signal generated in the 16-bit programmable timer can be output from the I/O port terminal shown [...]

  • Page 102

    94 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) 5.10.7 T ransfer rate setting of serial interface Since the underflow signal of T imer 1 is divided by 32 in the serial interface, the value set in the r egister RDR1X which corresponds to the transfer rate is shown in the following expression: fdiv RD[...]

  • Page 103

    S1C88650 TECHNICAL MANUAL EPSON 95 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) 5.10.9 Control of programmable timer T able 5.10.9.1 shows the programmable timer contr ol bits. T able 5.10.9.1(a) Pr ogr ammable timer contr ol bits SR R/W Address Bit Name Function Comment 10 00FF14 D7 D6 D5 D4 D3 D2 D1 D0 PRPRT1 PST12 PST11 PST10 P[...]

  • Page 104

    96 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.9.1(b) Pr ogr ammable timer contr ol bits SR R/W Address Bit Name Function Comment 10 00FF19 D7 D6 D5 D4 D3 D2 D1 D0 PRPRT7 PST72 PST71 PST70 PRPRT6 PST62 PST61 PST60 Programmable timer 7 clock control Programmable timer 7 division ratio Pr[...]

  • Page 105

    S1C88650 TECHNICAL MANUAL EPSON 97 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.9.1(c) Pr ogr ammable timer contr ol bits Address Bit Name SR R/W Function Comment 10 00FF25 D7 D6 D5 D4 D3 D2 D1 D0 ETC3 ETU3 ETC2 ETU2 ETC1 ETU1 ETC0 ETU0 PTM3 compare match interrupt enable PTM3 underflow interrupt enable PTM2 compare ma[...]

  • Page 106

    98 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.9.1(d) Pr ogr ammable timer contr ol bits SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 RDR07 RDR06 RDR05 RDR04 RDR03 RDR02 RDR01 RDR00 PTM0 reload data D7 (MSB) PTM0 reload data D6 PTM0 reload data D5 PTM0 reload data[...]

  • Page 107

    S1C88650 TECHNICAL MANUAL EPSON 99 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.9.1(e) Pr ogr ammable timer contr ol bits SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 00FF38 MODE16_B PTNREN_B – RPTOUT2 PTOUT2 PTRUN2 PSET2 CKSEL2 "0" when being read "0" when being read 0 0 ?[...]

  • Page 108

    100 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.9.1(f) Pr ogrammable timer contr ol bits SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 PTM27 PTM26 PTM25 PTM24 PTM23 PTM22 PTM21 PTM20 PTM2 data D7 (MSB) PTM2 data D6 PTM2 data D5 PTM2 data D4 PTM2 data D3 PTM2 data D[...]

  • Page 109

    S1C88650 TECHNICAL MANUAL EPSON 101 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.9.1(g) Pr ogr ammable timer contr ol bits SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 CDR57 CDR56 CDR55 CDR54 CDR53 CDR52 CDR51 CDR50 PTM5 compare data D7 (MSB) PTM5 compare data D6 PTM5 compare data D5 PTM5 compare[...]

  • Page 110

    102 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) T able 5.10.9.1(h) Pr ogr ammable timer contr ol bits SR R/W Address Bit Name Function Comment 10 D7 D6 D5 D4 D3 D2 D1 D0 RDR67 RDR66 RDR65 RDR64 RDR63 RDR62 RDR61 RDR60 PTM6 reload data D7 (MSB) PTM6 reload data D6 PTM6 reload data D5 PTM6 reload dat[...]

  • Page 111

    S1C88650 TECHNICAL MANUAL EPSON 103 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) MODE16_A: 00FF30H•D7 MODE16_B: 00FF38H•D7 MODE16_C: 00FFB0H•D7 MODE16_D: 00FFB8H•D7 Selects either the 8/16 bit mode. When "1" is written: 16 bits × 1 channel When "0" is written: 8 bits × 2 channels Reading: V alid MODE1[...]

  • Page 112

    104 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) PRPRT0: 00FF14H•D3 PRPRT1: 00FF14H•D7 PRPRT2: 00FF15H•D3 PRPRT3: 00FF15H•D7 PRPRT4: 00FF18H•D3 PRPRT5: 00FF18H•D7 PRPRT6: 00FF19H•D3 PRPRT7: 00FF19H•D7 Controls the clock supply of each timer (when internal clock is used). When "1[...]

  • Page 113

    S1C88650 TECHNICAL MANUAL EPSON 105 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) PTRUN0: 00FF30H•D2 PTRUN1: 00FF31H•D2 PTRUN2: 00FF38H•D2 PTRUN3: 00FF39H•D2 PTRUN4: 00FFB0H•D2 PTRUN5: 00FFB1H•D2 PTRUN6: 00FFB8H•D2 PTRUN7: 00FFB9H•D2 Controls the RUN/ST OP of the counter . When "1" is written: RUN When &qu[...]

  • Page 114

    106 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) ETU0: 00FF25H•D0 ETU1: 00FF25H•D2 ETU2: 00FF25H•D4 ETU3: 00FF25H•D6 ETU4: 00FF2CH•D0 ETU5: 00FF2CH•D2 ETU6: 00FF2CH•D4 ETU7: 00FF2CH•D6 Enables or disables the underflow interrupt generation to the CPU. When "1" is written: I[...]

  • Page 115

    S1C88650 TECHNICAL MANUAL EPSON 107 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Programmable Timer) FTCx is the interrupt factor flag corr esponding to interrupt of T imer x, and is set to "1" with the compare match signal. At this point, if the corr esponding interrupt enable re gister is set to "1" and the corresponding inter -[...]

  • Page 116

    108 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) 5.11 LCD Driver 5.11.1 Configuration of LCD driver The S1C88650 has a built-in dot matrix LCD driver that can drive an LCD panel with a maximum of 4,032 dots (126 segments × 32 commons). Figure 5.11.1.1 shows the configuration of the LCD driver and the drive[...]

  • Page 117

    S1C88650 TECHNICAL MANUAL EPSON 109 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) 5.11.3 Frame frequency This LCD driver allows selection of the source clock for generating the frame signal from the OSC1 oscillation clock (f OSC1 ) and the programmable timer 5 underflow signal. By using programmable timer 5, flexible frame frequencies can [...]

  • Page 118

    110 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) V DD V SS 31 – – 3 2 1 0 31 – – 3 2 1 0 FR COM0 COM1 COM2 SEG0 SEG1 COM0–SEG0 COM0–SEG1 COM0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 SEG0 1 2 3 4 V C5 V C4 V C3 V C2 V C1 V (GND) SS V C5 V C4 V C3 V C2 V[...]

  • Page 119

    S1C88650 TECHNICAL MANUAL EPSON 111 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) COM0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 SEG0 1 2 3 4 15 – – 3 2 1 0 15 – – 3 2 1 0 FR COM0 COM1 COM2 SEG0 SEG1 COM0–SEG0 COM0–SEG1 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ V DD V SS V C5 V C4 V C3 V C2 V C1 V (GND) SS V C5 V C4 V C[...]

  • Page 120

    112 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) COM0 1 2 3 4 5 6 7 SEG0 1 2 3 4 V DD V SS V C5 V C4 V C3 V C2 V C1 V SS 7 3 2 1 0 7 3 2 1 0 FR COM0 COM1 COM2 SEG0 SEG1 V C5 V C4 V C3 V C2 V C1 V SS V C5 V C4 V C3 V C2 V C1 V SS V C5 V C4 V C3 V C2 V C1 V SS V C5 V C4 V C3 V C2 V C1 V SS V C5 V C4 V C3 V C2[...]

  • Page 121

    S1C88650 TECHNICAL MANUAL EPSON 113 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) 5.11.5 Display memory The S1C88650 has a built-in 768-byte display memory. The display memory is allocated to address Fx00H–Fx7FH (x = 8–DH) and the corre- spondence between the memory bits and com- mon/segment terminal is changed according to the selecti[...]

  • Page 122

    114 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) D0 D1 D2 D3 D4 D5 D6 D7 Display area D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Display area Dis[...]

  • Page 123

    S1C88650 TECHNICAL MANUAL EPSON 115 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) Display area Display area D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 0–15 125–112 16–31 111–96 32–47 95–80 48–63 79–64 64–79 63–48 80–95[...]

  • Page 124

    116 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) D0 D1 D2 D3 D4 D5 D6 D7 Display area 0 (when DSPAR is set to "0") D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11[...]

  • Page 125

    S1C88650 TECHNICAL MANUAL EPSON 117 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) Display area 0 (when DSPAR is set to "0") Display area 1 (when DSPAR is set to "1") D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 0–15 125?[...]

  • Page 126

    118 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) D0 D1 D2 D3 D4 D5 D6 D7 Display area 0 (when DSPAR is set to "0") D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Display area 1 (when DSPAR is s[...]

  • Page 127

    S1C88650 TECHNICAL MANUAL EPSON 119 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) D0 D1 D2 D3 D4 D5 D6 D7 Display area 0 (when DSPAR is set to "0") D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 Display area 1 (when DSPAR is s[...]

  • Page 128

    120 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) 5.11.6 Display control The display status of the built-in LCD driver and the contrast adjustment can be controlled with the built-in LCD driver. The LCD display status can be selected by display control registers LCDC0 and LCDC1. Setting the value and display[...]

  • Page 129

    S1C88650 TECHNICAL MANUAL EPSON 121 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) 5.11.7 Control of LCD driver Table 5.11.7.1 shows the LCD driver control bits. Table 5.11.7.1 LCD driver control bits SR R/W 10 Address Bit Name Function Comment 00FF03 D7 D6 D5 D4 D3 D2 D1 D0 – – – – – – 0 0 R/W R/W – – – – – – Power [...]

  • Page 130

    122 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) DTFNT: 00FF10H•D2 Selects the dot font. When "1" is written: 12 × 12 dots When "0" is written: 16 × 16/5 × 8 dots Reading: Valid Select 16 × 16/5 × 8 dots or 12 × 12 dots type for the display memory area. When "0" is writ[...]

  • Page 131

    S1C88650 TECHNICAL MANUAL EPSON 123 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (LCD Driver) DBON: 00FF03H•D0 Control the power voltage booster circuit. When "1" is written: ON When "0" is written: OFF Reading: Valid When "1" is written to DBON, the power voltage booster activates and almost doubles the V DD voltage to[...]

  • Page 132

    124 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (SVD Circuit) 5.12 Supply V oltage Detection (SVD) Circuit 5.12.1 Configuration of SVD circuit The S1C88650 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 crit[...]

  • Page 133

    S1C88650 TECHNICAL MANUAL EPSON 125 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (SVD Circuit) 5.12.3 Control of SVD circuit Table 5.12.3.1 shows the SVD circuit control bits. Table 5.12.3.1 SVD circuit control bits Address Bit Name SR R/W Function Comment 10 00FF12 D7 D6 D5 D4 D3 D2 D1 D0 – – SVDDT SVDON SVDS3 SVDS2 SVDS1 SVDS0 – – SVD detect[...]

  • Page 134

    126 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Heavy Load Protection Function) 5.13 Heavy Load Protection Function 5.13.1 Outline of heavy load protection function The normal mode (heavy load protection function is off) changes to the heavy load protection mode (heavy load protection function is on) when the software[...]

  • Page 135

    S1C88650 TECHNICAL MANUAL EPSON 127 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) 5.14 Interrupt and Standby Status ■ Types of interrupts 4 systems and 31 types of interrupts have been provided for the S1C88650. External interrupt •K00–K07 input interrupt (8 types) Internal interrupt •Clock timer interrupt (4 type[...]

  • Page 136

    128 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) Fig. 5.14.1 Configuration of interrupt circuit FTM32 ETM32 32 Hz FTM8 ETM8 8 Hz FTM2 ETM2 2 Hz FTM1 ETM1 1 Hz Clock timer FSERR ESERR Error FSREC ESREC Receive FSTRA ESTRA Transmit Serial interface FTU0 ETU0 Underflow FTC0 ETC0 Compare match[...]

  • Page 137

    S1C88650 TECHNICAL MANUAL EPSON 129 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) 5.14.2 Interrupt factor flag Table 5.14.2.1 shows the correspondence between the factors generating an interrupt and the inter- rupt factor flags. The corresponding interrupt factor flags are set to "1" by generation of the respect[...]

  • Page 138

    130 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) 5.14.3 Interrupt enable register The interrupt enable register has a 1 to 1 corre- spondence with each interrupt factor flag and enable/disable of interrupt requests can be set. When "1" is written to the interrupt enable register,[...]

  • Page 139

    S1C88650 TECHNICAL MANUAL EPSON 131 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) 5.14.4 Interrupt priority register and interrupt priority level Table 5.14.4.1 Interrupt priority register Interrupt K00–K07 input interrupt Programmable timer interrupt 1–0 Programmable timer interrupt 3–2 Programmable timer interrupt[...]

  • Page 140

    132 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) 5.14.5 Exception processing vectors When the CPU accepts an interrupt request, it starts exception processing following completion of the instruction being executed. In exception processing, the following operations branch the program. (1) I[...]

  • Page 141

    S1C88650 TECHNICAL MANUAL EPSON 133 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) 5.14.6 Control of interrupt Table 5.14.6.1 shows the interrupt control bits. Table 5.14.6.1(a) Interrupt control bits SR R/W Address Bit Name Function Comment 10 00FF20 D7 D6 D5 D4 D3 D2 D1 D0 PK01 PK00 PSIF1 PSIF0 – – PTM1 PTM0 Constant[...]

  • Page 142

    134 EPSON S1C88650 TECHNICAL MANUAL 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) Table 5.14.6.1(b) Interrupt control bits Address Bit Name SR R/W Function Comment 10 00FF25 D7 D6 D5 D4 D3 D2 D1 D0 ETC3 ETU3 ETC2 ETU2 ETC1 ETU1 ETC0 ETU0 PTM3 compare match interrupt enable PTM3 underflow interrupt enable PTM2 compare matc[...]

  • Page 143

    S1C88650 TECHNICAL MANUAL EPSON 135 5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Interrupt and Standby Status) Refer to the explanations on the respective peripheral circuits for the setting content and control method for each bit. 5.14.7 Programming notes (1) When executing the RETE instruction without resetting the interrupt factor flag after an in[...]

  • Page 144

    136 EPSON S1C88650 TECHNICAL MANUAL 6 SUMMARY OF NOTES 6 SUMMAR Y OF NO TES 6.1 Notes f or Low Current Consumption The S1C88650 can turn circuits, which consume a large amount of power, ON or OFF by control registers. You can reduce power consumption by creating a program that operates the minimum necessary circuits using these control registers. N[...]

  • Page 145

    S1C88650 TECHNICAL MANUAL EPSON 137 6 SUMMARY OF NOTES 6.2 Precautions on Mounting <Oscillation Circuit> ● Oscillation characteristics change depending on conditions (board pattern, components used, etc.). In particular, when a ceramic or crystal oscillator is used, use the oscillator manufacturer's recommended values for constants suc[...]

  • Page 146

    138 EPSON S1C88650 TECHNICAL MANUAL 6 SUMMARY OF NOTES <Precautions for Visible Radiation (when bare chip is mounted)> ● Visible radiation causes semiconductor devices to change the electrical characteristics. It may cause this IC to malfunction. When developing products which use this IC, consider the following precautions to prevent malfu[...]

  • Page 147

    S1C88650 TECHNICAL MANUAL EPSON 139 7 BASIC EXTERNAL WIRING DIAGRAM 7B ASIC EXTERN AL WIRING DIA GRAM Note: The above table is simply an example, and is not guaranteed to work. ∗ 1: OSC1 = Crystal oscillation ∗ 2: OSC1 = CR oscillation ∗ 3: OSC3 = Crystal or Ceramic oscillation ∗ 4: OSC3 = CR oscillation K00–K02 K03 (BREQ) K04–K07 R00?[...]

  • Page 148

    140 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS 8 ELECTRICAL CHARA CTERISTICS 8.1 Absolute Maximum Rating Item Symbol Unit Rated value Power voltage Liquid crystal power voltage Input voltage Output voltage High level output current Low level output current Permitted loss Operating temperature Storage temperature Soldering temperat[...]

  • Page 149

    S1C88650 TECHNICAL MANUAL EPSON 141 8 ELECTRICAL CHARACTERISTICS 8.3 DC Characteristics Item Symbol Min. Typ. Max. Unit Condition High level input voltage Low level input voltage High level schmitt input voltage (1) Low level schmitt input voltage (1) High level schmitt input voltage (2) Low level schmitt input voltage (2) High level output current[...]

  • Page 150

    142 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS 8.4 Analog Circuit Characteristics ■ LCD drive circuit The typical values in the following LCD driver characteristics varies depending on the panel load (panel size, number of display pixels and display contents), so evaluate them by connecting to the actually used LCD panel. Refer [...]

  • Page 151

    S1C88650 TECHNICAL MANUAL EPSON 143 8 ELECTRICAL CHARACTERISTICS 8.5 P o wer Current Consumption Item Symbol Min. Typ. Max. Unit Condition Current consumption in SLEEP mode Current consumption in HALT mode Current consumption during execution Current consumption during execution in heavy load protection mode LCD circuit current LCD circuit current [...]

  • Page 152

    144 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS 8.6 A C Characteristics ■ Operating range Condition: V DD = 1. 8 to 3.6 V, V SS = 0 V, Ta = -20 to 70 ° C Item Symbol Min. Typ. Max. Unit Condition Operating frequency Instruction execution time (during operation with OSC1 clock) Instruction execution time ( during operation with O[...]

  • Page 153

    S1C88650 TECHNICAL MANUAL EPSON 145 8 ELECTRICAL CHARACTERISTICS ■ External memory access • Read cycle Item Symbol Min. Typ. Max. Unit Address set-up time in read cycle Address hold time in read cycle Read signal pulse width Data input set-up time in read cycle Data input hold time in read cycle t ras t rah t rp t rds t rdh ns ns ns ns ns Note [...]

  • Page 154

    146 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS ■ Serial interface • Clock synchronous master mode Item Symbol Min. Typ. Max. Unit Transmitting data output delay time Receiving data input set-up time Receiving data input hold time t smd t sms t smh ns ns ns Note 250 100 100 Condition: V DD = 1.8 to 3.6 V, V SS = 0 V, Ta = 25 °[...]

  • Page 155

    S1C88650 TECHNICAL MANUAL EPSON 147 8 ELECTRICAL CHARACTERISTICS ■ Input clock • _________ SCLK, EXCL input clock Item Symbol Min. Typ. Max. Unit SCLK input clock time EXCL input clock time (with noise rejecter) EXCL input clock time (without noise rejecter) Input clock rising time Input clock falling time t sccy t sch t scl t evcy t evh t evl [...]

  • Page 156

    148 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS ■ Power ON reset using an external capacitor Symbol Min. Typ. Max. Unit Operating power voltage RESET input time Vsr t psr V ms Note 1.8 10 Item Condition: V DD = 1.8 to 3.6 V, V SS = 0 V, Ta = 25 ° C V DD RESET t psr Vsr 0.5V DD 0.1V DD Power ON *1 Because the potential of the RES[...]

  • Page 157

    S1C88650 TECHNICAL MANUAL EPSON 149 8 ELECTRICAL CHARACTERISTICS 8.7 Oscillation Characteristics Oscillation characteristics change depending on conditions (board pattern, components used, etc.). Use the following characteristics as reference values. In particular, when a ceramic oscillator or crystal oscillator is used for OSC3, use the oscillator[...]

  • Page 158

    150 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS 8.8 Characteristics Curv es (reference value) ■ High level output current-voltage characteristic Ta = 70°C, Max. value 0.0 0 -3 -6 -9 -12 -15 0.2 0.4 0.6 0.8 1.0 V DD –V OH [V] V DD = 1.8 V V DD = 2.4 V V DD = 3.6 V I OH [mA] ■ Low level output current-voltage characteristic Ta[...]

  • Page 159

    S1C88650 TECHNICAL MANUAL EPSON 151 8 ELECTRICAL CHARACTERISTICS ■ LCD drive voltage-supply voltage characteristic (when the power voltage booster is not used) Connects 1 M Ω load resistor between V SS and V C5 . (no panel load) Ta = 25°C, Typ. value 1.5 2.0 2.5 3.0 3.5 4.0 7.0 6.0 5.0 4.0 3.0 2.0 V DD [V] LCx = FH LCx = 0H V C5 [V] ■ LCD dr[...]

  • Page 160

    152 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS ■ LCD drive voltage-ambient temperature characteristic Typ. value -50 1.05V C5 1.04V C5 1.03V C5 1.02V C5 1.01V C5 1.00V C5 0.99V C5 0.98V C5 0.97V C5 0.96V C5 0.95V C5 -25 0 25 50 75 100 Ta [ ° C] V C5 [V] ■ LCD drive voltage-load characteristic Ta = 25°C, Typ. value, LCx = 8H [...]

  • Page 161

    S1C88650 TECHNICAL MANUAL EPSON 153 8 ELECTRICAL CHARACTERISTICS ■ SVD voltage-ambient temperature characteristic Typ. value, SVDSx = FH -50 1.05V SVD 1.04V SVD 1.03V SVD 1.02V SVD 1.01V SVD 1.00V SVD 0.99V SVD 0.98V SVD 0.97V SVD 0.96V SVD 0.95V SVD -25 0 25 50 75 100 Ta [ ° C] V SVD [V][...]

  • Page 162

    154 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS ■ In HALT status current consumption temperature characteristic (During operation with OSC1) <Crystal oscillation, f OSC1 = 32.768 kHz> Typ. value -50 8 6 4 2 0 -25 0 25 50 75 100 Ta [ ° C] I HAL T1 [ µ A] ■ In HALT status current consumption resistor characteristic (Durin[...]

  • Page 163

    S1C88650 TECHNICAL MANUAL EPSON 155 8 ELECTRICAL CHARACTERISTICS ■ In executed status current consumption temperature characteristic (During operation with OSC1) <Crystal oscillation, f OSC1 = 32.768 kHz> Typ. value -50 16 12 8 4 0 -25 0 25 50 75 100 Ta [ ° C] I EXE1 [ µ A] ■ In executed status current consumption resistor characteristi[...]

  • Page 164

    156 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS ■ In executed status current consumption frequency characteristic (During operation with OSC3) <Crystal oscillation/Ceramic oscillation> Ta = 25°C 0.0 4000 3500 3000 2500 2000 1500 1000 500 0 2.0 4.0 6.0 8.0 10.0 f OSC3 [MHz] Max. Ty p . I EXE3 [ µ A] ■ In executed status [...]

  • Page 165

    S1C88650 TECHNICAL MANUAL EPSON 157 8 ELECTRICAL CHARACTERISTICS ■ Oscillation frequency resistor characteristic (OSC1) <CR oscillation> Ta = 25°C, Typ. value 100 1000 100 10 1000 10000 R CR1 [k Ω ] f OSC1 [kHz] ■ Oscillation frequency temperature characteristic (OSC1) <CR oscillation> Typ. value, R CR1 = 1500 k Ω -50 1000 100 [...]

  • Page 166

    158 EPSON S1C88650 TECHNICAL MANUAL 8 ELECTRICAL CHARACTERISTICS ■ Oscillation frequency resistor characteristic (OSC3) <CR oscillation> Ta = 25°C, Typ. value 10 10000 1000 100 10 100 1000 R CR3 [k Ω ] f OSC3 [kHz] ■ Oscillation frequency temperature characteristic (OSC3) <CR oscillation> Typ. value, R CR3 = 40 k Ω -50 10000 10[...]

  • Page 167

    S1C88650 TECHNICAL MANUAL EPSON 159 9 PACKAGE 9P A CKA GE 9.1 Plastic P ackage QFP22-256pin (Unit: mm) 129 192 65 128 INDEX 64 1 256 193 28 ± 0.1 30 ± 0.4 28 ± 0.1 30 ± 0.4 0.16 0.4 +0.05 –0.03 1.4 ± 0.1 0.1 1.7 max 0.5 ± 0.2 0 ° 10 ° 0.125 1 +0.05 –0.025[...]

  • Page 168

    160 EPSON S1C88650 TECHNICAL MANUAL 9 PACKAGE 9.2 Ceramic P ackage for T est Samples PGA-256pin (Unit: mm) Pin name 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 Pin No. Pin No. Pin name R20/A16 R21/A17 R22/A18 R23/A19 R24/RD R25/WR R30/CE0 R31/CE1 [...]

  • Page 169

    S1C88650 TECHNICAL MANUAL EPSON 161 10 PAD LAYOUT 10 PAD LA Y OUT 10.1 Diagram of P ad Layout 6.7 mm Y X (0, 0) 6.7 mm 120 125 130 135 140 145 150 155 160 165 170 175 Die. No. 180 185 190 195 200 205 210 215 220 225 230 235 1 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 115 110 105 100 95 90 80 85 Chip thickness: 400 µm Pad opening: 90 µm ■ Pad [...]

  • Page 170

    162 EPSON S1C88650 TECHNICAL MANUAL 10 PAD LAYOUT 10.2 P ad Coordinates (Unit: mm) No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 Name V DD OSC3 OSC4 V SS V D1 OSC1 OSC2 TEST RESET MCU/MPU K07/EXCL3 K06/EXCL2 K05/EXCL1 K04/EX[...]

  • Page 171

    S1C88650 TECHNICAL MANUAL EPSON 163 APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) APPENDIX A S5U1C88000P1&S5U1C88649P2 MANU AL (P eripheral Circuit Board for S1C88650) This manual describes how to use the Peripheral Circuit Board for S1C88650 (S5U1C88000P1&S5U1C88649P2). This circuit board is used t[...]

  • Page 172

    164 EPSON S1C88650 TECHNICAL MANUAL APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) (1) SW1 When downloading circuit data, set this switch to the "3" position. Otherwise, set to position "1". (2) LCDVCC (on the back of the S5U1C88000P1 board) The internal power voltage (V C5 ) for the LCD [...]

  • Page 173

    S1C88650 TECHNICAL MANUAL EPSON 165 APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) (21) LED 13 (Reserved) Unused. (22) LED 14 (OSC1 operating clock) The OSC1 operating clock is connected to this LED. The corresponding monitor pin (pin 14) can be used to check t he OSC1 clock frequency. (23) LED 15 (OSC3 oper[...]

  • Page 174

    166 EPSON S1C88650 TECHNICAL MANUAL APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) Pull-up resistance value The pull-up resistance values on this board are set to 300 k Ω which differ from those for the actual IC. For the resistance values on the actual IC, refer to Chapter 8, "ELECTRICAL CHARACTERIST[...]

  • Page 175

    S1C88650 TECHNICAL MANUAL EPSON 167 APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) Oscillation circuit • The OSC1 crystal oscillation frequency is fixed at 32.768 kHz. • The OSC1 CR oscillation frequency can be adjusted in the range of approx. 20 kHz to 500 kHz using the control on the S5U1C88000P1 front[...]

  • Page 176

    168 EPSON S1C88650 TECHNICAL MANUAL APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) A.3 Connecting to the T arget System This section explains how to connect the S5U1C88000P1&S5U1C88649P2 to the target system. Note: Turn the power of all equipment off before connecting or disconnecting cables. Use the I/O[...]

  • Page 177

    S1C88650 TECHNICAL MANUAL EPSON 169 APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) I/O connector pin assignment Table A.3.1 I/O #1 connector No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 Pin name V DD (3.3 V) V DD (3.3 V) V SS V SS N.C. N.C[...]

  • Page 178

    170 EPSON S1C88650 TECHNICAL MANUAL APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) Table A.3.3 I/O #3 connector No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Pin name K00 K01 K02 K03(BREQ) K04/EXCL0 K05/EXCL1 K06/EXCL2 K07/EXCL3 N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. N.C. No. 1 2 3 4[...]

  • Page 179

    S1C88650 TECHNICAL MANUAL EPSON 171 APPENDIX A S5U1C88000P1&S5U1C88649P2 MANUAL (Peripheral Circuit Board for S1C88650) A.4 Product Specifications The components specifications of the S5U1C88649P2 are listed below. S5U1C88649P2 Dimensions (mm): 184 (W) × 152 (D) × 17 (H) I/O cable (100-pin/50-pin x 2) S5U1C88649P2 connector (100-pin): KEL 883[...]

  • Page 180

    172 EPSON S1C88650 TECHNICAL MANUAL APPENDIX B USING KANJI FONT F ont data object Linker Executab le file Locator R OM siz e used: 133,388 bytes Compile Assemble User-dev eloped program Shown here is the typef ace of an e xcer pted kanji font. APPENDIX B USING KANJI FONT Use the S5U1C88000R1 (12 × 12-dot RIS 506 kanji font package) to display kanj[...]

  • Page 181

    AMERICA EPSON ELECTRONICS AMERICA, INC. - HEADQUARTERS - 150 River Oaks Parkway San Jose, CA 95134, U.S.A. Phone: +1-408-922-0200 Fax: +1-408-922-0238 - SALES OFFICES - West 1960 E. Grand Avenue EI Segundo, CA 90245, U.S.A. Phone: +1-310-955-5300 Fax: +1-310-955-5400 Central 101 Virginia Street, Suite 290 Crystal Lake, IL 60014, U.S.A. Phone: +1-81[...]

  • Page 182

    EPSON Electronic Devices Website ELECTRONIC DEVICES MARKETING DIVISION http://www.epsondevice.com T echnical Manual S1C88650 Issue January, 2004 Printed in Japan A L Document code: 404824700[...]