Datasheet
RL78/G11
RENESAS MCU
R01DS0282EJ0200
Rev.2.00
Feb 15, 2018
True Low Power Platform (as low as 58.3
A/MHz,
and 0.64
A
for LVD), 1.6 V to 5.5 V operation, 16
Kbyte Flash, 33 DMIPS at 24 MHz, for General Purpose Applications
1. OUTLINE
1.1
Features
High-speed on-chip oscillator
Select from 48 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)
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 (66.6
s:
@ 15 kHz
operation with low-speed on-chip oscillator
clock)
Multiply/divide/multiply & accumulate
instructions are supported.
Address space: 1 Mbytes
General-purpose registers: (8-bit register
8)
4 banks
On-chip RAM: 1.5 Kbytes
Code flash memory
Code flash memory: 16 Kbytes
Block size: 1 Kbytes
On-chip debug function
Self-programming (with boot swap function/flash
shield window function)
Data flash memory
Data flash memory: 2 Kbytes
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
Data transfer controller (DTC)
Transfer modes: Normal transfer mode, repeat
transfer mode, block transfer mode
Activation sources: Activated by interrupt
sources.
Chain transfer function
Event link controller (ELC)
Event signals of 18 types can be linked to the
specified peripheral function.
Serial interfaces
CSI: 4 channels
UART: 2 channel
I
2
C/simplified I
2
C: 4 channels
Multimaster I
2
C: 2 channels
Power management and reset function
On-chip power-on-reset (POR) circuit
On-chip voltage detector (LVD) (Select interrupt
and reset from 14 levels)
Middle-speed on-chip oscillator
Selectable from 4 MHz, 2 MHz, and 1 MHz.
Operating ambient temperature
T
A
= -40 to +85°C (A: Consumer applications)
T
A
= -40 to +105°C (G: Industrial applications)
V
DD
= 1.6 V to 5.5 V
HALT mode
STOP mode
SNOOZE mode
Ultra-low power consumption technology
R01DS0282EJ0200 Rev.2.00
Feb 15, 2018
Page 1 of 139
RL78/G11
Timers
16-bit timer (TAU): 4 channels
TKB: 1 channel
12-bit interval timer: 1 channel
<R>
8-bit interval timer: 2 channels
Watchdog timer: 1 channel
A/D converter
8/10-bit resolution A/D converter (V
DD
= 1.6 to
5.5 V)
Analog input: 10 to 11 channels
Internal reference voltage (1.45 V) and
temperature sensor
D/A converter
8/10-bit resolution D/A converter (V
DD
= 1.6 to
5.5 V)
Analog input: 2 channels (channel 1: output to
<R>
the ANO1 pin, channel 0: output to the
comparator)
Output voltage: 0 V to V
DD
Real-time output function
Comparator
2 channels
Operating modes: Comparator high-speed
mode, comparator low-speed mode, window
mode
Remark
Note 1.
Note 2.
16, 20, 24-pin products
25-pin products
I/O ports
PGA
1 channels
1. OUTLINE
I/O port: 17 to 21 (N-ch open drain I/O [V
DD
withstand voltage
Note 1
/EV
DD
withstand
voltage
Note 2
]: 10 to 14)
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.0 V device
On-chip key interrupt function
On-chip clock output/buzzer output controller
Others
On-chip BCD (binary-coded decimal) correction
circuit
On-chip data operation circuit
The functions mounted depend on the
product. See
1.6 Outline of Functions.
ROM, RAM capacities
Flash
ROM
16 KB
Remark
Data
flash
2 KB
RAM
1.5
KB
RL78/G11
10 pins
R5F1051A
16 pins
R5F1054A
20 pins
R5F1056A
24 pins
R5F1057A
25 pins
R5F1058A
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.
R5F105xA (x = 1, 4, 6, 7, 8): Start address FF900H
For the RAM areas used by the flash library, see
Self RAM list of Flash Self-Programming Library for RL78 Family
(R20UT2944).
R01DS0282EJ0200 Rev.2.00
Feb 15, 2018
Page 2 of 139
RL78/G11
1. OUTLINE
1.2
Ordering Information
Figure 1 - 1 Part Number, Memory Size, and Package of RL78/G11
Part No.
R5 F 1 0 5 8AGx x x LA#U0
Packaging specification
#30: Tube (LSSOP), Tray (LSSOP, SSOP)
#U0: Tray (HWQFN, WFLGA)
#50: Embossed Tape (LSSOP, SSOP)
#W0: Embossed Tape (HWQFN, WFLGA)
Package type:
SP: LSSOP, SSOP, 0.65 mm pitch
NA: HWQFN, 0.50 mm pitch
LA: WFLGA, 0.50 mm pitch
ROM number (Omitted for blank products)
Fields of application:
A: Consumer applications, T
A
= -40 to +85°C
G: Industrial applications, T
A
= -40 to +105°C
ROM capacity:
A: 16 KB
Pin count:
1: 10-pin
4: 16-pin
6: 20-pin
7: 24-pin
8: 25-pin
RL78/G11
Memory type:
F : Flash memory
Renesas MCU
Renesas semiconductor product
R01DS0282EJ0200 Rev.2.00
Feb 15, 2018
Page 3 of 139
RL78/G11
1. OUTLINE
Pin
count
Package
Ordering Part Number
R5F1051AGSP#30, R5F1051AASP#30
R5F1051AGSP#50, R5F1051AASP#50
R5F1054AGSP#30, R5F1054AASP#30
R5F1054AGSP#50, R5F1054AASP#50
R5F1056AGSP#30,R5F1056AASP#30
R5F1056AGSP#50,R5F1056AASP#50
R5F1057AGNA#U0,R5F1057AANA#U0
R5F1057AGNA#W0,R5F1057AANA#W0
R5F1058AGLA#U0,R5F1058AALA#U0
R5F1058AGLA#W0,R5F1058AALA#W0
10 pins 10-pin plastic LSSOP
(4.4 × 3.6 mm, 0.65 mm pitch)
16 pins 16-pin plastic SSOP
(4.4 × 5.0 mm, 0.65 mm pitch)
20 pins 20-pin plastic LSSOP
(4.4
6.5 mm, 0.65 mm pitch)
24 pins 24-pin plastic HWQFN
(4
4 mm, 0.50 mm pitch)
25 pins 25-pin plastic WFLGA
(3
3 mm, 0.50 mm pitch)
Caution 1. For the fields of application, refer to Figure 1 - 1 Part Number, Memory Size, and Package of RL78/G11.
Caution 2. 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.
R01DS0282EJ0200 Rev.2.00
Feb 15, 2018
Page 4 of 139
RL78/G11
1. OUTLINE
1.3
1.3.1
Pin Configuration (Top View)
10-pin products
• 10-pin plastic LSSOP (4.4 × 3.6 mm, 0.65 mm pitch)
P125/RESET/INTP9
P122/EXCLK/TI02/INTP1
REGC
V
SS
V
DD
1
2
3
4
5
10
9
8
7
6
P20/ANI0/AVREFP/IVREF1/TKBO1
P21/ANI1/AVREFM/IVREF0
P22/ANI2/PGAI/IVCMP0/SO10/TxD1
P40/TOOL0/TO03/PCLBUZ0/SCK10/VCOUT0/INTFO/TKBO0
P137/INTP10/TI03/SI10/RxD1
RL78/G11
(Top View)
1.3.2
16-pin products
• 16-pin plastic SSOP (4.4 × 5.0 mm, 0.65 mm pitch)
P40/TOOL0/TO03/(PCLBUZ0)/SCK10/VCOUT0/VCOUT1/INTFO
P125/RESET/INTP9
P137/INTP0/TI03
P122/X2/EXCLK/SI10/RxD1/TI02/INTP1
P121/X1/(TI01)/INTP2
REGC
V
SS
V
DD
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
P20/ANI0/AVREFP/IVREF1/SO10/TxD1
P21/ANI1/AVREFM/IVREF0
P22/ANI2/PGAI/IVCMP0
P23/ANI3/ANO1/PGAGND
P33/ANI18/IVCMP1/INTP11
P31/ANI20/KR0/TI01/TO00/INTP4/TKBO0/RxD0/SI11/SDA11/SCLA0
P30/ANI21/KR1/TI00/TO01/INTP3/SCK11/SCL11/TxD0/PCLBUZ0/TKBO1/SDAA0
P56/ANI22/KR2/SO11/INTP10/(TO03)/(INTFO)
RL78/G11
(Top View)
1.3.3
20-pin products
• 20-pin plastic LSSOP (4.4
6.5 mm, 0.65 mm pitch)
P01/ANI16/INTP5/SO10/TxD1
P00/ANI17/PCLBUZ1/TI03/(VCOUT1)/SI10/RxD1/SDA10/(SDAA1)
P40/TOOL0/TO03/(PCLBUZ0)/SCK10/SCL10/VCOUT0/VCOUT1/INTFO/(SCLA1)
P125/RESET/INTP9
P137/INTP0/SSI00/(TI03)
P122/X2/EXCLK/(SI10/RxD1)/(TI02)/INTP1
P121/X1/(TI01)/INTP2
REGC
V
SS
V
DD
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
P20/ANI0/AVREFP/IVREF1/(SO10/TxD1)
P21/ANI1/AVREFM/IVREF0
P22/ANI2/PGAI/IVCMP0
P23/ANI3/ANO1/PGAGND
P33/ANI18/IVCMP1/(INTP11)
P31/ANI20/KR0/TI01/TO00/INTP4/TKBO0/(RxD0)/SI11/SDA11/SCLA0
P30/ANI21/KR1/TI00/TO01/INTP3/SCK11/SCL11/(TxD0)/PCLBUZ0/TKBO1/SDAA0
P56/ANI22/KR2/SCK00/SCL00/SO11/INTP10/(TO03)/(INTFO)/SCLA1
P55/KR3/SI00/RxD0/SDA00/TOOLRXD/TI02/TO02/INTP11/(VCOUT0)/SDAA1
P54/KR4/SO00/TxD0/TOOLTXD/(TI03)/(TO03)
Caution
Connect the REGC pin to V
SS
pin via a capacitor (0.47 to 1
F).
RL78/G11
(Top View)
Remark 1.
For pin identification, see
1.4 Pin Identification
.
Remark 2.
Functions in parentheses in the above figure can be assigned via settings in the peripheral I/O redirection register 0 to 3
(PIOR0 to PIOR3).
R01DS0282EJ0200 Rev.2.00
Feb 15, 2018
Page 5 of 139