Datasheet
RL78/G13
RENESAS MCU
R01DS0131EJ0330
Rev.3.30
Mar 31, 2016
True Low Power Platform (as low as 66
µ
A/MHz, and 0.57
µ
A for RTC + LVD), 1.6 V to 5.5 V
operation, 16 to 512 Kbyte Flash, 41 DMIPS at 32 MHz, for General Purpose Applications
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: 2 to 8 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
Note 1
sensor
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.
R01DS0131EJ0330 Rev.3.30
Mar 31, 2016
Page 1 of 196
RL78/G13
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
4 KB
Note
1. OUTLINE
RAM
20 pins
12
KB
8 KB
R5F1006E
R5F1016E
R5F1006D
R5F1016D
2 KB
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
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
R5F100EH
R5F101EH
24 KB
R5F100MK R5F100PK
R5F101MK R5F101PK
R5F100MJ
R5F101MJ
R5F100PJ
R5F101PJ
20 KB
Note
16 KB
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
4 KB 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):
RL78 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
R01DS0131EJ0330 Rev.3.30
Mar 31, 2016
Page 2 of 196
RL78/G13
1. OUTLINE
1.2 List of Part Numbers
Figure 1-1. Part Number, Memory Size, and Package of RL78/G13
Part No. R 5 F 1 0 0 L E A x x x F B
#V0
Packaging specification
#U0
#V0
#W0
#X0
: Tray (HWQFN,VFBGA,WFLGA)
: Tray (LFQFP,LQFP,LSSOP)
: Embossed Tape (HWQFN,VFBGA,WFLGA)
: Embossed Tape (LFQFP, LQFP, LSSOP)
Package type:
SP:
LSSOP,
0.65 mm pitch
FP :
LFQFP,
0.80 mm pitch
FA :
LFQFP,
0.65 mm pitch
FB :
LFQFP,
0.50 mm pitch
NA :
HWQFN,
0.50 mm pitch
LA :
WFLGA,
0.50 mm pitch
Note 1
BG :
VFBGA,
0.40 mm pitch
Note 1
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
Note 2
L : 512 KB
Note 2
Pin count:
6 : 20-pin
7 : 24-pin
8 : 25-pin
Note 1
A : 30-pin
B : 32-pin
C : 36-pin
Note 1
E : 40-pin
F : 44-pin
G : 48-pin
J : 52-pin
L : 64-pin
M : 80-pin
P : 100-pin
S : 128-pin
Note 2
RL78/G13 group
Note 2
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)"
R01DS0131EJ0330 Rev.3.30
Mar 31, 2016
Page 3 of 196
RL78/G13
Table 1-1. List of Ordering Part Numbers
1. OUTLINE
(1/12)
Pin
count
20 pins
20-pin plastic LSSOP
(7.62 mm (300), 0.65
mm pitch)
D
Package
Data
flash
Mounted
Fields of
Application
Note
A
R5F1006AASP#V0, R5F1006CASP#V0, R5F1006DASP#V0,
R5F1006EASP#V0
R5F1006AASP#X0, R5F1006CASP#X0, R5F1006DASP#X0,
R5F1006EASP#X0
R5F1006ADSP#V0, R5F1006CDSP#V0, R5F1006DDSP#V0,
R5F1006EDSP#V0
R5F1006ADSP#X0, R5F1006CDSP#X0, R5F1006DDSP#X0,
R5F1006EDSP#X0
G
R5F1006AGSP#V0, R5F1006CGSP#V0, R5F1006DGSP#V0,
R5F1006EGSP#V0
R5F1006AGSP#X0, R5F1006CGSP#X0, R5F1006DGSP#X0,
R5F1006EGSP#X0
Not
mounted
A
R5F1016AASP#V0, R5F1016CASP#V0, R5F1016DASP#V0,
R5F1016EASP#V0
R5F1016AASP#X0, R5F1016CASP#X0, R5F1016DASP#X0,
R5F1016EASP#X0
D
R5F1016ADSP#V0, R5F1016CDSP#V0, R5F1016DDSP#V0,
R5F1016EDSP#V0
R5F1016ADSP#X0, R5F1016CDSP#X0, R5F1016DDSP#X0,
R5F1016EDSP#X0
24 pins
24-pin plastic
HWQFN (4
4mm,
0.5 mm pitch)
D
Mounted
A
R5F1007AANA#U0, R5F1007CANA#U0, R5F1007DANA#U0,
R5F1007EANA#U0
R5F1007AANA#W0, R5F1007CANA#W0, R5F1007DANA#W0,
R5F1007EANA#W0
R5F1007ADNA#U0, R5F1007CDNA#U0, R5F1007DDNA#U0,
R5F1007EDNA#U0
R5F1007ADNA#W0, R5F1007CDNA#W0, R5F1007DDNA#W0,
R5F1007EDNA#W0
G
R5F1007AGNA#U0, R5F1007CGNA#U0, R5F1007DGNA#U0,
R5F1007EGNA#U0
R5F1007AGNA#W0, R5F1007CGNA#W0, R5F1007DGNA#W0,
R5F1007EGNA#W0
Not
mounted
A
R5F1017AANA#U0, R5F1017CANA#U0, R5F1017DANA#U0,
R5F1017EANA#U0
R5F1017AANA#W0, R5F1017CANA#W0, R5F1017DANA#W0,
R5F1017EANA#W0
D
R5F1017ADNA#U0, R5F1017CDNA#U0, R5F1017DDNA#U0,
R5F1017EDNA#U0
R5F1017ADNA#W0, R5F1017CDNA#W0, R5F1017DDNA#W0,
R5F1017EDNA#W0
Ordering Part Number
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.
R01DS0131EJ0330 Rev.3.30
Mar 31, 2016
Page 4 of 196
RL78/G13
Table 1-1. List of Ordering Part Numbers
1. OUTLINE
(2/12)
Pin
count
25 pins
Package
Data
flash
Mounted
A
Fields of
Application
Note
Ordering Part Number
25-pin plastic
WFLGA (3
3 mm,
0.5 mm pitch)
G
Not
mounted
30 pins
30-pin plastic LSSOP
(7.62 mm (300), 0.65
mm pitch)
Mounted
A
A
D
G
Not
mounted
A
D
32 pins
32-pin plastic
HWQFN (5
5 mm,
0.5 mm pitch)
Mounted
A
D
G
Not
mounted
A
D
R5F1008AALA#U0, R5F1008CALA#U0, R5F1008DALA#U0,
R5F1008EALA#U0
R5F1008AALA#W0, R5F1008CALA#W0, R5F1008DALA#W0,
R5F1008EALA#W0
R5F1008AGLA#U0, R5F1008CGLA#U0, R5F1008DGLA#U0,
R5F1008EGLA#U0
R5F1008AGLA#W0, R5F1008CGLA#W0, R5F1008DGLA#W0,
R5F1008EGLA#W0
R5F1018AALA#U0, R5F1018CALA#U0, R5F1018DALA#U0,
R5F1018EALA#U0
R5F1018AALA#W0, R5F1018CALA#W0, R5F1018DALA#W0,
R5F1018EALA#W0
R5F100AAASP#V0, R5F100ACASP#V0, R5F100ADASP#V0,
R5F100AEASP#V0, R5F100AFASP#V0, R5F100AGASP#V0
R5F100AAASP#X0, R5F100ACASP#X0, R5F100ADASP#X0
R5F100AEASP#X0, R5F100AFASP#X0, R5F100AGASP#X0
R5F100AADSP#V0, R5F100ACDSP#V0, R5F100ADDSP#V0,
R5F100AEDSP#V0, R5F100AFDSP#V0, R5F100AGDSP#V0
R5F100AADSP#X0, R5F100ACDSP#X0, R5F100ADDSP#X0,
R5F100AEDSP#X0, R5F100AFDSP#X0, R5F100AGDSP#X0
R5F100AAGSP#V0, R5F100ACGSP#V0,
R5F100ADGSP#V0,R5F100AEGSP#V0,
R5F100AFGSP#V0, R5F100AGGSP#V0
R5F100AAGSP#X0, R5F100ACGSP#X0,
R5F100ADGSP#X0,R5F100AEGSP#X0,
R5F100AFGSP#X0, R5F100AGGSP#X0
R5F101AAASP#V0, R5F101ACASP#V0, R5F101ADASP#V0,
R5F101AEASP#V0, R5F101AFASP#V0, R5F101AGASP#V0
R5F101AAASP#X0, R5F101ACASP#X0, R5F101ADASP#X0,
R5F101AEASP#X0, R5F101AFASP#X0, R5F101AGASP#X0
R5F101AADSP#V0, R5F101ACDSP#V0, R5F101ADDSP#V0,
R5F101AEDSP#V0, R5F101AFDSP#V0, R5F101AGDSP#V0
R5F101AADSP#X0, R5F101ACDSP#X0, R5F101ADDSP#X0,
R5F101AEDSP#X0, R5F101AFDSP#X0, R5F101AGDSP#X0
R5F100BAANA#U0, R5F100BCANA#U0, R5F100BDANA#U0,
R5F100BEANA#U0, R5F100BFANA#U0, R5F100BGANA#U0
R5F100BAANA#W0, R5F100BCANA#W0, R5F100BDANA#W0,
R5F100BEANA#W0, R5F100BFANA#W0, R5F100BGANA#W0
R5F100BADNA#U0, R5F100BCDNA#U0, R5F100BDDNA#U0,
R5F100BEDNA#U0, R5F100BFDNA#U0, R5F100BGDNA#U0
R5F100BADNA#W0, R5F100BCDNA#W0, R5F100BDDNA#W0,
R5F100BEDNA#W0, R5F100BFDNA#W0, R5F100BGDNA#W0
R5F100BAGNA#U0, R5F100BCGNA#U0, R5F100BDGNA#U0,
R5F100BEGNA#U0, R5F100BFGNA#U0, R5F100BGGNA#U0
R5F100BAGNA#W0, R5F100BCGNA#W0, R5F100BDGNA#W0,
R5F100BEGNA#W0, R5F100BFGNA#W0, R5F100BGGNA#W0
R5F101BAANA#U0, R5F101BCANA#U0, R5F101BDANA#U0,
R5F101BEANA#U0, R5F101BFANA#U0, R5F101BGANA#U0
R5F101BAANA#W0, R5F101BCANA#W0, R5F101BDANA#W0,
R5F101BEANA#W0, R5F101BFANA#W0, R5F101BGANA#W0
R5F101BADNA#U0, R5F101BCDNA#U0, R5F101BDDNA#U0,
R5F101BEDNA#U0, R5F101BFDNA#U0, R5F101BGDNA#U0
R5F101BADNA#W0, R5F101BCDNA#W0, R5F101BDDNA#W0,
R5F101BEDNA#W0, R5F101BFDNA#W0, R5F101BGDNA#W0
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.
R01DS0131EJ0330 Rev.3.30
Mar 31, 2016
Page 5 of 196