Sign In
Upload
Manuals
Brands
Renesas Manuals
Microcontrollers
78K0R/KE3
Renesas 78K0R/KE3 Manuals
Manuals and User Guides for Renesas 78K0R/KE3. We have
1
Renesas 78K0R/KE3 manual available for free PDF download: User Manual
Renesas 78K0R/KE3 User Manual (880 pages)
Single-Chip 16-bit Microcontrollers
Brand:
Renesas
| Category:
Microcontrollers
| Size: 5.14 MB
Table of Contents
Table of Contents
10
Chapter 1 Outline
19
Differences between Conventional-Specification Products
19
Pd78F114X) and Expanded
19
Features
20
Applications
21
Ordering Information
21
Pin Configuration (Top View)
23
78K0R/Kx3 Microcontroller Lineup
26
Block Diagram
27
Outline of Functions
28
Chapter 2 Pin Functions
30
Pin Function List
30
Description of Pin Functions
35
P00 to P06 (Port 0)
35
P10 to P17 (Port 1)
36
P20 to P27 (Port 2)
37
P30, P31 (Port 3)
37
P40 to P43 (Port 4)
38
P50 to P55 (Port 5)
39
P60 to P63 (Port 6)
39
P70 to P77 (Port 7)
39
P120 to P124 (Port 12)
40
P130 (Port 13)
41
P140, P141 (Port 14)
41
Av Ref
41
Av Ss
42
Reset
42
Regc
42
VDD , Ev DD
42
Vss , Ev Ss
42
Flmd0
43
Pin I/O Circuits and Recommended Connection of Unused Pins
44
Chapter 3 Cpu Architecture
48
Memory Space
48
Internal Program Memory Space
55
Mirror Area
57
Internal Data Memory Space
58
Special Function Register (SFR) Area
59
Extended Special Function Register (2Nd SFR: 2Nd Special Function Register) Area
59
Data Memory Addressing
60
Processor Registers
65
Control Registers
65
General-Purpose Registers
67
And CS Registers
69
Special Function Registers (Sfrs)
70
Extended Special Function Registers (2Nd Sfrs: 2Nd Special Function Registers)
76
Instruction Address Addressing
81
Relative Addressing
81
Immediate Addressing
81
Register Direct Addressing
83
Addressing for Processing Data Addresses
84
Implied Addressing
84
Register Addressing
84
Direct Addressing
85
Short Direct Addressing
86
SFR Addressing
87
Register Indirect Addressing
88
Based Addressing
89
Based Indexed Addressing
92
Stack Addressing
93
Chapter 4 Port Functions
94
Port Functions
94
Port Configuration
97
Port 0
98
Port 12
98
Port 1
103
Port 2
109
Port 3
111
Port 4
112
Port 5
117
Port 6
119
Port 7
121
Port 13
125
Port 14
126
Registers Controlling Port Function
128
Port Function Operations
135
Writing to I/O Port
135
Reading from I/O Port
135
Operations on I/O Port
135
Connecting to External Device with Different Power Potential (2.5 V, 3 V)
136
Settings of Port Mode Register and Output Latch When Using Alternate Function
138
Cautions on 1-Bit Manipulation Instruction for Port Register N (Pn)
140
Chapter 5 Clock Generator
141
Functions of Clock Generator
141
Configuration of Clock Generator
142
Registers Controlling Clock Generator
144
System Clock Oscillator
158
X1 Oscillator
158
XT1 Oscillator
158
Internal High-Speed Oscillator
161
Internal Low-Speed Oscillator
161
Prescaler
161
Clock Generator Operation
162
Controlling Clock
166
Example of Controlling High-Speed System Clock
166
Example of Controlling Internal High-Speed Oscillation Clock
169
Example of Controlling Subsystem Clock
171
Example of Controlling Internal Low-Speed Oscillation Clock
173
CPU Clock Status Transition Diagram
174
Condition before Changing CPU Clock and Processing after Changing CPU Clock
179
Time Required for Switchover of CPU Clock and Main System Clock
181
Conditions before Clock Oscillation Is Stopped
182
Chapter 6 Timer Array Unit
183
Functions of Timer Array Unit
183
Functions of each Channel When It Operates Independently
183
Functions of each Channel When It Operates with Another Channel
184
LIN-Bus Supporting Function (Channel 7 Only)
184
Configuration of Timer Array Unit
185
Registers Controlling Timer Array Unit
190
Channel Output (To0N Pin) Control
211
To0N Pin Output Circuit Configuration
211
To0N Pin Output Setting
212
Cautions on Channel Output Operation
212
Collective Manipulation of To0N Bits
216
Timer Interrupt and To0N Pin Output at Operation Start
217
Channel Input (Ti0N Pin) Control
218
Ti0N Edge Detection Circuit
218
Basic Function of Timer Array Unit
219
Overview of Single-Operation Function and Combination-Operation Function
219
Basic Rules of Combination-Operation Function
219
Applicable Range of Basic Rules of Combination-Operation Function
220
Operation of Timer Array Unit as Independent Channel
221
Operation as Interval Timer/Square Wave Output
221
Operation as External Event Counter
227
Operation as Frequency Divider (Channel 0 Only)
230
Operation as Input Pulse Interval Measurement
234
Operation as Input Signal High-/Low-Level Width Measurement
238
Operation of Plural Channels of Timer Array Unit
242
Operation as PWM Function
242
Operation as One-Shot Pulse Output Function
249
Operation as Multiple PWM Output Function
256
Chapter 7 Real-Time Counter
263
Functions of Real-Time Counter
263
Configuration of Real-Time Counter
263
Registers Controlling Real-Time Counter
265
Real-Time Counter Operation
280
Starting Operation of Real-Time Counter
280
Shifting to STOP Mode after Starting Operation
281
Reading/Writing Real-Time Counter
282
Setting Alarm of Real-Time Counter
284
Hz Output of Real-Time Counter
285
Khz Output of Real-Time Counter
285
512 Hz, 16.384 Khz Output of Real-Time Counter
285
Example of Watch Error Correction of Real-Time Counter
286
Chapter 8 Watchdog Timer
291
Functions of Watchdog Timer
291
Configuration of Watchdog Timer
292
Register Controlling Watchdog Timer
293
Operation of Watchdog Timer
294
Controlling Operation of Watchdog Timer
294
Setting Overflow Time of Watchdog Timer
295
Setting Window Open Period of Watchdog Timer
296
Setting Watchdog Timer Interval Interrupt
297
Chapter 9 Clock Output/Buzzer Output Controller
298
Functions of Clock Output/Buzzer Output Controller
298
Configuration of Clock Output/Buzzer Output Controller
299
Registers Controlling Clock Output/Buzzer Output Controller
299
Operations of Clock Output/Buzzer Output Controller
301
Operation as Output Pin
301
Chapter 10 A/D Converter
302
Function of A/D Converter
302
Configuration of A/D Converter
303
Registers Used in A/D Converter
305
A/D Converter Operations
315
Basic Operations of A/D Converter
315
Input Voltage and Conversion Results
317
A/D Converter Operation Mode
318
Temperature Sensor Function
320
( Μ Pd78F114Xa) Only)
320
Configuration of Temperature Sensor
320
Registers Used by Temperature Sensors
321
Temperature Sensor Operation
323
Procedures for Using Temperature Sensors
325
How to Read A/D Converter Characteristics Table
328
Cautions for A/D Converter
330
Chapter 11 Serial Array Unit
335
Functions of Serial Array Unit
335
3-Wire Serial I/O (CSI00, CSI10)
335
Uart (Uart0, Uart1, Uart3)
336
Simplified I C (IIC10)
337
Configuration of Serial Array Unit
338
Registers Controlling Serial Array Unit
343
Operation Stop Mode
365
Stopping the Operation by Units
365
Stopping the Operation by Channels
366
Operation of 3-Wire Serial I/O (CSI00, CSI10) Communication
368
Master Transmission
369
Master Reception
378
Master Transmission/Reception
386
Slave Transmission
394
Slave Reception
403
Slave Transmission/Reception
409
Calculating Transfer Clock Frequency
418
Procedure for Processing Errors that Occurred During 3-Wire Serial I/O (CSI00, CSI10) Communication
420
Operation of UART (UART0, UART1, UART3) Communication
421
UART Transmission
422
UART Reception
432
LIN Transmission
439
LIN Reception
442
Calculating Baud Rate
447
Procedure for Processing Errors that Occurred During UART (UART0, UART1, UART2, UART3) Communication
451
Operation of Simplified I C (IIC10) Communication
452
Address Field Transmission
453
Data Transmission
458
Data Reception
461
Stop Condition Generation
465
Calculating Transfer Rate
466
Procedure for Processing Errors that Occurred During Simplified I 2 C (IIC10) Communication
469
Relationship between Register Settings and Pins
470
Chapter 12 Serial Interface Iic0
475
Functions of Serial Interface IIC0
475
Configuration of Serial Interface IIC0
478
Registers to Controlling Serial Interface IIC0
481
I C Bus Mode Functions
493
Pin Configuration
493
I C Bus Definitions and Control Methods
494
Start Conditions
494
Addresses
495
Transfer Direction Specification
495
Transfer Clock Setting Method
496
Acknowledge (ACK)
497
Stop Condition
499
Wait
500
Canceling Wait
502
Interrupt Request (INTIIC0) Generation Timing and Wait Control
503
Address Match Detection Method
504
Error Detection
504
Extension Code
504
Arbitration
505
Wakeup Function
506
Communication Reservation
507
Cautions
511
Communication Operations
512
Timing of I 2 C Interrupt Request (INTIIC0) Occurrence
520
Timing Charts
541
Chapter 13 Multiplier
548
Functions of Multiplier
548
Configuration of Multiplier
549
Operation of Multiplier
550
Chapter 14 Dma Controller
551
Functions of DMA Controller
551
Configuration of DMA Controller
552
Registers Controlling DMA Controller
555
Operation of DMA Controller
559
Operation Procedure
559
Transfer Mode
561
Termination of DMA Transfer
561
Example of Setting of DMA Controller
562
CSI Consecutive Transmission
562
CSI Master Reception
564
CSI Transmission/Reception
566
Consecutive Capturing of A/D Conversion Results
568
UART Consecutive Reception + ACK Transmission
570
Holding DMA Transfer Pending by Dwaitn
572
Forced Termination by Software
573
Cautions on Using DMA Controller
575
Chapter 15 Interrupt Functions
578
Interrupt Function Types
578
Interrupt Sources and Configuration
578
Registers Controlling Interrupt Functions
583
Interrupt Servicing Operations
593
Maskable Interrupt Acknowledgment
593
Software Interrupt Request Acknowledgment
595
Multiple Interrupt Servicing
596
Interrupt Request Hold
599
Chapter 16 Key Interrupt Function
600
Functions of Key Interrupt
600
Configuration of Key Interrupt
600
Register Controlling Key Interrupt
601
Chapter 17 Standby Function
602
Standby Function and Configuration
602
Standby Function
602
Registers Controlling Standby Function
602
Standby Function Operation
605
HALT Mode
605
STOP Mode
610
Chapter 18 Reset Function
617
Register for Confirming Reset Source
625
Chapter 19 Power-On-Clear Circuit
626
Functions of Power-On-Clear Circuit
626
Configuration of Power-On-Clear Circuit
627
Operation of Power-On-Clear Circuit
627
Cautions for Power-On-Clear Circuit
630
Chapter 20 Low-Voltage Detector
632
Functions of Low-Voltage Detector
632
Configuration of Low-Voltage Detector
633
Registers Controlling Low-Voltage Detector
633
Operation of Low-Voltage Detector
638
When Used as Reset
639
When Used as Interrupt
645
Cautions for Low-Voltage Detector
651
Chapter 21 Regulator
655
Regulator Overview
655
Registers Controlling Regulator
655
Chapter 22 Option Byte
657
Functions of Option Bytes
657
User Option Byte (000C0H to 000C2H/010C0H to 010C2H)
657
On-Chip Debug Option Byte (000C3H/ 010C3H)
658
Format of User Option Byte
658
Format of On-Chip Debug Option Byte
660
Setting of Option Byte
661
Chapter 23 Flash Memory
662
Writing with Flash Memory Programmer
662
Programming Environment
665
Communication Mode
665
Connection of Pins on Board
666
FLMD0 Pin
666
TOOL0 Pin
667
RESET Pin
667
Port Pins
668
REGC Pin
668
X1 and X2 Pins
668
Power Supply
668
Registers that Control Flash Memory
668
Programming Method
669
Controlling Flash Memory
669
Flash Memory Programming Mode
669
Selecting Communication Mode
670
Communication Commands
670
Security Settings
672
Processing Time of each Command When Using PG-FP4 or PG-FP5 (Reference Values)
674
Flash Memory Programming by Self-Programming
675
Boot Swap Function
677
Flash Shield Window Function
679
Chapter 24 On-Chip Debug Function
680
Connecting QB-MINI2 to 78K0R/KE3
680
On-Chip Debug Security ID
681
Securing of User Resources
681
Chapter 25 Bcd Correction Circuit
683
BCD Correction Circuit Function
683
Registers Used by BCD Correction Circuit
683
BCD Correction Circuit Operation
684
Chapter 26 Instruction Set
686
Conventions Used in Operation List
687
Operand Identifiers and Specification Methods
687
Description of Operation Column
688
Description of Flag Operation Column
689
PREFIX Instruction
689
Operation List
690
Chapter 27 Electrical Specifications (Standard Products)
707
Chapter 28 Electrical Specifications ((A) Grade Products)
760
Chapter 29 Package Drawings
812
Chapter 30 Recommended Soldering Conditions
817
Appendix A Development Tools
819
Software Package
822
Language Processing Software
822
Control Software
823
Flash Memory Programming Tools
823
When Using Flash Memory Programmer FG-FP5, FL-PR5, FG-FP4, and FL-PR4
823
When Using On-Chip Debug Emulator with Programming Function QB-MINI2
824
Debugging Tools (Hardware)
824
When Using In-Circuit Emulator QB-78K0RKX3
824
When Using On-Chip Debug Emulator with Programming Function QB-MINI2
825
Debugging Tools (Software)
826
Appendix B List of Cautions
827
Appendix C Revision History
860
Major Revisions in this Edition
860
Revision History of Preceding Editions
865
Advertisement
Advertisement
Related Products
Renesas 78K0R/KF3
Renesas 78K0/FB2-L
Renesas 78K0/FY2-L
Renesas 78K0/FA2-L
Renesas 78K0/F 2 Series
Renesas 78K0/FC2
Renesas 78K0 Series
Renesas 78K0/KB2-A
Renesas 78K0/KC2-A
Renesas 78K0/FF2
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