Sign In
Upload
Manuals
Brands
NEC Manuals
Computer Hardware
78K/0 Series
NEC 78K/0 Series 8-bit Microcontroller Manuals
Manuals and User Guides for NEC 78K/0 Series 8-bit Microcontroller. We have
6
NEC 78K/0 Series 8-bit Microcontroller manuals available for free PDF download: User Manual
NEC 78K/0 Series User Manual (626 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 4.95 MB
Table of Contents
Table of Contents
12
Chapter 1 Outline
33
Features
33
Applications
34
Ordering Information
35
Pin Configuration (Top View)
38
K1 Family Lineup
40
78K0/Kx1 Product Lineup
40
V850Es/Kx1 Product Lineup
42
Block Diagram
44
Outline of Functions
45
Chapter 2 Pin Functions
47
Pin Function List
47
Description of Pin Functions
51
P00 to P06 (Port 0)
51
P10 to P17 (Port 1)
52
P20 to P27 (Port 2)
52
P30 to P33 (Port 3)
53
P40 to P47 (Port 4)
53
P50 to P57 (Port 5)
53
P60 to P67 (Port 6)
54
P70 to P77 (Port 7)
54
P120 (Port 12)
54
P130 (Port 13)
54
P140 to P145 (Port 14)
55
Av Ref
55
Av Ss
55
Reset
56
Regc
56
X1 and X2
56
XT1 and XT2
56
VDD and EV DD
56
VSS and EV SS
56
VPP (Flash Memory Versions Only)
56
IC (Mask ROM Versions Only)
56
Pin I/O Circuits and Recommended Connection of Unused Pins
57
Chapter 3 Cpu Architecture
61
Memory Space
61
Internal Program Memory Space
67
Internal Data Memory Space
68
Special Function Register (SFR) Area
68
Data Memory Addressing
69
Processor Registers
74
Control Registers
74
General-Purpose Registers
78
Special Function Registers (Sfrs)
79
Instruction Address Addressing
84
Relative Addressing
84
Immediate Addressing
85
Register Addressing
86
Operand Address Addressing
87
Implied Addressing
87
Register Addressing
88
Direct Addressing
89
Short Direct Addressing
90
Special Function Register (SFR) Addressing
91
Register Indirect Addressing
92
Based Addressing
93
Based Indexed Addressing
94
Stack Addressing
95
Chapter 4 Port Functions
96
Port Functions
96
Port Configuration
98
Port 0
99
Port 1
103
Port 2
108
Port 3
109
Port 4
111
Port 5
112
Port 6
113
Port 7
116
Port 12
117
Port 13
118
Port 14
119
Block Diagram of P142
120
Block Diagram of P143
121
Block Diagram of P144 and P145
122
Registers Controlling Port Function
123
Format of Port Mode Register
123
Format of Port Register
126
Format of Pull-Up Resistor Option Register
127
Port Function Operations
128
Writing to I/O Port
128
Reading from I/O Port
128
Operations on I/O Port
128
Chapter 5 External Bus Interface
129
External Bus Interface
129
Memory Map When Using External Bus Interface
130
Registers Controlling External Bus Interface
132
Format of Memory Expansion Mode Register (MEM)
132
Pins Specified for Address (with Μ PD780143)
133
Format of Memory Expansion Wait Setting Register (MM)
134
External Bus Interface Function Timing
135
Instruction Fetch from External Memory
136
External Memory Read Timing
137
External Memory Write Timing
138
External Memory Read Modify Write Timing
139
Example of Connection with Memory
140
Connection Example of Μ PD780144 and Memory
140
Chapter 6 Clock Generator
141
Functions of Clock Generator
141
Configuration of Clock Generator
141
Block Diagram of Clock Generator
142
Registers Controlling Clock Generator
143
Format of Processor Clock Control Register (PCC)
144
Format of Ring-OSC Mode Register (RCM)
145
Format of Main Clock Mode Register (MCM)
146
Format of Main OSC Control Register (MOC)
147
Format of Oscillation Stabilization Time Counter Status Register (OSTC)
148
Format of Oscillation Stabilization Time Select Register (OSTS)
149
System Clock Oscillator
150
X1 Oscillator
150
Subsystem Clock Oscillator
150
Examples of External Circuit of X1 Oscillator
150
Examples of External Circuit of Subsystem Clock Oscillator
150
Examples of Incorrect Resonator Connection
151
When Subsystem Clock Is Not Used
153
Ring-OSC Oscillator
153
Prescaler
153
Subsystem Clock Feedback Resistor
153
Clock Generator Operation
154
Timing Diagram of CPU Default Start Using Ring-OSC
155
Status Transition Diagram
156
Time Required to Switch between Ring-OSC Clock and X1 Input Clock
161
Time Required for CPU Clock Switchover
162
Clock Switching Flowchart and Register Setting
163
Switching from Ring-OSC Clock to X1 Input Clock
163
Switching from Ring-OSC Clock to X1 Input Clock (Flowchart)
163
Switching from X1 Input Clock to Ring-OSC Clock
164
Switching from X1 Input Clock to Ring-OSC Clock (Flowchart)
164
Switching from X1 Input Clock to Subsystem Clock
165
Switching from X1 Input Clock to Subsystem Clock (Flowchart)
165
Switching from Subsystem Clock to X1 Input Clock
166
Switching from Subsystem Clock to X1 Input Clock (Flowchart)
166
Register Settings
167
Chapter 7 16-Bit Timer/Event Counters 00 and 01
168
Functions of 16-Bit Timer/Event Counters 00 and 01
168
Configuration of 16-Bit Timer/Event Counters 00 and 01
169
Block Diagram of 16-Bit Timer/Event Counter 00
169
PD780146, 780148, and 78F0148 Only)
170
Format of 16-Bit Timer Counter 0N (Tm0N)
171
Format of 16-Bit Timer Capture/Compare Register 00N (Cr00N)
171
Format of 16-Bit Timer Capture/Compare Register 01N (Cr01N)
173
Registers Controlling 16-Bit Timer/Event Counters 00 and 01
174
Format of 16-Bit Timer Mode Control Register 00 (TMC00)
175
Format of 16-Bit Timer Mode Control Register 01 (TMC01)
176
Format of Capture/Compare Control Register 00 (CRC00)
177
Format of Capture/Compare Control Register 01 (CRC01)
178
Format of 16-Bit Timer Output Control Register 00 (TOC00)
179
Format of 16-Bit Timer Output Control Register 01 (TOC01)
180
Format of Prescaler Mode Register 00 (PRM00)
182
Format of Prescaler Mode Register 01 (PRM01)
183
Format of Port Mode Register 0 (PM0)
184
Operation of 16-Bit Timer/Event Counters 00 and 01
185
Interval Timer Operation
185
Control Register Settings for Interval Timer Operation
186
Interval Timer Configuration Diagram
187
Timing of Interval Timer Operation
187
PPG Output Operations
188
Control Register Settings for PPG Output Operation
189
Configuration Diagram of PPG Output
190
PPG Output Operation Timing
190
Pulse Width Measurement Operations
191
Cr01N Capture Operation with Rising Edge Specified
191
And One Capture Register (When Ti00N and Cr01N Are Used)
192
Configuration Diagram for Pulse Width Measurement with Free-Running Counter
193
And One Capture Register (with both Edges Specified)
193
Control Register Settings for Measurement of Two Pulse Widths with Free-Running Counter
194
(With both Edges Specified)
195
Two Capture Registers (with Rising Edge Specified)
196
And Two Capture Registers (with Rising Edge Specified)
197
(With Rising Edge Specified)
198
Timing of Pulse Width Measurement Operation by Means of Restart (with Rising Edge Specified)
198
External Event Counter Operation
199
Control Register Settings in External Event Counter Mode (with Rising Edge Specified)
200
Configuration Diagram of External Event Counter
201
External Event Counter Operation Timing (with Rising Edge Specified)
201
Square-Wave Output Operation
202
Control Register Settings in Square-Wave Output Mode
202
Square-Wave Output Operation Timing
203
One-Shot Pulse Output Operation
204
Control Register Settings for One-Shot Pulse Output with Software Trigger
205
Timing of One-Shot Pulse Output Operation with Software Trigger
206
(With Rising Edge Specified)
207
Timing of One-Shot Pulse Output Operation with External Trigger (with Rising Edge Specified)
208
Cautions for 16-Bit Timer/Event Counters 00 and 01
209
Start Timing of 16-Bit Timer Counter 0N (Tm0N)
209
Chapter 8 8-Bit Timer/Event Counters 50 and 51
212
Functions of 8-Bit Timer/Event Counters 50 and 51
212
Configuration of 8-Bit Timer/Event Counters 50 and 51
214
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
216
Operations of 8-Bit Timer/Event Counters 50 and 51
221
Operation as Interval Timer
221
Operation as External Event Counter
223
Square-Wave Output Operation
224
PWM Output Operation
225
Cautions for 8-Bit Timer/Event Counters 50 and 51
229
Chapter 9 8-Bit Timers H0 and H1
230
Functions of 8-Bit Timers H0 and H1
230
Configuration of 8-Bit Timers H0 and H1
230
Registers Controlling 8-Bit Timers H0 and H1
234
Operation of 8-Bit Timers H0 and H1
239
Operation as Interval Timer/Square-Wave Output
239
Operation as PWM Output Mode
242
Carrier Generator Mode Operation (8-Bit Timer H1 Only)
248
Chapter 10 Watch Timer
255
Functions of Watch Timer
255
Configuration of Watch Timer
257
Register Controlling Watch Timer
257
Watch Timer Operations
259
Watch Timer Operation
259
Interval Timer Operation
260
Cautions for Watch Timer
261
Chapter 11 Watchdog Timer
262
Functions of Watchdog Timer
262
Configuration of Watchdog Timer
264
Block Diagram of Watchdog Timer
264
Registers Controlling Watchdog Timer
265
Format of Watchdog Timer Mode Register (WDTM)
265
Format of Watchdog Timer Enable Register (WDTE)
266
Operation of Watchdog Timer
267
Watchdog Timer Operation When "Ring-OSC Cannot be Stopped" Is Selected by Mask Option
267
Watchdog Timer Operation When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option
268
Watchdog Timer Operation in STOP Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option)
269
Operation in STOP Mode (CPU Clock and WDT Operation Clock: X1 Input Clock)
269
Operation in STOP Mode (CPU Clock: X1 Input Clock, WDT Operation Clock: Ring-OSC Clock)
269
Operation in STOP Mode (CPU Clock: Ring-OSC Clock, WDT Operation Clock: X1 Input Clock)
270
Watchdog Timer Operation in HALT Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option)
271
Operation in STOP Mode (CPU Clock and WDT Operation Clock: Ring-OSC Clock)
271
Operation in HALT Mode
271
Chapter 12 Clock Output/Buzzer Output Controller
272
Functions of Clock Output/Buzzer Output Controller
272
Block Diagram of Clock Output/Buzzer Output Controller
272
Configuration of Clock Output/Buzzer Output Controller
273
Register Controlling Clock Output/Buzzer Output Controller
273
Format of Clock Output Selection Register (CKS)
274
Format of Port Mode Register 14 (PM14)
275
Clock Output/Buzzer Output Controller Operations
276
Clock Output Operation
276
Operation as Buzzer Output
276
Remote Control Output Application Example
276
Chapter 13 A/D Converter
277
Functions of A/D Converter
277
Block Diagram of A/D Converter
277
Configuration of A/D Converter
278
Registers Used in A/D Converter
280
Format of A/D Converter Mode Register (ADM)
281
Timing Chart When Boost Reference Voltage Generator Is Used
282
Format of Analog Input Channel Specification Register (ADS)
283
Format of A/D Conversion Result Register (ADCR)
284
Format of Power-Fail Comparison Mode Register (PFM)
285
Format of Power-Fail Comparison Threshold Register (PFT)
285
A/D Converter Operations
286
Basic Operations of A/D Converter
286
Basic Operation of A/D Converter
287
Input Voltage and Conversion Results
288
Relationship between Analog Input Voltage and A/D Conversion Result
288
A/D Converter Operation Mode
289
A/D Conversion Operation
289
Power-Fail Detection (When PFEN = 1 and PFCM = 0)
290
How to Read A/D Converter Characteristics Table
292
Overall Error
292
Quantization Error
292
Zero-Scale Error
293
Full-Scale Error
293
Integral Linearity Error
293
Differential Linearity Error
293
Cautions for A/D Converter
294
Circuit Configuration of Series Resistor String
294
Analog Input Pin Connection
295
Timing of A/D Conversion End Interrupt Request Generation
296
Timing of A/D Converter Sampling and A/D Conversion Start Delay
297
Internal Equivalent Circuit of Anin Pin
298
Chapter 14 Serial Interface Uart0
299
Functions of Serial Interface UART0
299
Configuration of Serial Interface UART0
300
Block Diagram of Serial Interface UART0
301
Registers Controlling Serial Interface UART0
303
Format of Asynchronous Serial Interface Operation Mode Register 0 (ASIM0)
303
Format of Asynchronous Serial Interface Reception Error Status Register 0 (ASIS0)
305
Format of Baud Rate Generator Control Register 0 (BRGC0)
306
Format of Port Mode Register 1 (PM1)
307
Operation of Serial Interface UART0
308
Operation Stop Mode
308
Asynchronous Serial Interface (UART) Mode
309
Format of Normal UART Transmit/Receive Data
310
Example of Normal UART Transmit/Receive Data Waveform
310
Transmission Completion Interrupt Request Timing
312
Reception Completion Interrupt Request Timing
313
Noise Filter Circuit
314
Dedicated Baud Rate Generator
315
Configuration of Baud Rate Generator
315
Permissible Baud Rate Range During Reception
318
Chapter 15 Serial Interface Uart6
320
Functions of Serial Interface UART6
320
LIN Transmission Operation
321
LIN Reception Operation
322
Port Configuration for LIN Reception Operation
323
Configuration of Serial Interface UART6
324
Block Diagram of Serial Interface UART6
325
Registers Controlling Serial Interface UART6
327
Format of Asynchronous Serial Interface Operation Mode Register 6 (ASIM6)
327
Format of Asynchronous Serial Interface Reception Error Status Register 6 (ASIS6)
329
Format of Asynchronous Serial Interface Transmission Status Register 6 (ASIF6)
330
Format of Clock Selection Register 6 (CKSR6)
331
Format of Baud Rate Generator Control Register 6 (BRGC6)
332
Format of Asynchronous Serial Interface Control Register 6 (ASICL6)
333
Format of Input Switch Control Register (ISC)
334
Format of Port Mode Register 1 (PM1)
334
Operation of Serial Interface UART6
335
Operation Stop Mode
335
Asynchronous Serial Interface (UART) Mode
336
Format of Normal UART Transmit/Receive Data
338
Example of Normal UART Transmit/Receive Data Waveform
339
Normal Transmission Completion Interrupt Request Timing
341
Example of Continuous Transmission Processing Flow
343
Timing of Starting Continuous Transmission
344
Timing of Ending Continuous Transmission
345
Reception Completion Interrupt Request Timing
346
Reception Error Interrupt
347
Noise Filter Circuit
348
Example of Setting Procedure of SBF Transmission (Flowchart)
349
SBF Transmission
349
SBF Reception
350
Dedicated Baud Rate Generator
351
Configuration of Baud Rate Generator
352
Permissible Baud Rate Range During Reception
355
Data Frame Length During Continuous Transmission
357
Chapter 16 Serial Interfaces Csi10 and Csi11
358
Functions of Serial Interfaces CSI10 and CSI11
358
Configuration of Serial Interfaces CSI10 and CSI11
359
Block Diagram of Serial Interface CSI10
359
PD780146, 780148, and 78F0148 Only)
360
Registers Controlling Serial Interfaces CSI10 and CSI11
361
Format of Serial Operation Mode Register 10 (CSIM10)
361
Format of Serial Operation Mode Register 11 (CSIM11)
362
Format of Serial Clock Selection Register 10 (CSIC10)
363
Format of Serial Clock Selection Register 11 (CSIC11)
365
Format of Port Mode Register 0 (PM0)
366
Format of Port Mode Register 1 (PM1)
366
Operation of Serial Interfaces CSI10 and CSI11
367
Operation Stop Mode
367
3-Wire Serial I/O Mode
368
Timing in 3-Wire Serial I/O Mode
372
Timing of Clock/Data Phase
374
Output Operation of First Bit
375
Output Value of So1N Pin (Last Bit)
376
Advertisement
NEC 78K/0 Series User Manual (644 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 3.76 MB
Table of Contents
Table of Contents
9
Chapter 1 Outline
17
Features
17
Applications
18
Ordering Information
19
Pin Configuration (Top View)
23
78K0/Kx2 Series Lineup
26
Block Diagram
29
Outline of Functions
30
Chapter 2 Pin Functions
32
Pin Function List
32
Description of Pin Functions
36
P00 to P06 (Port 0)
36
P10 to P17 (Port 1)
37
P20 to P27 (Port 2)
38
P30 to P33 (Port 3)
38
P40 to P43 (Port 4)
39
P50 to P53 (Port 5)
39
P60 to P63 (Port 6)
39
P70 to P77 (Port 7)
39
P120 to P124 (Port 12)
40
P130 (Port 13)
40
P140, P141 (Port 14)
41
Av Ref
41
Av Ss
41
Reset
41
Regc
41
VDD and EV DD
42
VSS and EV SS
42
Flmd0
42
Pin I/O Circuits and Recommended Connection of Unused Pins
43
Chapter 3 Cpu Architecture
47
Memory Space
47
Internal Program Memory Space
56
Memory Bank ( Μ PD78F0536, 78F0537, and 78F0537D Only)
58
Internal Data Memory Space
58
Special Function Register (SFR) Area
59
Data Memory Addressing
59
Processor Registers
67
Control Registers
67
General-Purpose Registers
71
Special Function Registers (Sfrs)
72
Functions of Clock Generator
134
Configuration of Clock Generator
135
Registers Controlling Clock Generator
137
System Clock Oscillator
146
X1 Oscillator
146
XT1 Oscillator
146
When Subsystem Clock Is Not Used
149
Internal High-Speed Oscillator
149
Internal Low-Speed Oscillator
149
Prescaler
149
Clock Generator Operation
150
Controlling Clock
153
Controlling High-Speed System Clock
153
Example of Controlling Internal High-Speed Oscillation Clock
156
Example of Controlling Subsystem Clock
158
Example of Controlling Internal Low-Speed Oscillation Clock
160
Clocks Supplied to CPU and Peripheral Hardware
160
CPU Clock Status Transition Diagram
161
Condition before Changing CPU Clock and Processing after Changing CPU Clock
166
Time Required for Switchover of CPU Clock and Main System Clock
167
Conditions before Clock Oscillation Is Stopped
168
Peripheral Hardware and Source Clocks
169
Chapter 7 16-Bit Timer/Event Counters 00 and 01
170
Functions of 16-Bit Timer/Event Counters 00 and 01
170
Configuration of 16-Bit Timer/Event Counters 00 and 01
171
Registers Controlling 16-Bit Timer/Event Counters 00 and 01
176
Operation of 16-Bit Timer/Event Counters 00 and 01
188
Interval Timer Operation
188
Square Wave Output Operation
191
External Event Counter Operation
194
Operation in Clear & Start Mode Entered by Ti00N Pin Valid Edge Input
197
Free-Running Timer Operation
213
PPG Output Operation
222
One-Shot Pulse Output Operation
225
Pulse Width Measurement Operation
230
Special Use of Tm0N
239
Rewriting Cr01N During Tm0N Operation
239
Setting Lvs0N and Lvr0N
239
Cautions for 16-Bit Timer/Event Counters 00 and 01
241
Chapter 8 8-Bit Timer/Event Counters 50 and 51
245
Functions of 8-Bit Timer/Event Counters 50 and 51
245
Configuration of 8-Bit Timer/Event Counters 50 and 51
245
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
248
Operations of 8-Bit Timer/Event Counters 50 and 51
253
Operation as Interval Timer
253
Operation as External Event Counter
255
Square-Wave Output Operation
256
PWM Output Operation
257
Cautions for 8-Bit Timer/Event Counters 50 and 51
261
Chapter 9 8-Bit Timers H0 and H1
262
Functions of 8-Bit Timers H0 and H1
262
Configuration of 8-Bit Timers H0 and H1
262
Registers Controlling 8-Bit Timers H0 and H1
266
Operation of 8-Bit Timers H0 and H1
271
Operation as Interval Timer/Square-Wave Output
271
Operation as PWM Output
274
Carrier Generator Operation (8-Bit Timer H1 Only)
280
Chapter 10 Watch Timer
287
Functions of Watch Timer
287
Configuration of Watch Timer
288
Register Controlling Watch Timer
289
Watch Timer Operations
291
Watch Timer Operation
291
Interval Timer Operation
291
Cautions for Watch Timer
292
Chapter 11 Watchdog Timer
293
Functions of Watchdog Timer
293
Configuration of Watchdog Timer
294
Register Controlling Watchdog Timer
295
Operation of Watchdog Timer
296
Controlling Operation of Watchdog Timer
296
Setting Overflow Time of Watchdog Timer
297
Setting Window Open Period of Watchdog Timer
298
Chapter 12 Clock Output/Buzzer Output Controller
300
Functions of Clock Output/Buzzer Output Controller
300
Configuration of Clock Output/Buzzer Output Controller
301
Registers Controlling Clock Output/Buzzer Output Controller
301
Operations of Clock Output/Buzzer Output Controller
303
Operation as Clock Output
303
Operation as Buzzer Output
303
Chapter 13 A/D Converter
304
Function of A/D Converter
304
Configuration of A/D Converter
305
Registers Used in A/D Converter
307
A/D Converter Operations
315
Basic Operations of A/D Converter
315
Input Voltage and Conversion Results
317
A/D Converter Operation Mode
318
How to Read A/D Converter Characteristics Table
320
Cautions for A/D Converter
322
Chapter 14 Serial Interface Uart0
326
Functions of Serial Interface UART0
326
Configuration of Serial Interface UART0
327
Registers Controlling Serial Interface UART0
330
Operation of Serial Interface UART0
335
Operation Stop Mode
335
Asynchronous Serial Interface (UART) Mode
336
Dedicated Baud Rate Generator
342
Chapter 15 Serial Interface Uart6
347
Functions of Serial Interface UART6
347
Configuration of Serial Interface UART6
351
Registers Controlling Serial Interface UART6
354
Operation of Serial Interface UART6
363
Operation Stop Mode
363
Asynchronous Serial Interface (UART) Mode
364
Dedicated Baud Rate Generator
377
Chapter 16 Serial Interfaces Csi10 and Csi11
384
Functions of Serial Interfaces CSI10 and CSI11
384
Configuration of Serial Interfaces CSI10 and CSI11
385
Registers Controlling Serial Interfaces CSI10 and CSI11
388
Operation of Serial Interfaces CSI10 and CSI11
393
Operation Stop Mode
393
3-Wire Serial I/O Mode
394
Chapter 17 Serial Interface Iic0
406
Functions of Serial Interface IIC0
406
Configuration of Serial Interface IIC0
409
Registers to Control Serial Interface IIC0
412
I C Bus Mode Functions
425
Pin Configuration
425
I C Bus Definitions and Control Methods
426
Start Conditions
426
Addresses
427
Transfer Direction Specification
427
Acknowledge (ACK)
428
Stop Condition
429
Wait
430
Canceling Wait
432
Interrupt Request (INTIIC0) Generation Timing and Wait Control
432
Address Match Detection Method
433
Error Detection
433
Extension Code
434
Arbitration
435
Wakeup Function
436
Communication Reservation
437
Other Cautions
440
Communication Operations
442
Timing of I 2 C Interrupt Request (INTIIC0) Occurrence
449
Timing Charts
470
Chapter 18 Multiplier/Divider Pd78F0534, 78F0535, 78F0536, 78F0537, and 78F0537D Only)
477
( Μ PD78F0534, 78F0535, 78F0536, 78F0537, and 78F0537D ONLY)
477
Functions of Multiplier/Divider
477
Configuration of Multiplier/Divider
477
Register Controlling Multiplier/Divider
481
Operations of Multiplier/Divider
482
NEC 78K/0 Series User Manual (483 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 4 MB
Table of Contents
Table of Contents
10
Chapter 1 Outline
17
Features
17
Applications
18
Ordering Information
19
Pin Configuration (Top View)
21
K1 Family Lineup
23
78K0/Kx1 Product Lineup
23
V850Es/Kx1 Product Lineup
25
Block Diagram
27
Outline of Functions
28
Chapter 2 Pin Functions
30
Pin Function List
30
Description of Pin Functions
33
P00 and P01 (Port 0)
33
P10 to P17 (Port 1)
34
P20 to P27 (Port 2)
34
P30 to P33 (Port 3)
35
P60 to P63 (Port 6)
35
P70 to P73 (Port 7)
35
P120 (Port 12)
36
P130 (Port 13)
36
Av Ref
36
Av Ss
36
Reset
36
X1 and X2
36
XT1 and XT2
36
VDD and EV DD
36
VSS and EV SS
36
VPP (Flash Memory Versions Only)
36
IC (Mask ROM Versions Only)
37
Pin I/O Circuits and Recommended Connection of Unused Pins
38
Chapter 3 Cpu Architecture
41
Memory Space
41
Internal Program Memory Space
47
Internal Data Memory Space
48
Special Function Register (SFR) Area
48
Data Memory Addressing
49
Processor Registers
54
Control Registers
54
General-Purpose Registers
58
Special Function Registers (Sfrs)
59
Instruction Address Addressing
63
Relative Addressing
63
Immediate Addressing
64
Register Addressing
65
Table Indirect Addressing
65
Operand Address Addressing
66
Implied Addressing
66
Register Addressing
67
Direct Addressing
68
Short Direct Addressing
69
Special Function Register (SFR) Addressing
70
Register Indirect Addressing
71
Based Addressing
72
Based Indexed Addressing
73
Stack Addressing
74
Chapter 4 Port Functions
75
Port Functions
75
Port Configuration
77
Port 0
78
Port 1
80
Port 2
85
Port 3
86
Port 6
88
Port 7
89
Port 12
90
Port 13
91
Registers Controlling Port Function
92
Port Function Operations
96
Writing to I/O Port
96
Reading from I/O Port
96
Operations on I/O Port
96
Chapter 5 Clock Generator
97
Functions of Clock Generator
97
Configuration of Clock Generator
97
Registers Controlling Clock Generator
99
System Clock Oscillator
106
X1 Oscillator
106
Subsystem Clock Oscillator
106
When Subsystem Clock Is Not Used
109
Ring-OSC Oscillator
109
Prescaler
109
Clock Generator Operation
110
Time Required to Switch between Ring-OSC Clock and X1 Input Clock
117
Time Required for CPU Clock Switchover
118
Clock Switching Flowchart and Register Setting
119
Switching from Ring-OSC Clock to X1 Input Clock
119
Switching from X1 Input Clock to Ring-OSC Clock
120
Switching from X1 Input Clock to Subsystem Clock
121
Switching from Subsystem Clock to X1 Input Clock
122
Register Settings
123
Chapter 6 16-Bit Timer/Event Counter 00
124
Functions of 16-Bit Timer/Event Counter 00
124
Configuration of 16-Bit Timer/Event Counter 00
125
Registers Controlling 16-Bit Timer/Event Counter 00
129
Operation of 16-Bit Timer/Event Counter 00
135
Interval Timer Operation
135
PPG Output Operations
137
Pulse Width Measurement Operations
140
External Event Counter Operation
148
Square-Wave Output Operation
150
One-Shot Pulse Output Operation
152
Cautions for 16-Bit Timer/Event Counter 00
157
Chapter 7 8-Bit Timer/Event Counters 50 and 51
160
Functions of 8-Bit Timer/Event Counters 50 and 51
160
Configuration of 8-Bit Timer/Event Counters 50 and 51
162
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
164
Operations of 8-Bit Timer/Event Counters 50 and 51
169
Operation as Interval Timer
169
Operation as External Event Counter
171
Square-Wave Output Operation
172
PWM Output Operation
173
Cautions for 8-Bit Timer/Event Counters 50 and 51
177
Chapter 8 8-Bit Timers H0 and H1
178
Functions of 8-Bit Timers H0 and H1
178
Configuration of 8-Bit Timers H0 and H1
178
Registers Controlling 8-Bit Timers H0 and H1
182
Operation of 8-Bit Timers H0 and H1
186
Operation as Interval Timer/Square-Wave Output
186
Operation as PWM Output Mode
189
Carrier Generator Mode Operation (8-Bit Timer H1 Only)
195
Chapter 9 Watch Timer
202
Functions of Watch Timer
202
Configuration of Watch Timer
204
Register Controlling Watch Timer
204
Watch Timer Operations
206
Watch Timer Operation
206
Interval Timer Operation
207
Cautions for Watch Timer
208
Chapter 10 Watchdog Timer
209
Functions of Watchdog Timer
209
Configuration of Watchdog Timer
211
Registers Controlling Watchdog Timer
212
Operation of Watchdog Timer
214
Watchdog Timer Operation When "Ring-OSC Cannot be Stopped" Is Selected by Mask Option
214
Watchdog Timer Operation When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option
215
Watchdog Timer Operation in STOP Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option)
216
Watchdog Timer Operation in HALT Mode (When "Ring-OSC Can be Stopped by Software" Is Selected by Mask Option)
218
Chapter 11 A/D Converter
219
Functions of A/D Converter
219
Configuration of A/D Converter
220
Registers Used in A/D Converter
222
A/D Converter Operations
227
Basic Operations of A/D Converter
227
Input Voltage and Conversion Results
229
A/D Converter Operation Mode
230
How to Read A/D Converter Characteristics Table
233
Cautions for A/D Converter
235
Chapter 12 Serial Interface Uart0
240
Functions of Serial Interface UART0
240
Configuration of Serial Interface UART0
241
Registers Controlling Serial Interface UART0
244
Operation of Serial Interface UART0
249
Operation Stop Mode
249
Asynchronous Serial Interface (UART) Mode
250
Dedicated Baud Rate Generator
256
Chapter 13 Serial Interface Uart6
261
Functions of Serial Interface UART6
261
Configuration of Serial Interface UART6
265
Registers Controlling Serial Interface UART6
268
Operation of Serial Interface UART6
276
Operation Stop Mode
276
Asynchronous Serial Interface (UART) Mode
277
Dedicated Baud Rate Generator
292
Chapter 14 Serial Interface Csi10
299
Functions of Serial Interface CSI10
299
Configuration of Serial Interface CSI10
299
Registers Controlling Serial Interface CSI10
301
Operation of Serial Interface CSI10
304
Operation Stop Mode
304
3-Wire Serial I/O Mode
305
Chapter 15 Interrupt Functions
313
Interrupt Function Types
313
Interrupt Sources and Configuration
313
Registers Controlling Interrupt Functions
316
Interrupt Servicing Operations
323
Maskable Interrupt Request Acknowledgment
323
Software Interrupt Request Acknowledgment
325
Multiple Interrupt Servicing
326
Interrupt Request Hold
329
Chapter 16 Key Interrupt Function
330
Functions of Key Interrupt
330
Configuration of Key Interrupt
330
Register Controlling Key Interrupt
331
Advertisement
NEC 78K/0 Series User Manual (129 pages)
NEC Computer Hardware User's Manual
Brand:
NEC
| Category:
Computer Hardware
| Size: 0.66 MB
Table of Contents
Table of Contents
9
Chapter 1 Memory Space
12
Memory Spaces
12
Internal Program Memory (Internal ROM) Space
12
Vector Table Area
12
CALLT Instruction Table Area
12
CALLF Instruction Entry Area
12
Internal Data Memory (Internal RAM) Space
12
Special Function Register (SFR) Area
13
External Memory Space
13
Iebus Register Area
13
Chapter 2 Registers
14
Control Registers
14
Program Counter (PC)
14
Program Status Word (PSW)
14
Program Counter Configuration
14
Program Status Word Configuration
14
Stack Pointer (SP)
16
Stack Pointer Configuration
16
Data to be Saved to Stack Memory
16
Data to be Reset from Stack Memory
16
General-Purpose Registers
17
General-Purpose Register Configuration
18
Special Function Registers (Sfrs)
19
Chapter 3 Addressing
20
Instruction Address Addressing
20
Relative Addressing
20
Immediate Addressing
21
Table Indirect Addressing
22
Register Addressing
23
Operand Address Addressing
24
Implied Addressing
24
Register Addressing
25
Direct Addressing
26
Short Direct Addressing
27
Special-Function Register (SFR) Addressing
28
Register Indirect Addressing
29
Based Addressing
30
Based Indexed Addressing
30
Stack Addressing
31
Chapter 4 Instruction Set
32
Operation
32
Operand Identifiers and Description Methods
32
Description of "Operation" Column
33
Description of "Flag Operation" Column
33
Description of Number of Clocks
34
Instructions Listed by Addressing Type
34
Instruction Codes
38
Description of Instruction Code Table
38
Instruction Code List
39
NEC 78K/0 Series User Manual (59 pages)
Brand:
NEC
| Category:
Controller
| Size: 5.26 MB
Table of Contents
Table of Contents
6
Introduction
11
Package Contents
11
Features
11
System Requirements
12
Trademarks
12
Hardware
13
Power Supply
13
LED Drivers
13
Figure 1: EV-K0-HCD Board (Top View)
13
Figure 2: EV-K0-HCD Board (Bottom View)
13
On-Board LUXEON Rebel Leds
14
Figure 3: Driving the On-Board Leds
15
External LED Board
16
LED Light Engine Connector
16
Figure 4: Driving External LED Boards
16
Figure 5: Driving the Dialight Light Engines
16
Table 1: LED Light Engine Connectors
16
RS-485/DMX-512 Interface
17
RS-232 Interface
17
Expansion IO Connector
17
Table 2: RS-485/DMX-512 Connectors
17
Table 3: RS-232 Connector
17
Table 4: Expansion IO Connector
17
USB Programming and Debugging Interface
18
Ambient Light Sensor
18
Temperature Sensor
18
DIP Switch
18
Reset Switch
18
Table 5: Board Configuration Options
18
Shine It! Installation and Operation
19
Getting Started
19
CD-ROM Contents
19
Pre-Programmed Demo-Application
19
Table 6: Shine I T! CD-ROM Directory Structure
19
Hardware Installation
20
Software Installation
20
Applilet EZ for HCD Controller Installation
20
Figure 6: Shine It! CDROM Autorun.exe
20
IAR Systems Embedded Workbench for 78K Installation
21
Device File Package of Μpd78F8024 for IAR Embedded Workbench Installation
21
Writeez3 Installation
21
USB Driver Installation
21
Installation on Windows 2000
21
Figure 7: Found New Hardware Wizard (Windows 2000)
21
Figure 8: Search Method (Windows 2000)
22
Figure 9: Driver File Location (Windows 2000)
22
Figure 10: Address Specification 1 (Windows 2000)
23
Figure 11: Address Specification 2 (Windows 2000)
23
Figure 12: Address Specification 3 (Windows 2000)
24
Figure 13: Driver File Search (Windows 2000)
24
Figure 14: USB Driver Installation Completion (Windows 2000)
24
Installation on Windows XP
25
Figure 15: Found New Hardware Wizard 1 (Windows XP)
25
Figure 16: Found New Hardware Wizard 2 (Windows XP)
25
Figure 17: Search Location Specification 1 (Windows XP)
26
Figure 18: Search Location Specification 2 (Windows XP)
26
Confirmation of USB Driver Installation
27
Figure 19: Windows XP Logo Testing (Windows XP)
27
Figure 20: USB Driver Installation Completion (Windows XP)
27
Figure 21: Windows Device Manager
28
Applilet EZ for HCD Controller
29
Using the Applilet EZ for HCD Controller
30
Exercise 1 - Applilet EZ for HCD Controller Settings
30
Figure 22: Applilet EZ for HCD Controller Main Window
30
Figure 23: Applilet EZ for HCD Controller Setting
30
Figure 24: Applilet EZ for HCD Controller CPU Settings
31
Figure 25: Applilet EZ for HCD UART Settings
31
Exercise 2 - Fix Dimmer Program
32
Figure 26: Applilet EZ for HCD Controller Compiler Selection
32
Figure 27: Applilet EZ for HCD Controller Folder Settings
32
Figure 28: Applilet EZ for HCD Controller Dimmer Program Settings (Fix)
32
Figure 29: Applilet EZ for HCD Controller Save File as (Fix.xml)
33
Figure 30: Applilet EZ for HCD Controller All Program Button
33
Figure 31: Applilet EZ for HCD Controller Compilation Progress
33
Exercise 3 - Variable Dimmer Program
34
Figure 32: Applilet EZ for HCD Controller Start Flash Programming
34
Figure 33: Applilet EZ for HCD Controller Flash Programming Status
34
Figure 34: Applilet EZ for HCD Controller Save File as (Variable.xml)
35
Figure 35: Applilet EZ for HCD Controller Dimmer Program Selection (Variable)
35
Figure 36: Applilet EZ for HCD Dimmer Programming Window
35
Figure 37: Applilet EZ for HCD Controller Wave Editor (Set)
36
Exercise 4 - Analog Input Program
37
Figure 38: Applilet EZ for HCD Controller Variable Dimmer Control Settings (Set)
37
Figure 39: ADC Potentiometer Connection
38
Figure 40: Applilet EZ for HCD Controller Save File as (Adc.xml)
38
Exercise 5 - UART0 Serial Command Program
39
Figure 41: Applilet EZ for HCD Controller Dimmer Program Settings (Analog Input)
39
Figure 42: Applilet Ez for HCD Controller Save File as (Uart0.Xml)
40
Figure 43: Applilet EZ for HCD Controller Dimmer Program Settings (Serial Command)
40
Figure 44: Microsoft Hyperterminal Connection Description
41
Figure 45: Microsoft Hyperterminal Connect to
41
NEC 78K/0 Series User Manual (47 pages)
In-Circuit Emulator
Brand:
NEC
| Category:
Network Hardware
| Size: 2.25 MB
Table of Contents
Table of Contents
8
Chapter 1 General
11
System Configuration
11
Hardware Configuration
13
Basic Specifications
15
Contents in Carton
17
Chapter 2 Part Names
19
Parts of Main Unit
19
Board Name
21
Chapter 3 Installation
23
Connection
23
External Trigger Functions
32
Jumper Settings (on Main Board (G-780009 Board))
33
Low-Voltage Emulation Settings
34
Appendix A Interface Board (Ie-70000-Pci-If-A) for Desktop Pc
36
Introduction
36
Installation
37
Appendix B Pc Card Interface (Ie-70000-CD-If-A)
38
Introduction
38
Installation
39
Appendix C Interface Board (Ie-70000-98-If-C) for Pc-9800 Series
40
Introduction
40
Installation
41
Appendix D Interface Board (Ie-70000-Pc-If-C) for Ibm Pc/At Compatibles
43
Introduction
43
Installation
44
Appendix E Revision History
46
Advertisement
Related Products
NEC 78K0S/KA1+
NEC 78K0S/KB1+
NEC 78K/0S Series
NEC 78K0S/KU1+
NEC 78K0/KD1 Series
NEC 78K0R/L 3 Sense it! Series
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