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 application or use in any product or
circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such
as medical products. Moreover, no license to any intellectual property rights is granted by implication or otherwise, and there
is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright
infringement of a third party. This material or portions thereof may contain technology or the subject relating to strategic
products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from
the Ministry of International Trade and Industry or other approval from another government agency.
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.
The information of the product number change
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
representative.
Configuration of product number
Devices
S1C63158F0A01
Development tools
S5U1
∗1: For details about tool types, see the tables below. (In some manuals, tool types are represented by one digit.)
∗2: Actual versions are not written in the manuals.
C63000A11
00
Packing specification
Specification
Package (D: die form; F: QFP)
Model number
Model name (C: microcomputer, digital products)
Product classification (S1: semiconductor)
00
Packing specification
Version (1: Version 1 ∗2)
Tool type (A1: Assembler Package ∗1)
Corresponding model number
(63000: common to S1C63 Family)
Tool classification (C: microcomputer use)
Product classification
(S5U1: development tool for semiconductor products)
The S1C63558 is a microcomputer which has a high-performance 4-bit CPU S1C63000 as the core
CPU, ROM (8,192 words × 13 bits), RAM (5,120 words × 4 bits), serial interface, watchdog timer, programmable timer, time base counters (2 systems), SVD circuit, a dot-matrix LCD driver that can drive a
maximum 40 segments × 17 commons, DTMF/DP generator, FSK demodulator and sound generator
built-in. The S1C63558 features high speed operation and low current consumption in an operating
voltage range (2.2 V to 5.5 V), this makes it suitable for applications working with batteries. It is also
suitable for caller ID and portable data bank systems because it has a large capacity of RAM built-in.
12 values, programmable (2.20 V to 3.30 V)
(It is possible to switch 1 value to the external voltage detection ∗1)
Stopwatch timer interrupt:2 systems
Programmable timer interrupt: 2 systems
Serial interface interrupt:6 systems
Dialer interrupt:1 system
FSK interrupt:2 systems
During HALT (32 kHz)3.0 V (LCD power OFF)1.5 µA
3.0 V (LCD power ON)4 µA
During operation (32 kHz)3.0 V (LCD power ON)10 µA
High-speed operation (OSC3: ceramic oscillation):
During operation (3.58 MHz) 3.0 V (LCD power ON)600 µA
During FSK operation5.5 V (LCD power ON)1,800 µA
∗1: Can be selected with mask option ∗2: Can be selected with software
Mask options shown below are provided for the S1C63558. Several hardware specifications are prepared
in each mask option, and one of them can be selected according to the application. The function option
generator FOG63558, that has been prepared as the development software tool of S1C63558, is used for
this selection. Mask pattern of the IC is finally generated based on the data created by the FOG63558.
Refer to the "S5U1C63558D Manual" for the FOG63558.
<Functions selectable with S1C63558 mask options>
(1) External reset by simultaneous LOW input to the input port (K00–K03)
This function resets the IC when several keys are pressed simultaneously. The mask option is used to
select whether this function is used or not. Further when the function is used, a combination of the
input ports (K00–K03), which are connected to the keys to be pressed simultaneously, can be selected.
Refer to Section 2.2.2, "Simultaneous low input to terminals K00–K03", for details.
(2) Time authorize circuit for the simultaneous LOW input reset function
When using the external reset function (shown in 1 above), using the time authorize circuit or not can
be selected by the mask option. The reset function works only when the input time of simultaneous
LOW is more than the rule time if the time authorize circuit is being used.
Refer to Section 2.2.2, "Simultaneous low input to terminals K00–K03", for details.
(3) Input port pull-up resistor
The mask option is used to select whether the pull-up resistor is supplemented to the input ports or
not. It is possible to select for each bit of the input ports.
Refer to Section 4.4.3, "Mask option", for details.
(4) Output specification of the output port
Either complementary output or N-channel open drain output can be selected as the output specification for the output ports. The selection is done in 1-bit units.
Refer to Section 4.5.2, "Mask option", for details.
(5) Output specification / pull-up resistor of the I/O ports
Either complementary output or N-channel open drain output can be selected as the output specification when the I/O ports are in the output mode. The selection is done in 1-bit units.
Further, whether or not the pull-up resistors working in the input mode are supplemented can be
selected. The selection is done in 1-bit units or 4-bit units depending on the I/O port.
1-bit unit: P20, P21, P22, P23
4-bit unit: P00–P03, P10–P13, P30–P33
Refer to Section 4.6.2, "Mask option", for details.
(6) Configuration of the LCD segment
The COM8–COM16 terminals allow selection of terminal specification between COM outputs and
SEG45–SEG40 outputs.
Refer to Section 4.7.2, "Mask option", for details.
(7) External voltage detection of SVD circuit
External voltage (SVD terminal–V
(V
DD terminal–VSS terminal) detection. The SVD terminal is used to input the external voltage to be
SS terminal) detection can be selected in addition to supply voltage
detected.
Refer to Section 4.13.2, "Mask option", for details.
S1C63558 TECHNICAL MANUALEPSON5
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 specification for the DP (dial pulse output) terminal.
Refer to Section 4.14.2, "Mask option", for details.
(9) Gain of FSK demodulator input amplifier
The gain of the FSK demodulator input amplifier can be either fixed at 1 using the internal feedback
resistor or varied using external resistors.
Refer to Section 4.15.2, "Mask option", for details.
(10)Output specification of other special output terminals
The following special output terminals are shared with the output (R) terminals or the I/O (P)
terminals. Consequently, the output specification (complementary output or N-channel open drain
output) of the shared terminal applies to the special output.
The following is the option list for the S1C63558. Multiple selections are available in each option item as
indicated in the option list. Refer to Chapter 4, "Peripheral Circuits and Operation", to select the specifications that meet the application system. Be sure to select the specifications for unused functions too,
according to the instruction provided. Use fog63558 in the S5U1C63000A package for this selection. Refer
to the "S5U1C63558D Manual" for details.
1. MULTIPLE KEY ENTRY RESET COMBINATION
■■ 1. Not Use
■■ 2. Use <K00, K01, K02, K03>
■■ 3. Use <K00, K01, K02>
■■ 4. Use <K00, K01>
2. MULTIPLE KEY ENTRY RESET TIME AUTHORIZE
■■ 1. Not Use
■■ 2. Use
3. INPUT PORT PULL UP RESISTOR
• K00■■ 1. With Resistor■■ 2. Gate Direct
• K01■■ 1. With Resistor■■ 2. Gate Direct
• K02■■ 1. With Resistor■■ 2. Gate Direct
• K03■■ 1. With Resistor■■ 2. Gate Direct
• K10■■ 1. With Resistor■■ 2. Gate Direct
• K11■■ 1. With Resistor■■ 2. Gate Direct
• K12■■ 1. With Resistor■■ 2. Gate Direct
• K13■■ 1. With Resistor■■ 2. Gate Direct
4. OUTPUT PORT OUTPUT SPECIFICATION
• R00■■ 1. Complementary■■ 2. Nch-OpenDrain
• R01■■ 1. Complementary■■ 2. Nch-OpenDrain
• R02■■ 1. Complementary■■ 2. Nch-OpenDrain
• R03■■ 1. Complementary■■ 2. Nch-OpenDrain
• R10■■ 1. Complementary■■ 2. Nch-OpenDrain
• R11■■ 1. Complementary■■ 2. Nch-OpenDrain
• R12■■ 1. Complementary■■ 2. Nch-OpenDrain
• R13■■ 1. Complementary■■ 2. Nch-OpenDrain
• R20■■ 1. Complementary■■ 2. Nch-OpenDrain
• R21■■ 1. Complementary■■ 2. Nch-OpenDrain
• R22■■ 1. Complementary■■ 2. Nch-OpenDrain
• R23■■ 1. Complementary■■ 2. Nch-OpenDrain
6EPSONS1C63558 TECHNICAL MANUAL
5. I/O PORT OUTPUT SPECIFICATION
• 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. Complementary■■ 2. Nch-OpenDrain
• P11■■ 1. Complementary■■ 2. Nch-OpenDrain
• P12■■ 1. Complementary■■ 2. Nch-OpenDrain
• P13■■ 1. Complementary■■ 2. Nch-OpenDrain
• P20■■ 1. Complementary■■ 2. Nch-OpenDrain
• P21■■ 1. Complementary■■ 2. Nch-OpenDrain
• P22■■ 1. Complementary■■ 2. Nch-OpenDrain
• P23■■ 1. Complementary■■ 2. Nch-OpenDrain
• P30■■ 1. Complementary■■ 2. Nch-OpenDrain
• P31■■ 1. Complementary■■ 2. Nch-OpenDrain
• P32■■ 1. Complementary■■ 2. Nch-OpenDrain
• P33■■ 1. Complementary■■ 2. Nch-OpenDrain
6. I/O PORT PULL UP RESISTOR
• P0x■■ 1. With Resistor■■ 2. Gate Direct
• P1x■■ 1. With Resistor■■ 2. Gate Direct
• P20■■ 1. With Resistor■■ 2. Gate Direct
• P21■■ 1. With Resistor■■ 2. Gate Direct
• P22■■ 1. With Resistor■■ 2. Gate Direct
• P23■■ 1. With Resistor■■ 2. Gate Direct
• P3x■■ 1. With Resistor■■ 2. Gate Direct
CHAPTER 1: OUTLINE
7. DP PORT OUTPUT SPECIFICATION
■■ 1. Complementary■■ 2. Nch-OpenDrain
8. SVD EXTERNAL VOLTAGE DETECTION
■■ 1. Not Use
■■ 2. Use
9. LCD DRIVER SPECIFICATION
■■ 1. 40 seg ∗ 17 com
■■ 2. 48 seg ∗ 8 com
10. FSK INTERNAL FEEDBACK RESISTOR
■■ 1. Use
■■ 2. Not Use
S1C63558 TECHNICAL MANUALEPSON7
CHAPTER 2: POWER SUPPLY AND INITIAL RESET
CHAPTER
2P
OWER SUPPLY AND INITIAL
R
ESET
2.1P ower Supply
The S1C63558 operating power voltage is as follows:
Supply voltage V
The S1C63558 operates by applying a single power supply within the above range between V
The S1C63558 itself generates the voltage necessary for all the internal circuits by the built-in power
supply circuits shown in Table 2.1.1.
Note: • Do not drive external loads with the output voltage from the internal power supply circuits.
• See Chapter 7, "Electrical Characteristics", for voltage values and drive capability.
DD = 2.2 V to 5.5 V
Oscillation and internal circuits
LCD driver
FSK demodulator
External
power
supply
+
-
Circuit
AVDD
VC23
AVSS
Table 2.1.1 Power supply circuits
Power supply circuit
Oscillation system voltage regulator
LCD system voltage circuit
Analog system power supply
VDD
V
VC1
VC4
VC5
CA
CB
CC
VSS
D1
Oscillation system
voltage regulator
LCD system
voltage circuit
VD1
VC1 ~ VC5
Output voltage
AVDD, AV
Internal
circuits
Oscillation
circuit
LCD driver
V
D1
VC1–V
DD and VSS.
C5
DD
OSC1~4
COM0~16
SEG0~39
Fig. 2.1.1 Configuration of power supply
2.1.1 V oltage <VD1> for oscillation circuit and internal circuits
VD1 is a voltage for the oscillation circuit and the internal logic circuits, and is generated by the oscillation
system voltage regulator for stabilizing the oscillation. The V
D1 voltage is fixed at 2.1 V, so it is not
necessary to control by software.
2.1.2 V oltage <VC1–VC5> for LCD driving
VC1, VC23, VC4 and VC5are the LCD (1/4 bias) drive voltages generated by the LCD system voltage
circuit. These four output voltages can only be supplied to the externally expanded LCD driver.
The LCD system voltage circuit generates V
other voltages by boosting or reducing the voltage of V
voltage values and boost/reduce status.
Table 2.1.2.1 LCD drive voltage when generated internally
LCD drive voltage
V
C1
V
C23
V
C4
V
C5
Boost/reduce status
VC2 × 0.5
V
C2
(standard)
C2
V
C2
V
Refer to Section 4.7, "LCD Driver", for control of the LCD drive voltage.
8EPSONS1C63558 TECHNICAL MANUAL
C23 with the voltage regulator built-in, and generates three
C23. Table 2.1.2.1 shows the VC1, VC23, VC4 and VC5
Voltage value [V]
× 1.5
× 2
1.13
2.25
3.38
4.50
Note: The LCD drive voltage can
be adjusted by the software
(see Section 4.7.5). Values
in the above table are
typical values.
CHAPTER 2: POWER SUPPLY AND INITIAL RESET
2.2Initial Reset
To initialize the S1C63558 circuits, initial reset must be executed. There are two ways of doing this.
(1) External initial reset by the RESET terminal
(2) External initial reset by simultaneous low input to terminals K00–K03 (mask option setting)
The circuits are initialized by either (1) or (2). When the power is turned on, be sure to initialize using the
reset function. It is not guaranteed that the circuits are initialized by only turning the power on.
Figure 2.2.1 shows the configuration of the initial reset circuit.
OSC1
OSC2
oscillation
Mask option
V
DD
OSC1
circuit
Divider
1 Hz
2 Hz
K00
K01
K02
K03
RESET
authorize
V
DD
Time
circuit
Mask option
Noise
reject
circuit
RQ
S
Internal
initial
reset
Fig. 2.2.1 Configuration of initial reset circuit
2.2.1 Reset terminal (RESET)
Initial reset can be executed externally by setting the reset terminal to a low level (VSS). After that the
initial reset is released by setting the reset terminal to a high level (V
The reset input signal is maintained by the RS latch and becomes the internal initial reset signal. The RS
latch is designed to be released by a 2 Hz signal (high) that is divided by the OSC1 clock. Therefore in
normal operation, a maximum of 250 msec (when f
OSC1 = 32.768 kHz) is needed until the internal initial
reset is released after the reset terminal goes to high level. Be sure to maintain a reset input of 0.1 msec or
more.
However, when turning the power on, the reset terminal should be set at a low level as in the timing
shown in Figure 2.2.1.1.
DD) and the CPU starts operating.
2.2 V
V
DD
2.0 msec or more
RESET
Power on
0.5•V
DD
0.1•VDD or less (low level)
Fig. 2.2.1.1 Initial reset at power on
The reset terminal should be set to 0.1•V
more. After that, a level of 0.5•V
S1C63558 TECHNICAL MANUALEPSON9
DD or less should be maintained more than 2.0 msec.
DD or less (low level) until the supply voltage becomes 2.2 V or
CHAPTER 2: POWER SUPPLY AND INITIAL RESET
2.2.2 Simultaneous low 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 through the noise reject circuit, maintain the specified input port terminals at
low level for at least 1.5 msec (when the oscillation frequency f
tion. The noise reject circuit does not operate immediately after turning the power on until the oscillation
circuit starts oscillating. Therefore, maintain the specified input port terminals at low level for at least 1.5
msec (when the oscillation frequency f
OSC1 is 32.768 kHz) after oscillation starts.
Table 2.2.2.1 shows the combinations of input ports (K00–K03) that can be selected with the mask option.
Table 2.2.2.1 Combinations of input ports
Not use
1
K00∗K01∗K02∗K03
2
K00∗K01∗K02
3
K00∗K01
4
When, for instance, mask option 2 (K00∗K01∗K02∗K03) is selected, initial reset is executed when the
signals input to the four ports K00–K03 are all low at the same time. When 3 or 4 is selected, the initial
reset is done when a key entry including a combination of selected input ports is made.
Further, the time authorize circuit can be selected with the mask option. The time authorize circuit checks
the input time of the simultaneous low input and performs initial reset if that time is the defined time (1
to 2 sec) or more.
If using this function, make sure that the specified ports do not go low at the same time during ordinary
operation.
OSC1 is 32.768 kHz) during normal opera-
2.2.3 Internal register at initial resetting
Initial reset initializes the CPU as shown in Table 2.2.3.1.
The registers and flags which are not initialized by initial reset should be initialized in the program if
necessary.
In particular, the stack pointers SP1 and SP2 must be set as a pair because all the interrupts including
NMI are masked after initial reset until both the SP1 and SP2 stack pointers are set with software.
When data is written to the EXT register, the E flag is set and the following instruction will be executed in
the extended addressing mode. If an instruction which does not permit extended operation is used as the
following instruction, the operation is not guaranteed. Therefore, do not write data to the EXT register for
initialization only.
Refer to the "S1C63000 Core CPU Manual" for extended addressing and usable instructions.
Table 2.2.3.1 Initial values
Name
Data register A
Data register B
Extension register EXT
Index register X
Index register Y
Program counter
Stack pointer SP1
Stack pointer SP2
Zero flag
Carry flag
Interrupt flag
Extension flag
Queue register
CPU core
Symbol
A
B
EXT
X
Y
PC
SP1
SP2
Z
C
I
E
Q
Number of bits
4
4
8
16
16
16
8
8
1
1
1
1
16
Setting value
Undefined
Undefined
Undefined
Undefined
Undefined
0110H
Undefined
Undefined
Undefined
Undefined
0
0
Undefined
Name
RAM
Display memory
Other pheripheral circuits
∗ See Section 4.1, "Memory Map".
Peripheral circuits
Number of bits
4
4
–
Setting value
Undefined
Undefined
∗
10EPSONS1C63558 TECHNICAL MANUAL
CHAPTER 2: POWER SUPPLY AND INITIAL RESET
2.2.4 Terminal settings at initial resetting
The output port (R) terminals and I/O port (P) terminals are shared with special output terminals and
input/output terminals of the serial interface. These functions are selected by the software. At initial
reset, these terminals are set to the general purpose output port terminals and I/O port terminals. Set
them according to the system in the initial routine. In addition, take care of the initial status of output
terminals when designing a system.
Table 2.2.4.1 shows the list of the shared terminal settings.
Table 2.2.4.1(a) List of shared terminal settings (Rxx)
Table 2.2.4.1(b) List of shared terminal settings (Pxx)
Terminal
name
P00–P03
P10
P11
P12
P13
P20
P21
P22
P23
P30
P31
P32
P33
∗1 When "with pull-up" is selected by mask option (high impedance when "gate direct" is selected)
∗2 The P10–P13 I/O terminals are used for serial I/F (1) and the P30–P33 I/O terminals are for serial I/F (2).
For setting procedure of the functions, see explanations for each of the peripheral circuits.
Special outputTerminal status
BZBZXBZ
XBZ
SIN(I)
SOUT(O)
SIN(I)
SOUT(O)
HDO
HDO
SIN(I)
SIN(I)
XRMUTE
XRMUTE
HFO
HFO
Clk-sync. Master
SOUT(O)
SCLK(O)
SOUT(O)
SCLK(O)
XTMUTE
XTMUTE
Clk-sync. Slave
SIN(I)
SOUT(O)
SCLK(I)
SRDY(O)
SIN(I)
SOUT(O)
SCLK(I)
SRDY(O)
2.3Test Terminal (TEST)
This is the terminal used for the factory inspection of the IC. During normal operation, connect the TEST
terminal to V
S1C63558 TECHNICAL MANUALEPSON11
DD.
CHAPTER 3: CPU, ROM, RAM
CHAPTER 3CPU, R OM, RAM
3.1CPU
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 operation is not assumed in the S1C63558.
3.2Code ROM
The built-in code ROM is a mask ROM for loading programs, and has a capacity of 8,192 steps × 13 bits.
The core CPU can linearly access the program space up to step FFFFH from step 0000H, however, the
program area of the S1C63558 is step 0000H to step 1FFFH. The program start address after initial reset is
assigned to step 0110H. The non-maskable interrupt (NMI) vector and hardware interrupt vectors are
allocated to step 0100H and steps 0104H–010EH, respectively.
0000H
1FFFH
2000H
FFFFH
ROM
Unused area
13 bits
S1C63558
program area
S1C63000 core CPU
program space
0000H
0100H
0104H
010EH
0110H
Program area
NMI vector
Hardware
interrupt vectors
Program start address
Program area
Fig. 3.2.1 Configuration of code ROM
3.3RAM
The RAM is a data memory for storing various kinds of data, and has a capacity of 5,120 words × 4 bits.
The RAM area is assigned to addresses 0000H to 13FFH on the data memory map. Addresses 0100H to
01FFH are 4-bit/16-bit data accessible areas and in other areas it is only possible to access 4-bit data.
When programming, keep the following points in mind.
(1) Part of the RAM area is used as a stack area for subroutine call and register evacuation, so pay
attention not to overlap the data area and stack area.
(2) The S1C63000 core CPU handles the stack using the stack pointer for 4-bit data (SP2) and the stack
pointer for 16-bit data (SP1).
16-bit data are accessed in stack handling by SP1, therefore, this stack area should be allocated to the
area where 4-bit/16-bit access is possible (0100H to 01FFH). The stack pointers SP1 and SP2 change
cyclically within their respective range: the range of SP1 is 0000H to 03FFH and the range of SP2 is
0000H to 00FFH. Therefore, pay attention to the SP1 value because it may be set to 0200H or more
exceeding the 4-bit/16-bit accessible range in the S1C63558 or it may be set to 00FFH or less. Memory
accesses except for stack operations by SP1 are 4-bit data access.
After initial reset, all the interrupts including NMI are masked until both the stack pointers SP1 and
SP2 are set by software. Further, if either SP1 or SP2 is re-set when both are set already, the interrupts
including NMI are masked again until the other is re-set. Therefore, the settings of SP1 and SP2 must
be done as a pair.
12EPSONS1C63558 TECHNICAL MANUAL
CHAPTER 3: CPU, ROM, RAM
(3) Subroutine calls use 4 words (for PC evacuation) in the stack area for 16-bit data (SP1). Interrupts use
4 words (for PC evacuation) in the stack area for 16-bit data (SP1) and 1 word (for F register evacuation) in the stack area for 4-bit data.
0000H
00FFH
0100H
01FFH
0200H
13FFH
4 bits
4-bit access area
(SP2 stack area)
4/16-bit access area
(SP1 stack area)
4-bit access area
(Data area)
Fig. 3.3.1 Configuration of data RAM
3.4Data ROM
The data ROM is a mask ROM for loading various static data such as a character generator, and has a
capacity of 2,048 words × 4 bits. The data ROM is assigned to addresses 8000H to 87FFH on the data
memory map, and the data can be read using the same data memory access instructions as the RAM.
S1C63558 TECHNICAL MANUALEPSON13
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)
CHAPTER 4
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 controlled by accessing the I/O memory on
the memory map using the memory operation instructions. The following sections explain the detailed
operation of each peripheral circuit.
P
ERIPHERAL
C
IRCUITS AND
O
PERA TION
4.1Memory Map
The S1C63558 data memory consists of 5,120-word RAM, 2,048-word data ROM, 816-bit display memory
and 97-word peripheral I/O memory. Figure 4.1.1 shows the overall memory map of the S1C63558, and
Tables 4.1.1(a)–(h) the peripheral circuits' (I/O space) memory maps.
0000H
RAM area
1400H
F000H
Display memory area
F25EH
Unused area
FF00H
Peripheral I/O area
FFFFH
8000H
8800H
F000H
FF00H
FFFFH
Unused area
Data ROM area
Unused area
I/O memory area
Fig. 4.1.1 Memory map
Note: Memory is not implemented in unused areas within the memory map. Further, some non-imple-
mentation areas and unused (access prohibition) areas exist in the display memory area and the
peripheral I/O area. If the program that accesses these areas is generated, its operation cannot be
guaranteed. Refer to Section 4.7.5, "Display memory", for the display memory, and the I/O
memory maps shown in Tables 4.1.1 (a)–(h) for the peripheral I/O area.
14EPSONS1C63558 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)
Hi-Z
Hi-Z
Hi-Z
Hi-Z
High
High
High
High
Hi-Z
Hi-Z
Hi-Z
Hi-Z
High
High
High
High
Hi-Z
Hi-Z
Hi-Z
Hi-Z
High
High
High
High
Output
Output
Output
Output
On
On
On
On
∗
2
High
∗
2
High
∗
2
High
∗
2
High
Disable
Disable
K00–K03 interrupt selection register
Disable
Disable
Low
Low
K00–K03 input port data
Low
Low
K00–K03 input comparison register
Disable
Disable
K10–K13 interrupt selection register
Disable
Disable
Low
Low
K10–K13 input port data
Low
Low
K10–K13 input comparison register
R03 (FOUTE=0)/FOUT (FOUTE=1) Hi-z control
Output
R02 (PTOUT=0)/TOUT (PTOUT=1) Hi-z control
Output
R01 (BZOUT=0)/BZ (BZOUT=1) Hi-z control
Output
R00 (XBZOUT=0)/XBZ (XBZOUT=1) Hi-z control
Output
R03
Low
Low
Low
Low
Output
Output
Output
Output
Low
Low
Low
Low
output port data (
R02
output port data (
R01
output port data (
R00
output port data (
R13 (CHFO=0)/HFO (CHFO=1) Hi-z control
R12 (CHDO=0)/HDO (CHDO=1) Hi-z control
R11 (CRMO=0)/XRMUTE (CRMO=1) Hi-z control
R10 (CTMO=0)/XTMUTE (CTMO=1) Hi-z control
R13 output port data (CHFO=0) Fix at "1" when HFO is used.
R12 output port data (CHDO=0) Fix at "1" when HDO is used.
R11 output port data (CRMO=0) Fix at "1" when XRMUTE is used.
R10 output port data (CTMO=0) Fix at "1" when XTMUTE is used.
FOUTE=0
PTOUT=0
BZOUT=0
XBZOUT=0
Output
Output
R20–R23 Hi-z control
Output
Output
Low
Low
R20–R23 output port data
Low
Low
Input
Input
P00–P03 I/O control register
Input
Input
Off
Off
P00–P03 pull-up control register
Off
Off
Low
Low
P00–P03 I/O port data
Low
Low
) Fix at "1" when
) Fix at "1" when
) Fix at "1" when
) Fix at "1" when
FOUT
TOUT
BZ
is used.
XBZ
is used.
is used.
is used.
16EPSONS1C63558 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)
Table 4.1.1 (c) I/O memory map (FF44H–FF4DH)
AddressComment
IOC13IOC12IOC11IOC10
FF44H
PUL13 PUL12 PUL11 PUL10
FF45H
P13
(XSRDY)
FF46H
IOC23IOC22IOC21IOC20
FF48H
PUL23 PUL22 PUL21 PUL20
FF49H
P23
(FR)
FF4AH
IOC33IOC32IOC31IOC30
FF4CH
PUL33 PUL32 PUL31 PUL30
FF4DH
D3D2
P12
(XSCLK)
P22
(CL)
Register
D1D0Name Init
R/W
R/W
P11
(SOUT)
P10
(SIN)
R/W
R/W
R/W
P21P20
R/W
R/W
R/W
IOC13
IOC12
IOC11
IOC10
PUL13
PUL12
PUL11
PUL10
P13
P12
P11
P10
IOC23
IOC22
IOC21
IOC20
PUL23
PUL22
PUL21
PUL20
P23
P22
P21
P20
IOC33
IOC32
IOC31
IOC30
PUL33
PUL32
PUL31
PUL30
–
–
–
–
–
–
–
–
∗1
0
0
0
0
1
1
1
1
∗
2
∗
2
∗
2
∗
2
0
0
0
0
1
1
1
1
∗
2
∗
2
∗
2
∗
2
0
0
0
0
1
1
1
1
10
Input
Output
Input
Output
Input
Output
Input
Output
Off
On
Off
On
Off
On
Off
On
Low
High
Low
High
Low
High
Low
High
Input
Output
Input
Output
Input
Output
Input
Output
Off
On
Off
On
Off
On
Off
On
Low
High
Low
High
Low
High
Low
High
Input
Output
Input
Output
Input
Output
Input
Output
Off
On
Off
On
Off
On
Off
On
P13 I/O control register
General-purpose register when SIF (clock sync. slave) is selected
P12 I/O control register
General-purpose register when SIF (clock sync.) is selected
P11 I/O control register (ESIF=0)
General-purpose register when SIF is selected
P10 I/O control register (ESIF=0)
General-purpose register when SIF is selected
P13 pull-up control register
General-purpose register when SIF (clock sync. slave) is selected
P12 pull-up control register
General-purpose register when SIF (clock sync. master) is selected
SCLK (I) pull-up control register
when SIF (clock sync. slave) is selected
P11 pull-up control register (ESIF=0)
General-purpose register when SIF is selected
P10 pull-up control register (ESIF=0)
SIN pull-up control register when SIF is selected
P13 I/O port data
General-purpose register when SIF (clock sync. slave) is selected
P12 I/O port data
General-purpose register when SIF (clock sync.) is selected
P11 I/O port data (ESIF=0)
General-purpose register when SIF is selected
P10 I/O port data (ESIF=0)
General-purpose register when SIF is selected
P23 I/O control register (EXLCDC=0)
General-purpose register when FR output is selected
P22 I/O control register (EXLCDC=0)
General-purpose register when CL output is selected
P21 I/O control register
P20 I/O control register
P23 pull-up control register (EXLCDC=0)
General-purpose register when FR output is selected
P22 pull-up control register (EXLCDC=0)
General-purpose register when CL output is selected
P21 pull-up control register
P20 pull-up control register
P23 I/O port data (EXLCDC=0)
General-purpose register when FR output is selected
P22 I/O port data (EXLCDC=0)
General-purpose register when CL output is selected
P21 I/O port data
P20 I/O port data
P33 I/O control register
General-purpose register when SIF (clock sync. slave) is selected
P32 I/O control register
General-purpose register when SIF (clock sync.) is selected
P31 I/O control register (ESIFS=0)
General-purpose register when SIF is selected
P30 I/O control register (ESIFS=0)
General-purpose register when SIF is selected
P33 pull-up control register
General-purpose register when SIF (clock sync. slave) is selected
P32 pull-up control register
General-purpose register when SIF (clock sync. master) is selected
SCLK (I) pull-up control register
when SIF (clock sync. slave) is selected
P31 pull-up control register (ESIFS=0)
General-purpose register when SIF is selected
P30 pull-up control register (ESIFS=0)
SIN pull-up control register when SIF is selected
S1C63558 TECHNICAL MANUALEPSON17
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)
P33 I/O port data
General-purpose register when SIF (clock sync. slave) is selected
Low
P32 I/O port data
General-purpose register when SIF (clock sync.) is selected
Low
P31 I/O port data (ESIFS=0)
General-purpose register when SIF is selected
Low
P30 I/O port data (ESIFS=0)
General-purpose register when SIF is selected
Unused
Serial I/F (2)
mode selection
Serial I/F (2) enable (P3x port function selection)
Serial I/F (2) parity enable register
Disable
Serial I/F (2) parity mode selection
Even
SIF (2) clock
source selection
Stop
Serial I/F (2) receive status (reading)
–
Serial I/F (2) receive trigger (writing)
Disable
Serial I/F (2) receive enable
Stop
Serial I/F (2) transmit status (reading)
–
Serial I/F (2) transmit trigger (writing)
Disable
Serial I/F (2) transmit enable
[SMD1S, 0S]
Clk-sync. master
Mode
[SMD1S, 0S]
Mode
[SCS1S, 0S]
1200bps1600bps22400bps3PT
Mode
Unused
No error
Serial I/F (2) framing error flag status (reading)
–
Serial I/F (2) framing error flag reset (writing)
No error
Serial I/F (2) parity error flag status (reading)
–
Serial I/F (2) parity error flag reset (writing)
No error
Serial I/F (2) overrun error flag status (reading)
–
Serial I/F (2) overrun error flag reset (writing)
Low
Low
Low
Low
Low
Low
Low
Serial I/F (2) t
LSB
MSB
Serial I/F (2) t
ransmit/receive data
ransmit/receive data
Low
LCD drive duty
switch
[LDUTY1, 0]
Duty
General-purpose register
LCD power On/Off
Disable
Expanded LCD driver signal control
Normal
LCD all Off control
Normal
LCD all On control
F000-F05F
Display memory area selection (when 1/8 duty is selected)
General-purpose register when 1/16, 1/17 duty is selected
LCD contrast adjustment
[LC3–0]
Contrast
0
Light––15Dark
Unused
Unused
R01 output selection (R01 should be fixed at "1".)
R00 output selection (R00 should be fixed at "1".)
[BZFQ2, 1, 0]
Frequency (Hz)
[BZFQ2, 1, 0]
Frequency (Hz)
4096.013276.822730.732340.6
2048.051638.461365.371170.3
Unused
Buzzer signal duty ratio selection
(refer to main manual)
Unused
Serial I/F (1)
mode selection
Serial I/F (1) enable (P1x port function selection)
[SMD1, 0]
Mode
[SMD1, 0]
Mode
Clk-sync. master
Async. 7-bit
Serial I/F (1) parity enable register
Serial I/F (1) parity mode selection
SIF (1) clock
source selection
[SCS1, 0]
Mode
0
1200bps1600bps22400bps3PT
Serial I/F (1) receive status (reading)
Serial I/F (1) receive trigger (writing)
Serial I/F (1) receive enable
Serial I/F (1) transmit status (reading)
Serial I/F (1) transmit trigger (writing)
Serial I/F (1) transmit enable
Unused
Serial I/F (1) framing error flag status (reading)
Serial I/F (1) framing error flag reset (writing)
Serial I/F (1) parity error flag status (reading)
Serial I/F (1) parity error flag reset (writing)
Serial I/F (1) overrun error flag status (reading)
Serial I/F (1) overrun error flag reset (writing)
Serial I/F (1) t
ransmit/receive data
LSB
MSB
Serial I/F (1) t
ransmit/receive data
Unused
Unused
Unused
Serial I/F test mode (disabled. Do not change.)
Unused
Unused
Clock timer reset (writing)
Clock timer Run/Stop
Clock timer data (16 Hz)
Clock timer data (32 Hz)
Clock timer data (64 Hz)
Clock timer data (128 Hz)
Clock timer data (1 Hz)
Clock timer data (2 Hz)
Clock timer data (4 Hz)
Clock timer data (8 Hz)
0
4
0
2
(low-order 4 bits)
(high-order 4 bits)
1
Clk-sync. slave
3
Async. 8-bit
S1C63558 TECHNICAL MANUALEPSON19
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Memory Map)