Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
78K0S/KB1+
User Manuals: NEC 78K0S/KB1+ Microcontroller
Manuals and User Guides for NEC 78K0S/KB1+ Microcontroller. We have
5
NEC 78K0S/KB1+ Microcontroller manuals available for free PDF download: User Manual, Application Note
NEC 78K0S/KB1+ User Manual (406 pages)
8-bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 3.97 MB
Table of Contents
Table of Contents
8
Chapter 1 Overview
14
Features
14
Ordering Information
15
Pin Configuration (Top View)
16
78K0S/Kx1+ Product Lineup
17
Block Diagram
18
Functional Outline
19
Chapter 2 Pin Functions
20
Pin Function List
20
Pin Functions
22
P00 to P03 (Port 0)
22
P20 to P23 (Port 2)
22
P30 to P34 (Port 3)
22
P40 to P47 (Port 4)
23
P120 to P123 (Port 12)
23
P130 (Port 13)
23
Reset
23
X1 and X2
24
Av Ref
24
Av Ss
24
VDD
24
Vss
24
Pin I/O Circuits and Connection of Unused Pins
25
Chapter 3 Cpu Architecture
27
Memory Space
27
Internal Program Memory Space
29
Internal Data Memory Space
29
Special Function Register (SFR) Area
30
Data Memory Addressing
30
Processor Registers
32
Control Registers
32
General-Purpose Registers
35
Special Function Registers (Sfrs)
36
Instruction Address Addressing
39
Relative Addressing
39
Immediate Addressing
40
Register Addressing
41
Operand Address Addressing
42
Direct Addressing
42
Short Direct Addressing
43
Special Function Register (SFR) Addressing
44
Register Addressing
45
Register Indirect Addressing
46
Based Addressing
47
Stack Addressing
48
Chapter 4 Port Functions
49
Functions of Ports
49
Port Configuration
51
Port 0
52
Port 2
53
Port 3
54
Port 4
57
Port 12
60
Port 13
62
Registers Controlling Port Functions
63
Operation of Port Function
68
Writing to I/O Port
68
Reading from I/O Port
68
Operations on I/O Port
68
Chapter 5 Clock Generators
69
Functions of Clock Generators
69
System Clock Oscillators
69
Clock Oscillator for Interval Time Generation
69
Configuration of Clock Generators
70
Registers Controlling Clock Generators
72
System Clock Oscillators
75
High-Speed Internal Oscillator
75
Crystal/Ceramic Oscillator
75
External Clock Input Circuit
77
Prescaler
77
Operation of CPU Clock Generator
78
Operation of Clock Generator Supplying Clock to Peripheral Hardware
83
Chapter 6 16-Bit Timer/Event Counter 00
85
Functions of 16-Bit Timer/Event Counter 00
85
Configuration of 16-Bit Timer/Event Counter 00
86
Registers to Control 16-Bit Timer/Event Counter 00
90
Operation of 16-Bit Timer/Event Counter 00
96
Interval Timer Operation
96
External Event Counter Operation
98
Pulse Width Measurement Operations
101
Square-Wave Output Operation
109
PPG Output Operations
111
One-Shot Pulse Output Operation
114
Cautions Related to 16-Bit Timer/Event Counter 00
119
Chapter 7 8-Bit Timer 80
126
Function of 8-Bit Timer 80
126
Configuration of 8-Bit Timer 80
127
Register Controlling 8-Bit Timer 80
129
Operation of 8-Bit Timer 80
130
Operation as Interval Timer
130
Notes on 8-Bit Timer 80
132
Chapter 8 8-Bit Timer H1
133
Functions of 8-Bit Timer H1
133
Configuration of 8-Bit Timer H1
133
Registers Controlling 8-Bit Timer H1
136
Operation of 8-Bit Timer H1
139
Operation as Interval Timer/Square-Wave Output
139
Operation as PWM Output Mode
142
Chapter 9 Watchdog Timer
148
Functions of Watchdog Timer
148
Configuration of Watchdog Timer
150
Registers Controlling Watchdog Timer
151
Operation of Watchdog Timer
153
Watchdog Timer Operation When "Low-Speed Internal Oscillator Cannot be Stopped" Is Selected by Option Byte
153
Watchdog Timer Operation When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte
155
Watchdog Timer Operation in STOP Mode (When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte)
157
Watchdog Timer Operation in HALT Mode (When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte)
159
Chapter 10 A/D Converter
160
Functions of A/D Converter
160
Configuration of A/D Converter
162
Registers Used by A/D Converter
164
A/D Converter Operations
169
Basic Operations of A/D Converter
169
Input Voltage and Conversion Results
171
A/D Converter Operation Mode
172
How to Read A/D Converter Characteristics Table
174
Cautions for A/D Converter
176
Chapter 11 Serial Interface Uart6
179
Functions of Serial Interface UART6
179
Configuration of Serial Interface UART6
183
Registers Controlling Serial Interface UART6
186
Operation of Serial Interface UART6
195
Operation Stop Mode
195
Asynchronous Serial Interface (UART) Mode
196
Dedicated Baud Rate Generator
210
Chapter 12 Multiplier
217
Multiplier Function
217
Multiplier Configuration
217
Multiplier Control Register
219
Multiplier Operation
220
Chapter 13 Interrupt Functions
222
Interrupt Function Types
222
Interrupt Sources and Configuration
223
Interrupt Function Control Registers
225
Interrupt Servicing Operation
230
Maskable Interrupt Request Acknowledgment Operation
230
Multiple Interrupt Servicing
232
Interrupt Request Pending
234
Chapter 14 Standby Function
235
Standby Function and Configuration
235
Standby Function
235
Registers Used During Standby
237
Standby Function Operation
238
HALT Mode
238
STOP Mode
241
Chapter 15 Reset Function
245
Register for Confirming Reset Source
252
Chapter 16 Power-On-Clear Circuit
253
Functions of Power-On-Clear Circuit
253
Configuration of Power-On-Clear Circuit
254
Operation of Power-On-Clear Circuit
254
Cautions for Power-On-Clear Circuit
255
Chapter 17 Low-Voltage Detector
257
Functions of Low-Voltage Detector
257
Configuration of Low-Voltage Detector
257
Registers Controlling Low-Voltage Detector
258
Operation of Low-Voltage Detector
260
Cautions for Low-Voltage Detector
263
Chapter 18 Option Byte
266
Functions of Option Byte
266
Format of Option Byte
267
Caution When the RESET Pin Is Used as an Input-Only Port Pin (P34)
268
Chapter 19 Flash Memory
269
Features
269
Memory Configuration
270
Functional Outline
271
Writing with Flash Memory Programmer
272
Programming Environment
273
Pin Connection on Board
275
X1 and X2 Pins
275
RESET Pin
276
Port Pins
277
Power Supply
277
On-Board and Off-Board Flash Memory Programming
278
Flash Memory Programming Mode
278
Communication Commands
278
Security Settings
279
Flash Memory Programming by Self Writing
280
Outline of Self Programming
280
Cautions on Self Programming Function
283
Registers Used for Self Programming Function
283
Example of Shifting Normal Mode to Self Programming Mode
291
Example of Shifting Self Programming Mode to Normal Mode
294
Example of Block Erase Operation in Self Programming Mode
297
Example of Block Blank Check Operation in Self Programming Mode
300
Example of Byte Write Operation in Self Programming Mode
303
Examples of Internal Verify Operation in Self Programming Mode
306
Examples of Operation When Command Execution Time Should be Minimized in Self Programming Mode
310
Examples of Operation When Interrupt-Disabled Time Should be Minimized in Self Programming Mode
317
Chapter 20 Instruction Set Overview
328
Operation
328
Operand Identifiers and Description Methods
328
Description of "Operation" Column
329
Description of "Flag" Column
329
Operation List
330
Instructions Listed by Addressing Type
335
CHAPTER 21 ELECTRICAL SPECIFICATIONS (Standard Product, (A) Grade Product)
338
CHAPTER 22 ELECTRICAL SPECIFICATIONS (TARGET VALUES) ((A2) Grade Product)
350
Chapter 23 Package Drawing
364
Chapter 24 Recommended Soldering Conditions
365
Appendix A Development Tools
367
Software Package
370
Language Processing Software
370
A.1 Software Package
370
Control Software
371
A.3 Control Software
371
Flash Memory Writing Tools
372
Debugging Tools (Hardware)
372
When Using In-Circuit Emulator QB-78K0SKX1 (under Development)
372
When Using In-Circuit Emulator QB-MINI2
373
When Using In-Circuit Emulator IE-78K0S-NS or IE-78K0S-NS-A
373
When Using In-Circuit Emulator QB-78K0SKX1MINI
373
Debugging Tools (Software)
374
Appendix B Notes on Target System Design
375
Appendix C Register Index
377
Register Index (Register Name)
377
Register Index (Symbol)
380
Appendix D List of Cautions
383
Appendix E Revision History
402
Major Revisions in this Edition
402
Revision History up to Previous Editions
404
Advertisement
NEC 78K0S/KB1+ Application Note (49 pages)
Sample Program (16-bit Timer/Event Counter 00) Interval Timer
Brand:
NEC
| Category:
Microcontrollers
| Size: 1.81 MB
Table of Contents
Table of Contents
1
Chapter 1 Overview
3
Main Contents of the Initial Settings
3
Contents Following the Main Loop
4
Chapter 2 Circuit Diagram
5
Circuit Diagram
5
Peripheral Hardware
5
Chapter 3 Software
6
File Configuration
6
Internal Peripheral Functions to be Used
7
Initial Settings and Operation Overview
7
Flow Charts
9
Chapter 4 Setting Methods
10
Setting the Interval Timer Function of 16-Bit Timer/Event Counter 00
10
Setting the LED Blinking Cycle and Chattering Detection Time
25
Chapter 5 Operation Check Using System Simulator Sm
29
Building the Sample Program
29
Operation with SM
30
Chapter 6 Related Documents
35
Appendix A Program List
36
Appendix B Revision History
48
NEC 78K0S/KB1+ Application Note (44 pages)
LED Lighting Switch Control Sample Program (Initial Settings)
Brand:
NEC
| Category:
Microcontrollers
| Size: 1.11 MB
Table of Contents
Table of Contents
1
Chapter 1 Overview
3
Chapter 2 Circuit Diagram
4
Circuit Diagram
4
Peripheral Hardware
4
Chapter 3 Software
5
File Configuration
5
Internal Peripheral Functions to be Used
6
Initial Settings and Operation Overview
6
Flow Chart
7
Chapter 4 Setting Methods
8
Option Byte Setting
8
Vector Table Setting
12
Stack Pointer Setting
13
Watchdog Timer Setting
14
Clock Setting
17
Port Setting
23
Main Processing
27
Chapter 5 Operation Check Using System Simulator Sm
29
Building the Sample Program
29
Operation with SM
31
Chapter 6 Related Documents
35
Appendix A Program List
36
Appendix B Revision History
43
Advertisement
NEC 78K0S/KB1+ Application Note (38 pages)
External Event Counter
Brand:
NEC
| Category:
Microcontrollers
| Size: 1.55 MB
Table of Contents
Table of Contents
1
Chapter 1 Overview
3
Main Contents of the Initial Settings
3
Contents Following the Main Loop
3
Chapter 2 Circuit Diagram
4
Circuit Diagram
4
Peripheral Hardware
4
Chapter 3 Software
5
File Configuration
5
Internal Peripheral Functions to be Used
6
Initial Settings and Operation Overview
6
Flow Charts
8
Chapter 4 Setting Methods
9
Setting the External Event Counter Function of 16-Bit Timer/Event Counter 00
9
Chapter 5 Operation Check Using System Simulator Sm
22
Building the Sample Program
22
Operation with SM
23
Chapter 6 Related Documents
26
Appendix A Program List
27
Appendix B Revision History
37
NEC 78K0S/KB1+ Application Note (37 pages)
Sample Program (Watchdog Timer) 131 ms Interval Runaway Detection
Brand:
NEC
| Category:
Microcontrollers
| Size: 1.11 MB
Table of Contents
Table of Contents
1
Chapter 1 Overview
3
Main Contents of Initial Settings
4
Contents Following the Main Loop
4
Chapter 2 Circuit Diagram
6
Circuit Diagram
6
Peripheral Hardware
6
Chapter 3 Software
7
File Configuration
7
Internal Peripheral Functions to be Used
8
Initial Settings and Operation Overview
8
Flow Chart
10
Chapter 4 Setting Methods
11
Watchdog Timer (WDT) Setting
11
Chapter 5 Operation Check Using the Device
19
Building the Sample Program
19
Operation with the Device
21
Chapter 6 Related Documents
23
Appendix A Program List
24
Appendix B Revision History
36
Advertisement
Related Products
NEC 78K0S/KA1+
NEC 78K/0S Series
NEC 78K0S/KU1+
NEC 78K0S/K 1+ Series
NEC 78K0S/KY1+
NEC 78K0/Fx2
NEC 78K0/KB1+
NEC 78K0R/KE3
NEC 78K0/KD1+
NEC 78K0/L 3 - See it! 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