Epson S1C63558 manual

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
183
184
185

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Epson S1C63558, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Epson S1C63558 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Epson S1C63558. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Epson S1C63558 should contain:
- informations concerning technical data of Epson S1C63558
- name of the manufacturer and a year of construction of the Epson S1C63558 item
- rules of operation, control and maintenance of the Epson S1C63558 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Epson S1C63558 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Epson S1C63558, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Epson service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Epson S1C63558.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Epson S1C63558 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    MF1153 - 03 T echnical Manual CMOS 4 - BIT SINGLE CHIP MICROCOMPUTER S1C63558 Technical Hardware S1C63558[...]

  • 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

    Revisions and Additions for this manual Section 2.1.2 4.7.3 Page 8 49 Item Table 2.1.2.1 LCD drive voltage when generated internally Table 4.7.3.1 LCD drive voltage when generated internally Contents The table was revised. The table was revised. Chapter 2 4 S1C63557 Technical Manual[...]

  • Page 4

    [...]

  • Page 5

    The information of the product number change Configuration of product number Devices Comparison table between new and previous number S1C63 Family processors Starting April 1, 2001, the product number has been changed as listed below. Please use the new product number when you place an order. For further information, please contact Epson sales repr[...]

  • Page 6

    [...]

  • Page 7

    S1C63558 TECHNICAL MANUAL EPSON i CONTENTS C ONTENTS CHAPTER 1O UTLINE ________________________________________________ 1 1.1 F eatur es ........................................................................................................ 1 1.2 Block Diagram ........................................................................................[...]

  • Page 8

    ii EPSON S1C63558 TECHNICAL MANUAL CONTENTS 4.5.3 High impedance contr ol ............................................................................ 34 4.5.4 Special output ............................................................................................ 34 4.5.5 I/O memory of output ports ..............................................[...]

  • Page 9

    S1C63558 TECHNICAL MANUAL EPSON iii CONTENTS 4.12.3 Contr ol of buzzer output ......................................................................... 101 4.12.4 Setting of buzzer fr equency and sound level .......................................... 102 4.12.5 Digital envelope .......................................................................[...]

  • Page 10

    iv EPSON S1C63558 TECHNICAL MANUAL CONTENTS 7.8 T elephone Function Characteristics ........................................................... 166 7.9 T iming Chart ............................................................................................... 166 7.10 Characteristic Curves (r efer ence value) .....................................[...]

  • Page 11

    S1C63558 TECHNICAL MANUAL EPSON 1 CHAPTER 1: OUTLINE CHAPTER 1O UTLINE The S1C63558 is a microcomputer which has a high-performance 4-bit CPU S1C63000 as the cor e CPU, ROM (8,192 words × 13 bits), RAM (5,120 wor ds × 4 bits), serial interface, watchdog timer , program- mable timer , time base counters (2 systems), SVD cir cuit, a dot-matrix LCD [...]

  • Page 12

    2 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 1: OUTLINE 1.2 Block Diagram Fi g. 1.2.1 Block diagram OSC1 OSC2 OSC3 OSC4 COM0–7 SEG0–39 (SEG47–40 ∗ 1 ) COM8–16 V DD V C1–5 CA–CC V D1 V SS SVD K00–K03 K10–K13 TEST RESET P00–P03 P10–P13 P20–P23 P30–P33 R00–R03 R10–R13 R20–R23 ∗ 1: Mask option Core CPU S1C63000 ROM 8,192 [...]

  • Page 13

    S1C63558 TECHNICAL MANUAL EPSON 3 CHAPTER 1: OUTLINE 1.3 Pin Layout Diagram QFP15-128pin Fi g. 1.3.1 Pin layout diagram 65 96 33 64 INDEX 32 1 128 97 S1C63558 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 No. 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 [...]

  • Page 14

    4 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 1: OUTLINE 1.4 Pin Description T able 1.4.1 Pin description Pin name V DD V SS V D1 V C1 –V C5 CA–CC OSC1 OSC2 OSC3 OSC4 K00–K03 K10–K13 P00–P03 P10–P13 P20 P21 P22 P23 P30–P33 R00 R01 R02 R03 R10 R11 R12 R13 R20–R23 COM0–COM7 COM8–COM16 (SEG47–SEG40) SEG0–SEG39 SVD DP TONE RESET TES[...]

  • Page 15

    S1C63558 TECHNICAL MANUAL EPSON 5 CHAPTER 1: OUTLINE 1.5 Mask Option Mask options shown below are pr ovided for the S1C63558. Several har dware specifications ar e pr epared in each mask option, and one of them can be selected according to the application. The function option generator FOG63558, that has been prepar ed as the development softwar e [...]

  • Page 16

    6 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 1: OUTLINE (8) Output specification of the DP terminal Either complementary output or N-channel open drain output can be selected as the output specifica- tion for the DP (dial pulse output) terminal. Refer to Section 4.14.2, "Mask option", for details. (9) Gain of FSK demodulator input amplifier [...]

  • Page 17

    S1C63558 TECHNICAL MANUAL EPSON 7 CHAPTER 1: OUTLINE 5. I/O PORT OUTPUT SPECIFICA TION • P00 ■ ■ 1. Complementary ■ ■ 2. Nch-OpenDrain • P01 ■ ■ 1. Complementary ■ ■ 2. Nch-OpenDrain • P02 ■ ■ 1. Complementary ■ ■ 2. Nch-OpenDrain • P03 ■ ■ 1. Complementary ■ ■ 2. Nch-OpenDrain • P10 ■ ■ 1. Complementar[...]

  • Page 18

    8 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 2: POWER SUPPLY AND INITIAL RESET CHAPTER 2P O WER S UPPL Y AND I NITIAL R ESET 2.1 P o wer Supply The S1C63558 operating power voltage is as follows: Supply voltage V DD = 2.2 V to 5.5 V The S1C63558 operates by applying a single power supply within the above range between V DD and V SS . The S1C63558 itse[...]

  • Page 19

    S1C63558 TECHNICAL MANUAL EPSON 9 CHAPTER 2: POWER SUPPLY AND INITIAL RESET 2.2 Initial Reset To initialize the S1C63558 circuits, initial r eset must be executed. Ther e are two ways of doing this. (1) External initial reset by the RESET terminal (2) External initial reset by simultaneous low input to terminals K00–K03 (mask option setting) The [...]

  • Page 20

    10 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 2: POWER SUPPLY AND INITIAL RESET 2.2.2 Simultaneous lo w input to terminals K00–K03 Another way of executing initial reset externally is to input a low signal simultaneously to the input ports (K00–K03) selected with the mask option. Since this initial reset passes thr ough the noise reject circuit, m[...]

  • Page 21

    S1C63558 TECHNICAL MANUAL EPSON 11 CHAPTER 2: POWER SUPPLY AND INITIAL RESET 2.2.4 T erminal settings at initial resetting The output port (R) terminals and I/O port (P) terminals are shar ed with special output terminals and input/output terminals of the serial interface. These functions are selected by the softwar e. At initial r eset, these term[...]

  • Page 22

    12 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 3: CPU, ROM, RAM CHAPTER 3 CPU, R OM, RAM 3.1 CPU The S1C63558 has a 4-bit core CPU S1C63000 built-in as its CPU part. Refer to the "S1C63000 Core CPU Manual" for the S1C63000. Note: The SLP instruction cannot be used because the SLEEP oper ation is not assumed in the S1C63558. 3.2 Code R OM The [...]

  • Page 23

    S1C63558 TECHNICAL MANUAL EPSON 13 CHAPTER 3: CPU, ROM, RAM (3) Subroutine calls use 4 wor ds (for PC evacuation) in the stack area for 16-bit data (SP1). Interrupts use 4 words (for PC evacuation) in the stack ar ea for 16-bit data (SP1) and 1 word (for F register evacua- tion) in the stack area for 4-bit data. 0000H 00FFH 0100H 01FFH 0200H 13FFH [...]

  • Page 24

    14 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) CHAPTER 4 P ERIPHERAL C IRCUITS AND O PERA TION The peripheral circuits of S1C63558 (timer , I/O, etc.) are interfaced with the CPU in the memory mapped I/O method. Thus, all the peripheral circuits can be contr olled by accessing the I/O memory on the memo[...]

  • Page 25

    S1C63558 TECHNICAL MANUAL EPSON 15 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (a) I/O memory map (FF00H–FF18H) Remarks ∗ 1 Initial value at initial reset ∗ 3 Constantly "0" when being read ∗ 2 Not set in the circuit ∗ 4 Depends on the input status of the RDIN terminal Address Comment D3 D2 Register D1[...]

  • Page 26

    16 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (b) I/O memory map (FF20H–FF42H) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF20H SIK03 SIK02 SIK01 SIK00 R/W SIK03 SIK02 SIK01 SIK00 0 0 0 0 Enable Enable Enable Enable Disable Disable Disable Disable K00–K03 interrupt selecti[...]

  • Page 27

    S1C63558 TECHNICAL MANUAL EPSON 17 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (c) I/O memory map (FF44H–FF4DH) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF44H IOC13 IOC12 IOC11 IOC10 R/W IOC13 IOC12 IOC11 IOC10 0 0 0 0 Output Output Output Output Input Input Input Input P13 I/O control register General-pu[...]

  • Page 28

    18 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (d) I/O memory map (FF4EH–FF67H) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF4EH R/W – ∗ 2 – ∗ 2 – ∗ 2 – ∗ 2 High High High High Low Low Low Low P33 I/O port data General-purpose register when SIF (clock sync. sl[...]

  • Page 29

    S1C63558 TECHNICAL MANUAL EPSON 19 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (e) I/O memory map (FF6CH–FF7AH) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF6EH 0 BZFQ2 BZFQ1 BZFQ0 R R/W 0 ∗ 3 BZFQ2 BZFQ1 BZFQ0 – ∗ 2 0 0 0 FF6FH 0 BDTY2 BDTY1 BDTY0 R R/W 0 ∗ 3 BDTY2 BDTY1 BDTY0 – ∗ 2 0 0 0 FF6CH[...]

  • Page 30

    20 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (f) I/O memory map (FF7CH–FFCBH) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 CHSEL PTOUT CKSEL1 CKSEL0 0 0 0 0 Timer1 On OSC3 OSC3 Timer0 Off OSC1 OSC1 TOUT output channel selection TOUT output control Prescaler 1 source clock sel[...]

  • Page 31

    S1C63558 TECHNICAL MANUAL EPSON 21 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (g) I/O memory map (FFE2H–FFF7H) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FFE6H EIT3 EIT2 EIT1 EIT0 R/W EIT3 EIT2 EIT1 EIT0 0 0 0 0 Enable Enable Enable Enable Mask Mask Mask Mask Interrupt mask register (Clock timer 1 Hz) Inte[...]

  • Page 32

    22 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map) T able 4.1.1 (h) I/O memory map (FFF8H–FFF AH) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FFF9H 000 I D R R/W 0 ∗ 3 0 ∗ 3 0 ∗ 3 ID – ∗ 2 – ∗ 2 – ∗ 2 0 (R) Yes (W) Reset (R) No (W) Invalid Unused Unused Unused Interrupt facto[...]

  • Page 33

    S1C63558 TECHNICAL MANUAL EPSON 23 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Watchdog Timer) 4.2 W atchdog T imer 4.2.1 Configuration of watc hdog timer The S1C63558 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 r eset, however , it ca[...]

  • Page 34

    24 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Watchdog Timer) 4.2.3 I/O memory of watchdog timer T able 4.2.3.1 shows the I/O address and control bits for the watchdog timer . T able 4.2.3.1 Control bits of watc hdog timer Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF07H 00 WDEN WDRST R/W W R 0 ∗ 3 [...]

  • Page 35

    S1C63558 TECHNICAL MANUAL EPSON 25 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Oscillation Circuit) 4.3 Oscillation Circuit 4.3.1 Configuration of oscillation circuit The S1C63558 has two oscillation circuits (OSC1 and OSC3). OSC1 is a crystal oscillation cir cuit that supplies the operating clock to the CPU and peripheral circuits. OSC3 is a cer[...]

  • Page 36

    26 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Oscillation Circuit) 4.3.3 OSC3 oscillation circuit The S1C63558 has built-in the OSC3 oscillation circuit that generates the CPU's sub-clock (3.58 MHz) for high speed operation and the source clock for peripheral cir cuits needing a high speed clock (program- mab[...]

  • Page 37

    S1C63558 TECHNICAL MANUAL EPSON 27 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Oscillation Circuit) 4.3.6 I/O memory of oscillation circuit T able 4.3.6.1 shows the I/O address and the control bits for the oscillation cir cuit. T able 4.3.6.1 Control bits of oscillation cir cuit Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF00H CLKCHG[...]

  • Page 38

    28 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports) 4.4 Input P orts (K00–K03 and K10–K13) 4.4.1 Configuration of input ports The S1C63558 has eight bits general-purpose input ports. Each of the input port terminals (K00–K03, K10–K13) provides internal pull-up r esistor . Pull-up resistor can be sel[...]

  • Page 39

    S1C63558 TECHNICAL MANUAL EPSON 29 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports) The interrupt selection r egister (SIK) and input comparison register (KCP) ar e individually set for the input ports K00–K03 and K10–K13, and can specify the terminals for generating interrupt and interr upt timing. The interrupt selection r egisters [...]

  • Page 40

    30 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports) 4.4.4 I/O memory of input ports T able 4.4.4.1 shows the I/O addresses and the control bits for the input ports. T able 4.4.4.1 Control bits of input ports Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF20H SIK03 SIK02 SIK01 SIK00 R/W SIK03 SIK0[...]

  • Page 41

    S1C63558 TECHNICAL MANUAL EPSON 31 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports) SIK00–SIK03: K0 por t interrupt selection register (FF20H) SIK10–SIK13: K1 port interrupt selection register (FF24H) Selects the ports to be used for the K00–K03 and K10–K13 input interrupts. When "1" is written: Enable When "0"[...]

  • Page 42

    32 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports) 4.4.5 Programming notes (1) When input ports are changed fr om low to high by pull-up resistors, the rise of the waveform is delayed on account of the time constant of the pull-up r esistor and input gate capacitance. Hence, when fetching input ports, set [...]

  • Page 43

    S1C63558 TECHNICAL MANUAL EPSON 33 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) 4.5 Output P orts (R00–R03, R10–R13 and R20–R23) 4.5.1 Configuration of output ports The S1C63558 has 12 bits general output ports. Output specifications of the output ports can be selected individually with the mask option. T wo kinds of output spe[...]

  • Page 44

    34 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) 4.5.3 High impedance control The terminal output status of the output ports can be set to a high impedance status. This control is done using the high impedance control r egister (RxxHIZ) corr esponding to each output port (Rxx). When "1" is wri[...]

  • Page 45

    S1C63558 TECHNICAL MANUAL EPSON 35 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) Note: • Be aw are that the output terminal is fixed at a lo w (V SS ) le v el the same as the DC output if "0" is written to the R00–R03 and R10–R13 registers when the special output has been selected. • Be aware that the output terminal[...]

  • Page 46

    36 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) R03HIZ register R03 register FOUTE register FOUT output Fix at "0" Fix at "1" "1" "0" "0" Fi g. 4.5.4.2 Output waveform of FOUT signal • XTMUTE (R10) The R10 terminal can output an XTMUTE signal. The XTM[...]

  • Page 47

    S1C63558 TECHNICAL MANUAL EPSON 37 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) 4.5.5 I/O memory of output ports T able 4.5.5.1 shows the I/O addresses and control bits for the output ports. T able 4.5.5.1 Control bits of output ports Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF06H FOUTE 0 FOFQ1 FOFQ0 R/W R R/W FOUTE 0 [...]

  • Page 48

    38 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) R00HIZ–R03HIZ: R0 por t high impedance control register (FF30H) R10HIZ–R13HIZ: R1 port high impedance control register (FF32H) R20HIZ–R23HIZ: R2 port high impedance control register (FF34H) Controls high impedance output of the output port. When &qu[...]

  • Page 49

    S1C63558 TECHNICAL MANUAL EPSON 39 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) PT OUT: TOUT output contr ol register (FFC1H•D2) Controls the T OUT output. When "1" is written: TOUT output ON When "0" is written: TOUT output OFF Reading: V alid By writing "1" to the PTOUT r egister when the R02 registe[...]

  • Page 50

    40 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Output Ports) CRMO: R11 output selection register (FF13H•D1) Selects the R1 1 terminal function. When "1" is written: XRMUTE output When "0" is written: General-purpose DC output Reading: V alid When using the R1 1 terminal for the XRMUTE output, [...]

  • Page 51

    S1C63558 TECHNICAL MANUAL EPSON 41 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) 4.6 I/O P orts (P00–P03, P10–P13, P20–P23 and P30–P33) 4.6.1 Configuration of I/O ports The S1C63558 has 16 bits general-purpose I/O ports. Figure 4.6.1.1 shows the configuration of the I/O port. Address Data register Data bus P XX Address Address Ad[...]

  • Page 52

    42 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) 4.6.2 Mask option In the I/O ports, the output specification during output mode can be selected from complementary output and N-channel open drain output by mask option. They are selected in 1-bit units. When N-channel open drain output is selected, do not a[...]

  • Page 53

    S1C63558 TECHNICAL MANUAL EPSON 43 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) 4.6.5 Special outputs (CL, FR) The I/O ports P22 and P23 can be used as special output ports that output CL and FR signals by switch- ing the function with software. Since P22 and P23 ar e set to I/O port (input mode) at initial reset, when using the special[...]

  • Page 54

    44 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) 4.6.6 I/O memory of I/O ports T ables 4.6.6.1(a) and (b) show the I/O addresses and the control bits for the I/O ports. T able 4.6.6.1(a) Control bits of I/O ports Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF40H IOC03 IOC02 IOC01 IOC00 R/W IOC0[...]

  • Page 55

    S1C63558 TECHNICAL MANUAL EPSON 45 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) T able 4.6.6.1(b) Control bits of I/O ports Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF61H EXLCDC ALOFF ALON LPAGE R/W EXLCDC ALOFF ALON LPAGE 0 1 0 0 Enable All Off All On F100-F15F Disable Normal Normal F000-F05F Expanded LCD driver signal c[...]

  • Page 56

    46 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) ESIF: Serial interface (1) enable register (FF70H•D0) Selects function for P10–P13. When "1" is written: Serial interface (1) input/output port When "0" is written: I/O port Reading: V alid When using the serial interface (1), write &[...]

  • Page 57

    S1C63558 TECHNICAL MANUAL EPSON 47 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) When the terminal voltage is high (V DD ) the port data that can be read is "1", and when the terminal voltage is low (V SS ) the data is "0". When "with pull-up resistor" has been selected with the mask option and the PUL regis[...]

  • Page 58

    48 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (I/O Ports) 4.6.7 Programming notes (1) When in the input mode, I/O ports are changed fr om low to high by pull-up resistor , the rise of the waveform is delayed on account of the time constant of the pull-up resistor and input gate capaci- tance. Hence, when fetching i[...]

  • Page 59

    S1C63558 TECHNICAL MANUAL EPSON 49 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) 4.7 LCD Driver (COM0–COM16, SEG0–SEG39) 4.7.1 Configuration of LCD driver The S1C63558 has 17 common terminals (COM0–COM16) and 40 segment terminals (SEG0–SEG39), so that it can drive a dot matrix type LCD with a maximum of 680 (40 × 17) dots. The [...]

  • Page 60

    50 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) (2) Switching of drive duty In the S1C63558, the drive duty can be set to 1/17, 1/16 or 1/8 by the software. This setting is done using the LDUTY1 and LDUTY0 registers as shown in T able 4.7.4.1. T able 4.7.4.1 LCD drive duty setting LDUTY1 1 0 0 LDUTY0 ∗[...]

  • Page 61

    S1C63558 TECHNICAL MANUAL EPSON 51 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) 4.7.5 Display memory The display memory is allocated to F000H–F25EH in the data memory area and the addr esses and the data bits correspond to COM and SEG outputs as shown in Figur e 4.7.5.1. COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8 COM9 COM10 COM11 C[...]

  • Page 62

    52 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM0 COM1 COM2 COM3 COM4 COM5 COM6 COM7 Unused SEG0 ■ D0 ■ D1 ■ D2 ■ D3 ■ D0 ■ D1 ■ D2 ■ D3 ■ D0 ■ D1 ■ D2 ■ D3 ■ D0 ■ D1 ■ D2 ■ D3 ■ D0 F000H LPAGE =0 LPAGE =1 F001H F100H F101H F200[...]

  • Page 63

    S1C63558 TECHNICAL MANUAL EPSON 53 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) 4.7.6 LCD contrast adjustment In the S1C63558, the LCD contrast can be adjusted by the softwar e. It is realized by contr olling the voltages V C1 , V C23 , V C4 and V C5 output fr om the LCD system voltage circuit. When these voltages ar e supplied to the [...]

  • Page 64

    54 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) 4.7.7 I/O memory of LCD driver T able 4.7.7.1 shows the I/O addresses and the control bits for the LCD driver . Figure 4.7.7.1 shows the display memory map. T able 4.7.7.1 LCD driver control bits Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF60H[...]

  • Page 65

    S1C63558 TECHNICAL MANUAL EPSON 55 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) LPWR: LCD po wer control (ON/OFF) register (FF60H•D0) T urns the LCD system voltage circuit ON and OFF . When "1" is written: ON When "0" is written: OFF Reading: V alid When "1" is written to the LPWR register , the LCD syst[...]

  • Page 66

    56 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (LCD Driver) LP A GE: LCD displa y memory selection register (FF61H•D0) Selects the display memory area at 1/8 duty drive. When "1" is written: F100H–F14FH (when 40 × 17 is selected), F100H–F15FH (when 48 × 8 is selected) When "0" is written:[...]

  • Page 67

    S1C63558 TECHNICAL MANUAL EPSON 57 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Clock Timer) 4.8 Clock T imer 4.8.1 Configuration of clock timer The S1C63558 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 OSC1 divid[...]

  • Page 68

    58 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Clock Timer) 4.8.3 Interrupt function The clock timer can cause interrupts at the falling edge of 32 Hz, 8 Hz, 2 Hz and 1 Hz signals. Softwar e can set whether to mask any of these frequencies. Figure 4.8.3.1 is the timing chart of the clock timer . Address FF79H FF7AH[...]

  • Page 69

    S1C63558 TECHNICAL MANUAL EPSON 59 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Clock Timer) 4.8.4 I/O memory of clock timer T able 4.8.4.1 shows the I/O addresses and the control bits for the clock timer . T able 4.8.4.1 Control bits of cloc k timer Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 W R/W R FF78H 00 TMRST TMRUN 0 ∗ 3 0 ∗[...]

  • Page 70

    60 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Clock Timer) EIT0: 32 Hz interrupt mask register (FFE6H•D0) EIT1: 8 Hz interrupt mask register (FFE6H•D1) EIT2: 2 Hz interrupt mask register (FFE6H•D2) EIT3: 1 Hz interrupt mask register (FFE6H•D3) These registers ar e used to select whether to mask the clock t[...]

  • Page 71

    S1C63558 TECHNICAL MANUAL EPSON 61 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stopwatch Timer) 4.9 Stopwatch T imer 4.9.1 Configuration of stopwatch timer The S1C63558 has 1/100 sec unit and 1/10 sec unit stopwatch timer built-in. The stopwatch timer is configured with a 2 levels 4-bit BCD counter which has an input clock appr oximating 100 Hz s[...]

  • Page 72

    62 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stopwatch Timer) SWD0–SWD3 generates an approximated 10 Hz signal fr om the basic 256 Hz signal (f OSC1 dividing clock). The count-up intervals are 2/256 sec and 3/256 sec, so that finally two patterns ar e generated: 25/ 256 sec and 26/256 sec intervals. Consequentl[...]

  • Page 73

    S1C63558 TECHNICAL MANUAL EPSON 63 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stopwatch Timer) 4.9.4 I/O memory of stopwatc h timer T able 4.9.4.1 shows the I/O addresses and the control bits for the stopwatch timer . T able 4.9.4.1 Control bits of stopwatc h timer Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 W R/W R FF7CH 00 SWRST SW[...]

  • Page 74

    64 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stopwatch Timer) When data of the counter is read at r un mode, proper r eading may not be obtained due to the carry fr om low-order digits (SWD0–SWD3) into high-or der digits (SWD4–SWD7) (i.e., in case SWD0–SWD3 and SWD4–SWD7 reading span the timing of the car[...]

  • Page 75

    S1C63558 TECHNICAL MANUAL EPSON 65 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) 4.10 Programmable T imer 4.10.1 Configuration of programmable timer The S1C63558 has two 8-bit programmable timer systems (timer 0 and timer 1) built-in. Ti mer 0 and timer 1 are composed of 8-bit presettable down counters and they can be used as 8-[...]

  • Page 76

    66 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) 4.10.2 Setting of initial value and counting do wn T imers 0 and 1 each have a down counter and reload data register . The reload data r egisters RLD00–RLD07 (timer 0) and RLD10–RLD17 (timer 1) ar e used to set the initial value to the down coun[...]

  • Page 77

    S1C63558 TECHNICAL MANUAL EPSON 67 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) 4.10.3 Counter mode The programmable timer can operate in two counter modes, timer mode and event counter mode. It can be selected by software. (1) Timer mode The timer mode counts down using the prescaler output as an input clock. In this mode, the[...]

  • Page 78

    68 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) Counter input clock ∗ 2 Counter data n n-1 n-2 n-3 K13 input 2,048 Hz ∗ 1 ∗ 1 When f OSC1 is 32.768 kHz ∗ 2 When PLPOL register is set to "0" Fi g. 4.10.3.2 Count down timing with noise rejecter The operation of the event counter m[...]

  • Page 79

    S1C63558 TECHNICAL MANUAL EPSON 69 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) 4.10.5 Interrupt function The programmable timer can generate an interr upt due to an underflow of the timer 0 and timer 1. See Figure 4.10.2.1 for the interr upt timing. An underflow of timer 0 and timer 1 sets the corresponding interr upt factor f[...]

  • Page 80

    70 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) 4.10.7 T ransfer rate setting for serial interface The signal that is made from underflows of timer 1 by dividing them in 1/2, can be used as the clock source for the serial interface. The programmable timer outputs the clock to the serial interface[...]

  • Page 81

    S1C63558 TECHNICAL MANUAL EPSON 71 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) 4.10.8 I/O memory of programmable timer T able 4.10.8.1 shows the I/O addresses and the control bits for the pr ogrammable timer . T able 4.10.8.1 Control bits of pr ogr ammable timer Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 CHSEL PTO[...]

  • Page 82

    72 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) CKSEL0: Prescaler 0 source cloc k selection register (FFC1H•D0) CKSEL1: Prescaler 1 source clock selection register (FFC1H•D1) Selects the source clock of the pr escaler . When "1" is written: OSC3 clock When "0" is written: [...]

  • Page 83

    S1C63558 TECHNICAL MANUAL EPSON 73 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) FCSEL: Timer 0 function selection register (FFC0H•D1) Selects whether the noise rejector of the clock input cir cuit will be used or not in the event counter mode. When "1" is written: W ith noise r ejecter When "0" is written:[...]

  • Page 84

    74 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) PTRST0: Timer 0 reset (reload) (FFC2H•D1) PTRST1: Timer 1 reset (reload) (FFC3H•D1) Resets the timer and presets r eload data to the counter . When "1" is written: Reset When "0" is written: No operation Reading: Always "[...]

  • Page 85

    S1C63558 TECHNICAL MANUAL EPSON 75 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) EIPT0: Timer 0 interrupt mask register (FFE2H•D0) EIPT1: Timer 1 interrupt mask register (FFE2H•D1) These registers ar e used to select whether to mask the programmable timer interrupt or not. When "1" is written: Enabled When "0&[...]

  • Page 86

    76 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Programmable Timer) 4.10.9 Programming notes (1) When reading counter data, be sur e to read the low-order 4 bits (PTD00–PTD03, PTD10–PTD13) first. Furthermore, the high-or der 4 bits (PTD04–PTD07, PTD14–PTD17) should be read within 0.73 msec (when f OSC1 is 32[...]

  • Page 87

    S1C63558 TECHNICAL MANUAL EPSON 77 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) 4.11 Serial Interface 4.11.1 Configuration of serial interface The S1C63558 incorporates 2 channels (SIF (1), SIF (2)) of full duplex serial interface cir cuits (when asynchronous system is selected) that allows the user to select either clock synchr [...]

  • Page 88

    78 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) T able 4.11.1.1 Configuration of input/output terminals Terminal When serial interface is selected P10 P11 P12 P13 SIN SOUT SCLK SRDY * The terminals used may vary depending on the transfer mode. SIN and SOUT are serial data input and output terminals[...]

  • Page 89

    S1C63558 TECHNICAL MANUAL EPSON 79 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) Clock sync hronous master mode In this mode, the internal clock is utilized as a synchronous clock for the built-in shift r egisters, and 8- bit clock synchronous serial transfers can be performed with this serial interface as the master . The synchro[...]

  • Page 90

    80 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) 4.11.4 Clock source There ar e four clock sour ces and selection is made by setting the two bits of the clock source selection r egister SCS0 and SCS1 as shown in table below . T able 4.11.4.1 Clock sour ce SCS1 1 1 0 0 SCS0 1 0 1 0 Clock source Progr[...]

  • Page 91

    S1C63558 TECHNICAL MANUAL EPSON 81 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) 4.11.5 T ransmit-receive control Below is a description of the registers which handle transmit-r eceive control. W ith respect to transmit- r eceive control pr ocedures and operations, please refer to the following sections in which these ar e discuss[...]

  • Page 92

    82 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) In an asynchronous system, RXTRG is used to pr epare for next data receiving. After reading the r eceived data fr om the receive data buf fer , write "1" into RXTRG to signify that the receive data buffer is empty . If "1" is not w[...]

  • Page 93

    S1C63558 TECHNICAL MANUAL EPSON 83 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) (4) Clock source selection In the master mode, select the synchronous clock sour ce by writing data to the two bits of the clock source selection r egisters SCS0 and SCS1. (See T able 4.1 1.4.1.) This selection is not necessary in the slave mode. The [...]

  • Page 94

    84 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) (1) W rite "0" in the receive enable r egister RXEN and transmit enable register TXEN to r eset the serial interface. (2) W rite "1" in the receive enable r egister RXEN to set into the receiving enable status. (3) In case of the m[...]

  • Page 95

    S1C63558 TECHNICAL MANUAL EPSON 85 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) T ransmit/receive ready (SRD Y) signal When this serial interface is used in the clock synchronous slave mode (external clock input), an SRDY signal is output to indicate whether or not this serial interface can transmit/receive to the master side (ex[...]

  • Page 96

    86 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) 4.11.7 Operation of asynchronous transf er Asynchronous transfer is a mode that transfers by adding a start bit and a stop bit to the fr ont and the back of each piece of serial converted data. In this mode, there is no need to use a clock that is ful[...]

  • Page 97

    S1C63558 TECHNICAL MANUAL EPSON 87 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) (4) Parity bit selection When checking and adding parity bits, write "1" into the parity enable register EPR to set to "with parity check". As a result of this setting, in the 7-bit asynchr onous mode, it has a 7 bits data + parity[...]

  • Page 98

    88 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) Data receive procedure The control pr ocedure and operation during receiving is as follows. (1) W rite "0" in the r eceive enable r egister RXEN to set the r eceiving disable status and to reset the r espective PER, OER, FER flags that indic[...]

  • Page 99

    S1C63558 TECHNICAL MANUAL EPSON 89 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) Receive error During receiving the following thr ee 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 100

    90 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) Timing chart Figure 4.1 1.7.4 show the asynchr onous transfer timing chart. TXEN TXTRG(RD) TXTRG(WR) SOUT Interrupt (In 8-bit mode/Non parity) D0 D1 D2 D3 D4 D5 D6 D7 Sumpling clock (a) T ransmit timing RXEN RXTRG(RD) RXTRG(WR) SIN TRXD OER control si[...]

  • Page 101

    S1C63558 TECHNICAL MANUAL EPSON 91 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) Data bus Interrupt request Address Error generation Interrupt factor flag ISER Address Interrupt mask register EISER Address Receive completion Interrupt factor flag ISRC Address Interrupt mask register EISRC Address Transmit completion Interrupt fact[...]

  • Page 102

    92 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) 4.11.9 I/O memory of serial interface T ables 4.1 1.9.1(a) and (b) show the serial interface contr ol bits and their addresses. T able 4.11.9.1(a) Serial interface control bits Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF45H PUL13 PUL12 [...]

  • Page 103

    S1C63558 TECHNICAL MANUAL EPSON 93 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) T able 4.11.9.1(b) Serial interface control bits Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 0 Clk-sync. master 2 Async. 7-bit 1 Clk-sync. slave 3 Async. 8-bit [SMD1, 0] Mode [SMD1, 0] Mode FF70H 0 SMD1 SMD0 ESIF R R/W 0 ∗ 3 SMD1 SMD0 ES[...]

  • Page 104

    94 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) The ESIF is the serial interface (1), the ESIFS is the serial interface (2) enable r egisters and P10–P13, P30– P33 terminals become serial input/output terminals (SIN, SOUT , SCLK, SRDY) when "1" is written, and they become I/O port ter[...]

  • Page 105

    S1C63558 TECHNICAL MANUAL EPSON 95 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) EPR: Serial interface (1) parity enable register (FF71H•D3) EPRS: Serial interface (2) parity enable register (FF59H•D3) Selects the parity function. When "1" is written: W ith parity When "0" is written: Non parity Reading: V [...]

  • Page 106

    96 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) RXEN: Serial interface (1) receive enable register (FF72H•D2) RXENS: Serial interface (2) receive enable register (FF5AH•D2) Sets the serial interface to the receive enabled status. When "1" is written: Receive enabled When "0"[...]

  • Page 107

    S1C63558 TECHNICAL MANUAL EPSON 97 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) During receiving The received data is stor ed. When "1" is read: High level When "0" is read: Low level The data from the receive data buf fer can be read out. Since the sift register is provided separately from this buffer , readi[...]

  • Page 108

    98 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) FER: Serial interface (1) framing error flag (FF73H•D2) FERS: Serial interface (2) framing error flag (FF5BH•D2) Indicates the generation of a framing error . When "1" is read: Error When "0" is read: No error When "1"[...]

  • Page 109

    S1C63558 TECHNICAL MANUAL EPSON 99 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface) 4.11.10 Programming notes (1) Be sure to initialize the serial interface mode in the transmit/r eceive disabled status (TXEN = RXEN = "0"). (2) Do not perform double trigger (writing "1") to TXTRG (RXTRG) when the serial interface [...]

  • Page 110

    100 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) 4.12 Sound Generator 4.12.1 Configuration of sound generator The S1C63558 has a built-in sound generator for generating buzzer signals. Hence, generated buzzer signals can be output from the R00 (XBZ) and R01 (BZ) terminals. Aside permitting the respe[...]

  • Page 111

    S1C63558 TECHNICAL MANUAL EPSON 101 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) 4.12.3 Control of buzzer output The R01 and R00 terminals for buzzer output are set as general-purpose output ports at initial r eset. Therefor e, the R01 terminal must be set as the BZ output terminal by writing "1" to the BZOUT register be[...]

  • Page 112

    102 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) 4.12.4 Setting of buzzer frequency and sound lev el The divided signal of the OSC1 oscillation clock (32.768 kHz) is used for the buzzer (BZ, XBZ) signals and it is set up such that 8 types of frequencies can be selected by changing this division rati[...]

  • Page 113

    S1C63558 TECHNICAL MANUAL EPSON 103 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) 4.12.5 Digital en velope A digital envelope for duty control can be added to the buzzer signal. The envelope can be controlled by staged changing of the same duty envelope as detailed in T able 4.12.4.2 in the preceding item fr om level 1 (maximum) to[...]

  • Page 114

    104 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) 4.12.6 One-shot output The sound generator has a one-shot output function for outputting a short duration buzzer signal for key operation sounds and similar effects. Either 125 msec or 31.25 msec can be selected by SHTPW r egister for one-shot buzzer [...]

  • Page 115

    S1C63558 TECHNICAL MANUAL EPSON 105 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) 4.12.7 I/O memory of sound generator T able 4.12.7.1 shows the I/O addresses and the control bits for the sound generator . T able 4.12.7.1 Control bits of sound g enerator Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF30H R03HIZ R02HIZ R0[...]

  • Page 116

    106 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) XBZOUT : R00 output selection register (FF65H•D0) Selects the R00 terminal function. When "1" is written: XBZ output When "0" is written: General-purpose DC output Reading: V alid When using the R00 terminal for the XBZ output, w[...]

  • Page 117

    S1C63558 TECHNICAL MANUAL EPSON 107 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) BDTY0–BDTY2: Duty level selection register (FF6FH•D0–D2) Selects the duty ratio of the buzzer signal as shown in T able 4.12.7.3. T able 4.12.7.3 Duty ratio setting BDTY0 0 1 0 1 0 1 0 1 BDTY1 0 0 1 1 0 0 1 1 BDTY2 0 0 0 0 1 1 1 1 Level Level 1 [...]

  • Page 118

    108 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Sound Generator) SHTPW: One-shot buzzer pulse width setting register (FF6DH•D0) Selects the output time of the one-shot buzzer . When "1" is written: 125 msec When "0" is written: 31.25 msec Reading: V alid W riting "1" into SHTPW cause[...]

  • Page 119

    S1C63558 TECHNICAL MANUAL EPSON 109 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (SVD Circuit) 4.13 SVD (Supply V oltage Detection) Circuit 4.13.1 Configuration of SVD circuit The S1C63558 has a built-in SVD (supply voltage detection) circuit, so that the softwar e can find when the source voltage lowers. It is possible to check an external voltage[...]

  • Page 120

    110 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (SVD Circuit) When the SVDON register is set to "1", sour ce voltage or external voltage detection by the SVD cir cuit is executed. As soon as the SVDON register is r eset to "0", the result is loaded to the SVDDT latch and the SVD circuit goes OFF [...]

  • Page 121

    S1C63558 TECHNICAL MANUAL EPSON 111 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (SVD Circuit) 4.13.5 Programming notes (1) T o obtain a stable detection result, the SVD circuit must be ON for at least l00 µsec. So, to obtain the SVD detection result, follow the pr ogramming sequence below . 1. Set SVDON to "1" 2. Maintain for 100 µsec [...]

  • Page 122

    112 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) 4.14 T elephone Function (T one/Pulse Dialer) 4.14.1 Configuration of tone/pulse dialer The S1C63558 has a telephone function built-in. This function includes DTMF (Dual T one Multi-Fre- quency), DP (Dialing pulse), Pause, Flash, Hold-line, Mute co[...]

  • Page 123

    S1C63558 TECHNICAL MANUAL EPSON 113 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) 4.14.2 Mask option Output specifications for the DP terminal is selected fr om between complementary output and Nch open drain output by mask option. Since the R10 to R13 terminals are used for XTMUTE, XRMUTE, HDO and HFO outputs, the output specif[...]

  • Page 124

    114 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) R10HIZ R11HIZ R10 register R11 register CTMO(FF13H•D0) CRMO(FF13H•D1) CTMUT(FF18H•D0) CRMUT(FF18H•D1) R10(XTMUTE) output R11(XRMUTE) output Hi-z Hi-z "1" "1" "0" "0" "1" "1" "[...]

  • Page 125

    S1C63558 TECHNICAL MANUAL EPSON 115 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) (3) Interrupt The dialing, pause and flash functions generate an interrupt when their operation has finished. At this time, the interrupt factor flag ID (FFF9H•D0) is set to "1". An interrupt request to the CPU will be generated when th[...]

  • Page 126

    116 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) 4.14.4 T one mode (DTMF) In tone mode, the dialer outputs a tone (pushbutton dial) signal. This mode is set by default at initial r eset. T o change the mode from pulse mode to this mode, write "0" to the TPS r egister (FF10H•D3). The P[...]

  • Page 127

    S1C63558 TECHNICAL MANUAL EPSON 117 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) The row gr oup and column gr oup dividers can be operated individually . The software can select one of them to output a single tone signal as well as a dual tone signal output. Use the SINR (FF16H•D1) and SINC (FF16H•D0) registers for this con[...]

  • Page 128

    118 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) t TD t MH t TD : t TIP : t MH : "0" t TIP t TIP t TIP Tone duration time Tone inter-digit pause time Mute hold time "0" "0" "0" HSON (FF18H•D3) Data bus Write to TCD (FF17H) DP TONE XRMUTE(R11) XTMUTE(R10) [...]

  • Page 129

    S1C63558 TECHNICAL MANUAL EPSON 119 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) The following summarizes a dialing procedur e in the tone mode: 1. W rite "1" to the HSON r egister . 2. W rite "1" to the CTO r egister . (note) 3. W rite the dial tone data to the TCD r egister . (tone output is started) 4. Co[...]

  • Page 130

    120 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) The inter-digit pause time is the interval between digits of a dial number . It can be selected from among 15 types within 94 msec to 1,406 msec using the IDP3–IDP0 register (FF15H) as shown in T able 4.14.5.1. T able 4.14.5.1 Selection of inter-[...]

  • Page 131

    S1C63558 TECHNICAL MANUAL EPSON 121 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) t MH t IDP Make t IDP t IDP Break t IDP : t MH : "0" Inter-digit pause time Mute hold time HSON (FF18H•D3) Data bus Wite to TCD (FF17H) DP XRMUTE(R11) XTMUTE(R10) Interrupt request 2 3 "0" "0" "1" "1&q[...]

  • Page 132

    122 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) 4.14.6 P ause This dialer allows insertion of a pause within 1 to 15 seconds between each two digits of tone signals or pulses. The pause time should be set to the PTS3–PTS0 register (FF1 1H) as shown in T able 4.14.6.1 before dialing. T able 4.1[...]

  • Page 133

    S1C63558 TECHNICAL MANUAL EPSON 123 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) t PS t TD "0" t TD : t TIP : t MH : t PS : Tone duration time Tone inter-digit pause time Mute hold time Pause time HSON (FF18H•D3) Data bus Write to TCD (FF17H) DP XRMUTE(R11) XTMUTE(R10) Interrupt request 2 3 Pause Write to PAUSE (FF1[...]

  • Page 134

    124 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) 4.14.7 Flash The flash function pulls down the DP terminal to Low level for a pr edetermined period of time to temporarily restor e the telephone to on-hook status. The flash time should be set to the FTS3–FTS0 r egister (FF12H). T able 4.14.7.1 [...]

  • Page 135

    S1C63558 TECHNICAL MANUAL EPSON 125 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) FLASH is a write-only bit and is used as the trigger for a flash operation. When the FLASH bit is set to "1", the DP terminal goes Low level until the flash time set by the FTS r egister has passed, then the DP terminal returns to High le[...]

  • Page 136

    126 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) 4.14.9 Interrupt The dialer has three types of interr upt generation functions. (1) Dialing interrupt T one mode In the tone mode, 94 msec of an inter-digit pause is made after a tone signal (mim. 94 msec, can be prolonged by the CT O register) is [...]

  • Page 137

    S1C63558 TECHNICAL MANUAL EPSON 127 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) 4.14.10 I/O memory of telephone function T able 4.14.10.1 shows the I/O address and the control bits for the telephone function. T able 4.14.10.1 Control bits of telephone function Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF00H CLKCH[...]

  • Page 138

    128 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) R10HIZ–R13HIZ: R1 por t high impedance control register (FF32H) Controls high impedance output of the output port. When "1" is written: High impedance When "0" is written: Data output Reading: V alid When using the XTMUTE, XRM[...]

  • Page 139

    S1C63558 TECHNICAL MANUAL EPSON 129 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) CHFO: R13 output selection register (FF13H•D3) Selects the R13 terminal function. When "1" is written: HFO output When "0" is written: General-purpose DC output Reading: V alid When using the R13 terminal for the HFO output, w[...]

  • Page 140

    130 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) PTS0–PTS3: Pause time selection (FF11H) Selects a pause time from among the 15 types shown in T able 4.14.10.2. T able 4.14.10.2 Selection of pause times D3 0 0 0 0 0 0 0 0 D2 0 0 0 0 1 1 1 1 D1 0 0 1 1 0 0 1 1 D0 0 1 0 1 0 1 0 1 PTS Pause time ([...]

  • Page 141

    S1C63558 TECHNICAL MANUAL EPSON 131 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) PA USE: P ause function (FF14H•D1) Executes the pause function. When "1" is written: Execute pause function When "0" is written: Cancel pause function Reading: Always "0" W riting "1" to P AUSE executes the[...]

  • Page 142

    132 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) SINR: DTMF row frequencies output enable (FF16H•D1) Enables or disables the DTMF row fr equency output. When "1" is written: Enabled When "0" is written: Disabled Reading: V alid This register is used to set the tone output mo[...]

  • Page 143

    S1C63558 TECHNICAL MANUAL EPSON 133 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) TCD0–TCD3: T elephone code for dialing (FF17H) By writing code to this register , the dialer starts outputting the corresponding dial pulses (in pulse mode) or tone signals (in tone mode). When the output is finished, an interrupt occurs. At init[...]

  • Page 144

    134 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) CTMUT : T ransmit mute control (FF18H•D0) Controls the transmit mute. When "1" is written: T ransmit mute output When "0" is written: Low level output on XTMUTE (R10) terminal Reading: V alid When "0" is written to t[...]

  • Page 145

    S1C63558 TECHNICAL MANUAL EPSON 135 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Telephone Function) ID: Interrupt factor flag (FFF9H•D0) Indicates the dialing interr upt generation status. When "1" is read: Interrupt has occurr ed When "0" is read: Interrupt has not occurr ed When "1" is written: Flag is reset When[...]

  • Page 146

    136 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) 4.15 FSK Demodulator 4.15.1 Configuration of FSK demodulator The S1C63558 has a built-in FSK (Frequency Shift Keying) demodulator that interfaces to various calling information delivery services such as calling number delivery (compatible with ITU-T V[...]

  • Page 147

    S1C63558 TECHNICAL MANUAL EPSON 137 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) Band-pass filter Carrier detection circuit Reference voltage generation circuit TIP Amp – + AV SS AV DD FSKIN CDET RDET FOSC3 PWDN RDIN RING FB 0.1 µ F RDRC V REF V DD BPOUT CDIN FSK demodulator Clock generator Fi g. 4.15.1.2 FSK core conf iguratio[...]

  • Page 148

    138 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) 4.15.2 Mask option The gain of the input amplifier shown in Figure 4.15.1.2 is fixed at 1 (0dB) when the internal feedback r esistor is used. Use of this internal feedback resistor can be selected by mask option. When "Use" is selected: TIP [...]

  • Page 149

    S1C63558 TECHNICAL MANUAL EPSON 139 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) 4.15.3 Ring/carrier detection and interrupt The FSK block has a ring detection circuit and a carrier detection cir cuit built-in. When a ring signal is input, the ring detection circuit sets the RDET bit (FF66H•D1) to "1" while the signal [...]

  • Page 150

    140 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) Since the value of both RDIT and CDET is the same as the comparison register , an interrupt does not occur at (1). When a ring is input, the ring detection interrupt will be generated since RDIT changes "0" to "1" and no longer mat[...]

  • Page 151

    S1C63558 TECHNICAL MANUAL EPSON 141 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) Data input procedur e (example for Bellcore) is shown below . FSK receiving END OSCC ← 1 RXTRGS ← 1 CLKCHG ← 1 FSKON ← 1 RXENS ← 1 RXENS ← 0 FSKON ← 0 CLKCHG ← 0 OSCC ← 0 5 msec wait Received data reading from TRXD0–TRXD7 1st RDET [...]

  • Page 152

    142 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) 4.15.5 I/O memory of FSK demodulator T able 4.15.5.1 shows the I/O address and control bits for the FSK demodulator . T able 4.15.5.1 Contr ol bits of FSK demodulator Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF66H FSKON 0 RDET CDET R/W [...]

  • Page 153

    S1C63558 TECHNICAL MANUAL EPSON 143 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) CDET : Carrier detection bit (FF66H•D0) Indicates the carrier detection status. When "1" is read: Carrier is detected When "0" is read: Carrier is not detected W riting: Invalid CDET goes "1" when a carrier is input. Wh[...]

  • Page 154

    144 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (FSK Demodulator) The interrupt factor flag is reset to "0" by writing "1". After an interrupt occurs, the same interrupt will occur again if the interr upt enabled state (I flag = "1") is set or the RETI instruction is executed unless the[...]

  • Page 155

    S1C63558 TECHNICAL MANUAL EPSON 145 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT) 4.16 Interrupt and HAL T <Interrupt types> The S1C63558 provides the following interr upt functions. External interrupt: • Input interrupt (2 systems) Internal interrupt: • Watchdog timer interrupt (NMI, 1 system) • Programmable timer i[...]

  • Page 156

    146 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT) Fi g. 4.16.1 Configuration of the interrupt cir cuit K10 KCP10 SIK10 K11 KCP11 SIK11 K12 KCP12 SIK12 K13 KCP13 SIK13 IK1 EIK1 IT3 EIT3 IT2 EIT2 IT1 EIT1 IT0 EIT0 ISW1 EISW1 ISW10 EISW10 IPT0 EIPT0 IPT1 EIPT1 ISERS EISERS ISRCS EISRCS ISTRS EISTRS I[...]

  • Page 157

    S1C63558 TECHNICAL MANUAL EPSON 147 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT) 4.16.1 Interrupt factor T able 4.16.1.1 shows the factors for generating interrupt requests. The interrupt flags are set to "1" depending on the corr esponding interrupt factors. The CPU operation is interrupted when an interrupt factor f[...]

  • Page 158

    148 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT) 4.16.2 Interrupt mask The interrupt factor flags can be masked by the corr esponding interrupt mask r egisters. The interrupt mask r egisters are r ead/write registers. They ar e enabled (interrupt authorized) when "1" is written to them,[...]

  • Page 159

    S1C63558 TECHNICAL MANUAL EPSON 149 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT) 4.16.4 I/O memory of interrupt T ables 4.16.4.1(a) and (b) show the I/O addresses and the control bits for contr olling interrupts. T able 4.16.4.1(a) Control bits of interrupt (1) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FF20H SIK03[...]

  • Page 160

    150 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT) T able 4.16.4.1(b) Control bits of interrupt (2) Address Comment D3 D2 Register D1 D0 Name Init ∗ 1 10 FFF6H IT3 IT2 IT1 IT0 R/W IT3 IT2 IT1 IT0 0 0 0 0 (R) Yes (W) Reset (R) No (W) Invalid Interrupt factor flag (Clock timer 1 Hz) Interrupt facto[...]

  • Page 161

    S1C63558 TECHNICAL MANUAL EPSON 151 CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Interrupt and HALT) KCP03–KCP00, KCP13–KCP10: Input comparison registers (FF22H, FF26H) SIK03–SIK00, SIK13–SIK10: Interrupt selection registers (FF20H, FF24H) EIK0, EIK1: Interrupt mask registers (FFE4H•D0, FFE5H•D0) IK0, IK1: Interrupt factor flags (FFF4H[...]

  • Page 162

    152 EPSON S1C63558 TECHNICAL AMANUAL CHAPTER 5: SUMMARY OF NOTES CHAPTER 5S UMMAR Y OF N O TES 5.1 Notes for Lo w Current Consumption The S1C63558 contains control r egisters for each of the circuits so that curr ent consumption can be r educed. These control r egisters reduce the curr ent consumption through programs that operate the cir cuits at [...]

  • Page 163

    S1C63558 TECHNICAL MANUAL EPSON 153 CHAPTER 5: SUMMARY OF NOTES 5.2 Summary of Notes by Function Here, the cautionary notes ar e summed up by function category . Keep these notes well in mind when programming. Memory and stack (1) Memory is not implemented in unused areas within the memory map. Further , some non-implemen- tation areas and unused ([...]

  • Page 164

    154 EPSON S1C63558 TECHNICAL AMANUAL CHAPTER 5: SUMMARY OF NOTES Output port (1) When using an output port (R00–R03, R10–R13) for special output, fix the corresponding data r egister (R00–R03, R10–R13) at "1" and the high impedance control r egister (R00HIZ–R03HIZ, R10HIZ– R13HIZ) at "0" (data output). Be aware that [...]

  • Page 165

    S1C63558 TECHNICAL MANUAL EPSON 155 CHAPTER 5: SUMMARY OF NOTES (2) The programmable timer actually enters RUN/STOP status in synchronization with the falling edge of the input clock after writing to the PTRUN0/PTRUN1 r egister . Consequently , when "0" is written to the PTRUN0/PTRUN1 register , the timer enters STOP status at the point w[...]

  • Page 166

    156 EPSON S1C63558 TECHNICAL AMANUAL CHAPTER 5: SUMMARY OF NOTES Sound generator (1) Since the BZ and XBZ signals are generated asynchr onous to the BZE register , hazards may be pr o- duced when the signal goes ON/OFF due to the setting of the BZE r egister . (2) The one-shot output is only valid when the normal buzzer output is OFF (BZE = "0[...]

  • Page 167

    S1C63558 TECHNICAL MANUAL EPSON 157 CHAPTER 5: SUMMARY OF NOTES 5.3 Precautions on Mounting <Oscillation Circuit> ● Oscillation characteristics change depending on conditions (board pattern, components used, etc.). In particular , when a ceramic oscillator or crystal oscillator is used, use the oscillator manufacturer's r ecommended va[...]

  • Page 168

    158 EPSON S1C63558 TECHNICAL AMANUAL CHAPTER 5: SUMMARY OF NOTES <Arrangement of Signal Lines> ● In order to pr event generation of electromagnetic induction noise caused by mutual inductance, do not arrange a large curr ent signal line near the circuits that are sensitive to noise such as the oscilla- tion unit. ● When a signal line is p[...]

  • Page 169

    S1C63558 TECHNICAL MANUAL EPSON 159 CHAPTER 6: BASIC EXTERNAL WIRING DIAGRAM CHAPTER 6B ASIC E XTERN AL W IRING D IA GRAM SVD CA CB CC V DD AV DD V D1 OSC1 OSC2 OSC3 OSC4 RESET AV SS V SS C 3 C GX C DC C RES C P + X'tal CR K00–K03 K10–K13 P00–P03 P10 (SIN) P11 (SOUT) P12 (SCLK) P13 (SRDY) P20 P21 P22 (CL) P23 (FR) P30–P33 R00 (XBZ) R01[...]

  • Page 170

    160 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 7: ELECTRICAL CHARACTERISTICS CHAPTER 7E LECTRICAL C HARACTERISTICS 7.1 Absolute Maximum Rating Item Supply voltage Input voltage (1) Input voltage (2) Permissible total output current ∗ 1 Operating temperature Storage temperature Soldering temperature / time Permissible dissipation ∗ 2 ∗ 1 ∗ 2 ( [...]

  • Page 171

    S1C63558 TECHNICAL MANUAL EPSON 161 CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.3 DC Characteristics Item High level input voltage (1) High level input voltage (2) High level input voltage (3) Low level input voltage (1) Low level input voltage (2) Low level input voltage (3) Low level input voltage (4) High level input current Low level input current [...]

  • Page 172

    162 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.4 Analog Circuit Characteristics and P ow er Current Consumption Item LCD drive voltage Symbol V C1 V C23 V C4 V C5 Unit V V V V Max. 1/2·V C23 -0.1 Typ. × 1.12 3/2·V C23 2·V C23 Typ. 1.95 1.98 2.01 2.04 2.07 2.10 2.13 2.16 2.19 2.22 2.25 2.28 2.31 2.34 2.37 2.40 Min. 1[...]

  • Page 173

    S1C63558 TECHNICAL MANUAL EPSON 163 CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.5 Oscillation Characteristics The oscillation characteristics change depending on the conditions (components used, boar d pattern, etc.). Use the following characteristics as refer ence values. OSC1 crystal oscillation circuit Item Oscillation start voltage Oscillation stop[...]

  • Page 174

    164 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.6 Serial Interface (1), (2) A C Characteristics 1. Clock synchronous master mode (during 1 MHz operation) Item Transmitting data output delay time Receiving data input set-up time Receiving data input hold time Symbol t smd t sms t smh Unit ns ns ns Max. 200 Typ. Min. 400 2[...]

  • Page 175

    S1C63558 TECHNICAL MANUAL EPSON 165 CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.7 FSK Demodulator Characteristics Unless otherwise specified: V DD =5.0V, V SS =0V, f CLK =3.579545MHz, Ta=-20 to 70 ° C Item Transfer rate Bell202 mark (logic 1) frequency Bell202 space (logic 0) frequency ITU-T V.23 mark (logic 1) frequency ITU-T V.23 space (logic 0) fre[...]

  • Page 176

    166 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.8 T elephone Function Characteristics Item Flash pause time Mute hold time Make ratio Dial puls rate Make time Break time Tone output DC level ROW single tone output voltage COL single tone output voltage Tone output voltage ratio Tone load resistor Tone distortion ratio To[...]

  • Page 177

    S1C63558 TECHNICAL MANUAL EPSON 167 CHAPTER 7: ELECTRICAL CHARACTERISTICS 7.10 Characteristic Curv es (reference value) High level output current (Pxx, Rxx, BZ) Ta = 70˚C , Max. value 0.0 0 -1 -2 -3 -4 -5 -6 -7 -8 0.2 0.4 0.6 V DD –V OH [V] V DD = 3.0 V V DD = 5.0 V I OH [mA] 0.8 1.0 Low level output current (Pxx, Rxx, BZ) Ta = 70˚C , Min. valu[...]

  • Page 178

    168 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 7: ELECTRICAL CHARACTERISTICS High level output current (SEGxx) Ta = 70˚C , Max. value 0.0 0.0 -0.1 -0.2 -0.3 -0.4 -0.5 -0.6 -0.7 -0.8 -0.9 -1.0 0.2 0.4 0.6 V DD –V OH [V] V DD = 3.0 V V DD = 5.0 V I OH [mA] 0.8 1.0 Low level output current (SEGxx) Ta = 70˚C , Min. value 1.0 2.0 1.8 1.6 1.4 1.2 1.0 0.[...]

  • Page 179

    S1C63558 TECHNICAL MANUAL EPSON 169 CHAPTER 8: PACKAGE CHAPTER 8P A CKA GE The dimensions are subject to change without notice. 8.1 Plastic P ackage QFP15-128pin (Unit: mm) 14 ± 0.1 16 ± 0.4 65 96 14 ± 0.1 16 ± 0.4 33 64 INDEX 0.16 32 1 128 97 1.4 ± 0.1 0.1 1.7 max 1 0.5 ± 0.2 0 ° 10 ° 0.125 0.4 +0.1 –0.05 +0.05 –0.025[...]

  • Page 180

    170 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 8: PACKAGE 8.2 Ceramic P ackage for T est Samples (Unit: mm) 28 ± 0.28 32 ± 0.4 28 ± 0.28 32 ± 0.4 0.8 0.35 0.2 3.05max 0.8 ± 0.2 0.15 65 96 33 64 32 1 128 97 INDEX[...]

  • Page 181

    S1C63558 TECHNICAL MANUAL EPSON 171 CHAPTER 9: PAD LAYOUT CHAPTER 9P AD L AY OUT 9.1 Diagram of P ad Layout Chip thickness: 400 µm Pad opening: 100 µm X Y (0, 0) 4.01 mm 4.50 mm 1 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 90 85 95 100 105 110 115 120 122 Die No.[...]

  • Page 182

    172 EPSON S1C63558 TECHNICAL MANUAL CHAPTER 9: PAD LAYOUT 9.2 P ad Coordinates 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 – Pad name R10 R03 R02 R01 R00 CDIN BPOUT RDRC RDIN V REF AV SS FB RING TIP AV DD P33 P32 P31 P30 P23 P22 P21 P20 P13 P12 P11 P10 P03 P02 P01 X 1767 1629 1490 1351 1213 1097 982 866 75[...]

  • Page 183

    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 184

    In pursuit of “Saving” T echnology , Epson electronic de vices. Our lineup of semiconductors, liquid crystal displays and quartz devices assists in creating the products of our customers’ dreams. Epson IS energy savings .[...]

  • Page 185

    http://www.epsondevice.com T echnical Manual S1C63558 EPSON Electronic Devices Website ELECTRONIC DEVICES MARKETING DIVISION First issue November, 1 998 Printed October, 2001 in Japan A L M[...]