Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
78K0S/KU1+
NEC 78K0S/KU1+ Manuals
Manuals and User Guides for NEC 78K0S/KU1+. We have
5
NEC 78K0S/KU1+ manuals available for free PDF download: User Manual, Application Note
NEC 78K0S/KU1+ User Manual (324 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 3.11 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
P20 to P23 (Port 2)
22
P32 and P34 (Port 3)
23
P40 and P43 (Port 4)
23
Reset
23
X1 and X2
23
VDD
23
Vss
23
Pin I/O Circuits and Connection of Unused Pins
24
Chapter 3 Cpu Architecture
26
Memory Space
26
Internal Program Memory Space
29
Internal Data Memory Space
30
Special Function Register (SFR) Area
30
Data Memory Addressing
30
Processor Registers
33
Control Registers
33
General-Purpose Registers
36
Special Function Registers (Sfrs)
37
Instruction Address Addressing
41
Relative Addressing
41
Immediate Addressing
42
Register Addressing
43
Operand Address Addressing
44
Direct Addressing
44
Short Direct Addressing
45
Special Function Register (SFR) Addressing
46
Register Addressing
47
Register Indirect Addressing
48
Based Addressing
49
Stack Addressing
50
Chapter 4 Port Functions
51
Functions of Ports
51
Port Configuration
52
Port 2
52
Port 3
56
Port 4
57
Registers Controlling Port Functions
58
Operation of Port Function
63
Writing to I/O Port
63
Reading from I/O Port
63
Operations on I/O Port
63
Chapter 5 Clock Generators
64
Functions of Clock Generators
64
System Clock Oscillators
64
Clock Oscillator for Interval Time Generation
64
Configuration of Clock Generators
65
Registers Controlling Clock Generators
67
System Clock Oscillators
70
High-Speed Internal Oscillator
70
Crystal/Ceramic Oscillator
70
External Clock Input Circuit
72
Prescaler
72
Operation of CPU Clock Generator
73
Operation of Clock Generator Supplying Clock to Peripheral Hardware
79
Chapter 6 16-Bit Timer/Event Counter 00
81
Functions of 16-Bit Timer/Event Counter 00
81
Configuration of 16-Bit Timer/Event Counter 00
82
Registers to Control 16-Bit Timer/Event Counter 00
86
Operation of 16-Bit Timer/Event Counter 00
92
Interval Timer Operation
92
External Event Counter Operation
94
Pulse Width Measurement Operations
97
Square-Wave Output Operation
105
PPG Output Operations
107
One-Shot Pulse Output Operation
110
Cautions Related to 16-Bit Timer/Event Counter 00
115
Chapter 7 8-Bit Timer H1
122
Functions of 8-Bit Timer H1
122
Configuration of 8-Bit Timer H1
122
Registers Controlling 8-Bit Timer H1
125
Operation of 8-Bit Timer H1
127
Operation as Interval Timer/Square-Wave Output
127
Operation as PWM Output Mode
131
Chapter 8 Watchdog Timer
137
Functions of Watchdog Timer
137
Configuration of Watchdog Timer
139
Registers Controlling Watchdog Timer
140
Operation of Watchdog Timer
142
Watchdog Timer Operation When "Low-Speed Internal Oscillator Cannot be Stopped" Is Selected by Option Byte
142
Watchdog Timer Operation When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte
144
Watchdog Timer Operation in STOP Mode (When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte)
146
Watchdog Timer Operation in HALT Mode (When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte)
147
Chapter 9 A/D Converter
148
Functions of A/D Converter
148
Configuration of A/D Converter
150
Registers Used by A/D Converter
152
A/D Converter Operations
157
Basic Operations of A/D Converter
157
Input Voltage and Conversion Results
159
A/D Converter Operation Mode
160
How to Read A/D Converter Characteristics Table
162
Cautions for A/D Converter
164
Chapter 10 Interrupt Functions
167
Interrupt Function Types
167
Interrupt Sources and Configuration
167
Interrupt Function Control Registers
169
Interrupt Servicing Operation
172
Maskable Interrupt Request Acknowledgment Operation
172
Multiple Interrupt Servicing
174
Interrupt Request Pending
176
Chapter 11 Standby Function
177
Standby Function and Configuration
177
Standby Function
177
Registers Used During Standby
179
Standby Function Operation
180
HALT Mode
180
STOP Mode
183
Chapter 12 Reset Function
187
Register for Confirming Reset Source
194
Chapter 13 Power-On-Clear Circuit
195
Functions of Power-On-Clear Circuit
195
Configuration of Power-On-Clear Circuit
196
Operation of Power-On-Clear Circuit
196
Cautions for Power-On-Clear Circuit
197
Chapter 14 Low-Voltage Detector
199
Functions of Low-Voltage Detector
199
Configuration of Low-Voltage Detector
199
Registers Controlling Low-Voltage Detector
200
Operation of Low-Voltage Detector
202
Cautions for Low-Voltage Detector
206
Chapter 15 Option Byte
209
Functions of Option Byte
209
Format of Option Byte
210
Caution When the RESET Pin Is Used as an Input-Only Port Pin (P34)
211
Chapter 16 Flash Memory
212
Features
212
Memory Configuration
213
Functional Outline
214
Writing with Flash Memory Programmer
214
Programming Environment
215
Processing of Pins on Board
217
X1 and X2 Pins
217
RESET Pin
218
Port Pins
219
Power Supply
219
On-Board and Off-Board Flash Memory Programming
220
Flash Memory Programming Mode
220
Communication Commands
220
Security Settings
221
Flash Memory Programming by Self Programming
222
Outline of Self Programming
222
Cautions on Self Programming Function
225
Registers Used for Self-Programming Function
225
Example of Shifting Normal Mode to Self Programming Mode
232
Example of Shifting Self Programming Mode to Normal Mode
235
Example of Block Erase Operation in Self Programming Mode
238
Example of Block Blank Check Operation in Self Programming Mode
241
Example of Byte Write Operation in Self Programming Mode
244
Example of Internal Verify Operation in Self Programming Mode
247
Examples of Operation When Command Execution Time Should be Minimized in Self Programming Mode
251
Examples of Operation When Interrupt-Disabled Time Should be Minimized in Self Programming Mode
257
Chapter 17 On-Chip Debug Function
268
Connecting QB-MINI2 to 78K0S/KU1
268
Connection of INTP1 Pin
269
Connection of X1 and X2 Pins
270
Securing of User Resources
271
Chapter 18 Instruction Set Overview
272
Operation
272
Operand Identifiers and Description Methods
272
Description of "Operation" Column
273
Description of "Flag" Column
273
Operation List
274
Instructions Listed by Addressing Type
279
Chapter 19 Electrical Specifications
282
Chapter 20 Package Drawing
294
Chapter 21 Recommended Soldering Conditions
295
Appendix A Development Tools
296
Software Package
299
Language Processing Software
299
Control Software
300
Flash Memory Writing Tools
300
Debugging Tools (Hardware)
301
When Using In-Circuit Emulator QB-78K0SKX1
301
When Using On-Chip Debug Emulator QB-MINI2
301
Debugging Tools (Software)
301
Appendix B Notes on Designing Target System
302
Appendix C Register Index
304
Register Index (Register Name)
304
Register Index (Symbol)
306
Appendix D List of Cautions
308
Appendix E Revision History
323
Major Revisions in this Edition
323
Advertisement
NEC 78K0S/KU1+ 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/KU1+ 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/KU1+ 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/KU1+ 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 78K0S/KB1+
NEC 78K/0S Series
NEC 78K0S/K 1+ Series
NEC 78K0S/KY1+
NEC 78K0/KD1 Series
NEC 78K0/L 3 - See it! Series
NEC 78K0/Fx2
NEC 78K0/KB1+
NEC 78K0R/KE3
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