Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
78K0/KD1+
NEC 78K0/KD1+ Manuals
Manuals and User Guides for NEC 78K0/KD1+. We have
1
NEC 78K0/KD1+ manual available for free PDF download: Preliminary User's Manual
NEC 78K0/KD1+ Preliminary User's Manual (456 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 2 MB
Table of Contents
Notes for Cmos Devices
3
Regional Information
5
Table of Contents
9
Chapter 1 Outline
16
Features
16
Applications
17
Ordering Information
17
Pin Configuration (Top View)
18
K1 Family Lineup
20
78K0/Kx1, 78K0/Kx1+ Product Lineup
20
RESET Pin
21
V850Es/Kx1, V850Es/Kx1+ Product Lineup
23
Block Diagram
26
Outline of Functions
27
Chapter 2 Pin Functions
29
Pin Function List
29
Description of Pin Functions
32
P00 to P03 (Port 0)
32
P10 to P17 (Port 1)
32
P20 to P27 (Port 2)
33
P30 to P33 (Port 3)
33
P60 to P63 (Port 6)
34
P70 to P77 (Port 7)
34
P120 (Port 12)
34
P130 (Port 13)
34
P140 (Port 14)
34
Av Ref
35
Av Ss
35
Reset
35
X1 and X2
35
XT1 and XT2
35
VDD and EV DD
35
VSS and EV SS
35
FLMD0 and FLMD1
35
Pin I/O Circuits and Recommended Connection of Unused Pins
36
Chapter 3 Cpu Architecture
39
Memory Space
39
Internal Program Memory Space
44
Internal Data Memory Space
45
Special Function Register (SFR) Area
45
Data Memory Addressing
46
Processor Registers
50
Control Registers
50
General-Purpose Registers
54
Special Function Registers (Sfrs)
55
Instruction Address Addressing
59
Relative Addressing
59
Immediate Addressing
60
Register Addressing
61
Operand Address Addressing
62
Implied Addressing
62
Register Addressing
63
Direct Addressing
64
Short Direct Addressing
65
Special Function Register (SFR) Addressing
66
Register Indirect Addressing
67
Based Addressing
68
Based Indexed Addressing
69
Stack Addressing
70
Chapter 4 Port Functions
71
Port Functions
71
Port Configuration
73
Port 0
74
Port 1
77
Port 2
82
Port 3
83
On-Chip Debug
83
Port 6
85
Port 7
86
Port 12
87
Port 13
88
Port 14
89
Registers Controlling Port Function
90
Port Function Operations
94
Writing to I/O Port
94
Reading from I/O Port
94
Operations on I/O Port
94
Chapter 5 Clock Generator
95
Functions of Clock Generator
95
Configuration of Clock Generator
95
Registers Controlling Clock Generator
97
System Clock Oscillator
105
High-Speed System Clock Oscillator
105
Subsystem Clock Oscillator
105
When Subsystem Clock Is Not Used
108
Ring-OSC Oscillator
108
Prescaler
108
Clock Generator Operation
109
Time Required to Switch between Ring-OSC Clock and High-Speed System Clock
116
Time Required for CPU Clock Switchover
117
Clock Switching Flowchart and Register Setting
118
Switching from Ring-OSC Clock to High-Speed System Clock
118
Switching from High-Speed System Clock to Ring-OSC Clock
119
Switching from High-Speed System Clock to Subsystem Clock
120
Switching from Subsystem Clock to High-Speed System Clock
121
Register Settings
122
Chapter 6 16-Bit Timer/Event Counter 00
123
Functions of 16-Bit Timer/Event Counter 00
123
Configuration of 16-Bit Timer/Event Counter 00
124
Registers Controlling 16-Bit Timer/Event Counter 00
128
Operation of 16-Bit Timer/Event Counter 00
134
Interval Timer Operation
134
PPG Output Operations
136
Pulse Width Measurement Operations
139
External Event Counter Operation
147
Square-Wave Output Operation
149
One-Shot Pulse Output Operation
151
Cautions for 16-Bit Timer/Event Counter 00
156
Chapter 7 8-Bit Timer/Event Counters 50 and 51
159
Functions of 8-Bit Timer/Event Counters 50 and 51
159
Configuration of 8-Bit Timer/Event Counters 50 and 51
161
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
163
Operations of 8-Bit Timer/Event Counters 50 and 51
168
Operation as Interval Timer
168
Operation as External Event Counter
170
Square-Wave Output Operation
171
PWM Output Operation
172
Cautions for 8-Bit Timer/Event Counters 50 and 51
176
Chapter 8 8-Bit Timers H0 and H1
177
Functions of 8-Bit Timers H0 and H1
177
Configuration of 8-Bit Timers H0 and H1
177
Registers Controlling 8-Bit Timers H0 and H1
181
Operation of 8-Bit Timers H0 and H1
187
Operation as Interval Timer/Square-Wave Output
187
Operation as PWM Output Mode
190
Carrier Generator Mode Operation (8-Bit Timer H1 Only)
196
Chapter 9 Watch Timer
203
Functions of Watch Timer
203
Configuration of Watch Timer
205
Register Controlling Watch Timer
205
Watch Timer Operations
207
Watch Timer Operation
207
Interval Timer Operation
208
Cautions for Watch Timer
209
Chapter 10 Watchdog Timer
210
Functions of Watchdog Timer
210
Configuration of Watchdog Timer
212
Registers Controlling Watchdog Timer
212
Operation of Watchdog Timer
215
Watchdog Timer Operation When "Ring-OSC Cannot be Stopped" Is Selected by Option Byte
215
Watchdog Timer Operation When "Ring-OSC Can be Stopped by Software" Is Selected by Option Byte
216
Watchdog Timer Operation in STOP Mode
217
(When "Ring-OSC Can be Stopped by Software" Is Selected by Option Byte)
217
Watchdog Timer Operation in HALT Mode
219
(When "Ring-OSC Can be Stopped by Software" Is Selected by Option Byte)
219
Chapter 11 Clock Output Controller
220
Functions of Clock Output Controller
220
Configuration of Clock Output Controller
220
Registers Controlling Clock Output Controller
221
Clock Output Controller Operations
222
Chapter 12 A/D Converter
223
Functions of A/D Converter
223
Configuration of A/D Converter
224
Registers Used in A/D Converter
226
A/D Converter Operations
231
Basic Operations of A/D Converter
231
Input Voltage and Conversion Results
233
A/D Converter Operation Mode
234
How to Read A/D Converter Characteristics Table
237
Cautions for A/D Converter
239
Chapter 13 Serial Interface Uart0
244
Functions of Serial Interface UART0
244
Configuration of Serial Interface UART0
245
Registers Controlling Serial Interface UART0
248
Operation of Serial Interface UART0
253
Operation Stop Mode
253
Chapter 4 Port Functions
253
Asynchronous Serial Interface (UART) Mode
254
Dedicated Baud Rate Generator
260
Chapter 14 Serial Interface Uart6
265
Functions of Serial Interface UART6
265
Configuration of Serial Interface UART6
269
Registers Controlling Serial Interface UART6
272
Operation of Serial Interface UART6
281
Operation Stop Mode
281
Asynchronous Serial Interface (UART) Mode
282
Dedicated Baud Rate Generator
297
Chapter 15 Serial Interface Csi10
304
Functions of Serial Interface CSI10
304
Configuration of Serial Interface CSI10
304
Registers Controlling Serial Interface CSI10
306
CHAPTER 4 PORT FUNCTIONS, Caution 3 of Figure 15-3, and Table
306
Operation of Serial Interface CSI10
309
Operation Stop Mode
309
3-Wire Serial I/O Mode
310
Chapter 16 Interrupt Functions
318
Interrupt Function Types
318
Interrupt Sources and Configuration
318
Registers Controlling Interrupt Functions
323
Interrupt Servicing Operations
329
Maskable Interrupt Request Acknowledgment
329
Software Interrupt Request Acknowledgment
331
Multiple Interrupt Servicing
332
Interrupt Request Hold
335
Chapter 17 Key Interrupt Function
336
Functions of Key Interrupt
336
Configuration of Key Interrupt
336
Register Controlling Key Interrupt
337
Chapter 18 Standby Function
338
Standby Function and Configuration
338
Standby Function
338
Registers Controlling Standby Function
340
Standby Function Operation
342
HALT Mode
342
STOP Mode
347
Chapter 19 Reset Function
351
Register for Confirming Reset Source
357
Chapter 20 Clock Monitor
358
Functions of Clock Monitor
358
Configuration of Clock Monitor
358
Register Controlling Clock Monitor
359
Operation of Clock Monitor
360
Chapter 21 Power-On-Clear Circuit
365
Functions of Power-On-Clear Circuit
365
Configuration of Power-On-Clear Circuit
366
Operation of Power-On-Clear Circuit
366
Cautions for Power-On-Clear Circuit
367
Chapter 22 Low-Voltage Detector
369
Functions of Low-Voltage Detector
369
Configuration of Low-Voltage Detector
369
Registers Controlling Low-Voltage Detector
370
Operation of Low-Voltage Detector
372
Cautions for Low-Voltage Detector
376
Chapter 23 Option Byte
380
Chapter 24 Flash Memory
381
Internal Memory Size Switching Register
382
Writing with Flash Programmer
383
Programming Environment
387
Communication Mode
388
Handling of Pins on Board
390
FLMD0 Pin
390
FLMD1 Pin
390
Serial Interface Pins
391
RESET Pin
392
Port Pins
393
Other Signal Pins
393
Power Supply
393
Programming Method
394
Controlling Flash Memory
394
Flash Memory Programming Mode
395
Selecting Communication Mode
396
Communication Commands
397
Flash Memory Programming by Self-Writing
398
Registers Used for Self-Programming Function
399
Boot Swap Function
403
Outline of Boot Swap Function
403
Memory Map and Boot Area
404
CHAPTER 25 ON-CHIP DEBUG FUNCTION ( Μ PD78F0124HD ONLY)
408
Chapter 26 Instruction Set
409
Conventions Used in Operation List
409
Operand Identifiers and Specification Methods
409
Description of Operation Column
410
Description of Flag Operation Column
410
Operation List
411
Instructions Listed by Addressing Type
419
Chapter 27 Electrical Specifications (Target)
422
Basic Operation
428
Serial Interface
430
Clock Timing
431
Chapter 28 Package Drawing
436
Chapter 29 Cautions for Wait
437
Cautions for Wait
437
Peripheral Hardware that Generates Wait
438
Example of Wait Occurrence
439
Appendix A Development Tools
440
Software Package
444
Language Processing Software
444
Control Software
445
Flash Memory Writing Tools
445
Debugging Tools (Hardware)
446
When Using In-Circuit Emulators IE-78K0-NS and IE-78K0-NS-A
446
When Using In-Circuit Emulator IE-78K0K1-ET
447
When Using In-Circuit Emulator IECUBE for 78K0/Kx1+ (Provisional Name)
447
Debugging Tools (Software)
448
Appendix B Notes on Target System Design
449
Appendix C Register Index
451
Register Index (in Alphabetical Order with Respect to Register Names)
451
Register Index (in Alphabetical Order with Respect to Register Symbol)
454
Advertisement
Advertisement
Related Products
NEC 78K0/KD1 Series
NEC 78K0/KB1+
NEC 78K0S/KA1+
NEC 78K0S/KB1+
NEC 78K/0S Series
NEC 78K0S/KU1+
NEC 78K0S/K 1+ Series
NEC 78K0S/KY1+
NEC 78K0/L 3 - See it! Series
NEC 78K0/Fx2
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