Datasheet
RL78/L12
RENESAS MCU
R01DS0157EJ0210
Rev.2.10
Sep 30, 2016
Integrated LCD controller/driver, True Low Power Platform (as low as 62.5
µ
A/MHz, and 0.64
µ
A for RTC + LVD),
1.6 V to 5.5 V operation, 8 to 32 Kbyte Flash, 31 DMIPS at 24 MHz, for All LCD Based Applications
1. OUTLINE
1.1 Features
Ultra-Low Power Technology
•
1.6 V to 5.5 V operation from a single supply
•
Stop (RAM retained): 0.23
µA,
(LVD enabled): 0.31
µA
•
Halt (RTC + LVD): 0.64
µA
•
Supports snooze
•
Operating: 62.5
µA/MHz
•
LCD operating current (Capacitor split method): 0.12
µA
•
LCD operating current (Internal voltage boost method):
0.63
µA
(V
DD
= 3.0 V)
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
Code Flash Memory
•
Density: 8 KB to 32 KB
•
Block size: 1 KB
•
On-chip single voltage flash memory with protection
from block erase/writing
•
Self-programming with flash shield window function
Data Flash Memory
•
Data flash with background operation
•
Data flash size: 2 KB size
•
Erase cycles: 1 Million (typ.)
•
Erase/programming voltage: 1.8 V to 5.5 V
RAM
•
1 KB and 1.5 KB size options
•
Supports operands or instructions
•
Back-up retention in all modes
High-speed On-chip Oscillator
•
24 MHz 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 & 1 MHz
Reset and Supply Management
•
Power-on reset (POR) monitor/generator
•
Low voltage detection (LVD) with 14 setting options
(Interrupt and/or reset function)
R01DS0157EJ0210 Rev.2.10
Sep 30, 2016
LCD Controller/Driver
•
Up to 35 seg x 8 com or 39 seg x 4 com
•
Supports capacitor split method, internal voltage boost
method and resistance division method
•
Supports waveform types A and B
•
Supports LCD contrast adjustment (16 steps)
•
Supports LCD blinking
Direct Memory Access (DMA) Controller
•
Up to 2 fully programmable channels
•
Transfer unit: 8- or 16-bit
Multiple Communication Interfaces
2
•
Up to 1
×
I C multi-master
•
Up to 2
×
CSI/SPI (7-, 8-bit)
•
Up to 1
×
UART (7-, 8-, 9-bit)
•
Up to 1
×
LIN
Extended-Function Timers
•
Multi-function 16-bit timers: Up to 8 channels
•
Real-time clock (RTC): 1 channel (full calendar and
alarm function with watch correction function)
•
Interval Timer: 12-bit, 1 channel
•
15 kHz watchdog timer: 1 channel (window function)
Rich Analog
•
ADC: Up to 10 channels, 10-bit resolution, 2.1
µs
conversion time
•
Supports 1.6 V
•
Internal reference voltage (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 frequency detection
•
ADC self-test
General Purpose I/O
•
5V tolerant, high-current (up to 20 mA per pin)
•
Open-Drain, Internal Pull-up support
Operating Ambient Temperature
•
T
A
:
−40
°C to +85 °C (A: Consumer applications)
•
T
A
:
−40
°C to +105 °C (G: Industrial applications)
Package Type and Pin Count
From 7mm x 7mm to 12mm x 12mm
QFP: 32, 44, 48, 52, 64
Page 1 of 131
RL78/L12
1. OUTLINE
ROM, RAM capacities
Flash ROM Data flash
RAM
32 pins
32 KB
16 KB
8KB
2 KB
2 KB
2 KB
1.5 KB
1 KB
1 KB
Note
RL78/L12
44 pins
R5F10RFC
R5F10RFA
R5F10RF8
48 pins
R5F10RGC
R5F10RGA
R5F10RG8
52 pins
R5F10RJC
R5F10RJA
R5F10RJ8
64 pins
R5F10RLC
R5F10RLA
−
R5F10RBC
R5F10RBA
R5F10RB8
Note
Note
Note
In the case of the 1 KB, and 1.5 KB, this is 630 bytes when the self-programming function and data flash
function is used.
Remark
The functions mounted depend on the product. See
1.6 Outline of Functions.
R01DS0157EJ0210 Rev.2.10
Sep 30, 2016
Page 2 of 131
RL78/L12
1. OUTLINE
1.2 List of Part Numbers
Figure 1-1 Part Number, Memory Size, and Package of RL78/L12
Part No. R 5 F 1 0 R L C A x x x F B
Package type:
FP
FA
FB
NB
:
:
:
:
LQFP, 0.80 mm pitch
LQFP, 0.65 mm pitch
LQFP, 0.50 mm pitch
WQFN, 0.40 mm pitch
ROM number (Omitted with blank products)
Classification:
A : Consumer applications, T
A
= -40˚C to 85˚C
G : Industrial applications, T
A
= -40˚C to 105˚C
ROM capacity:
8 : 8 KB
A : 16 KB
C : 32 KB
Pin count:
B :
F :
G:
J :
L :
32-pin
44-pin
48-pin
52-pin
64-pin
RL78/L12 group
Memory type:
F : Flash memory
Renesas MCU
Renesas semiconductor product
R01DS0157EJ0210 Rev.2.10
Sep 30, 2016
Page 3 of 131
RL78/L12
1. OUTLINE
Pin count
Package
Fields of
Application
Note
Part Number
32 pins
32-pin plastic LQFP (7
×
7)
A
G
R5F10RB8AFP, R5F10RBAAFP, R5F10RBCAFP
R5F10RB8GFP, R5F10RBAGFP, R5F10RBCGFP
R5F10RF8AFP, R5F10RFAAFP, R5F10RFCAFP
R5F10RF8GFP, R5F10RFAGFP, R5F10RFCGFP
R5F10RG8AFB, R5F10RGAAFB, R5F10RGCAFB
R5F10RG8GFB, R5F10RGAGFB, R5F10RGCGFB
R5F10RJ8AFA, R5F10RJAAFA, R5F10RJCAFA
R5F10RJ8GFA, R5F10RJAGFA, R5F10RJCGFA
R5F10RLAANB, R5F10RLCANB
R5F10RLAGNB, R5F10RLCGNB
R5F10RLAAFB, R5F10RLCAFB
R5F10RLAGFB, R5F10RLCGFB
R5F10RLAAFA, R5F10RLCAFA
R5F10RLAGFA, R5F10RLCGFA
44 pins
44-pin plastic LQFP (10
×
10)
A
G
48 pins
48-pin plastic LQFP (fine pitch)
(7
×
7)
A
G
A
G
52 pins
52-pin plastic LQFP (10
×
10)
64 pins
64-pin plastic WQFN (8
×
8)
A
G
64-pin plastic LQFP (fine pitch)
(10
×
10)
64-pin plastic LQFP (12
×
12)
A
G
A
G
Note
For the fields of application, refer to
Figure 1-1 Part Number, Memory Size, and Package of RL78/L12.
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.
R01DS0157EJ0210 Rev.2.10
Sep 30, 2016
Page 4 of 131
RL78/L12
1. OUTLINE
1.3 Pin Configuration (Top View)
1.3.1 32-pin products
•
32-pin plastic LQFP (7
×
7)
COM0
COM1
COM2
COM3
SEG0
P15/SCK01/INTP1/SEG4
P16/SI01/INTP2/SEG5
P17/SO01/TI02/TO02/SEG6
<R>
P21/ANI1/AV
REFM
P20/ANI0/AV
REFP
P14/ANI19/SEG32
P13/ANI18/TI00/SEG31
P12/SO00/TXD0/TOOLTxD/KR0/SEG30/(TI02)/(TO02)
P11/SI00/RXD0/TOOLRxD/KR1/SEG29/(INTP2)
P10/SCK00/TI07/TO07/KR2/SEG28/(INTP1)
P140/TO00/PCLBUZ0/KR3/SEG27
24 23 22 21 20 19 18 17
16
25
15
26
14
27
RL78/L12
13
28
29
(Top View)
12
11
30
10
31
9
32
1 2 3 4 5 6 7 8
P30/TI01/TO01/SEG19
V
L4
V
L2
V
L1
P126/CAPL
P127/CAPH
P61/SDAA0/SEG20
P60/SCLA0/SEG21
Caution Connect the REGC pin to Vss via a capacitor (0.47 to 1
μ
F).
Remarks 1.
For pin identification, see
1.4 Pin Identification.
2.
Functions in parentheses in the above figure can be assigned via settings in the peripheral I/O redirection
register (PIOR).
P40/TOOL0
RESET
P137/INTP0
P122/X2/EXCLK
P121/X1
REGC
V
SS
V
DD
R01DS0157EJ0210 Rev.2.10
Sep 30, 2016
Page 5 of 131