Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
mPD780054
NEC mPD780054 Manuals
Manuals and User Guides for NEC mPD780054. We have
1
NEC mPD780054 manual available for free PDF download: Preliminary User's Manual
NEC mPD780054 Preliminary User's Manual (585 pages)
8-Bit Single-chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 3.41 MB
Table of Contents
Section 1
13
Table of Contents
13
Section 2
28
CHAPTER 1 OUTLINE ( Μ PD780058 Subseries)
31
Features
31
Applications
32
Ordering Information
32
Pin Configuration (Top View)
33
Series Line-Up
35
Block Diagram
37
Outline of Function
38
Mask Options
40
CHAPTER 2 OUTLINE ( Μ PD780058Y Subseries)
41
Features
41
Applications
42
Ordering Information
42
Pin Configuration (Top View)
43
Series Line-Up
45
Block Diagram
47
Outline of Function
48
Mask Options
50
CHAPTER 3 PIN FUNCTION ( Μ PD780058 Subseries)
51
Pin Function List
51
Description of Pin Functions
55
P00 to P05, P07 (Port 0)
55
P10 to P17 (Port 1)
56
P20 to P27 (Port 2)
56
P30 to P37 (Port 3)
57
P40 to P47 (Port 4)
57
P50 to P57 (Port 5)
58
P60 to P67 (Port 6)
58
P70 to P72 (Port 7)
59
P120 to P127 (Port 12)
59
P130 and P131 (Port 13)
60
Av Ref0
60
Av Ref1
60
Av Ss
60
Reset
60
X1 and X2
60
XT1 and XT2
60
Vdd0 , Vdd1
60
Vss0 , Vss1
61
PP (Flash Memory Version Only)
61
IC (Mask ROM Version Only)
61
Input/Output Circuits and Recommended Connection of Unused Pins
62
CHAPTER 4 PIN FUNCTION ( Μ PD780058Y Subseries)
67
Pin Function List
67
Description of Pin Functions
71
P00 to P05, P07 (Port 0)
71
P10 to P17 (Port 1)
72
P20 to P27 (Port 2)
72
P30 to P37 (Port 3)
73
P40 to P47 (Port 4)
74
P50 to P57 (Port 5)
74
P60 to P67 (Port 6)
74
P70 to P72 (Port 7)
75
P120 to P127 (Port 12)
75
P130 and P131 (Port 13)
76
Av Ref0
76
Av Ref1
76
Av Ss
76
Reset
76
X1 and X2
76
XT1 and XT2
76
Vdd0 , Vdd1
76
Vss0 , Vss1
77
VPP (Flash Memory Version Only)
77
IC (Mask ROM Version Only)
77
Input/Output Circuits and Recommended Connection of Unused Pins
78
Chapter 5 Cpu Architecture
83
Memory Spaces
83
Internal Program Memory Space
89
Internal Data Memory Space
91
Special Function Register (SFR) Area
91
External Memory Space
91
Data Memory Addressing
91
Processor Registers
98
Control Registers
98
General Registers
101
Special Function Register (SFR)
102
Instruction Address Addressing
106
Relative Addressing
106
Immediate Addressing
107
Register Addressing
109
Operand Address Addressing
110
Implied Addressing
110
Register Addressing
111
Direct Addressing
112
Short Direct Addressing
113
Special-Function Register (SFR) Addressing
115
Register Indirect Addressing
116
Based Addressing
117
Based Indexed Addressing
118
Stack Addressing
118
Chapter 6 Port Functions
119
Port Functions
119
Port Configuration
124
Port 0
124
Port Functions ( Μ PD780058 Subseries)
124
Port 1
126
Port 2 ( Μ PD780058 Subseries)
127
Port 2 ( Μ PD780058Y Subseries)
129
Port 3
131
Port 12
131
Port 4
132
Port 5
133
Port 6
134
Port 7
136
Port 13
139
Port Function Control Registers
140
Port Function Operations
146
Writing to Input/Output Port
146
Reading from Input/Output Port
146
Operations on Input/Output Port
146
Selection of Mask Option
147
Chapter 7 Clock Generator
149
Clock Generator Functions
149
Clock Generator Configuration
149
Clock Generator Control Register
151
System Clock Oscillator
155
Main System Clock Oscillator
155
Subsystem Clock Oscillator
156
Divider
158
When Not Using Subsystem Clocks
158
Clock Generator Operations
159
Main System Clock Operations
160
Subsystem Clock Operations
161
Changing System Clock and CPU Clock Settings
162
Time Required for Switchover between System Clock and CPU Clock
162
System Clock and CPU Clock Switching Procedure
164
Chapter 8 16-Bit Timer/Event Counter
165
Outline of Internal Timer of Μ PD780058 and 780058Y Subseries
165
16-Bit Timer/Event Counter Functions
167
16-Bit Timer/Event Counter Interval Times
167
16-Bit Timer/Event Counter Square-Wave Output Ranges
168
16-Bit Timer/Event Counter Configuration
169
16-Bit Timer/Event Counter Control Registers
173
16-Bit Timer/Event Counter Operations
183
Interval Timer Operations
183
PWM Output Operations
185
16-Bit Timer/Event Counter Interval Times
185
PPG Output Operations
188
Pulse Width Measurement Operations
189
External Event Counter Operation
196
Square-Wave Output Operation
198
16-Bit Timer/Event Counter Square-Wave Output Ranges
199
One-Shot Pulse Output Operation
200
16-Bit Timer/Event Counter Operating Cautions
204
Chapter 9 8-Bit Timer/Event Counter
207
8-Bit Timer/Event Counter Functions
207
8-Bit Timer/Event Counter Mode
207
8-Bit Timer/Event Counters 1 and 2 Interval Times
208
8-Bit Timer/Event Counters 1 and 2 Square-Wave Output Ranges
209
16-Bit Timer/Event Counter Mode
210
Are Used as 16-Bit Timer/Event Counters
210
Counters 1 and 2 Are Used as 16-Bit Timer/Event Counters
211
8-Bit Timer/Event Counter Configurations
212
8-Bit Timer/Event Counter Control Registers
216
8-Bit Timer/Event Counters 1 and 2 Operations
221
8-Bit Timer/Event Counter Mode
221
8-Bit Timer/Event Counter 1 Interval Time
222
8-Bit Timer/Event Counter 2 Interval Time
222
8-Bit Timer/Event Counters 1 and 2 Square-Wave Output Ranges
225
16-Bit Timer/Event Counter Mode
227
8-Bit Timer/Event Counters 1 and 2 Precautions
232
Chapter 10 Watch Timer
235
Watch Timer Functions
235
Watch Timer Configuration
236
Watch Timer Control Registers
236
Watch Timer Operations
240
Watch Timer Operation
240
Interval Timer Operation
240
Chapter 11 Watchdog Timer
241
Watchdog Timer Functions
241
Watchdog Timer Configuration
243
Watchdog Timer Control Registers
244
Watchdog Timer Operations
247
Watchdog Timer Operation
247
Interval Timer Operation
248
Chapter 12 Clock Output Control Circuit
249
Clock Output Control Circuit Functions
249
Clock Output Control Circuit Configuration
250
Clock Output Function Control Registers
250
Chapter 13 Buzzer Output Control Circuit
253
Buzzer Output Control Circuit Functions
253
Buzzer Output Control Circuit Configuration
253
Buzzer Output Function Control Registers
254
Chapter 14 A/D Converter
257
A/D Converter Functions
257
A/D Converter Configuration
257
A/D Converter Control Registers
261
A/D Converter Operations
265
Basic Operations of A/D Converter
265
Input Voltage and Conversion Results
267
A/D Converter Operating Mode
268
A/D Converter Cautions
270
Chapter 15 D/A Converter
273
D/A Converter Functions
273
D/A Converter Configuration
274
D/A Converter Control Registers
276
D/A Converter Operations
277
D/A Converter Cautions
278
CHAPTER 16 SERIAL INTERFACE CHANNEL 0 ( Μ PD780058 Subseries)
279
Serial Interface Channel 0 Functions
280
Serial Interface Channel 0 Configuration
282
Serial Interface Channel 0 Control Registers
286
Serial Interface Channel 0 Operations
293
Operation Stop Mode
293
3-Wire Serial I/O Mode Operation
294
SBI Mode Operation
299
2-Wire Serial I/O Mode Operation
325
SCK0/P27 Pin Output Manipulation
330
CHAPTER 17 SERIAL INTERFACE CHANNEL 0 ( Μ PD780058Y Subseries)
331
Serial Interface Channel 0 Functions
332
Serial Interface Channel 0 Configuration
334
Serial Interface Channel 0 Control Registers
338
Serial Interface Channel 0 Operations
345
Operation Stop Mode
345
3-Wire Serial I/O Mode Operation
346
2-Wire Serial I/O Mode Operation
350
I 2 C Bus Mode Operation
355
Bus Mode
372
Bus Mode
375
SCK0/SCL/P27 Pin Output Manipulation
377
Chapter 18 Serial Interface Channel 1
379
Serial Interface Channel 1 Functions
379
Serial Interface Channel 1 Configuration
380
Serial Interface Channel 1 Control Registers
383
Serial Interface Channel 1 Operations
391
Operation Stop Mode
391
3-Wire Serial I/O Mode Operation
392
3-Wire Serial I/O Mode Operation with Automatic Transmit/Receive Function
395
Chapter 19 Serial Interface Channel 2
425
Serial Interface Channel 2 Functions
425
Serial Interface Channel 2 Configuration
426
Serial Interface Channel 2 Control Registers
430
Serial Interface Channel 2 Operation
440
Operation Stop Mode
440
Asynchronous Serial Interface (UART) Mode (with Time-Division Transfer Function)
442
3-Wire Serial I/O Mode
456
Restrictions in UART Mode
463
Chapter 20 Real-Time Output Port
467
Real-Time Output Port Functions
467
Real-Time Output Port Configuration
468
Real-Time Output Port Control Registers
470
Chapter 21 Interrupt and Test Functions
473
Interrupt Function Types
473
Interrupt Sources and Configuration
474
Interrupt Function Control Registers
478
Interrupt Servicing Operations
487
Non-Maskable Interrupt Request Acknowledge Operation
487
Maskable Interrupt Request Acknowledge Operation
490
Software Interrupt Request Acknowledge Operation
493
Multiple Interrupt Servicing
493
Interrupt Request Reserve
496
Test Functions
497
Registers Controlling the Test Function
497
Test Input Signal Acknowledge Operation
499
Chapter 22 External Device Expansion Function
501
External Device Expansion Functions
501
External Device Expansion Function Control Register
505
External Device Expansion Function Timing
507
Example of Connection with Memory
512
Chapter 23 Standby Function
513
Standby Function and Configuration
513
Standby Function
513
Standby Function Control Register
514
Standby Function Operations
515
HALT Mode
515
STOP Mode
518
Chapter 24 Reset Function
521
Reset Function
521
Chapter 25 Rom Correction
525
ROM Correction Functions
525
ROM Correction Configuration
525
ROM Correction Control Registers
527
ROM Correction Application
528
ROM Correction Usage Example
531
Program Execution Flow
532
ROM Correction Cautions
534
CHAPTER 26 Μ PD78F0058, 78F0058Y
535
Memory Size Switching Register
536
Internal Expansion RAM Size Switching Register
537
Flash Memory Programming
538
Selecting Communication Mode
538
Flash Memory Programming Function
539
Connecting Flashpro
540
Chapter 27 Instruction Set Outline
543
Legends Used in Operation List
544
Operand Identifiers and Description Methods
544
Description of Operation Column
545
Description of Flag Operation Column
545
Operation List
546
Instructions Listed by Addressing Type
554
APPENDIX A DIFFERENCES AMONG Μ PD78054, 78058F, and 780058 SUBSERIES
559
Appendix B Development Tools
561
Language Processing Software
564
Flash Memory Writing Tools
565
Debugging Tools
566
Hardware
566
Software
568
System-Upgrade Method from Former In-Circuit Emulator for 78K/0 Series to IE-78001-R-A
570
Appendix C Embedded Software
575
Appendix D Register Index
577
Register Index (Register Name)
577
Register Index (Symbol)
580
Appendix E Revision History
583
Advertisement
Advertisement
Related Products
NEC mPD780058 Series
NEC mPD780058Y Series
NEC mPD780053
NEC mPD780055
NEC mPD780056
NEC mPD780053Y
NEC mPD780054Y
NEC mPD780055Y
NEC mPD780056Y
NEC mPD780031AS
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