Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
mPD780122
NEC mPD780122 Manuals
Manuals and User Guides for NEC mPD780122. We have
1
NEC mPD780122 manual available for free PDF download: User Manual
NEC mPD780122 User Manual (445 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 2.73 MB
Table of Contents
Table of Contents
9
Chapter 1 Outline
25
Features
25
Applications
26
Ordering Information
27
Pin Configuration (Top View)
29
78K0/Kxx Series Lineup
31
Block Diagram
33
Outline of Functions
34
Chapter 2 Pin Functions
36
Pin Function List
36
Description of Pin Functions
39
P00 to P03 (Port 0)
39
P10 to P17 (Port 1)
39
P20 to P27 (Port 2)
40
P30 to P33 (Port 3)
40
P60 to P63 (Port 6)
40
P70 to P77 (Port 7)
40
P120 (Port 12)
41
P130 (Port 13)
41
P140 (Port 14)
41
Av Ref
41
Av Ss
41
Reset
42
Regc
42
X1 and X2
42
XT1 and XT2
42
VDD and EV DD
42
VSS and EV SS
42
VPP (Flash Memory Versions Only)
42
IC (Mask ROM Versions Only)
42
Pin I/O Circuits and Recommended Connection of Unused Pins
43
Chapter 3 Cpu Architecture
46
Memory Space
46
Internal Program Memory Space
52
Internal Data Memory Space
53
Special Function Register (SFR) Area
53
Data Memory Addressing
54
Processor Registers
59
Control Registers
59
General-Purpose Registers
62
Special Function Registers (Sfrs)
63
Instruction Address Addressing
67
Relative Addressing
67
Immediate Addressing
68
Register Addressing
69
Operand Address Addressing
70
Implied Addressing
70
Register Addressing
71
Direct Addressing
72
Short Direct Addressing
73
Special Function Register (SFR) Addressing
74
Register Indirect Addressing
75
Based Addressing
76
Based Indexed Addressing
77
Stack Addressing
77
Chapter 4 Port Functions
78
Port Functions
78
Port Configuration
80
Port 0
81
Port 1
84
Port 2
90
Port 3
91
Port 6
93
Port 7
94
Port 12
95
Port 13
96
Port 14
97
Registers Controlling Port Function
98
Port Function Operations
102
Writing to I/O Port
102
Reading from I/O Port
102
Operations on I/O Port
102
Chapter 5 Clock Generator
103
Functions of Clock Generator
103
Configuration of Clock Generator
104
Registers Controlling Clock Generator
105
System Clock Oscillator
112
X1 Oscillator
112
Subsystem Clock Oscillator
112
When Subsystem Clock Is Not Used
115
Ring-OSC Oscillator
115
Prescaler
115
Clock Generator Operation
115
Time Required to Switch between Ring-OSC Clock and X1 Input Clock
122
Changing System Clock and CPU Clock Settings
123
Time Required for Switching between System Clock and CPU Clock
123
Clock Switching Flowchart and Register Setting
124
Switching from Ring-OSC Clock to X1 Input Clock
124
Switching from X1 Input Clock to Ring-OSC Clock
125
Switching from X1 Input Clock to Subsystem Clock
126
Switching from Subsystem Clock to X1 Input Clock
127
Register Settings
128
Chapter 6 16-Bit Timer/Event Counter 00
129
Functions of 16-Bit Timer/Event Counter 00
129
Configuration of 16-Bit Timer/Event Counter 00
130
Registers Controlling 16-Bit Timer/Event Counter 00
133
Operation of 16-Bit Timer/Event Counter 00
139
Interval Timer Operation
139
PPG Output Operations
141
Pulse Width Measurement Operations
143
External Event Counter Operation
150
Square-Wave Output Operation
152
One-Shot Pulse Output Operation
153
Cautions for 16-Bit Timer/Event Counter 00
158
Chapter 7 8-Bit Timer/Event Counters 50 and 51
162
Functions of 8-Bit Timer/Event Counters 50 and 51
162
Configuration of 8-Bit Timer/Event Counters 50 and 51
164
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
165
Operations of 8-Bit Timer/Event Counters 50 and 51
171
Operation as Interval Timer
171
Operation as External Event Counter
173
Square-Wave Output Operation
174
PWM Output Operation
176
Cautions for 8-Bit Timer/Event Counters 50 and 51
178
Chapter 8 8-Bit Timers H0 and H1
179
Functions of 8-Bit Timers H0 and H1
179
Configuration of 8-Bit Timers H0 and H1
179
Registers Controlling 8-Bit Timers H0 and H1
182
Operation of 8-Bit Timers H0 and H1
186
Operation as Interval Timer
186
Operation as PWM Pulse Generator
189
Carrier Generator Mode Operation (8-Bit Timer H1 Only)
195
Chapter 9 Watch Timer
202
Functions of Watch Timer
202
Configuration of Watch Timer
204
Register Controlling Watch Timer
204
Watch Timer Operations
206
Watch Timer Operation
206
Interval Timer Operation
207
Chapter 10 Watchdog Timer
209
Functions of Watchdog Timer
209
Configuration of Watchdog Timer
211
Registers Controlling Watchdog Timer
212
Operation of Watchdog Timer
214
Watchdog Timer Operation When "Ring-OSC Cannot be Stopped" Is Selected by Mask Option
214
Watchdog Timer Operation When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option
215
Watchdog Timer Operation in STOP Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option)
216
Watchdog Timer Operation in HALT Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option)
218
Chapter 11 Clock Output Controller
219
Functions of Clock Output Controller
219
Configuration of Clock Output Controller
220
Registers Controlling Clock Output Controller
220
Clock Output Controller Operations
223
Chapter 12 A/D Converter
224
Functions of A/D Converter
224
Configuration of A/D Converter
226
Registers Controlling A/D Converter
228
A/D Converter Operations
232
Basic Operations of A/D Converter
232
Input Voltage and Conversion Results
234
A/D Converter Operation Mode
235
How to Read A/D Converter Characteristics Table
238
Cautions for A/D Converter
240
Chapter 13 Serial Interface Uart0
245
Functions of Serial Interface UART0
245
Configuration of Serial Interface UART0
246
Registers Controlling Serial Interface UART0
249
Operation of Serial Interface UART0
253
Operation Stop Mode
253
Asynchronous Serial Interface (UART) Mode
254
Dedicated Baud Rate Generator
262
Chapter 14 Serial Interface Uart6
268
Functions of Serial Interface UART6
268
Configuration of Serial Interface UART6
272
Registers Controlling Serial Interface UART6
275
Operation of Serial Interface UART6
283
Operation Stop Mode
283
Asynchronous Serial Interface (UART) Mode
284
Dedicated Baud Rate Generator
302
Chapter 15 Serial Interface Csi10
311
Functions of Serial Interface CSI10
311
Configuration of Serial Interface CSI10
311
Registers Controlling Serial Interface CSI10
313
Operation of Serial Interface CSI10
315
Operation Stop Mode
315
3-Wire Serial I/O Mode
316
Chapter 16 Interrupt Functions
324
Interrupt Function Types
324
Interrupt Sources and Configuration
324
Registers Controlling Interrupt Functions
327
Interrupt Servicing Operations
334
Maskable Interrupt Request Acknowledgement
334
Software Interrupt Request Acknowledgement
336
Multiple Interrupt Servicing
337
Interrupt Request Hold
340
Chapter 17 Key Interrupt Function
341
Functions of Key Interrupt
341
Configuration of Key Interrupt
341
Register Controlling Key Interrupt
342
Chapter 18 Standby Function
343
Standby Function and Configuration
343
Standby Function
343
Registers Controlling Standby Function
345
Standby Function Operation
347
HALT Mode
347
STOP Mode
351
Chapter 19 Reset Function
354
Register for Confirming Reset Source
359
Chapter 20 Clock Monitor
360
Functions of Clock Monitor
360
Configuration of Clock Monitor
360
Register Controlling Clock Monitor
361
Operation of Clock Monitor
362
Chapter 21 Power-On-Clear Circuit
366
Functions of Power-On-Clear Circuit
366
Configuration of Power-On-Clear Circuit
367
Operation of Power-On-Clear Circuit
367
Cautions for Power-On-Clear Circuit
368
Chapter 22 Low-Voltage Detector
370
Functions of Low-Voltage Detector
370
Configuration of Low-Voltage Detector
370
Registers Controlling Low-Voltage Detector
371
Operation of Low-Voltage Detector
374
Cautions for Low-Voltage Detector
378
Chapter 23 Regulator
382
Outline
382
Chapter 24 Mask Options
383
CHAPTER 25 Μ Μ Μ Μ PD78F0124
384
Internal Memory Size Switching Register
385
Flash Memory Programming
386
Selection of Communication Mode
386
Flash Memory Programming Function
387
Connecting Flashpro III/Flashpro IV
388
Connection on Adapter for Flash Memory Writing
390
Chapter 26 Instruction Set
395
Conventions Used in Operation List
395
Operand Identifiers and Specification Methods
395
Description of Operation Column
396
Description of Flag Operation Column
396
Operation List
397
Instructions Listed by Addressing Type
405
Chapter 27 Electrical Specifications (Target Values)
408
Chapter 28 Package Drawing
426
Chapter 29 Cautions for Wait
427
Cautions for Wait
427
Peripheral Hardware that Generates Wait
428
Example of Wait Occurrence
429
Appendix A Development Tools
430
Software Package
432
Language Processing Software
433
Flash Memory Writing Tools
434
Debugging Tools
435
Hardware
435
Software
436
Appendix B Embedded Software
437
Appendix C Register Index
438
Register Index (in Alphabetical Order with Respect to Register Names)
438
Register Index (in Alphabetical Order with Respect to Register Symbol)
441
Advertisement
Advertisement
Related Products
NEC mPD780122(A)
NEC mPD780122(A1)
NEC mPD780123(A1)
NEC mPD780124
NEC mPD78012B Series
NEC mPD78012BCWA Series
NEC mPD78012BYCW Series
NEC mPD780124(A)
NEC mPD780123(A)
NEC mPD780123
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