Datasheet
RL78/G12
RENESAS MCU
True Low Power Platform (as low as 63
μA/MHz),
1.8V to 5.5V operation,
2 to 16 Kbyte Flash, 31 DMIPS at 24MHz, for General Purpose Applications
R01DS0193EJ0200
Rev.2.00
Sep 06, 2013
1. OUTLINE
<R>
1.1 Features
Ultra-Low Power Technology
•
1.8 V to 5.5 V operation from a single supply
•
Stop (RAM retained): 0.23 µA, (LVD enabled): 0.31 µA
•
Snooze: 0.7 mA (UART), 1.20 mA (ADC)
•
Operating: 63 µA /MHz
16-bit RL78 CPU Core
•
Delivers 31 DMIPS at maximum operating frequency
of 24 MHz
•
Instruction Execution: 86 % of instructions can be
executed in 1 to 2 clock cycles
•
CISC Architecture (Harvard) with 3-stage pipeline
•
Multiply Signed & Unsigned: 16 x 16 to 32-bit result in
1 clock cycle
•
MAC: 16 x 16 to 32-bit result in 2 clock cycles
•
16-bit barrel shifter for shift & rotate in 1 clock cycle
•
1-wire on-chip debug function
Main Flash Memory
•
Density: 2 KB to 16 KB
•
Block size: 1 KB
•
On-chip single voltage flash memory with protection
from block erase/writing
Data Flash Memory
•
Data Flash with background operation
•
Data flash size: 2 KB size options
•
Erase Cycles: 1 Million (typ.)
•
Erase/programming voltage: 1.8 V to 5.5 V
RAM
•
256 B to 1.5 KB size options
•
Supports operands or instructions
•
Back-up retention in all modes
High-speed Oscillator Oscillator
•
24MHz with +/- 1% accuracy over voltage (1.8 V to
5.5 V) and temperature (-20 °C to 85 °C)
•
Pre-configured settings: 24 MHz, 16 MHz, 12 MHz,
8 MHz, 6 MHz, 4 MHz, 3 MHz, 2 MHz, and 1 MHz
Reset and Supply Management
•
Power-on reset (POR) monitor/generator
•
Low voltage detection (LVD) with 12 setting options
(Interrupt and/or reset function)
Data Memory Access (DMA) Controller
•
Up to 2 fully programmable channels
•
Transfer unit: 8- or 16-bit
Multiple Communication Interfaces
2
•
Up to 3 x I C master
•
Up to 1 x I
2
C multi-master
•
Up to 3 x CSI/SPI (7-, 8-bit)
•
Up to 3 x UART (7-, 8-, 9-bit)
Extended-Function Timers
•
Multi-function 16-bit timers: Up to 8 channels
•
Interval Timer: 12-bit, 1 channel
•
15 kHz watchdog timer : 1 channel (window function)
Rich Analog
•
ADC: Up to 11 channels, 10-bit resolution, 2.1 µs
conversion time
•
Supports 1.8 V to 5.5 V
•
Internal voltage reference (1.45 V)
•
On-chip temperature sensor
Safety Features (IEC or UL 60730 compliance)
•
Flash memory CRC calculation
•
RAM parity error check
•
RAM write protection
•
SFR write protection
•
Illegal memory access detection
•
Clock stop/ frequency detection
•
ADC self-test
General Purpose I/O
•
5 V tolerant, high-current (up to 20 mA per pin)
•
Open-Drain, Internal Pull-up support
Operating Ambient Temperature
•
Standard: –40 °C to +85 °C
•
Extended: –40 °C to +105 °C
Package Type and Pin Count
•
QFN: 24
•
SSOP: 20, 30
*
There is difference in specifications between every product.
Please refer to specification for details.
R01DS0193EJ0200 Rev.2.00
Sep 06, 2013
Page 1 of 106
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
R5F1036A
R5F10269
R5F10369
R5F10268
R5F10368
Note 1
Note 1
Note 1
Note 1
Note 1
Note 1
24 pins
⎯
⎯
R5F1027A
R5F1037A
R5F10279
R5F10379
R5F10278
R5F10378
Note 1
Note 1
Note 1
Note 1
Note 1
Note 1
30 pins
R5F102AA
R5F103AA
⎯
⎯
R5F102A9
R5F103A9
R5F102A8
R5F103A8
R5F102A7
R5F103A7
⎯
⎯
R5F10267
R5F10367
R5F10266
R5F10366
Note 2
Note 2
R5F10277
R5F10377
⎯
⎯
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 Hardware.)
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.
R01DS0193EJ0200 Rev.2.00
Sep 06, 2013
Page 2 of 106
RL78/G12
1. OUTLINE
1.2 List of Part Numbers
Figure 1-1. Part Number, Memory Size, and Package of RL78/G12
<R>
Part No. R 5 F 1 0 2 A A A x x x S P #V0
Packaging specifications:
#U0 : Tray (HWQFN)
#V0 : Tray (LSSOP30), Tube (LSSOP20)
#W0: Embossed Tape (HWQFN)
#X0 : Embossed Tape (LSSOP30, LSSOP20)
Package type:
SP : LSSOP, 0.65 mm pitch
NA : HWQFN, 0.50 mm pitch
ROM number (Omitted with blank products)
Classification:
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)"
R01DS0193EJ0200 Rev.2.00
Sep 06, 2013
Page 3 of 106
RL78/G12
1. OUTLINE
Table 1-1. List of Ordering Part Numbers
<R>
Pin
count
20
pins
Package
20-pin plastic
LSSOP
(4.4
×
6.5 mm,
0.65 mm pitch)
Data flash
Mounted
Fields of
Application
A
Part Number
R5F1026AASP#V0, R5F10269ASP#V0, R5F10268ASP#V0, R5F10267ASP#V0,
R5F10266ASP#V0
R5F1026AASP#X0, R5F10269ASP#X0, R5F10268ASP#X0, R5F10267ASP#X0,
R5F10266ASP#X0
R5F1026ADSP#V0, R5F10269DSP#V0, R5F10268DSP#V0, R5F10267DSP#V0,
R5F10266DSP#V0
R5F1026ADSP#X0, R5F10269DSP#X0, R5F10268DSP#X0, R5F10267DSP#X0,
R5F10266DSP#X0
R5F1026AGSP#V0, R5F10269GSP#V0, R5F10268GSP#V0, R5F10267GSP#V0,
R5F10266GSP#V0
R5F1026AGSP#X0, R5F10269GSP#X0, R5F10268GSP#X0, R5F10267GSP#X0,
R5F10266GSP#X0
R5F1036AASP#V0, R5F10369ASP#V0, R5F10368ASP#V0, R5F10367ASP#V0,
R5F10366ASP#V0
R5F1036AASP#X0, R5F10369ASP#X0, R5F10368ASP#X0, R5F10367ASP#X0,
R5F10366ASP#X0
R5F1036ADSP#V0, R5F10369DSP#V0, R5F10368DSP#V0, R5F10367DSP#V0,
R5F10366DSP#V0
R5F1036ADSP#X0, R5F10369DSP#X0, R5F10368DSP#X0, R5F10367DSP#X0,
R5F10366DSP#X0
R5F1027AANA#U0, R5F10279ANA#U0, R5F10278ANA#U0, R5F10277ANA#U0
R5F1027AANA#W0, R5F10279ANA#W0, R5F10278ANA#W0,
R5F10277ANA#W0
R5F1027ADNA#U0, R5F10279DNA#U0, R5F10278DNA#U0, R5F10277DNA#U0
R5F1027ADNA#W0, R5F10279DNA#W0, R5F10278DNA#W0,
R5F10277DNA#W0
R5F1027AGNA#U0, R5F10279GNA#U0, R5F10278GNA#U0,
R5F10277GNA#U0
R5F1027AGNA#W0, R5F10279GNA#W0, R5F10278GNA#W0,
R5F10277GNA#W0
R5F1037AANA#V0, R5F10379ANA#V0, R5F10378ANA#V0, R5F10377ANA#V0
R5F1037AANA#X0, R5F10379ANA#X0, R5F10378ANA#X0, R5F10377ANA#X0
R5F1037ADNA#V0, R5F10379DNA#V0, R5F10378DNA#V0, R5F10377DNA#V0
R5F1037ADNA#X0, R5F10379DNA#X0, R5F10378DNA#X0, R5F10377DNA#X0
R5F102AAASP#V0, R5F102A9ASP#V0, R5F102A8ASP#V0, R5F102A7ASP#V0
R5F102AAASP#X0, R5F102A9ASP#X0, R5F102A8ASP#X0, R5F102A7ASP#X0
R5F102AADSP#V0, R5F102A9DSP#V0, R5F102A8DSP#V0, R5F102A7DSP#V0
R5F102AADSP#X0, R5F102A9DSP#X0, R5F102A8DSP#X0, R5F102A7DSP#X0
R5F102AAGSP#V0, R5F102A9GSP#V0, R5F102A8GSP#V0,
R5F102A7GSP#V0
R5F102AAGSP#X0, R5F102A9GSP#X0, R5F102A8GSP#X0,
R5F102A7GSP#X0
R5F103AAASP#V0, R5F103A9ASP#V0, R5F103A8ASP#V0, R5F103A7ASP#V0
R5F103AAASP#X0, R5F103A9ASP#X0, R5F103A8ASP#X0, R5F103A7ASP#X0
R5F103AADSP#V0, R5F103A9DSP#V0, R5F103A8DSP#V0, R5F103A7DSP#V0
R5F103AADSP#X0, R5F103A9DSP#X0, R5F103A8DSP#X0, R5F103A7DSP#X0
D
G
Not mounted
A
D
24
pins
24-pin plastic
HWQFN
(4
×
4 mm, 0.5
mm pitch)
Mounted
A
D
G
Not mounted
A
D
30
pins
30-pin plastic
LSSOP
(7.62 mm
(300), 0.65 mm
pitch )
Mounted
A
D
G
Not mounted
A
D
Note
For fields of application, see
Figure 1-1. Part Number, Memory Size, and Package of RL78/G12.
<R>
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.
R01DS0193EJ0200 Rev.2.00
Sep 06, 2013
Page 4 of 106
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
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.
Not mounted
Data Flash
2KB
R01DS0193EJ0200 Rev.2.00
Sep 06, 2013
Page 5 of 106