Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
mPD780354 Series
NEC mPD780354 Series Manuals
Manuals and User Guides for NEC mPD780354 Series. We have
1
NEC mPD780354 Series manual available for free PDF download: User Manual
NEC mPD780354 Series User Manual (505 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 3.95 MB
Table of Contents
Table of Contents
12
Chapter 1 Outline
30
Features
30
Applications
31
Ordering Information
31
Pin Configuration (Top View)
32
Series Lineup
35
Block Diagram
38
Outline of Function
39
Mask Options
41
Chapter 2 Pin Functions
42
Pin Function List
42
Description of Pin Functions
46
P00 to P07 (Port 0)
46
P10 to P17 (Port 1)
46
P20 to P27 (Port 2)
47
P30 to P35 (Port 3)
47
P40 to P43 (Port 4)
48
P70 to P73 (Port 7)
48
P80 to P87 (Port 8)
48
P90 to P97 (Port 9)
48
P100 to P107 (Port 10)
49
P110 to P113 (Port 11)
49
Av DD
49
Av Ss
49
S0 to S39
49
COM0 to COM3
49
Scom0
50
VLC0 to VLC2
50
CAPH and CAPL
50
Reset
50
X1 and X2
50
XT1 and XT2
50
VDD0 and VDD1
50
VSS0 and VSS1
50
PP (Flash Memory Versions Only)
50
IC (Mask ROM Version Only)
51
Pin I/O Circuits and Recommended Connection of Unused Pins
52
Chapter 3 Cpu Architecture
56
Memory Spaces
56
Internal Program Memory Space
60
Internal Data Memory Space
61
Special Function Register (SFR) Area
61
Data Memory Addressing
62
Processor Registers
65
Control Registers
65
General-Purpose Registers
69
Special-Function Registers (SFR)
70
Instruction Address Addressing
74
Relative Addressing
74
Immediate Addressing
75
Register Addressing
77
Operand Address Addressing
78
Implied Addressing
78
Register Addressing
79
Direct Addressing
80
Short Direct Addressing
81
Special Function Register (SFR) Addressing
82
Register Indirect Addressing
83
Based Addressing
84
Based Indexed Addressing
85
Stack Addressing
86
Chapter 4 Port Functions
87
Port Functions
87
Port Configuration
89
Port 0
89
Port 1
92
Port 2
93
Port 3
96
Port 4
100
Port 7
101
Port
102
Port 9
103
Port 10
104
Port 11
105
Port Function Control Registers
106
Port Function Operations
111
Writing to I/O Port
111
Reading from I/O Port
111
Operations on I/O Port
111
Selection of Mask Option
112
Chapter 5 Clock Generator
113
Clock Generator Functions
113
Clock Generator Configuration
113
Clock Generator Control Registers
115
System Clock Oscillator
118
Main System Clock Oscillator
118
Subsystem Clock Oscillator
119
Examples of Incorrect Resonator Connection
120
Divider
121
When no Subsystem Clocks Are Used
121
Clock Generator Operations
122
Main System Clock Operations
123
Subsystem Clock Operations
124
Changing System Clock and CPU Clock Settings
125
Time Required for Switchover between System Clock and CPU Clock
125
System Clock and CPU Clock Switching Procedure
126
Chapter 6 16-Bit Timer/Event Counter 0
127
Outline of 16-Bit Timer/Event Counter 0
127
Functions of 16-Bit Timer/Event Counter 0
127
Configuration of 16-Bit Timer/Event Counter 0
128
Registers to Control 16-Bit Timer/Event Counter 0
131
Operations of 16-Bit Timer/Event Counter 0
137
Interval Timer Operations
137
PPG Output Operations
139
Pulse Width Measurement Operations
141
External Event Counter Operation
148
Square-Wave Output Operation
149
16-Bit Timer/Event Counter 0 Cautions
151
Chapter 7 8-Bit Timers A0, B0
156
8-Bit Timer A0, B0 Functions
156
8-Bit Timer A0, B0 Configuration
157
Registers to Control 8-Bit Timer A0, B0
162
8-Bit Timer A0, B0 Operation
166
Operation as 8-Bit Timer Counter
166
Operation as 16-Bit Timer Counter
174
Operation as Carrier Generator
181
Operation as PWM Output (Timer B0 Only)
185
8-Bit Timer A0, B0 Cautions
187
Chapter 8 8-Bit Timer/Event Counters 50, 51
188
Outline of 8-Bit Timer/Event Counters 50 and 51
188
Functions of 8-Bit Timer/Event Counters 50 and 51
188
Configuration of 8-Bit Timer/Event Counters 50 and 51
190
Registers to Control 8-Bit Timer/Event Counters 50 and 51
191
Operation of 8-Bit Timer/Event Counters 50 and 51
195
Interval Timer Operation
195
External Event Counter Operation
198
Square-Wave Output Operation
199
PWM Output Operation
200
8-Bit Timer/Event Counter 50 and 51 Cautions
203
Chapter 9 Watch Timer
204
Outline of Watch Timer
204
Watch Timer Functions
204
Watch Timer Configuration
206
Registers to Control Watch Timer
206
Watch Timer Operations
209
Watch Timer Operation
209
Interval Timer Operation
209
Chapter 10 Watchdog Timer
210
Outline of Watchdog Timer
210
Watchdog Timer Functions
210
Watchdog Timer Configuration
212
Registers to Control Watchdog Timer
212
Watchdog Timer Operations
216
Watchdog Timer Operation
216
Interval Timer Operation
217
Chapter 11 Clock Output Controller
218
Outline of Clock Output Controller
218
Clock Output Controller Functions
218
Configuration of Clock Output Controller
219
Registers to Control Clock Output Controller
219
Clock Output Controller Operations
221
CHAPTER 12 8-BIT A/D CONVERTER ( Μ PD780344, 780344Y SUBSERIES)
222
8-Bit A/D Converter Functions
222
8-Bit A/D Converter Configuration
224
Registers to Control 8-Bit A/D Converter
226
8-Bit A/D Converter Operations
230
Basic Operations of 8-Bit A/D Converter
230
Input Voltage and Conversion Results
232
8-Bit A/D Converter Operation Mode
233
How to Read A/D Converter Characteristics Table
236
A/D Converter Cautions
238
CHAPTER 13 10-BIT A/D CONVERTER ( Μ PD780354, 780354Y SUBSERIES)
244
10-Bit A/D Converter Functions
244
10-Bit A/D Converter Configuration
245
Registers to Control 10-Bit A/D Converter
246
10-Bit A/D Converter Operation
250
Basic Operations of 10-Bit A/D Converter
250
Input Voltage and Conversion Results
252
10-Bit A/D Converter Operation Mode
253
How to Read the A/D Converter Characteristics Table
256
A/D Converter Cautions
259
Chapter 14 Serial Interface Sio3
265
Functions of Serial Interface SIO3
265
Configuration of Serial Interface SIO3
266
Register to Control Serial Interface SIO3
267
Operations of Serial Interface SIO3
269
Operation Stop Mode
269
3-Wire Serial I/O Mode
270
Chapter 15 Serial Interface Csi1
273
Functions of Serial Interface CSI1
273
Configuration of Serial Interface CSI1
273
Registers to Control Serial Interface CSI1
275
Operations of Serial Interface CSI1
277
Operation Stop Mode
277
3-Wire Serial I/O Mode
277
Chapter 16 Serial Interface Uart0
286
Functions of Serial Interface UART0
286
Configuration of Serial Interface UART0
288
Registers to Control Serial Interface UART0
289
Serial Interface UART0 Operations
293
Operation Stop Mode
293
Asynchronous Serial Interface (UART) Mode
294
CHAPTER 17 SERIAL INTERFACE IIC0 ( Μ PD780344Y, 780354Y SUBSERIES ONLY)
306
Functions of Serial Interface IIC0
306
Serial Interface IIC0 Configuration
309
Registers to Control Serial Interface IIC0
310
I C Bus Mode Functions
319
Pin Configuration
319
C Bus Definitions and Control Methods
320
Start Conditions
320
Addresses
321
Transfer Direction Specification
321
Acknowledge (ACK) Signal
322
Stop Condition
323
Wait Signal (WAIT)
324
I 2 C Interrupt Requests (INTIIC0)
326
Interrupt Request (INTIIC0) Generation Timing and Wait Control
344
Address Match Detection Method
345
Error Detection
345
Extension Code
345
Arbitration
346
Wakeup Function
347
Communication Reservation
348
Other Cautions
350
Communication Operations
351
Timing Charts
353
Chapter 18 Lcd Controller/Driver
360
LCD Controller/Driver Functions
360
LCD Controller/Driver Configuration
361
Registers to Control LCD Controller/Driver
363
LCD Display RAM
370
LCD Controller/Driver Settings
371
Common Signals and Segment Signals
372
Supplying LCD Drive Voltages
375
LCD0 LCD1 , and
375
Display Modes
376
Static Display Example
376
3-Time-Division Display Example
379
4-Time-Division Display Example
382
Simultaneous Driving of Static Display and Dynamic Display
385
Chapter 19 Interrupt Functions
386
Interrupt Function Types
386
Interrupt Sources and Configuration
386
Interrupt Function Control Registers
390
Interrupt Servicing Operations
396
Non-Maskable Interrupt Request Acknowledge Operation
396
Maskable Interrupt Request Acknowledge Operation
399
Software Interrupt Request Acknowledge Operation
401
Nesting Processing
402
Interrupt Request Hold
405
Chapter 20 Standby Function
406
Standby Function and Configuration
406
Standby Function
406
Standby Function Control Register
407
Standby Function Operations
408
HALT Mode
408
STOP Mode
412
Chapter 21 Reset Function
415
Reset Function
415
Chapter 22 Rom Correction
419
ROM Correction Functions
419
ROM Correction Configuration
419
ROM Correction Control Register
421
ROM Correction Application
422
ROM Correction Example
425
Program Execution Flow
426
Cautions on ROM Correction
428
CHAPTER 23 Μ PD78F0354, 78F0354Y
429
Memory Size Switching Register
431
Internal Expansion RAM Size Switching Register
432
Flash Memory Characteristics
433
Programming Environment
433
Communication Mode
434
On-Board Pin Processing
437
Connection of Adapter for Flash Writing
440
Chapter 24 Instruction Set
444
Conventions
445
Operand Identifiers and Specification Methods
445
Description of "Operation" Column
446
Description of "Flag Operation" Column
446
Operation List
447
Instructions Listed by Addressing Type
455
Chapter 25 Electrical Specifications
459
Chapter 26 Characteristics Curves of Lcd Controller/Driver
479
(Reference Values)
479
Chapter 27 Package Drawings
481
Chapter 28 Recommended Soldering Conditions
483
Appendix A Development Tools
486
Software Package
488
Language Processing Software
488
Control Software
489
Flash Memory Writing Tools
489
Debugging Tools (Hardware)
490
Debugging Tools (Software)
491
Embedded Software
492
Package Drawing for Conversion Adapter (TGC-100SDW)
493
Appendix B Notes on Target System Design
494
Appendix C Register Index
496
Register Name Index
496
Register Symbol Index
499
Appendix D Revision History
502
Advertisement
Advertisement
Related Products
NEC mPD780344 Series
NEC mPD780344Y Series
NEC mPD780354Y Series
NEC mPD780343
NEC mPD780343Y
NEC mPD780353
NEC mPD780353Y
NEC mPD780204A
NEC mPD780123(A)
NEC mPD78012BA Series
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