Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
mPD16F15
NEC mPD16F15 Manuals
Manuals and User Guides for NEC mPD16F15. We have
1
NEC mPD16F15 manual available for free PDF download: Preliminary User's Manual
NEC mPD16F15 Preliminary User's Manual (389 pages)
8-bit Single-Chip Microcontroller
Brand:
NEC
| Category:
Microcontrollers
| Size: 1 MB
Table of Contents
Regional Information
3
Table of Contents
8
Chapter 1 Outline
26
Features
26
Application
26
Ordering Information
26
Internal High Capacity ROM and RAM
26
Pin Configuration (Top View)
27
Pin Configuration Μpd1615, Μpd16F15
27
Pin Configuration Μpd1616
28
Series Development
30
Block Diagram
31
Block Diagram Μpd1615, Μpd16F15
31
Block Diagram Μpd1616
32
Overview of Functions
33
Mask Options
34
Differences between Flash and Mask ROM Version
34
Chapter 2 Pin Function
36
Pin Function List
36
Pin Input/Output Types Μpd1615, Μpd16F15
36
Pin Input/Output Types Μpd1616
37
Non-Port Pins
38
Non-Port Pins Μpd1615, Μpd16F15
38
Non-Port Pins Μpd1616
39
Description of Pin Functions
40
P00 to P02, P06 and P07 (Port 0)
40
P10 to P13 (Port 1)
40
P40 to P47 (Port 4)
40
P80 to P87 (Port 8)
41
P90 to P97 (Port 9)
41
P100 to P107 (Port 10)
41
P110 to P117 (Port 11)
41
P120 to P127 (Port 12)
42
COM0 to COM3
42
VLC0 to VLC2
42
Avdd/Avref
43
Avss
43
Reset
43
X1 and X2
43
CL1 and CL2
43
Vdd0/Vdd1
43
Vss0/Vss1
43
VPP (Μpd16F15 Only)
43
Connection of IC Pins
43
Pin I/O Circuits and Recommended Connection of Unused Pins
44
Types of Pin Input/Output Circuits Μpd1615, Μpd16F15 (2/2)
44
Types of Pin Input/Output Circuits Μpd1616 (2/2)
46
Pin Input/Output Circuits
48
Chapter 3 CPU Architecture
51
Memory Space
51
Memory Map (Μpd1615, Μpd1616)
51
Memory Map (Μpd16F15)
52
Internal Program Memory Space
53
Internal ROM Capacities
53
Vectored Interrupts
54
Internal Data Memory Space
55
Special Function Register (SFR) Area
55
Data Memory Addressing
56
Data Memory Addressing (Μpd1615, Μpd1616)
56
Data Memory Addressing (Μpd16F15)
57
Processor Registers
58
Control Registers
58
Program Counter Configuration
58
Program Status Word Configuration
58
Stack Pointer Configuration
60
Data to be Saved to Stack Memory
60
Data to be Reset to Stack Memory
60
General Registers
61
General Register Configuration
61
Special Function Register (SFR)
62
Special Function Register List
63
Instruction Address Addressing
65
Relative Addressing
65
Immediate Addressing
66
Register Addressing
68
Operand Address Addressing
69
Implied Addressing
69
Register Addressing
70
Direct Addressing
71
Short Direct Addressing
72
Special Function Register (SFR) Addressing
73
Special-Function Register (SFR) Addressing
73
Register Indirect Addressing
74
Special-Function Register (SFR) Addressing
74
Based Addressing
75
Based Indexed Addressing
76
Stack Addressing
76
Chapter 4 Port Functions
78
Port Functions
78
Port Types
78
Pin Input/Output Types Μpd1615, Μpd16F15
79
Pin Input/Output Types Μpd1616
80
Port Configuration
81
Port 0
81
P00 to P02 and P06, P07 Configurations
82
Port 1
83
P10 to P13 Configurations
83
Port 4
84
P40 to P47 Configurations
84
Port 8
85
P80 to P87 Configurations
85
Port 9
86
P90 to P97 Configurations
86
Port 10
87
P100 to P107 Configurations
87
Port 11
88
Port 12
88
P110 to P117 Configurations
88
P120 to P127 Configurations
89
Port Function Control Registers
90
Port Mode Register Format
91
Port Function Register (PF8 to PF12) Format
92
Port Function Operations
93
Writing to Input/Output Port
93
Reading from Input/Output Port
93
Operations on Input/Output Port
93
Chapter 5 Clock Generator
95
Clock Generator Functions
95
Clock Generator Configuration
96
Clock Generator Control Register
97
System Clock Oscillator
98
Main System Clock Oscillator
98
Subsystem Clock Oscillator
99
When no Subsystem Clocks Are Used
101
Clock Generator Operations
102
Main System Clock Operations
103
Subsystem Clock Operations
104
Changing System Clock and CPU Clock Settings
105
Time Required for Switchover between System Clock and CPU Clock
105
Maximum Time Required for CPU Clock Switchover
105
System Clock and CPU Clock Switching Procedure
106
Chapter 6 16-Bit Timer/ Event Counter
108
16-Bit Timer/Event Counter Function
108
16-Bit Timer/Event Counter Configuration
109
Configuration of 16-Bit Timer/Event Counter (TM0)
109
Valid Edge of TI00 Pin and Valid Edge of Capture Trigger of Capture/Compare Register
111
Valid Edge of TI01 Pin and Valid Edge of Capture Trigger of Capture/Compare Register
111
16-Bit Timer/Event Counter Control Register
113
16-Bit Timer/Event Counter Operations
120
Operation as Interval Timer (16 Bits)
120
PPG Output Operation
122
Pulse Width Measurement
123
Operation as External Event Counter
130
Operation to Output Square Wave
132
Operation to Output One-Shot Pulse
134
16-Bit Timer/Event Counter Operating Precautions
139
Chapter 7 8-Bit Timer/Event Counters 50 and 51
143
8-Bit Timer/Event Counters 50 and 51 Functions
143
8-Bit Timer/Event Counter 50 Interval Times
144
8-Bit Timer/Event Counter 51 Interval Times
144
8-Bit Timer/Event Counter 50 Square-Wave Output Ranges
145
8-Bit Timer/Event Counters 50 and 51 Configurations
146
8-Bit Timer/Event Counters 50 and 51 Control Registers
149
8-Bit Timer/Event Counters 50 and 51 Operations
154
Interval Timer Operations
154
8-Bit Timer/Event Counters 50 Interval Times
157
8-Bit Timer/Event Counters 51 Interval Times
157
External Event Counter Operation
158
Square-Wave Output
159
8-Bit Timer/Event Counters 50 Square-Wave Output Ranges
160
8-Bit Timer/Event Counters 51 Square-Wave Output Ranges
160
PWM Output Operations
161
Cautions on 8-Bit Timer/Event Counters 50 and 51
164
Chapter 8 Watch Timer
167
Watch Timer Functions
167
Watch Timer Configuration
168
Watch Timer Mode Register (WTM)
169
Watch Timer Operations
170
Watch Timer Operation
170
Interval Timer Operation
170
Chapter 9 Watchdog Timer
173
Watchdog Timer Functions
173
Watchdog Timer Configuration
174
Watchdog Timer Control Registers
175
Watchdog Timer Operations
177
Watchdog Timer Operation
177
Interval Timer Operation
178
Chapter 10 Clock Output Control Circuit
180
Clock Output Control Circuit Functions
180
Clock Output Control Circuit Configuration
181
Clock Output Function Control Registers
182
Chapter 11 A/D Converter
185
A/D Converter Functions
185
A/D Converter Configuration
186
A/D Converter Control Registers
188
A/D Converter Operations
191
Basic Operations of A/D Converter
191
Input Voltage and Conversion Results
193
A/D Converter Operation Mode
194
A/D Converter Precautions
196
Cautions on Emulation
199
D/A Converter Mode Register (DAM0)
199
Chapter 12 Serial Interface Outline
201
Serial Interface Outline
201
Chapter 13 Serial Interface Channel 30
203
Serial Interface Channel 30 Functions
203
Serial Interface Channel 30 Configuration
204
List of Sfrs (Special Function Registers)
204
Serial Interface Control Registers
205
Serial Interface Operations
206
Operation Stop Mode
206
Three-Wire Serial I/O Mode
207
Chapter 14 Serial Interface UART
210
Serial Interface UART Functions
210
Serial Interface UART Configuration
211
List of SFRS (Special Function Registers)
212
Serial Interface Control Registers
212
Serial Interface Operations
216
Operation Stop Mode
216
Asynchronous Serial Interface (UART) Mode
216
Standby Function
228
Chapter 15 VAN Controller
230
Features
230
Overview of the VAN Bus
231
VAN UART Description
231
VAN UART Interface
231
Functional Description
235
Overview of the VAN UART Registers
235
Autonomous Mode Functions
236
Autonomous Mode Features
236
Programming of the Prescaler in Rank 0 Transmission (SOF Included)
236
Transmission Features in Autonomous Mode
237
Synchronous Mode Functions
238
Synchronous Mode Features
238
Transmission Features in Synchronous Mode
238
Handling of a Collision
238
Executing the CRC
238
CRC Transmission
238
Reception of the CRC
239
Control of the Acknowledge Bit
239
Error Control and Interrupt Control
239
Error Control
239
Interrupt Control
240
VAN UART Registers
243
Rank0 Transmission Register (RK0_REG)
244
In Frame Response Register (IFR_REG)
245
Control Register (CTRL_REG)
247
Configuration Register (CONF_REG)
250
Diagnosis Control Register (DIAG_CTRL_REG)
253
Mask1 Registers (MSK1_MSB_REG, MSK1_LSB_REG)
256
Acceptance Code 1 Registers (AC1_MSB_REG, AC1_LSB_REG)
257
Mask2 Registers (MSK2_MSB_REG, MSK2_LSB_REG)
258
Acceptance Code 2, 3 and 4 Registers
259
Status Register (STAT_REG)
260
Receive Register (REC_REG)
262
Diagnosis Status Register (DIAG_STAT_REG)
263
Interrupt Enable Register (INT_ENABLE_REG)
264
VAN Clock Selection Register (UDLCCL)
266
VAN UART Initialisation
267
Chapter 16 LCD Controller/Driver
269
LCD Controller/Driver Functions
269
LCD Controller/Driver Configuration
270
LCD Controller/Driver Control Registers
272
LCD Controller/Driver Settings
275
LCD Display Data Memory
276
Common Signals and Segment Signals
277
Supply of LCD Drive Voltages VLC0, VLC1, VLC2
281
Display Modes
284
Static Display Example
284
2-Time-Division Display Example
287
3-Time-Division Display Example
290
4-Time-Division Display Example
294
Chapter 17 Sound Generator
298
Sound Generator Function
298
Sound Generator Configuration
299
Sound Generator Control Registers
300
Sound Generator Operations
305
To Output Basic Cycle Signal SGOF (Without Amplitude)
305
To Output Basic Cycle Signal SGO (with Amplitude)
305
Chapter 18 Interrupt Functions
307
Interrupt Function Types
307
Interrupt Sources and Configuration
308
Interrupt Function Control Registers
311
Interrupt Servicing Operations
317
Non-Maskable Interrupt Request Acknowledge Operation
317
Maskable Interrupt Request Acknowledge Operation
320
Software Interrupt Request Acknowledge Operation
322
Multiple Interrupt Servicing
323
Interrupt Request Reserve
326
Chapter 19 Standby Function
328
Standby Function and Configuration
328
Standby Function
328
Standby Function Control Register
329
Standby Function Operations
330
HALT Mode
330
STOP Mode
333
Chapter 20 Reset Function
337
Reset Function
337
Chapter 21 Μpd16F15
342
Memory Size Switching Register (IMS)
343
Internal Extension RAM Size Switching Register
344
Flash Memory Programming
345
Selection of Transmission Method
345
Initialization of the Programming Mode
345
Flash Memory Programming Function
346
Flashpro Connection
346
Flash Programming Precautions
347
Chapter 22 Instruction Set
349
Legends Used in Operation List
350
Operand Identifiers and Description Methods
350
Description of "Operation" Column
351
Description of "Flag Operation" Column
351
Operation List
352
Instructions Listed by Addressing Type
360
Appendix A Development Tools
365
Language Processing Software
366
Flash Memory Writing Tools
367
Debugging Tools
367
Hardware
367
Software (1/2)
368
Software (2/2)
369
OS for IBM PC
370
Development Environment When Using IE-78001-R-A
371
Appendix B Embedded Software
373
Real-Time os (1/2)
374
Real-Time os (2/2)
375
Fuzzy Inference Development Support System
376
Appendix C Register Index
378
Register Index (in Alphabetical Order with Respect to Register Names)
378
Register Index (in Alphabetical Order with Respect to Register Symbol)
381
Appendix D Revision History
385
Advertisement
Advertisement
Related Products
NEC mPD1615
NEC mPD1616
NEC mPD17120 Subseries
NEC mPD17121
NEC mPD17132
NEC mPD17133
NEC mPD17P132
NEC mPD17P133
NEC mPD178054 Series
NEC mPD178053
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