Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
78K0S/KA1+
NEC 78K0S/KA1+ Manuals
Manuals and User Guides for NEC 78K0S/KA1+. We have
6
NEC 78K0S/KA1+ manuals available for free PDF download: User Manual, Preliminary User's Manual, Application Note
NEC 78K0S/KA1+ User Manual (410 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 4.62 MB
Table of Contents
Table of Contents
9
Chapter 1 Overview
15
Features
15
Application Fields
15
Ordering Information
16
Pin Configuration (Top View)
17
78K0S/Kx1+ Product Lineup
18
Block Diagram
19
Functional Outline
20
Chapter 2 Pin Functions
21
Pin Function List
21
Pin Functions
23
P20 to P23 (Port 2)
23
P30, P31, and P34 (Port 3)
23
P40 to P45 (Port 4)
24
P121 to P123 (Port 12)
24
P130 (Port 13)
24
Reset
24
X1 and X2
25
Av Ref
25
VDD
25
Vss
25
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
34
Special Function Registers (Sfrs)
35
Instruction Address Addressing
38
Relative Addressing
38
Immediate Addressing
39
Register Addressing
40
Operand Address Addressing
41
Direct Addressing
41
Short Direct Addressing
42
Special Function Register (SFR) Addressing
43
Register Addressing
44
Register Indirect Addressing
45
Based Addressing
46
Stack Addressing
47
Chapter 4 Port Functions
48
Functions of Ports
48
Port Configuration
49
Port 2
50
Port 3
51
Port 4
53
Port 12
58
Port 13
60
Registers Controlling Port Functions
60
Operation of Port Function
65
Writing to I/O Port
65
Reading from I/O Port
65
Operations on I/O Port
65
Chapter 5 Clock Generators
66
Functions of Clock Generators
66
System Clock Oscillators
66
Clock Oscillator for Interval Time Generation
66
Configuration of Clock Generators
67
Registers Controlling Clock Generators
69
System Clock Oscillators
72
High-Speed Internal Oscillator
72
Crystal/Ceramic Oscillator
72
External Clock Input Circuit
74
Prescaler
74
Operation of CPU Clock Generator
75
Operation of Clock Generator Supplying Clock to Peripheral Hardware
80
Chapter 6 16-Bit Timer/Event Counter 00
82
Functions of 16-Bit Timer/Event Counter 00
82
Configuration of 16-Bit Timer/Event Counter 00
83
Registers to Control 16-Bit Timer/Event Counter 00
87
Operation of 16-Bit Timer/Event Counter 00
93
Interval Timer Operation
93
External Event Counter Operation
95
Pulse Width Measurement Operations
98
Square-Wave Output Operation
106
PPG Output Operations
108
One-Shot Pulse Output Operation
111
Cautions Related to 16-Bit Timer/Event Counter 00
116
Chapter 7 8-Bit Timer 80
122
Function of 8-Bit Timer 80
122
Configuration of 8-Bit Timer 80
123
Register Controlling 8-Bit Timer 80
125
Operation of 8-Bit Timer 80
126
Operation as Interval Timer
126
Notes on 8-Bit Timer 80
128
Chapter 8 8-Bit Timer H1
129
Functions of 8-Bit Timer H1
129
Configuration of 8-Bit Timer H1
129
Registers Controlling 8-Bit Timer H1
132
Operation of 8-Bit Timer H1
135
Operation as Interval Timer/Square-Wave Output
135
Operation as PWM Output Mode
138
Chapter 9 Watchdog Timer
144
Functions of Watchdog Timer
144
Configuration of Watchdog Timer
146
Registers Controlling Watchdog Timer
147
Operation of Watchdog Timer
149
Watchdog Timer Operation When "Low-Speed Internal Oscillator Cannot be Stopped" Is Selected by Option Byte
149
Watchdog Timer Operation When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte
151
Watchdog Timer Operation in STOP Mode (When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte)
153
Watchdog Timer Operation in HALT Mode (When "Low-Speed Internal Oscillator Can be Stopped by Software" Is Selected by Option Byte)
155
Chapter 10 A/D Converter
156
Functions of A/D Converter
156
Configuration of A/D Converter
158
Registers Used by A/D Converter
160
A/D Converter Operations
165
Basic Operations of A/D Converter
165
Input Voltage and Conversion Results
167
A/D Converter Operation Mode
168
How to Read A/D Converter Characteristics Table
170
Cautions for A/D Converter
172
Chapter 11 Serial Interface Uart6
176
Functions of Serial Interface UART6
176
Configuration of Serial Interface UART6
180
Registers Controlling Serial Interface UART6
183
Operation of Serial Interface UART6
192
Operation Stop Mode
192
Asynchronous Serial Interface (UART) Mode
193
Dedicated Baud Rate Generator
207
Chapter 12 Interrupt Functions
214
Interrupt Function Types
214
Interrupt Sources and Configuration
214
Interrupt Function Control Registers
217
Interrupt Servicing Operation
222
Maskable Interrupt Request Acknowledgment Operation
222
Multiple Interrupt Servicing
224
Interrupt Request Pending
226
Chapter 13 Standby Function
227
Standby Function and Configuration
227
Standby Function
227
Registers Used During Standby
229
Standby Function Operation
230
HALT Mode
230
STOP Mode
233
Chapter 14 Reset Function
237
Register for Confirming Reset Source
244
Chapter 15 Power-On-Clear Circuit
245
Functions of Power-On-Clear Circuit
245
Configuration of Power-On-Clear Circuit
246
Operation of Power-On-Clear Circuit
246
Cautions for Power-On-Clear Circuit
247
Chapter 16 Low-Voltage Detector
249
Functions of Low-Voltage Detector
249
Configuration of Low-Voltage Detector
249
Registers Controlling Low-Voltage Detector
250
Operation of Low-Voltage Detector
252
Cautions for Low-Voltage Detector
256
Chapter 17 Option Byte
259
Functions of Option Byte
259
Format of Option Byte
260
Chapter 18 Flash Memory
262
Features
262
Memory Configuration
263
Functional Outline
264
Writing with Flash Programmer
265
Programming Environment
266
Pin Connection on Board
268
X1 and X2 Pins
268
RESET Pin
269
Port Pins
270
Power Supply
270
On-Board and Off-Board Flash Memory Programming
271
Flash Memory Programming Mode
271
Communication Commands
271
Security Settings
272
Flash Memory Programming by Self Writing
273
Outline of Self Programming
273
Cautions on Self Programming Function
276
Registers Used for Self Programming Function
276
Example of Shifting Normal Mode to Self Programming Mode
284
Example of Shifting Self Programming Mode to Normal Mode
287
Example of Block Erase Operation in Self Programming Mode
290
Example of Block Blank Check Operation in Self Programming Mode
293
Example of Byte Write Operation in Self Programming Mode
296
Example of Internal Verify Operation in Self Programming Mode
299
Examples of Operation When Command Execution Time Should be Minimized in Self Programming Mode
302
Examples of Operation When Interrupt-Disabled Time Should be Minimized in Self Programming Mode
309
Chapter 19 Instruction Set Overview
320
Operation
320
Operand Identifiers and Description Methods
320
Description of "Operation" Column
321
Description of "Flag" Column
321
Operation List
322
Instructions Listed by Addressing Type
327
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product)
330
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
331
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
332
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
333
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
334
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
335
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
336
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
337
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
338
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
339
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
340
CHAPTER 20 ELECTRICAL SPECIFICATIONS ((T) Product, (S) Product, (R) Product, (A) Product
341
CHAPTER 21 ELECTRICAL SPECIFICATIONS (TARGET VALUES) ((T2) Product)
342
CHAPTER 22 ELECTRICAL SPECIFICATIONS (TARGET VALUES) ((A2) Product)
356
Chapter 23 Package Drawing
370
Chapter 24 Package Marking Information
371
Chapter 25 Recommended Soldering Conditions
372
Appendix A Development Tools
374
Software Package
377
Language Processing Software
377
A.1 Software Package
377
Control Software
378
Flash Memory Writing Tools
378
A.3 Control Software
378
Debugging Tools (Hardware)
379
When Using In-Circuit Emulator IE-78K0S-NS or IE-78K0S-NS-A
379
When Using In-Circuit Emulator QB-78K0SKX1MINI
379
Debugging Tools (Software)
380
Appendix B Notes on Target System Design
381
Appendix C Register Index
383
Register Index (Register Name)
383
Register Index (Symbol)
385
Appendix D List of Cautions
387
Appendix E Revision History
404
Major Revisions in this Edition
404
Revision History up to Previous Editions
407
Advertisement
NEC 78K0S/KA1+ 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
NEC 78K0S/KA1+ 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
Advertisement
NEC 78K0S/KA1+ 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
NEC 78K0S/KA1+ 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/KA1+ 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/KB1+
NEC 78K/0S Series
NEC 78K0S/KU1+
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