Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
78K0/KB1+
NEC 78K0/KB1+ Manuals
Manuals and User Guides for NEC 78K0/KB1+. We have
1
NEC 78K0/KB1+ manual available for free PDF download: Preliminary User's Manual
NEC 78K0/KB1+ Preliminary User's Manual (405 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 3.2 MB
Table of Contents
Table of Contents
9
Chapter 1 Outline
15
Features
15
Applications
16
Ordering Information
16
Pin Configuration (Top View)
17
K1 Family Lineup
18
78K0/Kx1, 78K0/Kx1+ Product Lineup
18
V850Es/Kx1, V850Es/Kx1+ Product Lineup
21
Block Diagram
24
Outline of Functions
25
Chapter 2 Pin Functions
27
Pin Function List
27
Description of Pin Functions
29
P00 to P03 (Port 0)
29
P10 to P17 (Port 1)
29
P20 to P23 (Port 2)
30
P30 to P33 (Port 3)
30
P120 (Port 12)
30
P130 (Port 13)
31
Av Ref
31
Av Ss
31
Reset
31
X1 and X2
31
CL1 and CL2
31
VDD
31
Vss
31
FLMD0 and FLMD1
31
Pin I/O Circuits and Recommended Connection of Unused Pins
32
Chapter 3 Cpu Architecture
34
Memory Space
34
Internal Program Memory Space
38
Internal Data Memory Space
39
Special Function Register (SFR) Area
39
Data Memory Addressing
40
Processor Registers
43
Control Registers
43
General-Purpose Registers
47
Special Function Registers (Sfrs)
48
Instruction Address Addressing
52
Relative Addressing
52
Immediate Addressing
53
Register Addressing
54
Operand Address Addressing
55
Implied Addressing
55
Register Addressing
56
Direct Addressing
57
Short Direct Addressing
58
Special Function Register (SFR) Addressing
59
Register Indirect Addressing
60
Based Addressing
61
Based Indexed Addressing
62
Stack Addressing
63
Chapter 4 Port Functions
64
Port Functions
64
Port Configuration
65
Port 0
66
Port 1
69
Port 2
74
Port 3
75
Port 12
76
Port 13
77
Registers Controlling Port Function
77
Port Function Operations
81
Writing to I/O Port
81
Reading from I/O Port
81
Operations on I/O Port
81
Chapter 5 Clock Generator
82
Functions of Clock Generator
82
Configuration of Clock Generator
82
Registers Controlling Clock Generator
84
System Clock Oscillator
91
High-Speed System Clock Oscillator
91
Ring-OSC Oscillator
95
Prescaler
95
Clock Generator Operation
95
Time Required to Switch between Ring-OSC Clock and High-Speed System Clock
100
Time Required for CPU Clock Switchover
100
Clock Switching Flowchart and Register Setting
101
Switching from Ring-OSC Clock to High-Speed System Clock
101
Switching from High-Speed System Clock to Ring-OSC Clock
102
Register Settings
103
Chapter 6 16-Bit Timer/Event Counter 00
104
Functions of 16-Bit Timer/Event Counter 00
104
Configuration of 16-Bit Timer/Event Counter 00
105
Registers Controlling 16-Bit Timer/Event Counter 00
109
Operation of 16-Bit Timer/Event Counter 00
115
Interval Timer Operation
115
PPG Output Operations
118
Pulse Width Measurement Operations
121
External Event Counter Operation
129
Square-Wave Output Operation
132
One-Shot Pulse Output Operation
134
Cautions for 16-Bit Timer/Event Counter 00
139
Chapter 7 8-Bit Timer/Event Counter 50
142
Functions of 8-Bit Timer/Event Counter 50
142
Configuration of 8-Bit Timer/Event Counter 50
143
Registers Controlling 8-Bit Timer/Event Counter 50
145
Operations of 8-Bit Timer/Event Counter 50
148
Operation as Interval Timer
148
Operation as External Event Counter
150
Operation as Square-Wave Output
151
Operation as PWM Output
152
Cautions for 8-Bit Timer/Event Counter 50
154
Chapter 8 8-Bit Timers H0 and H1
155
Functions of 8-Bit Timers H0 and H1
155
Configuration of 8-Bit Timers H0 and H1
155
Registers Controlling 8-Bit Timers H0 and H1
159
Operation of 8-Bit Timers H0 and H1
163
Operation as Interval Timer/Square-Wave Output
163
Operation as PWM Output Mode
166
Chapter 9 Watchdog Timer
172
Functions of Watchdog Timer
172
Configuration of Watchdog Timer
174
Registers Controlling Watchdog Timer
174
Operation of Watchdog Timer
177
Watchdog Timer Operation When "Ring-OSC Cannot be Stopped" Is Selected by Option Byte
177
Watchdog Timer Operation When "Ring-OSC Can be Stopped by Software" Is Selected by Option Byte
178
Watchdog Timer Operation in STOP Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Option Byte)
179
Watchdog Timer Operation in HALT Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Option Byte)
181
Chapter 10 A/D Converter
182
Function of A/D Converter
182
Configuration of A/D Converter
183
Registers Used in A/D Converter
185
A/D Converter Operations
189
Basic Operations of A/D Converter
189
Input Voltage and Conversion Results
191
A/D Converter Operation Mode
192
How to Read A/D Converter Characteristics Table
195
Cautions for A/D Converter
197
CHAPTER 11 SERIAL INTERFACE UART0 ( Μ PD78F0102H and 78F0103H ONLY)
202
Functions of Serial Interface UART0
202
Configuration of Serial Interface UART0
203
Registers Controlling Serial Interface UART0
206
Operation of Serial Interface UART0
211
Operation Stop Mode
211
Asynchronous Serial Interface (UART) Mode
212
Dedicated Baud Rate Generator
218
Chapter 12 Serial Interface Uart6
223
Functions of Serial Interface UART6
223
Configuration of Serial Interface UART6
227
Registers Controlling Serial Interface UART6
230
Operation of Serial Interface UART6
240
Operation Stop Mode
240
Asynchronous Serial Interface (UART) Mode
241
Dedicated Baud Rate Generator
256
Chapter 13 Serial Interface Csi10
263
Functions of Serial Interface CSI10
263
Configuration of Serial Interface CSI10
263
Registers Controlling Serial Interface CSI10
265
Operation of Serial Interface CSI10
268
Operation Stop Mode
268
3-Wire Serial I/O Mode
269
Chapter 14 Interrupt Functions
277
Interrupt Function Types
277
Interrupt Sources and Configuration
277
Registers Controlling Interrupt Function
280
Interrupt Servicing Operations
286
Maskable Interrupt Request Acknowledgment
286
Software Interrupt Request Acknowledgment
288
Multiple Interrupt Servicing
289
Interrupt Request Hold
292
Chapter 15 Standby Function
293
Standby Function and Configuration
293
Standby Function
293
Registers Controlling Standby Function
295
Standby Function Operation
297
HALT Mode
297
STOP Mode
300
Chapter 16 Reset Function
304
Register for Confirming Reset Source
310
Chapter 17 Clock Monitor
311
Functions of Clock Monitor
311
Configuration of Clock Monitor
311
Register Controlling Clock Monitor
312
Operation of Clock Monitor
313
Chapter 18 Power-On-Clear Circuit
318
Functions of Power-On-Clear Circuit
318
Configuration of Power-On-Clear Circuit
319
Operation of Power-On-Clear Circuit
319
Cautions for Power-On-Clear Circuit
320
Chapter 19 Low-Voltage Detector
322
Functions of Low-Voltage Detector
322
Configuration of Low-Voltage Detector
322
Registers Controlling Low-Voltage Detector
323
Operation of Low-Voltage Detector
325
Cautions for Low-Voltage Detector
329
Chapter 20 Option Byte
332
Chapter 21 Flash Memory
333
Internal Memory Size Switching Register
334
Writing with Flash Programmer
335
Programming Environment
339
Communication Mode
339
Handling of Pins on Board
342
FLMD0 Pin
342
FLMD1 Pin
342
Serial Interface Pins
343
RESET Pin
345
Port Pins
345
Other Signal Pins
345
Power Supply
345
Programming Method
346
Controlling Flash Memory
346
Flash Memory Programming Mode
346
Selecting Communication Mode
347
Communication Commands
348
Flash Memory Programming by Self-Writing
349
Registers Used for Self-Programming Function
350
Boot Swap Function
354
Outline of Boot Swap Function
354
Memory Map and Boot Area
355
Chapter 22 Instruction Set
358
Conventions Used in Operation List
358
Operand Identifiers and Specification Methods
358
Description of Operation Column
359
Description of Flag Operation Column
359
Operation List
360
Instructions Listed by Addressing Type
368
Chapter 23 Electrical Specifications (Target)
371
Chapter 24 Package Drawing
384
Chapter 25 Cautions for Wait
385
Cautions for Wait
385
Peripheral Hardware that Generates Wait
386
Example of Wait Occurrence
387
Appendix A Development Tools
388
Software Package
392
Language Processing Software
393
Control Software
394
Flash Memory Writing Tools
394
Debugging Tools (Hardware)
395
When Using In-Circuit Emulators IE-78K0-NS and IE-78K0-NS-A
395
When Using In-Circuit Emulator IE-78K0K1-ET
396
When Using In-Circuit Emulator IECUBE for 78K0/Kx1+ (Name Pending)
396
Debugging Tools (Software)
397
Appendix B Notes on Target System Design
398
Appendix C Register Index
400
Register Index (in Alphabetical Order with Respect to Register Names)
400
Register Index (in Alphabetical Order with Respect to Register Symbol)
403
Advertisement
Advertisement
Related Products
NEC 78K0/KD1 Series
NEC 78K0/KD1+
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