Sign In
Upload
Manuals
Brands
Renesas Manuals
Microcontrollers
78K0/F 2 Series
Renesas 78K0/F 2 Series Manuals
Manuals and User Guides for Renesas 78K0/F 2 Series. We have
1
Renesas 78K0/F 2 Series manual available for free PDF download: User Manual
Renesas 78K0/F 2 Series User Manual (858 pages)
8-Bit Single-Chip Microcontrollers
Brand:
Renesas
| Category:
Microcontrollers
| Size: 5.67 MB
Table of Contents
Table of Contents
12
Chapter 1 Outline
21
Differences between Conventional-Specification Products
21
Pd78F08Xx) and Expanded
21
A/D Conversion Time
22
Number of Flash Memory Rewrites and Retention Time of (A) Grade Products and (A2) Grade Products
22
Processing Time for Self Programming Library
23
Interrupt Response Time for Self Programming Library
29
Features
33
Applications
34
Ordering Information
34
Pin Configuration (Top View)
36
78K0/Fc2
36
78K0/Fe2
38
78K0/Ff2
39
Pin Identification
40
Block Diagram
41
78K0/Fc2
41
78K0/Fe2
43
78K0/Ff2
44
Outline of Functions
45
Chapter 2 Pin Functions
48
Pin Function List
48
78K0/Fc2
49
78K0/Fe2
52
78K0/Ff2
55
Description of Pin Functions
59
P00, P01, P05, P06 (Port 0)
59
P10 to P17 (Port 1)
60
P30 to P33 (Port 3)
61
P40 to P47 (Port 4)
62
P50 to P57 (Port 5)
63
P60 to P67 (Port 6)
63
P70 to P76 (Port 7)
64
P80 to P87 (Port 8)
65
P90 to P97 (Port 9)
66
P120 to P124 (Port 12)
66
P130 to P132 (Port 13)
68
Av Ref , Av Ss DD , Ev DD
68
Reset
69
Regc
69
Flmd0
69
Pin I/O Circuits and Recommended Connection of Unused Pins
70
Chapter 3 Cpu Architecture
74
Memory Space
74
Internal Program Memory Space
82
Memory Bank ( Μ PD78F0889A, 78F0890A, 78F0892A to 78F0895A Only)
84
Internal Data Memory Space
86
Special Function Register (SFR) Area
86
Data Memory Addressing
87
Processor Registers
93
Control Registers
93
General-Purpose Registers
97
Special Function Registers (Sfrs)
98
Instruction Address Addressing
105
Relative Addressing
105
Immediate Addressing
106
Register Addressing
108
Operand Address Addressing
109
Implied Addressing
109
Register Addressing
110
Direct Addressing
111
Short Direct Addressing
112
Special Function Register (SFR) Addressing
113
Register Indirect Addressing
114
Based Addressing
115
Based Indexed Addressing
116
Stack Addressing
117
Chapter 4 Memory Bank Select Function ( 78F0895A Only)
118
PD78F0889A, 78F0890A, 78F0892A to
118
Memory Bank
118
Difference in Representation of Memory Space
119
Memory Bank Select Register (BANK)
120
Selecting Memory Bank
121
Referencing Values between Memory Banks
121
Branching Instruction between Memory Banks
123
Subroutine Call between Memory Banks
125
Instruction Branch to Bank Area by Interrupt
127
Chapter 5 Port Functions
129
Port Functions
129
Port Configuration
132
Port 0
133
Port 1
136
Port 3
142
Port 4
147
Port 5
148
Port 6
149
Port 7
152
Port 8
157
Port 9
159
Port 12
161
Port 13
164
Registers Controlling Port Function
168
Port Function Operations
180
Writing to I/O Port
180
Reading from I/O Port
180
Operations on I/O Port
180
Settings of Port Mode Register and Output Latch When Using Alternate Function
181
Cautions on 1-Bit Manipulation Instruction for Port Register N (Pn)
183
Chapter 6 Clock Generator
184
Functions of Clock Generator
184
Configuration of Clock Generator
185
Registers Controlling Clock Generator
187
System Clock Oscillator
196
X1 Oscillator
196
XT1 Oscillator
196
When Subsystem Clock Is Not Used
199
Internal High-Speed Oscillator
199
Internal Low-Speed Oscillator
199
Prescaler
199
Clock Generator Operation
200
Controlling Clock
205
Controlling High-Speed System Clock
205
Example of Controlling Internal High-Speed Oscillation Clock
208
Example of Controlling Subsystem Clock
210
Controlling Internal Low-Speed Oscillation Clock
212
Clocks Supplied to CPU and Peripheral Hardware
212
CPU Clock Status Transition Diagram
213
Condition before Changing CPU Clock and Processing after Changing CPU Clock
218
Time Required for Switchover of CPU Clock and Main System Clock
219
Conditions before Clock Oscillation Is Stopped
220
Chapter 7 16-Bit Timer/Event Counters 00 to 03
221
Functions of 16-Bit Timer/Event Counters 00 to 03
222
Configuration of 16-Bit Timer/Event Counters 00 to 03
223
Registers Controlling 16-Bit Timer/Event Counters 00 to 03
234
Operation of 16-Bit Timer/Event Counters 00 to 03
255
Interval Timer Operation
255
PPG Output Operations
258
Pulse Width Measurement Operations
261
External Event Counter Operation
272
Square-Wave Output Operation
275
One-Shot Pulse Output Operation
277
Special Use of Tm0N
283
Rewriting Cr01N During Tm0N Operation
283
Setting Lvs0N and Lvr0N
283
Cautions for 16-Bit Timer/Event Counters 00 to 03
285
Chapter 8 8-Bit Timer/Event Counters 50 and 51
290
Functions of 8-Bit Timer/Event Counters 50 and 51
290
Configuration of 8-Bit Timer/Event Counters 50 and 51
292
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
294
Operations of 8-Bit Timer/Event Counters 50 and 51
300
Operation as Interval Timer
300
Operation as External Event Counter
302
Square-Wave Output Operation
303
PWM Output Operation
304
Cautions for 8-Bit Timer/Event Counters 50 and 51
308
Chapter 9 8-Bit Timers H0 and H1
309
Functions of 8-Bit Timers H0 and H1
309
Configuration of 8-Bit Timers H0 and H1
309
Registers Controlling 8-Bit Timers H0 and H1
313
Operation of 8-Bit Timers H0 and H1
319
Operation as Interval Timer/Square-Wave Output
319
Operation as PWM Output Mode
322
Carrier Generator Mode Operation (8-Bit Timer H1 Only)
328
Chapter 10 Watch Timer
335
Functions of Watch Timer
335
Configuration of Watch Timer
336
Register Controlling Watch Timer
337
Watch Timer Operations
339
Watch Timer Operation
339
Interval Timer Operation
340
Cautions for Watch Timer
341
Chapter 11 Watchdog Timer
342
Functions of Watchdog Timer
342
Configuration of Watchdog Timer
343
Register Controlling Watchdog Timer
344
Operation of Watchdog Timer
345
Controlling Operation of Watchdog Timer
345
Setting Overflow Time of Watchdog Timer
347
Setting Window Open Period of Watchdog Timer
348
Chapter 12 Clock Output/Buzzer Output Controller
350
Functions of Clock Output/Buzzer Output Controller
350
Configuration of Clock Output/Buzzer Output Controller
351
Register Controlling Clock Output/Buzzer Output Controller
351
Clock Output/Buzzer Output Controller Operations
354
Clock Output Operation
354
Operation as Buzzer Output
354
Chapter 13 A/D Converter
355
Function of A/D Converter
355
Configuration of A/D Converter
356
Registers Used in A/D Converter
358
A/D Converter Operations
368
Basic Operations of A/D Converter
368
Input Voltage and Conversion Results
370
A/D Converter Operation Mode
372
How to Read A/D Converter Characteristics Table
374
Cautions for A/D Converter
376
Chapter 14 Serial Interfaces Uart60 and Uart61
380
Functions of Serial Interfaces UART60 and UART61
380
Configurations of Serial Interface UART60 and UART61
386
Registers Controlling Serial Interfaces UART60 and UART61
390
Operations of Serial Interface UART60 and UART61
410
Operation Stop Mode
410
Asynchronous Serial Interface (UART) Mode
411
Dedicated Baud Rate Generator
426
Chapter 15 Serial Interfaces Csi10 and Csi11
432
Functions of Serial Interfaces CSI10 and CSI11
432
Configuration of Serial Interfaces CSI10 and CSI11
433
Registers Controlling Serial Interfaces CSI10 and CSI11
435
Operation of Serial Interfaces CSI10 and CSI11
443
Operation Stop Mode
443
3-Wire Serial I/O Mode
444
Chapter 16 Can Controller
456
Outline Description
456
Features
456
Overview of Functions
457
Configuration
458
CAN Protocol
459
Frame Format
459
Frame Types
460
Data Frame and Remote Frame
460
Error Frame
468
Overload Frame
469
Functions
470
Determining Bus Priority
470
Bit Stuffing
470
Multi Masters
470
Multi Cast
470
CAN Sleep Mode/Can Stop Mode Function
470
Error Control Function
471
Baud Rate Control Function
477
Connection with Target System
481
Internal Registers of CAN Controller
482
CAN Controller Configuration
482
Register Access Type
483
Register Bit Configuration
492
Bit Set/Clear Function
496
Control Registers
498
CAN Controller Initialization
533
Initialization of CAN Module
533
Initialization of Message Buffer
533
Redefinition of Message Buffer
533
Transition from Initialization Mode to Operation Mode
534
Resetting Error Counter C0ERC of CAN Module
535
Message Reception
536
Receive Data Read
537
Receive History List Function
538
Mask Function
540
Multi Buffer Receive Block Function
542
Remote Frame Reception
543
Message Transmission
544
Transmit History List Function
546
Automatic Block Transmission (ABT)
548
Transmission Abort Process
549
Remote Frame Transmission
550
Power Save Modes
551
CAN Sleep Mode
551
CAN Stop Mode
553
Example of Using Power Saving Modes
554
Interrupt Function
555
Diagnosis Functions and Special Operational Modes
556
Receive-Only Mode
556
Single-Shot Mode
557
Self-Test Mode
558
Receive/Transmit Operation in each Operation Mode
559
Time Stamp Function
560
Baud Rate Settings
562
Representative Examples of Baud Rate Settings
566
Operation of CAN Controller
570
Chapter 17 Interrupt Functions
597
Interrupt Function Types
597
Interrupt Sources and Configuration
597
Registers Controlling Interrupt Functions
601
Interrupt Servicing Operations
612
Maskable Interrupt Acknowledgement
612
Software Interrupt Request Acknowledgement
614
Multiple Interrupt Servicing
615
Interrupt Request Hold
618
Chapter 18 Standby Function
619
Standby Function and Configuration
619
Standby Function
619
Registers Controlling Standby Function
619
Standby Function Operation
622
HALT Mode
622
STOP Mode
627
Chapter 19 Reset Function
634
Register for Confirming Reset Source
642
Chapter 20 Multiplier/Divider
643
Functions of Multiplier/Divider
643
Configuration of Multiplier/Divider
643
Register Controlling Multiplier/Divider
647
Operations of Multiplier/Divider
648
Multiplication Operation
648
Division Operation
650
Chapter 21 Power-On-Clear Circuit
652
Functions of Power-On-Clear Circuit
652
Configuration of Power-On-Clear Circuit
653
Operation of Power-On-Clear Circuit
653
Cautions for Power-On-Clear Circuit
656
Chapter 22 Low-Voltage Detector
658
Functions of Low-Voltage Detector
658
Configuration of Low-Voltage Detector
659
Registers Controlling Low-Voltage Detector
659
Operation of Low-Voltage Detector
662
When Used as Reset
663
When Used as Interrupt
668
Cautions for Low-Voltage Detector
673
Chapter 23 Option Byte
676
Functions of Option Bytes
676
Format of Option Byte
678
Chapter 24 Flash Memory
681
Internal Memory Size Switching Register
681
Internal Expansion RAM Size Switching Register
682
Writing with Flash Memory Programmer
683
Programming Environment
695
Communication Mode
695
Connection of Pins on Board
697
FLMD0 Pin
697
Serial Interface Pins
697
RESET Pin
699
Port Pins
699
REGC Pin
699
Other Signal Pins
699
Power Supply
700
Programming Method
701
Controlling Flash Memory
701
Flash Memory Programming Mode
701
Selecting Communication Mode
702
Communication Commands
703
Security Settings
704
Processing Time for each Command When PG-FP4 or PG-FP5 Is Used (Reference)
706
Flash Memory Programming by Self-Programming
708
Registers Used for Self-Programming Function
717
Boot Swap Function
721
Chapter 25 On-Chip Debug Function
723
Outline of Functions
723
Connection with MINICUBE or QB-MINI2
724
Connection Circuit Examples
725
Reserved Area Used by QB-78K0MINI and QB-MINI2
727
On-Chip Debug Security ID
728
Restrictions and Cautions on On-Chip Debug Function
728
Chapter 26 Instruction Set
729
Conventions Used in Operation List
729
Operand Identifiers and Specification Methods
729
Description of Operation Column
730
Description of Flag Operation Column
730
Operation List
731
Instructions Listed by Addressing Type
739
Chapter 27 Electrical Specifications ((A) Grade Products)
742
Absolute Maximum Ratings
744
Oscillator Characteristics
746
DC Characteristics
748
AC Characteristics
754
Data Retention Characteristics
764
Flash EEPROM Programming Characteristics
765
Chapter 28 Electrical Specifications ((A2) Grade Products)
766
Absolute Maximum Ratings
768
Oscillator Characteristics
770
DC Characteristics
772
AC Characteristics
778
Data Retention Characteristics
788
Flash EEPROM Programming Characteristics
789
Chapter 29 Package Drawings
790
78K0/Fc2
790
78K0/Fe2
792
78K0/Ff2
794
Chapter 30 Recommended Soldering Conditions
796
Chapter 31 Cautions for Wait
797
Cautions for Wait
797
Peripheral Hardware that Generates Wait
798
Example of Wait Occurrence
800
Appendix A Development Tools
801
Software Package
805
Language Processing Software
805
Flash Memory Programming Tools
806
When Using Flash Memory Programmer PG-FP5, FL-PR5, FG-FP4, and FL-PR4
806
When Using On-Chip Debug Emulator with Programming Function QB-MINI2
806
Debugging Tools (Hardware)
807
When Using In-Circuit Emulator QB-78K0FX2
807
When Using On-Chip Debug Emulator QB-78K0MINI
808
When Using On-Chip Debug Emulator with Programming Function QB-MINI2
808
Debugging Tools (Software)
809
Appendix B Notes on Target System Design
810
Appendix C Register Index
816
Register Index (in Alphabetical Order with Respect to Register Names)
816
Register Index (in Alphabetical Order with Respect to Register Symbol)
821
Appendix D List of Cautions
826
Advertisement
Advertisement
Related Products
Renesas 78K0/FB2-L
Renesas 78K0/FY2-L
Renesas 78K0/FA2-L
Renesas 78K0/FC2
Renesas 78K0/FE2
Renesas 78K0/FF2
Renesas 78K0/KB2-A
Renesas 78K0/KC2-A
Renesas 78K0R/KF3
Renesas 78K0R/KE3
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