Datasheet
RL78/G12
RENESAS MCU
R01DS0193EJ0230
Rev.2.30
Jun 19, 2020
True low-power platform (63
μA/MHz)
for the general-purpose applications, with 1.8-V to 5.5-V operation,
2- to 16-Kbyte code flash memory, and 31 DMIPS at 24 MHz
1. OUTLINE
1.1 Features
Ultra-low power consumption technology
V
DD
= single power supply voltage of 1.8 to 5.5 V which
can operate at a low voltage
HALT mode
STOP mode
SNOOZE mode
RL78 CPU core
CISC architecture with 3-stage pipeline
Minimum instruction execution time: Can be changed
from high speed (0.04167
s:
@ 24 MHz operation with
high-speed on-chip oscillator) to ultra-low speed (1
s:
@ 1 MHz operation)
Address space: 1 MB
General-purpose registers: (8-bit register x 8) x 4 banks
On-chip RAM: 256 B to 2 KB
Code flash memory
Code flash memory: 2 to 16 KB
Block size: 1 KB
Prohibition of block erase and rewriting (security
function)
On-chip debug function
Self-programming (with flash shield window function)
A/D converter
8/10-bit resolution A/D converter (V
DD
= 1.8 to 5.5 V)
8 to 11 channels, internal reference voltage (1.45 V),
and temperature sensor
Note
I/O port
I/O port: 18 to 26
(N-ch open drain I/O [withstand voltage of 6 V]: 2,
N-ch open drain I/O [V
DD
withstand voltage]: 4 to 9)
Can be set to N-ch open drain, TTL input buffer, and
on-chip pull-up resistor
Different potential interface: Can connect to a 1.8/2.5/3
V device
On-chip key interrupt function
On-chip clock output/buzzer output controller
Others
On-chip BCD (binary-coded decimal) correction circuit
Note
Can be selected only in HS (high-speed main)
mode.
Remark
The functions mounted depend on the product.
See
1.7 Outline of Functions.
DMA (Direct Memory Access) controller
Note
2 channels
Number of clocks during transfer between 8/16-bit SFR
and internal RAM: 2 clocks
Multiplier and divider/multiply-accumulator
16 bits x 16 bits = 32 bits (Unsigned or signed)
32 bits x 32 bits = 32 bits (Unsigned)
16 bits x 16 bits + 32 bits = 32 bits (Unsigned or
signed)
Serial interface
CSI
UART
Simplified I
2
C communication
I
2
C communication
: 1 to 3 channels
: 1 to 3 channels
: 0 to 3 channels
: 1 channel
Timer
16-bit timer
: 4 to 8 channels
12-bit interval timer : 1 channel
Watchdog timer
: 1 channel (operable with the
dedicated low-speed on-chip
oscillator)
Data flash memory
Note
Data flash memory: 2 KB
Back ground operation (BGO): Instructions are
executed from the program memory while rewriting the
data flash memory.
Number of rewrites: 1,000,000 times (TYP.)
Voltage of rewrites: V
DD
= 1.8 to 5.5 V
High-speed on-chip oscillator
Select from 24 MHz, 16 MHz, 12 MHz, 8 MHz, 6 MHz,
4 MHz, 3 MHz, 2 MHz, and 1 MHz
High accuracy: +/- 1.0 % (V
DD
= 1.8 to 5.5 V, T
A
= -20
to +85 °C)
Operating ambient temperature
T
A
= -40 to +85 °C (A: Consumer applications, D:
Industrial applications)
T
A
= -40 to +105 °C (G: Industrial applications)
Note
Power management and reset function
On-chip power-on-reset (POR) circuit
On-chip voltage detector (LVD) (Select interrupt and
reset from 12 levels)
R01DS0193EJ0230 Rev.2.30
Jun 19, 2020
Page 1 of 108
RL78/G12
1. OUTLINE
Օ
ROM, RAM capacities
Code flash
16 KB
Data flash
2 KB
–
2 KB
–
12 KB
2KB
–
8 KB
2 KB
–
4 KB
2KB
–
2 KB
2 KB
–
256 B
512 B
768 B
1 KB
1.5 KB
RAM
2 KB
20 pins
–
–
R5F1026A
Note 1
R5F1036A
Note 1
R5F10269
Note 1
R5F10369
Note 1
R5F10268
Note 1
R5F10368
Note 1
R5F10267
R5F10367
R5F10266
Note 2
R5F10366
Note 2
24 pins
–
–
R5F1027A
Note 1
R5F1037A
Note 1
R5F10279
Note 1
R5F10379
Note 1
R5F10278
Note 1
R5F10378
Note 1
R5F10277
R5F10377
–
–
30 pins
R5F102AA
R5F103AA
–
–
R5F102A9
R5F103A9
R5F102A8
R5F103A8
R5F102A7
R5F103A7
–
–
Notes 1.
2.
This is 640 bytes when the self-programming function or data flash function is used. (For details, see
CHAPTER 3 CPU ARCHITECTURE
in the RL78/G12 User’s Manual.)
The self-programming function cannot be used for R5F10266 and R5F10366.
Caution When the flash memory is rewritten via a user program, the code flash area and RAM area are used
because each library is used. When using the library, refer to RL78 Family Flash Self Programming
Library Type01 User's Manual and RL78 Family Data Flash Library Type04 User's Manual.
R01DS0193EJ0230 Rev.2.30
Jun 19, 2020
Page 2 of 108
RL78/G12
1. OUTLINE
1.2 List of Part Numbers
<R>
Figure 1-1. Part Number, Memory Size, and Package of RL78/G12
Product name
Ordering part number R 5 F 1 0 2 A A A x x x S P #V0
Packaging specifications:
#U5, #05, #25: Tray (HWQFN)
#V0, #10, #30: Tray (LSSOP30)
#V5: Tube (LSSOP20)
#15: Tray (TSSOP20)
#35: Tray (TSSOP20), Tube (LSSOP20)
#W5, #45: Embossed Tape (HWQFN)
#X0, #50: Embossed Tape (LSSOP30)
#X5: Embossed Tape (LSSOP20)
#55: Embossed Tape (LSSOP20, TSSOP20)
Package type:
SM : TSSOP, 0.65-mm pitch
SP : LSSOP, 0.65-mm pitch
NA : HWQFN, 0.50-mm pitch
ROM number (Omitted with blank products)
Fields of application:
A : Consumer applications, T
A
= -40°C to +85°C
D : Industrial applications, T
A
= -40°C to +85°C
G : Industrial applications, T
A
= -40°C to +105°C
ROM capacity:
6 :
7:
8:
9 :
A :
2 KB
4 KB
8 KB
12 KB
16 KB
Pin count:
6 : 20-pin
7 : 24-pin
A : 30-pin
RL78/G12 group
102
Note 1
103
Notes 1, 2
Memory type:
F : Flash memory
Renesas MCU
Renesas semiconductor product
Notes 1.
2.
For details about the differences between the R5F102 products and the R5F103 products of RL78/G12,
see
1.3 Differences between the R5F102 Products and the R5F103 Products.
Products only for “A: Consumer applications (T
A
= -40 to +85°C)” and “D: Industrial applications (T
A
= -40 to
+85°C)”
R01DS0193EJ0230 Rev.2.30
Jun 19, 2020
Page 3 of 108
RL78/G12
1. OUTLINE
<R>
Pin
count
20
pins
Package
Data
flash
Table 1-1. List of Ordering Part Numbers
Fields of
Application
Note
Ordering Part Number
Product Name
R5F1026AASP, R5F10269ASP, R5F10268ASP,
R5F10267ASP, R5F10266ASP
R5F1026ADSP, R5F10269DSP, R5F10268DSP,
R5F10267DSP, R5F10266DSP
R5F1026AGSP, R5F10269GSP, R5F10268GSP,
R5F10267GSP, R5F10266GSP
R5F1036AASP, R5F10369ASP, R5F10368ASP,
R5F10367ASP, R5F10366ASP
R5F1036ADSP, R5F10369DSP, R5F10368DSP,
R5F10367DSP, R5F10366DSP
R5F1026AASM, R5F10269ASM, R5F10268ASM,
R5F10267ASM, R5F10266ASM
R5F1026AGSM, R5F10269GSM, R5F10268GSM,
R5F10267GSM, R5F10266GSM
R5F1036AASM, R5F10369ASM, R5F10368ASM,
R5F10367ASM, R5F10366ASM
R5F1027AANA, R5F10279ANA, R5F10278ANA,
R5F10277ANA
R5F1027AANA, R5F10279ANA, R5F10278ANA,
R5F10277ANA
#U5, #W5
#05, #25, #45
#U5, #W5
#15, #35, #55
#V5, #35, #X5,
#55
Packaging
Specifications
#V5, #35, #X5,
#55
RENESAS Code
20-pin
plastic
LSSOP
(4.4 × 6.5
mm, 0.65-
mm pitch)
Mounted A
D
G
Not
A
mounted
D
PLSP0020JB-A
PLSP0020JB-A
20-pin
plastic
TSSOP
(4.4 x 6.5
mm, 0.65-
mm pitch)
24
pins
24-pin
plastic
HWQFN
(4 × 4 mm,
0.5-mm
pitch)
Mounted A
G
Not
A
mounted
Mounted A
PTSP0020JI-A
PWQN0024KE-A
PWQN0024KF-A
PWQN0024KE-A
D
G
R5F1027ADNA, R5F10279DNA, R5F10278DNA,
R5F10277DNA
R5F1027AGNA, R5F10279GNA, R5F10278GNA,
R5F10277GNA
R5F1027AGNA, R5F10279GNA, R5F10278GNA,
R5F10277GNA
#05, #25, #45
#U5, #W5
#05, #25, #45
#U5, #W5
#V0, #10, #30,
#X0, #50
PWQN0024KF-A
PWQN0024KE-A
PWQN0024KF-A
PWQN0024KE-A
PLSP0030JB-B
Not
A
mounted
R5F1037AANA, R5F10379ANA, R5F10378ANA,
R5F10377ANA
R5F1037AANA, R5F10379ANA, R5F10378ANA,
R5F10377ANA
D
30
pins
30-pin
plastic
LSSOP
(7.62 mm
(300), 0.65-
mm pitch)
Mounted A
D
G
Not
A
mounted
D
R5F1037ADNA, R5F10379DNA, R5F10378DNA,
R5F10377DNA
R5F102AAASP, R5F102A9ASP, R5F102A8ASP,
R5F102A7ASP
R5F102AADSP, R5F102A9DSP, R5F102A8DSP,
R5F102A7DSP
R5F102AAGSP, R5F102A9GSP, R5F102A8GSP,
R5F102A7GSP
R5F103AAASP, R5F103A9ASP, R5F103A8ASP,
R5F103A7ASP
R5F103AADSP, R5F103A9DSP, R5F103A8DSP,
R5F103A7DSP
#V0, #10, #30,
#X0, #50
PLSP0030JB-B
Note
For fields of application, see
Figure 1-1 Part Number, Memory Size, and Package of RL78/G12.
Caution The ordering part numbers represent the numbers at the time of publication. For the latest ordering
part numbers, refer to the target product page of the Renesas Electronics website.
R01DS0193EJ0230 Rev.2.30
Jun 19, 2020
Page 4 of 108
RL78/G12
1. OUTLINE
1.3 Differences between the R5F102 Products and the R5F103 Products
The following are differences between the R5F102 products and the R5F103 products.
Օ
Whether the data flash memory is mounted or not
Օ
High-speed on-chip oscillator oscillation frequency accuracy
Օ
Number of channels in serial interface
Օ
Whether the DMA function is mounted or not
Օ
Whether a part of the safety functions are mounted or not
1.3.1 Data Flash
The data flash memory of 2 KB is mounted on the R5F102 products, but not on the R5F103 products.
Product
R5F102 products
R5F1026A, R5F1027A, R5F102AA,
R5F10269, R5F10279, R5F102A9,
R5F10268, R5F10278, R5F102A8,
R5F10267, R5F10277, R5F102A7,
R5F10266
Note
R5F103 products
R5F1036A, R5F1037A, R5F103AA,
R5F10369, R5F10379, R5F103A9,
R5F10368, R5F10378 R5F103A8,
R5F10367, R5F10377, R5F103A7,
R5F10366
Data Flash
2 KB
Not mounted
Note
The RAM in the R5F10266 has capacity as small as 256 bytes. Depending on the customer's program
specification, the stack area to execute the data flash library may not be kept and data may not be written to or
erased from the data flash memory.
Caution When the flash memory is rewritten via a user program, the code flash area and RAM area are used
because each library is used. When using the library, refer to RL78 Family Flash Self Programming
Library Type01 User's Manual and RL78 Family Data Flash Library Type04 User's Manual.
R01DS0193EJ0230 Rev.2.30
Jun 19, 2020
Page 5 of 108