Datasheet
RL78/G13
RENESAS MCU
R01DS0131EJ0350
Rev.3.50
Jun 30, 2020
True low-power platform (66
μA/MHz,
and 0.57
μA
for operation with only RTC and LVD) for the general-purpose
applications, with 1.6-V to 5.5-V operation, 16- to 512-Kbyte code flash memory, and 41 DMIPS at 32 MHz
1. OUTLINE
1.1 Features
Ultra-low power consumption technology
V
DD
= single power supply voltage of 1.6 to 5.5 V
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.03125
μs:
@ 32 MHz operation
with high-speed on-chip oscillator) to ultra-low speed
(30.5
μs:
@ 32.768 kHz operation with subsystem
clock)
Address space: 1 MB
General-purpose registers: (8-bit register × 8) × 4
banks
On-chip RAM: 2 to 32 KB
Code flash memory
Code flash memory: 16 to 512 KB
Block size: 1 KB
Prohibition of block erase and rewriting (security
function)
On-chip debug function
Self-programming (with boot swap function/flash shield
window function)
Data Flash Memory
Data flash memory: 4 KB to 8 KB
Back ground operation (BGO): Instructions can be
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 32 MHz, 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)
Power management and reset function
On-chip power-on-reset (POR) circuit
On-chip voltage detector (LVD) (Select interrupt and
reset from 14 levels)
DMA (Direct Memory Access) controller
2/4 channels
Number of clocks during transfer between 8/16-bit
SFR and internal RAM: 2 clocks
Multiplier and divider/multiply-accumulator
16 bits × 16 bits = 32 bits (Unsigned or signed)
32 bits ÷ 32 bits = 32 bits (Unsigned)
16 bits × 16 bits + 32 bits = 32 bits (Unsigned or
signed)
Serial interface
CSI: 2 to 8 channels
UART/UART (LIN-bus supported): 2 to 4 channels
I
2
C/Simplified I
2
C communication: 3 to 10 channels
Timer
16-bit timer: 8 to 16 channels
12-bit interval timer: 1 channel
Real-time clock:
1 channel (calendar for 99 years,
alarm function, and clock
correction function)
Watchdog timer:
1 channel (operable with the
dedicated low-speed on-chip
oscillator)
A/D converter
8/10-bit resolution A/D converter (V
DD
= 1.6 to 5.5 V)
Analog input: 6 to 26 channels
Internal reference voltage (1.45 V) and temperature
sensor
Note 1
I/O port
I/O port: 16 to 120 (N-ch open drain I/O [withstand
voltage of 6 V]: 0 to 4, N-ch open drain I/O
[V
DD
withstand voltage
Note 2
/EV
DD
withstand
voltage
Note 3
]: 5 to 25)
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
Notes 1.
Can be selected only in HS (high-speed main)
mode
2.
Products with 20 to 52 pins
3.
Products with 64 to 128 pins
Remark
The functions mounted depend on the product.
See
1.6 Outline of Functions.
<R>
R01DS0131EJ0350 Rev.3.50
Jun 30, 2020
1 of 200
RL78/G13
1. OUTLINE
Ο
ROM, RAM capacities
Flash
ROM
128
KB
96
KB
64
KB
48
KB
32
KB
16
KB
Data
flash
8 KB
–
8 KB
–
4 KB
–
4 KB
–
4 KB
–
4 KB
–
2 KB
2 KB
4 KB
Note
RAM
20 pins
12
KB
8 KB
–
–
–
–
R5F1006E
R5F1016E
R5F1006D
R5F1016D
R5F1006C
R5F1016C
R5F1006A
R5F1016A
24 pins
–
–
–
–
R5F1007E
R5F1017E
R5F1007D
R5F1017D
R5F1007C
R5F1017C
R5F1007A
R5F1017A
25 pins
–
–
–
–
RL78/G13
30 pins
R5F100AG
R5F101AG
R5F100AF
R5F101AF
R5F100AE
R5F101AE
R5F100AD
R5F101AD
R5F100AC
R5F101AC
R5F100AA
R5F101AA
32 pins
R5F100BG
R5F101BG
R5F100BF
R5F101BF
R5F100BE
R5F101BE
R5F100BD
R5F101BD
R5F100BC
R5F101BC
R5F100BA
R5F101BA
36 pins
R5F100CG
R5F101CG
R5F100CF
R5F101CF
R5F100CE
R5F101CE
R5F100CD
R5F101CD
R5F100CC
R5F101CC
R5F100CA
R5F101CA
R5F1008E
R5F1018E
R5F1008D
R5F1018D
R5F1008C
R5F1018C
R5F1008A
R5F1018A
3 KB
Note
Flash
ROM
512
KB
384
KB
256
KB
192
KB
128
KB
96
KB
64
KB
48
KB
32
KB
16
KB
Data
flash
8 KB
–
8 KB
–
8 KB
–
8 KB
–
8 KB
–
8 KB
–
4 KB
–
4 KB
–
4 KB
–
4 KB
–
RAM
40 pins
32 KB
Note
RL78/G13
44 pins
R5F100FL
R5F101FL
R5F100FK
R5F101FK
R5F100FJ
R5F101FJ
48 pins
R5F100GL
R5F101GL
R5F100GK
R5F101GK
R5F100GJ
R5F101GJ
52 pins
R5F100JL
R5F101JL
R5F100JK
R5F101JK
R5F100JJ
R5F101JJ
R5F100JH
R5F101JH
64 pins
R5F100LL
R5F101LL
R5F100LK
R5F101LK
R5F100LJ
R5F101LJ
80 pins
R5F100ML
R5F101ML
100 pins
R5F100PL
R5F101PL
128 pins
R5F100SL
R5F101SL
R5F100SK
R5F101SK
R5F100SJ
R5F101SJ
R5F100SH
R5F101SH
–
–
–
–
–
–
–
–
–
–
–
–
–
–
24 KB
–
–
R5F100MK R5F100PK
R5F101MK R5F101PK
R5F100MJ
R5F101MJ
R5F100PJ
R5F101PJ
20 KB
Note
–
–
16 KB
R5F100EH
R5F101EH
R5F100FH R5F100GH
R5F101FH R5F101GH
R5F100LH R5F100MH R5F100PH
R5F101LH R5F101MH R5F101PH
R5F100LG R5F100MG R5F100PG
R5F101LG R5F101MG R5F101PG
R5F100LF
R5F101LF
R5F100LE
R5F101LE
R5F100LD
R5F101LD
R5F100LC
R5F101LC
–
–
R5F100MF
R5F101MF
–
–
–
–
–
–
–
–
R5F100PF
R5F101PF
–
–
–
–
–
–
–
–
12 KB
R5F100EG R5F100FG R5F100GG R5F100JG
R5F101EG R5F101FG R5F101GG R5F101JG
8 KB
R5F100EF
R5F101EF
R5F100FF
R5F101FF
R5F100FE
R5F101FE
R5F100GF
R5F101GF
R5F100GE
R5F101GE
R5F100JF
R5F101JF
R5F100JE
R5F101JE
R5F100JD
R5F101JD
R5F100JC
R5F101JC
–
–
4 KB
Note
R5F100EE
R5F101EE
3 KB
Note
R5F100ED
R5F101ED
R5F100FD R5F100GD
R5F101FD R5F101GD
R5F100FC R5F100GC
R5F101FC R5F101GC
R5F100FA
R5F101FA
R5F100GA
R5F101GA
2 KB
R5F100EC
R5F101EC
2 KB
R5F100EA
R5F101EA
Note
The flash library uses RAM in self-programming and rewriting of the data flash memory.
The target products and start address of the RAM areas used by the flash library are shown below.
R5F100xD, R5F101xD (x = 6 to 8, A to C, E to G, J, L): Start address FF300H
R5F100xE, R5F101xE (x = 6 to 8, A to C, E to G, J, L): Start address FEF00H
R5F100xJ, R5F101xJ (x = F, G, J, L, M, P):
R5F100xL, R5F101xL (x = F, G, J, L, M, P, S):
Family (R20UT2944).
Start address FAF00H
Start address F7F00H
For the RAM areas used by the flash library, see
Self RAM list of Flash Self-Programming Library for RL78
R01DS0131EJ0350 Rev.3.50
Jun 30, 2020
2 of 200
RL78/G13
1. OUTLINE
1.2 List of Part Numbers
<R>
Figure 1-1. Part Number, Memory Size, and Package of RL78/G13
Product name
Ordering part number R 5 F 1 0 0 L E A x x x F B #V0
Packaging specifications
#U0, #00, #20 : Tray (HWQFN, VFBGA, WFLGA)
#V0, #10, #30 : Tray (LFQFP, LQFP, TSSOP20, LSSOP20, LSSOP30)
#W0, #40 : Embossed Tape (HWQFN, VFBGA, WFLGA)
#X0, #50 : Embossed Tape (LFQFP, LQFP, TSSOP, LSSOP)
Package type:
SM: TSSOP, 0.65-mm pitch
SP : LSSOP, 0.65-mm pitch
FP : LQFP, 0.80-mm pitch
FA : LQFP, 0.65-mm pitch
FB : LFQFP, 0.50-mm pitch
NA : HWQFN, 0.50-mm pitch
LA : WFLGA, 0.50-mm pitch
Note1
BG : VFBGA, 0.40-mm pitch
Note1
ROM number (Omitted with blank products)
Fields of application:
A : Consumer applications, operating ambient temperature : -40°C to +85°C
D : Industrial applications, operating ambient temperature : -40°C to +85°C
G : Industrial applications, operating ambient temperature : -40°C to +105°C
ROM capacity:
A : 16 KB
C : 32 KB
D : 48 KB
E : 64 KB
F : 96 KB
G : 128 KB
H : 192 KB
J : 256 KB
K : 384 KB
Note2
L : 512 KB
Note2
Pin count:
6 : 20-pin
7 : 24-pin
8 : 25-pin
Note1
A : 30-pin
B : 32-pin
C : 36-pin
Note1
E : 40-pin
F : 44-pin
G : 48-pin
J : 52-pin
L : 64-pin
M : 80-pin
P : 100-pin
S : 128-pin
Note2
RL78/G13 group
100 : Data flash is provided
101 : Data flash is not provided
Note2
Memory type:
F : Flash memory
Renesas MCU
Renesas semiconductor product
Notes
1.
Products only for “A: Consumer applications (T
A
= –40 to +85°C)”, and "G: Industrial applications (T
A
=
–40 to +105°C)"
2.
Products only for “A: Consumer applications (T
A
= –40 to +85°C)”, and "D: Industrial applications (T
A
= –40
to +85°C)"
R01DS0131EJ0350 Rev.3.50
Jun 30, 2020
3 of 200
RL78/G13
1. OUTLINE
<R>
Table 1-1. List of Ordering Part Numbers
(1/8)
Pin
count
Package
Data
flash
Fields of
Application
Note
Ordering Part Number
Product Name
Packaging
Specifications
R5F1006AASP, R5F1006CASP, R5F1006DASP,
R5F1006EASP
R5F1006ADSP, R5F1006CDSP, R5F1006DDSP,
R5F1006EDSP
R5F1006AGSP, R5F1006CGSP, R5F1006DGSP,
R5F1006EGSP
R5F1016AASP, R5F1016CASP, R5F1016DASP,
R5F1016EASP
R5F1016ADSP, R5F1016CDSP, R5F1016DDSP,
R5F1016EDSP
R5F1006AASM, R5F1006CASM, R5F1006DASM,
R5F1006EASM
R5F1006AGSM, R5F1006CGSM, R5F1006DGSM,
R5F1006EGSM
R5F1016AASM, R5F1016CASM, R5F1016DASM,
R5F1016EASM
R5F1007AANA, R5F1007CANA, R5F1007DANA,
R5F1007EANA
R5F1007ADNA, R5F1007CDNA, R5F1007DDNA,
R5F1007EDNA
R5F1007AGNA, R5F1007CGNA, R5F1007DGNA,
R5F1007EGNA
R5F1007AGNA, R5F1007CGNA, R5F1007DGNA,
R5F1007EGNA
#00, #20, #40
#U0, #W0
#00, #20, #40
#U0, #W0
#U0, #W0
#U0, #W0
#00, #20, #40
#U0, #W0
#10, #30, #50
#V0, #10, #30,
#X0, #50
#V0, #10, #30,
#X0, #50
RENESAS Code
20
pins
20-pin plastic
LSSOP
(7.62 mm
(300),
0.65-mm
pitch)
Mounted A
D
G
Not
mounted
D
A
PLSP0020JC-A
PLSP0020JC-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
mounted
Mounted A
D
G
A
PTSP0020JI-A
PWQN0024KE-A
PWQN0024KF-A
PWQN0024KE-A
PWQN0024KF-A
PWQN0024KE-A
PWQN0024KF-A
PWQN0024KE-A
PWLG0025KA-A
Not
mounted
A
D
R5F1017AANA, R5F1017CANA, R5F1017DANA,
R5F1017EANA
R5F1017ADNA, R5F1017CDNA, R5F1017DDNA,
R5F1017EDNA
R5F1008AALA, R5F1008CALA, R5F1008DALA,
R5F1008EALA
R5F1008AGLA, R5F1008CGLA, R5F1008DGLA,
R5F1008EGLA
R5F1018AALA, R5F1018CALA, R5F1018DALA,
R5F1018EALA
25
pins
25-pin plastic
WFLGA
(3
×
3 mm,
0.5-mm
pitch)
Mounted A
G
Not
mounted
A
#U0, #W0
PWLG0025KA-A
Note
For the fields of application, refer to
Figure 1-1 Part Number, Memory Size, and Package of RL78/G13.
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.
R01DS0131EJ0350 Rev.3.50
Jun 30, 2020
4 of 200
RL78/G13
1. OUTLINE
<R>
Table 1-1. List of Ordering Part Numbers
(2/8)
Pin
count
Package
Data
flash
Fields of
Application
Note
Ordering Part Number
Product Name
R5F100AAASP, R5F100ACASP, R5F100ADASP,
R5F100AEASP, R5F100AFASP, R5F100AGASP
Packaging
Specifications
#V0, #10, #30,
#X0, #50
RENESAS Code
30
pins
30-pin plastic Mounted A
LSSOP
(7.62 mm
(300),
0.65-mm
pitch)
Not
mounted
D
A
G
D
PLSP0030JB-B
R5F100AADSP, R5F100ACDSP, R5F100ADDSP,
R5F100AEDSP, R5F100AFDSP, R5F100AGDSP
R5F100AAGSP, R5F100ACGSP, R5F100ADGSP,
R5F100AEGSP, R5F100AFGSP, R5F100AGGSP
R5F101AAASP, R5F101ACASP, R5F101ADASP,
R5F101AEASP, R5F101AFASP, R5F101AGASP
R5F101AADSP, R5F101ACDSP, R5F101ADDSP,
R5F101AEDSP, R5F101AFDSP, R5F101AGDSP
#U0, #W0
#00, #20, #40
#U0, #W0
PWQN0032KB-A
PWQN0032KE-A
PWQN0032KB-A
#V0, #10, #30,
#X0, #50
PLSP0030JB-B
32
pins
32-pin plastic Mounted A
HWQFN
(5
×
5 mm,
0.5-mm
pitch)
G
D
R5F100BAANA, R5F100BCANA, R5F100BDANA,
R5F100BEANA, R5F100BFANA, R5F100BGANA
R5F100BADNA, R5F100BCDNA, R5F100BDDNA,
R5F100BEDNA, R5F100BFDNA, R5F100BGDNA
R5F100BAGNA, R5F100BCGNA, R5F100BDGNA,
R5F100BEGNA, R5F100BFGNA, R5F100BGGNA
R5F100BAGNA, R5F100BCGNA, R5F100BDGNA,
R5F100BEGNA, R5F100BFGNA, R5F100BGGNA
#00, #20, #40
PWQN0032KE-A
Not
mounted
A
R5F101BAANA, R5F101BCANA, R5F101BDANA,
R5F101BEANA, R5F101BFANA, R5F101BGANA
#U0, #W0
#00, #20, #40
#U0, #W0
PWQN0032KB-A
PWQN0032KE-A
PWQN0032KB-A
D
R5F101BADNA, R5F101BCDNA, R5F101BDDNA,
R5F101BEDNA, R5F101BFDNA, R5F101BGDNA
36
pins
36-pin plastic Mounted A
WFLGA
(4
×
4 mm,
0.5-mm
pitch)
Not
mounted
A
G
R5F100CAALA, R5F100CCALA, R5F100CDALA,
R5F100CEALA, R5F100CFALA, R5F100CGALA
R5F100CAGLA, R5F100CCGLA, R5F100CDGLA,
R5F100CEGLA, R5F100CFGLA, R5F100CGGLA
R5F101CAALA, R5F101CCALA, R5F101CDALA,
R5F101CEALA, R5F101CFALA, R5F101CGALA
#U0, #W0
PWLG0036KA-A
#U0, #W0
PWLG0036KA-A
Note
For the fields of application, refer to
Figure 1-1 Part Number, Memory Size, and Package of RL78/G13.
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.
R01DS0131EJ0350 Rev.3.50
Jun 30, 2020
5 of 200