13
TABLE OF CONTENTS
CHAPTER 1 GENERAL .................................................................................................................
33
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
Features...........................................................................................................................
Ordering Information .....................................................................................................
Quality Grades................................................................................................................
Pin Configuration (Top View)........................................................................................
System Configuration Example (AC Servo Motor Control)......................................
Block Diagram ................................................................................................................
List of Functions ............................................................................................................
Differences between
m
PD784044, 784046, and 78F4046 ...........................................
Differences between
m
PD784046 and
m
PD784046(A) ................................................
Differences between
m
PD784046(A), 784046(A1), and 784046(A2)..........................
35
36
36
37
39
40
41
42
43
43
CHAPTER 2 PIN FUNCTIONS..........................................................................................................
45
2.1
2.2
2.3
List of Pin Functions .....................................................................................................
Description of Pin Functions........................................................................................
I/O Circuits of Pins and Processing of Unused Pins ................................................
45
49
56
CHAPTER 3 CPU ARCHITECTURE.................................................................................................
59
3.1
3.2
3.3
Memory Space ................................................................................................................
Internal ROM Area ..........................................................................................................
Base Area ........................................................................................................................
3.3.1
Vector table area ................................................................................................................
3.3.2
CALLT instruction table area .............................................................................................
3.3.3
CALLF instruction entry area.............................................................................................
Internal Data Area ........................................................................................................
3.4.1
Internal RAM area..............................................................................................................
3.4.2
Special function register (SFR) area.................................................................................
3.4.3
External SFR area .............................................................................................................
External Memory Space ................................................................................................
Memory Mapping of
m
PD78F4046 ................................................................................
Control Registers ...........................................................................................................
3.7.1
Program counter (PC)........................................................................................................
3.7.2
Program status word (PSW)..............................................................................................
3.7.3
Use of RSS bit....................................................................................................................
3.7.4
Stack pointer (SP)..............................................................................................................
General Registers ..........................................................................................................
3.8.1
Configuration ......................................................................................................................
3.8.2
Functions ............................................................................................................................
Special Function Registers (SFRs)..............................................................................
Cautions ..........................................................................................................................
59
62
63
64
65
65
66
67
70
70
70
71
72
72
72
75
77
81
81
83
86
92
3.4
3.5
3.6
3.7
3.8
3.9
3.10