S1C60N16 TECHNICAL MANUAL
EPSON
i
CONTENTS
CONTENTS
CHAPTER
1OVERVIEW _______________________________________________ 1
1.1
Configuration ................................................................................................ 1
1.2
Features ......................................................................................................... 1
1.3Block Diagram .............................................................................................. 2
1.4
Pin Layout Diagram ..................................................................................... 3
1.5
Pin Description ............................................................................................. 4
1.6
Option List .................................................................................................... 5
CHAPTER
2POWER SUPPLY AND INITIAL RESET ____________________________ 8
2.1
Power Supply ................................................................................................ 8
2.2
Initial Reset ................................................................................................... 9
2.2.1 Power-on reset circuit ................................................................................ 9
2.2.2 RESET terminal .......................................................................................... 9
2.2.3 Simultaneous high input to input ports (K00–K03) .................................. 9
2.2.4 Watchdog timer .......................................................................................... 10
2.2.5 Internal register at initial reset ................................................................. 10
2.3
Test Terminal (TEST) ................................................................................... 10
CHAPTER
3 CPU, ROM, RAM ________________________________________ 11
3.1
CPU .............................................................................................................. 11
3.2ROM ............................................................................................................. 11
3.3
RAM ............................................................................................................. 11
CHAPTER
4PERIPHERAL CIRCUITS AND OPERATION __________________________ 12
4.1
Memory Map ................................................................................................ 12
4.2
Resetting Watchdog Timer ........................................................................... 16
4.2.1 Configuration of watchdog timer .............................................................. 16
4.2.2 Mask option ............................................................................................... 16
4.2.3 Control of watchdog timer ........................................................................ 16
4.2.4 Programming note ..................................................................................... 16
4.3
Oscillation Circuit ....................................................................................... 17
4.3.1 Configuration of oscillation circuit .......................................................... 17
4.3.2 OSC1 oscillation circuit ............................................................................ 17
4.3.3 OSC3 oscillation circuit (S1C60A16) ....................................................... 18
4.3.4 Switching the system clock (S1C60A16) ................................................... 18
4.3.5 Control of oscillation circuit (S1C60A16) ................................................ 19
4.3.6 Programming notes (S1C60A16) .............................................................. 19
4.4
Input Ports (K00–K03, K10) ........................................................................ 20
4.4.1 Configuration of input ports ..................................................................... 20
4.4.2 Input comparison registers and interrupt function .................................. 20
4.4.3 Mask option ............................................................................................... 21
4.4.4 Control of input ports ................................................................................ 22
4.4.5 Programming notes ................................................................................... 23
4.5
Output Ports (R00–R03, R10–R13) ............................................................. 25
4.5.1 Configuration of output ports ................................................................... 25
4.5.2 Mask option ............................................................................................... 25
4.5.3 Control of output ports .............................................................................. 27
4.5.4 Programming note ..................................................................................... 28