Sign In
Upload
Manuals
Brands
Renesas Manuals
Microcontrollers
78K0 Series
Renesas 78K0 Series Manuals
Manuals and User Guides for Renesas 78K0 Series. We have
1
Renesas 78K0 Series manual available for free PDF download: User Manual
Renesas 78K0 Series User Manual (659 pages)
8-Bit Single-Chip Microcontrollers
Brand:
Renesas
| Category:
Microcontrollers
| Size: 3.87 MB
Table of Contents
Table of Contents
10
Chapter 1 Outline
18
Features
18
Applications
19
Ordering Information
19
Pin Configuration (Top View)
20
78K0/Kb2-A
20
78K0/Kc2-A
22
Block Diagram
24
78K0/Kb2-A
24
78K0/Kc2-A
25
Outline of Functions
26
Chapter 2 Pin Functions
27
Pin Function List
27
78K0/Kb2-A
28
78K0/Kc2-A
31
Description of Pin Functions
36
P00 to P02 (Port 0)
36
P10 to P13 (Port 1)
37
P20 to P27 (Port 2)
38
P31 to P35 (Port 3)
39
P40 to P42 (Port 4)
40
P60, P61 (Port 6)
41
P70 to P75 (Port 7)
42
P80 to P83 (Port 8)
42
P120 to P124 (Port 12)
43
Av , Av , Av , Av , Av
44
Refm
44
Refp
44
Reset
45
Regc
45
Flmd0
45
Pin I/O Circuits and Recommended Connection of Unused Pins
46
Chapter 3 Cpu Architecture
51
Memory Space
51
Internal Program Memory Space
54
Internal Data Memory Space
56
Special Function Register (SFR) Area
56
Data Memory Addressing
56
Processor Registers
59
Control Registers
59
General-Purpose Registers
62
Special Function Registers (Sfrs)
64
Instruction Address Addressing
69
Relative Addressing
69
Immediate Addressing
70
Register Addressing
72
Operand Address Addressing
72
Implied Addressing
72
Register Addressing
73
Direct Addressing
74
Short Direct Addressing
75
Special Function Register (SFR) Addressing
76
Register Indirect Addressing
77
Based Addressing
78
Based Indexed Addressing
79
Stack Addressing
80
Chapter 4 Port Functions
81
Port Functions
81
Port Configuration
84
Port 0
85
Port 1
87
Port 2
93
Port 3
99
Port 4
102
Port 6
104
Port 7
106
Port 8
107
Port 12
111
Registers Controlling Port Function
115
Port Function Operations
121
Writing to I/O Port
121
Reading from I/O Port
122
Operations on I/O Port
122
Settings of Port Mode Register and Output Latch When Using Alternate Function
122
Cautions on 1-Bit Manipulation Instruction for Port Register N (Pn)
128
Chapter 5 Clock Generator
129
Functions of Clock Generator
129
Configuration of Clock Generator
130
Registers Controlling Clock Generator
133
System Clock Oscillator
142
X1 Oscillator
142
XT1 Oscillator
142
When Subsystem Clock Is Not Used
145
Internal High-Speed Oscillator
145
Internal Low-Speed Oscillator
145
Prescaler
145
Clock Generator Operation
146
Controlling Clock
150
Example of Controlling High-Speed System Clock
150
Example of Controlling Internal High-Speed Oscillation Clock
153
Example of Controlling Subsystem Clock
156
Example of Controlling Internal Low-Speed Oscillation Clock
158
Clocks Supplied to CPU and Peripheral Hardware
159
CPU Clock Status Transition Diagram
160
Condition before Changing CPU Clock and Processing after Changing CPU Clock
166
Time Required for Switchover of CPU Clock and Main System Clock
168
Conditions before Clock Oscillation Is Stopped
170
Peripheral Hardware and Source Clocks
171
Chapter 6 16-Bit Timer/Event Counter 00
172
Functions of 16-Bit Timer/Event Counter 00
172
Configuration of 16-Bit Timer/Event Counter 00
173
Registers Controlling 16-Bit Timer/Event Counter 00
179
Operation of 16-Bit Timer/Event Counter 00
187
Interval Timer Operation
187
Square Wave Output Operation
190
External Event Counter Operation
193
Operation in Clear & Start Mode Entered by TI000 Pin Valid Edge Input
197
Free-Running Timer Operation
211
PPG Output Operation
220
One-Shot Pulse Output Operation
223
Pulse Width Measurement Operation
228
Special Use of TM00
236
Rewriting CR010 During TM00 Operation
236
Setting LVS00 and LVR00
236
Cautions for 16-Bit Timer/Event Counter 00
238
Chapter 7 8-Bit Timer/Event Counters 50 and 51
243
Functions of 8-Bit Timer/Event Counters 50 and 51
243
Configuration of 8-Bit Timer/Event Counters 50 and 51
243
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
246
Operations of 8-Bit Timer/Event Counters 50 and 51
252
Operation as Interval Timer
252
Operation as External Event Counter
254
Square-Wave Output Operation
255
PWM Output Operation
256
Cautions for 8-Bit Timer/Event Counters 50 and 51
260
Chapter 8 8-Bit Timers H0 and H1
261
Functions of 8-Bit Timers H0 and H1
261
Configuration of 8-Bit Timers H0 and H1
261
Registers Controlling 8-Bit Timers H0 and H1
265
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 9 Real-Time Counter
287
Functions of Real-Time Counter
287
Configuration of Real-Time Counter
288
Registers Controlling Real-Time Counter
290
Real-Time Counter Operation
303
Starting Operation of Real-Time Counter
303
Reading/Writing Real-Time Counter
304
Setting Alarm of Real-Time Counter
306
Hz Output of Real-Time Counter
307
Khz Output of Real-Time Counter
307
512 Hz, 16.384 Khz Output of Real-Time Counter
307
Example of Watch Error Correction of Real-Time Counter
308
Chapter 10 Watchdog Timer
313
Functions of Watchdog Timer
313
Configuration of Watchdog Timer
314
Register Controlling Watchdog Timer
315
Operation of Watchdog Timer
316
Controlling Operation of Watchdog Timer
316
Setting Overflow Time of Watchdog Timer
317
Setting Window Open Period of Watchdog Timer
318
Chapter 11 Clock Output Controller
320
Functions of Clock Output Controller
320
Configuration of Clock Output Controller
321
Registers Controlling Clock Output Controller
321
Operations of Clock Output Controller
323
Operation as Clock Output
323
Chapter 12 A/D Converter
324
Function of A/D Converter
324
Configuration of A/D Converter
326
Registers Used in A/D Converter
328
A/D Converter Operations
341
Basic Operations of A/D Converter
341
Input Voltage and Conversion Results
343
A/D Converter Operation Mode
344
How to Read A/D Converter Characteristics Table
350
Cautions for A/D Converter
352
Chapter 13 Operational Amplifier
356
Function of Operational Amplifier
356
Configuration of Operational Amplifier
356
Registers Used in Operational Amplifier
358
Operation of Operational Amplifier
363
Chapter 14 Serial Interface Uart6
364
Functions of Serial Interface UART6
364
Configuration of Serial Interface UART6
369
Registers Controlling Serial Interface UART6
372
Operation of Serial Interface UART6
381
Operation Stop Mode
381
Asynchronous Serial Interface (UART) Mode
382
Dedicated Baud Rate Generator
396
Calculation of Baud Rate
397
Chapter 15 Serial Interface Csi10
403
Functions of Serial Interface CSI10
403
Configuration of Serial Interface CSI10
404
Registers Controlling Serial Interface CSI10
406
Operation of Serial Interface CSI10
412
Operation Stop Mode
412
3-Wire Serial I/O Mode
413
Chapter 16 Serial Interface Iica
425
Functions of Serial Interface IICA
425
Configuration of Serial Interface IICA
428
Registers Controlling Serial Interface IICA
431
I C Bus Mode Functions
444
Pin Configuration
444
Setting Transfer Clock by Using IICWL and IICWH Registers
445
I C Bus Definitions and Control Methods
447
Start Conditions
447
Addresses
448
Transfer Direction Specification
448
Acknowledge (ACK)
449
Stop Condition
450
Wait
451
Canceling Wait
453
Interrupt Request (INTIICA0) Generation Timing and Wait Control
454
Address Match Detection Method
455
Error Detection
455
Extension Code
455
Arbitration
456
Wakeup Function
458
Communication Reservation
462
Cautions
466
Communication Operations
467
Timing of I C Interrupt Request (INTIICA0) Occurrence
475
Timing Charts
496
Chapter 17 Multiplier/Divider
503
Functions of Multiplier/Divider
503
Configuration of Multiplier/Divider
503
Register Controlling Multiplier/Divider
507
Operations of Multiplier/Divider
508
Multiplication Operation
508
Division Operation
510
Chapter 18 Interrupt Functions
512
Interrupt Function Types
512
Interrupt Sources and Configuration
512
Registers Controlling Interrupt Functions
517
Interrupt Servicing Operations
529
Maskable Interrupt Acknowledgment
529
Software Interrupt Request Acknowledgment
531
Multiple Interrupt Servicing
532
Interrupt Request Hold
535
Chapter 19 Key Interrupt Function
536
Functions of Key Interrupt
536
Configuration of Key Interrupt
537
Register Controlling Key Interrupt
538
Chapter 20 Standby Function
539
Standby Function and Configuration
539
Standby Function
539
Registers Controlling Standby Function
540
Standby Function Operation
542
HALT Mode
542
STOP Mode
547
Chapter 21 Reset Function
554
Register for Confirming Reset Source
563
Chapter 22 Power-On-Clear Circuit
564
Functions of Power-On-Clear Circuit
564
Configuration of Power-On-Clear Circuit
565
Operation of Power-On-Clear Circuit
565
Cautions for Power-On-Clear Circuit
568
Chapter 23 Low-Voltage Detector
570
Functions of Low-Voltage Detector
570
Configuration of Low-Voltage Detector
571
Registers Controlling Low-Voltage Detector
571
Operation of Low-Voltage Detector
574
When Used as Reset
575
When Used as Interrupt
580
Cautions for Low-Voltage Detector
585
Chapter 24 Option Byte
588
Functions of Option Bytes
588
Format of Option Byte
589
Chapter 25 Flash Memory
593
Internal Memory Size Switching Register
593
Writing with Flash Memory Programmer
594
Programming Environment
594
Communication Mode
595
Connection of Pins on Board
596
FLMD0 Pin
596
Serial Interface Pins
597
RESET Pin
598
Port Pins
599
REGC Pin
599
Other Signal Pins
599
Power Supply
599
Programming Method
600
Controlling Flash Memory
600
Flash Memory Programming Mode
600
Selecting Communication Mode
601
Communication Commands
602
Security Settings
603
Flash Memory Programming by Self-Programming
605
Boot Swap Function
612
Chapter 26 On-Chip Debug Function
614
Connecting QB-MINI2 to 78K0/Kx2-A Microcontrollers
614
Reserved Area Used by QB-MINI2
616
Chapter 27 Instruction Set
617
Conventions Used in Operation List
617
Operand Identifiers and Specification Methods
617
Description of Operation Column
618
Description of Flag Operation Column
618
Operation List
619
Instructions Listed by Addressing Type
627
Chapter 28 Electrical Specifications
630
Chapter 29 Package Drawings
656
78K0/Kb2-A
656
Advertisement
Advertisement
Related Products
Renesas 78K0/FB2-L
Renesas 78K0/FY2-L
Renesas 78K0/FA2-L
Renesas 78K0/F 2 Series
Renesas 78K0/FC2
Renesas 78K0/FE2
Renesas 78K0/FF2
Renesas 78K0/KB2-A
Renesas 78K0/KC2-A
Renesas 78K0R/KF3
Renesas Categories
Computer Hardware
Motherboard
Microcontrollers
Adapter
Switch
More Renesas Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL