Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
mPD789121
NEC mPD789121 Manuals
Manuals and User Guides for NEC mPD789121. We have
1
NEC mPD789121 manual available for free PDF download: User Manual
NEC mPD789121 User Manual (265 pages)
8-bit Single-chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 1.45 MB
Table of Contents
Table of Contents
11
CHAPTER 1 GENERAL ( Μ PD789104, 789114 SUBSERIES)
23
Features
23
Applications
23
Ordering Information
24
Pin Configuration (Top View)
25
0S Series Lineup
27
Block Diagram
29
Outline of Functions
30
CHAPTER 2 GENERAL ( Μ PD789124, 789134 SUBSERIES)
31
Features
31
Applications
31
Ordering Information
32
Pin Configuration (Top View)
33
0S Series Lineup
35
Block Diagram
37
Outline of Functions
38
Chapter 3 Pin Functions
39
Pin Function List
39
Description of Pin Functions
41
P00 to P03 (Port 0)
41
P10, P11 (Port 1)
41
P20 to P25 (Port 2)
41
P50 to P53 (Port 5)
42
P60 to P63 (Port 6)
42
Reset
42
X1, X2 ( Μ PD789104, 789114 Subseries)
42
CL1, CL2 ( Μ PD789124, 789134 Subseries)
42
Av DD
42
Av Ss
42
VDD
42
Vss
42
PP ( Μ PD78F9116, 78F9136 Only)
43
IC0 (Pin No.20) (Mask ROM Version Only)
43
IC0 (Pins No.10 and No.21)
43
Pin Input/Output Circuits and Recommended Connection of Unused Pins
44
Chapter 4 Cpu Architecture
47
Memory Space
47
Internal Program Memory Space
51
Internal Data Memory (Internal High-Speed RAM) Space
52
Special Function Register (SFR) Area
52
Data Memory Addressing
52
Processor Registers
56
Control Registers
56
General Registers
59
Special Function Registers (Sfrs)
60
Instruction Address Addressing
63
Relative Addressing
63
Immediate Addressing
64
Register Addressing
65
Operand Address Addressing
66
Direct Addressing
66
Short Direct Addressing
67
Special Function Register (SFR) Addressing
68
Register Addressing
69
Register Indirect Addressing
70
Based Addressing
71
Stack Addressing
71
Chapter 5 Port Functions
73
Functions of Ports
73
Port Configuration
75
Port 0
75
Port 1
76
Port 2
77
Port 5
81
Port 6
82
Port Function Control Registers
83
Operation of Port Functions
85
Writing to I/O Port
85
Reading from I/O Port
85
Arithmetic Operation of I/O Port
85
CHAPTER 6 CLOCK GENERATOR ( Μ PD789104, 789114 SUBSERIES)
87
Function of Clock Generator
87
Configuration of Clock Generator
87
Register Controlling Clock Generator
88
System Clock Oscillator
89
Divider
92
Operation of Clock Generator
92
Changing Setting of CPU Clock
93
Time Required for Switching CPU Clock
93
Switching CPU Clock
93
CHAPTER 7 CLOCK GENERATOR ( Μ PD789124, 789134 SUBSERIES)
95
Function of Clock Generator
95
Configuration of Clock Generator
95
Register Controlling Clock Generator
96
System Clock Oscillator
97
Divider
100
Operation of Clock Generator
100
Changing Setting of CPU Clock
101
Time Required for Switching CPU Clock
101
Switching CPU Clock
101
Chapter 8 16-Bit Timer Counter
103
16-Bit Timer Counter Functions
104
16-Bit Timer Counter Configuration
105
Registers Controlling 16-Bit Timer Counter
107
16-Bit Timer Counter Operation
110
Operation as Timer Interrupt
110
Operation as Timer Output
112
Capture Operation
113
16-Bit Timer Register 20 Readout
114
Chapter 9 8-Bit Timer/Event Counter
115
Functions of 8-Bit Timer/Event Counter
115
8-Bit Timer/Event Counter Configuration
116
8-Bit Timer/Event Counter Control Registers
118
Operation of 8-Bit Timer/Event Counter
120
Operation as Interval Timer
120
Operation as External Event Counter
122
Operation as Square Wave Output
123
Operation as PWM Output
125
Notes on Using 8-Bit Timer/Event Counter
127
Chapter 10 Watchdog Timer
129
Functions of Watchdog Timer
129
Configuration of Watchdog Timer
130
Watchdog Timer Control Register
131
Operation of Watchdog Timer
133
Operation as Watchdog Timer
133
Operation as Interval Timer
134
CHAPTER 11 8-BIT A/D CONVERTER ( Μ PD789104, 789124 SUBSERIES)
135
8-Bit A/D Converter Functions
135
8-Bit A/D Converter Configuration
135
Registers Controlling 8-Bit A/D Converter
138
8-Bit A/D Converter Operation
140
Basic Operation of 8-Bit A/D Converter
140
Input Voltage and Conversion Result
141
Operation Mode of 8-Bit A/D Converter
143
Cautions Related to 8-Bit A/D Converter
144
CHAPTER 12 10-BIT A/D CONVERTER ( Μ PD789114, 789134 SUBSERIES)
149
10-Bit A/D Converter Functions
149
10-Bit A/D Converter Configuration
149
Registers Controlling 10-Bit A/D Converter
152
10-Bit A/D Converter Operation
154
Basic Operation of 10-Bit A/D Converter
154
Input Voltage and Conversion Result
155
Operation Mode of 10-Bit A/D Converter
157
Cautions Related to 10-Bit A/D Converter
158
Chapter 13 Serial Interface 20
163
Functions of Serial Interface 20
163
Serial Interface 20 Configuration
163
Serial Interface 20 Control Registers
167
Serial Interface 20 Operation
174
Operation Stop Mode
174
Asynchronous Serial Interface (UART) Mode
176
3-Wire Serial I/O Mode
189
Chapter 14 Multiplier
199
Multiplier Function
199
Multiplier Configuration
199
Multiplier Control Register
201
Multiplier Operation
202
Chapter 15 Interrupt Functions
203
Interrupt Function Types
203
Interrupt Sources and Configuration
203
Interrupt Function Control Registers
206
Interrupt Processing Operation
211
Non-Maskable Interrupt Request Acknowledgement Operation
211
Maskable Interrupt Request Acknowledgement Operation
213
Multiple Interrupt Processing
215
Interrupt Request Reserve
217
Chapter 16 Standby Function
219
Standby Function and Configuration
219
Standby Function
219
Standby Function Control Register ( Μ PD789104, 789114 Subseries)
220
Operation of Standby Function
221
HALT Mode
221
STOP Mode
224
Chapter 17 Reset Function
227
CHAPTER 18 Μ PD78F9116, 78F9136
231
Flash Memory Programming
232
Selecting Communication Mode
232
Function of Flash Memory Programming
233
Flashpro III Connection Example
233
Example of Settings for Flashpro III (PG-FP3)
237
Chapter 19 Mask Option (Mask Rom Version)
239
Chapter 20 Instruction Set
241
Operation
241
Operand Identifiers and Description Methods
241
Description of "Operation" Column
242
Description of "Flag Operation" Column
242
Operation List
243
Instructions Listed by Addressing Type
248
Appendix A Development Tools
251
Language Processing Software
253
Flash Memory Writing Tools
254
Debugging Tools
254
Hardware
254
Software
255
Appendix B Embedded Software
257
Appendix C Register Index
259
Register Name Index (Alphabetic Order)
259
Register Symbol Index (Alphabetic Order)
261
Appendix D Revision History
263
Advertisement
Advertisement
Related Products
NEC mPD789122
NEC mPD789124
NEC mPD789101
NEC mPD789102
NEC mPD789104
NEC mPD789111
NEC mPD789114
NEC mPD789131
NEC mPD789132
NEC mPD789134
NEC Categories
Monitor
Projector
Server
Telephone
Computer Hardware
More NEC Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL