Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
mPD78F9221
NEC mPD78F9221 Manuals
Manuals and User Guides for NEC mPD78F9221. We have
1
NEC mPD78F9221 manual available for free PDF download: Preliminary User's Manual
NEC mPD78F9221 Preliminary User's Manual (304 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 2.31 MB
Table of Contents
Table of Contents
9
Chapter 1 Overview
14
Features
14
Application Fields
14
Ordering Information
15
Pin Configuration (Top View)
15
78K0S/Kx1+ Product Lineup
16
Block Diagram
17
Functional Outline
18
Www.datasheet4U.com 1.7 Functional Outline
18
Chapter 2 Pin Functions
19
Pin Function List
19
Pin Functions
21
P20 to P23 (Port 2)
21
P30, P31, and P34 (Port 3)
21
P40 to P45 (Port 4)
22
P121 to P123 (Port 12)
22
P130 (Port 13)
22
Reset
22
X1 and X2
22
Av Ref
22
VDD
23
Vss
23
Pin I/O Circuits and Connection of Unused Pins
23
Chapter 3 Cpu Architecture
25
Memory Space
25
Internal Program Memory Space
27
Internal Data Memory Space
27
Special Function Register (SFR) Area
28
Data Memory Addressing
28
Processor Registers
30
Control Registers
30
General-Purpose Registers
32
Special Function Registers (Sfrs)
33
Instruction Address Addressing
36
Relative Addressing
36
Immediate Addressing
37
Register Addressing
38
Operand Address Addressing
39
Direct Addressing
39
Short Direct Addressing
40
Www.datasheet4U.com 3.4.2 Short Direct Addressing
40
Special Function Register (SFR) Addressing
41
Register Addressing
42
Register Indirect Addressing
43
Based Addressing
44
Stack Addressing
44
Chapter 4 Port Functions
45
Functions of Ports
45
Port Configuration
46
Port 2
47
Port 3
47
Www.datasheet4U.com 4.2.2 Port 3
48
Port 4
49
Port 12
54
Port 13
54
Registers Controlling Port Functions
56
Operation of Port Function
61
Writing to I/O Port
61
Reading from I/O Port
61
Operations on I/O Port
61
Chapter 5 Clock Generators
62
Functions of Clock Generators
62
System Clock Oscillators
62
Clock Oscillator for Interval Time Generation
62
Configuration of Clock Generators
63
Registers Controlling Clock Generators
65
System Clock Oscillators
68
High-Speed Ring-OSC Oscillator
68
Crystal/Ceramic Oscillator
69
External Clock Input Circuit
71
Prescaler
71
Operation of CPU Clock Generator
72
Operation of Clock Generator Supplying Clock to Peripheral Hardware
77
Chapter 6 16-Bit Timer/Event Counter 00
79
Functions of 16-Bit Timer/Event Counter 00
79
Configuration of 16-Bit Timer/Event Counter 00
80
Registers to Control 16-Bit Timer/Event Counter 00
84
Operation of 16-Bit Timer/Event Counter 00
90
Interval Timer Operation
90
External Event Counter Operation
93
Pulse Width Measurement Operations
96
Square-Wave Output Operation
104
PPG Output Operations
106
One-Shot Pulse Output Operation
109
Cautions Related to 16-Bit Timer/Event Counter 00
114
Chapter 7 8-Bit Timer 80
118
Function of 8-Bit Timer 80
118
Configuration of 8-Bit Timer 80
119
Register Controlling 8-Bit Timer 80
121
Operation of 8-Bit Timer 80
122
Operation as Interval Timer
122
Notes on 8-Bit Timer 80
124
Chapter 8 8-Bit Timer H1
125
Functions of 8-Bit Timer H1
125
Configuration of 8-Bit Timer H1
125
Registers Controlling 8-Bit Timer H1
128
Operation of 8-Bit Timer H1
131
Operation as Interval Timer/Square-Wave Output
131
Operation as PWM Output Mode
134
Chapter 9 Watchdog Timer
140
Functions of Watchdog Timer
140
Configuration of Watchdog Timer
142
Registers Controlling Watchdog Timer
143
Operation of Watchdog Timer
145
Watchdog Timer Operation When "Low-Speed Ring-OSC Cannot be Stopped" Is Selected by Option Byte
145
Watchdog Timer Operation When "Low-Speed Ring-OSC Can be Stopped by Software" Is Selected by Option Byte
147
Watchdog Timer Operation in STOP Mode (When "Low-Speed Ring-OSC Can be Stopped by Software" Is Selected by Option Byte)
149
Watchdog Timer Operation in HALT Mode (When "Low-Speed Ring-OSC Can be Stopped by Software" Is Selected by Option Byte)
151
Chapter 10 A/D Converter
152
Functions of A/D Converter
152
Configuration of A/D Converter
155
Registers Used by A/D Converter
157
A/D Converter Operations
162
Basic Operations of A/D Converter
162
Input Voltage and Conversion Results
164
A/D Converter Operation Mode
165
How to Read A/D Converter Characteristics Table
167
Cautions for A/D Converter
169
Chapter 11 Serial Interface Uart6
173
Functions of Serial Interface UART6
173
Configuration of Serial Interface UART6
177
Registers Controlling Serial Interface UART6
180
Operation of Serial Interface UART6
189
Operation Stop Mode
189
Asynchronous Serial Interface (UART) Mode
190
Dedicated Baud Rate Generator
206
Chapter 12 Interrupt Functions
213
Interrupt Function Types
213
Interrupt Sources and Configuration
214
Interrupt Function Control Registers
216
Www.datasheet4U.com 12.3 Interrupt Function Control Registers
216
Interrupt Servicing Operation
221
Maskable Interrupt Request Acknowledgment Operation
221
Multiple Interrupt Servicing
224
Interrupt Request Pending
225
Chapter 13 Standby Function
226
Standby Function and Configuration
226
Standby Function
226
Registers Used During Standby
228
Standby Function Operation
229
HALT Mode
229
STOP Mode
232
Chapter 14 Reset Function
236
Register for Confirming Reset Source
243
Chapter 15 Power-On-Clear Circuit
244
Functions of Power-On-Clear Circuit
244
Configuration of Power-On-Clear Circuit
245
Operation of Power-On-Clear Circuit
245
Cautions for Power-On-Clear Circuit
246
Chapter 16 Low-Voltage Detector
248
Functions of Low-Voltage Detector
248
Configuration of Low-Voltage Detector
248
Registers Controlling Low-Voltage Detector
249
Operation of Low-Voltage Detector
251
Cautions for Low-Voltage Detector
254
Chapter 17 Option Byte
257
Chapter 18 Flash Memory
260
Features
260
Memory Configuration
261
Functional Outline
262
Writing with Flash Programmer
264
Programming Environment
266
Communication Mode
266
Processing of Pins on Board
267
X1 and X2 Pins
267
RESET Pin
267
Port Pins
267
Power Supply
267
Www.datasheet4U.com
267
Programming Method
268
Controlling Flash Memory
268
Flash Memory Programming Mode
269
Communication Commands
269
Flash Memory Programming by Self Writing
270
Chapter 19 Instruction Set Overview
271
Operation
271
Operand Identifiers and Description Methods
271
Description of "Operation" Column
272
Description of "Flag" Column
272
Operation List
273
Instructions Listed by Addressing Type
278
Chapter 20 Electrical Specifications (Target Values)
281
Chapter 21 Package Drawing
293
Appendix A Development Tools
294
Software Package
296
Language Processing Software
296
A.1 Software Package
296
Control Software
297
Flash Memory Writing Tools
297
A.3 Control Software
297
Debugging Tools (Hardware)
298
Debugging Tools (Software)
299
Appendix B Notes on Target System Design
300
Appendix C Register Index
301
Register Index (Register Name)
301
Register Index (Symbol)
303
Advertisement
Advertisement
Related Products
NEC mPD78F9222
NEC mPD78F9436
NEC mPD78F9456
NEC mPD78F9026A
NEC mPD78F9116
NEC mPD78F9136
NEC mPD78F0537
NEC mPD78F4225
NEC mPD78F0852
NEC mPD78F0124(A)
NEC Categories
Monitor
Projector
Server
Telephone
Laptop
More NEC Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL