S1C63558 TECHNICAL MANUAL EPSON i
CONTENTS
CONTENTS
CHAPTER
1OUTLINE ________________________________________________ 1
1.1 Features ........................................................................................................ 1
1.2 Block Diagram .............................................................................................. 2
1.3 Pin Layout Diagram ..................................................................................... 3
1.4 Pin Description ............................................................................................. 4
1.5 Mask Option.................................................................................................. 5
CHAPTER 2POWER SUPPLY AND INITIAL RESET ____________________________ 8
2.1 Power Supply ................................................................................................ 8
2.1.1 Voltage <VD1> for oscillation circuit and internal circuits...................... 8
2.1.2 Voltage <VC1–VC5> for LCD driving ........................................................ 8
2.2 Initial Reset ................................................................................................... 9
2.2.1 Reset terminal (RESET) ............................................................................. 9
2.2.2 Simultaneous low input to terminals K00–K03 ........................................ 10
2.2.3 Internal register at initial resetting .......................................................... 10
2.2.4 Terminal settings at initial resetting ......................................................... 11
2.3 Test Terminal (TEST) ................................................................................... 11
CHAPTER 3 CPU, ROM, RAM________________________________________ 12
3.1 CPU.............................................................................................................. 12
3.2 Code ROM ................................................................................................... 12
3.3 RAM ............................................................................................................. 12
3.4 Data ROM .................................................................................................... 13
CHAPTER 4PERIPHERAL CIRCUITS AND OPERATION__________________________ 14
4.1 Memory Map ................................................................................................14
4.2 Watchdog Timer ........................................................................................... 23
4.2.1 Configuration of watchdog timer.............................................................. 23
4.2.2 Interrupt function ...................................................................................... 23
4.2.3 I/O memory of watchdog timer ................................................................. 24
4.2.4 Programming notes ................................................................................... 24
4.3 Oscillation Circuit ....................................................................................... 25
4.3.1 Configuration of oscillation circuit .......................................................... 25
4.3.2 OSC1 oscillation circuit............................................................................ 25
4.3.3 OSC3 oscillation circuit............................................................................ 26
4.3.4 Switching the CPU operating clock.......................................................... 26
4.3.5 Clock frequency and instruction execution time ...................................... 26
4.3.6 I/O memory of oscillation circuit .............................................................. 27
4.3.7 Programming notes ................................................................................... 27
4.4 Input Ports (K00–K03 and K10–K13).........................................................28
4.4.1 Configuration of input ports ..................................................................... 28
4.4.2 Interrupt function ...................................................................................... 28
4.4.3 Mask option ............................................................................................... 29
4.4.4 I/O memory of input ports......................................................................... 30
4.4.5 Programming notes ................................................................................... 32
4.5 Output Ports (R00–R03, R10–R13 and R20–R23)...................................... 33
4.5.1 Configuration of output ports ................................................................... 33
4.5.2 Mask option ............................................................................................... 33