3819 Group USER’S MANUAL
Table of contents
ii
RESET circuit .................................................................................................................................46
Clock generating circuit...............................................................................................................48
Frequency control......................................................................................................................48
Oscillation control ......................................................................................................................48
Notes on programming ................................................................................................................51
Processor status register...........................................................................................................51
Interrupts ...................................................................................................................................51
Decimal calculations..................................................................................................................51
Timers........................................................................................................................................51
Multiplication and division instructions.......................................................................................51
Ports ..........................................................................................................................................51
Serial I/O....................................................................................................................................51
A-D converter ............................................................................................................................51
Instruction execution timing .......................................................................................................51
At the STP instruction release...................................................................................................51
Data required for mask orders ..................................................................................................52
PROM programming method.......................................................................................................52
Absolute maximum ratings..........................................................................................................53
Recommended operating conditions .........................................................................................53
Electrical characteristics ..............................................................................................................55
Zero cross detection input characteristics ..............................................................................57
A-D converter characteristics......................................................................................................57
D-A converter characteristics......................................................................................................57
Timing requirements .....................................................................................................................58
Switching characteristics .............................................................................................................58
Timing diagram ..............................................................................................................................59
Power source current characteristic examples .......................................................................60
Port standard characteristic examples......................................................................................61
A-D conversion standard characteristics..................................................................................63
D-A conversion standard characteristics..................................................................................64
Functional description supplement ............................................................................................65
Interrupt .....................................................................................................................................65
Timing after interrupt .................................................................................................................66
A-D converter ............................................................................................................................67
CHAPTER 2. APPLICATION
2.1 I/O port .....................................................................................................................................70
2.1.1 Related registers ..............................................................................................................70
2.1.2 Handling of unused pins ...................................................................................................71
2.2 Timer .........................................................................................................................................72
2.2.1 Related registers ..............................................................................................................72
2.2.2 Timer application examples..............................................................................................77
2.3 Serial I/O ..................................................................................................................................86
2.3.1 Related registers ..............................................................................................................86
2.3.2 Serial I/O connection examples........................................................................................91
2.3.3 Setting of serial I/O mode .................................................................................................93
2.3.4 Serial I/O application examples ........................................................................................94
2.4 A-D conversion .....................................................................................................................105
2.4.1 Related registers ............................................................................................................105
2.4.2 A-D conversion application example ..............................................................................107