Datasheet
RL78/G13
RENESAS MCU
R01DS0131EJ0200
Rev.2.00
Oct 12, 2012
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 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.57
µA
•
Snooze: 0.70 mA (UART), 1.20 mA (ADC)
•
Operating: 66
µA/MHz
16-bit RL78 CPU Core
•
Delivers 41 DMIPS at maximum operating frequency
of 32 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: 16 KB to 512 KB
•
Block size: 1 KB
•
On-chip single voltage flash memory with protection
from block erase/writing
•
Self-programming with secure boot swap function
and flash shield window function
Data Flash Memory
•
Data Flash with background operation
•
Data flash size: 4 KB to 8 KB size options
•
Erase Cycles: 1 Million (typ.)
•
Erase/programming voltage: 1.8 V to 5.5 V
RAM
•
2 KB to 32 KB size options
•
Supports operands or instructions
•
Back-up retention in all modes
High-speed On-chip Oscillator
•
32 MHz with +/− 1% accuracy over voltage (1.8 V to
5.5 V) and temperature (−20 °C to 85 °C)
•
Pre-configured settings: 32 MHz, 24 MHz, 16 MHz,
12 MHz, 8 MHz, 4 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)
Data Memory Access (DMA) Controller
•
Up to 4 fully programmable channels
•
Transfer unit: 8- or 16-bit
Multiple Communication Interfaces
•
Up to 8 x I
2
C master
2
•
Up to 2 x I C multi-master
•
Up to 8 x CSI/SPI (7-, 8-bit)
•
Up to 4 x UART (7-, 8-, 9-bit)
•
Up to 1 x LIN
Extended-Function Timers
•
Multi-function 16-bit timers: Up to 16 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 26 channels, 10-bit resolution, 2.1
µs
conversion time
•
Supports 1.6 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
•
5V 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
From 3mm x 3mm to 14mm x 20mm
QFP: 44, 48, 52, 64, 80, 100, 128
QFN: 24, 32, 40, 48
SSOP: 20, 30
LGA: 25, 36
BGA: 64
R01DS0131EJ0200 Rev.2.00
Oct 12, 2012
Page 1 of 124
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
2 KB
4 KB
Note 1
CHAPTER 1 OUTLINE
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
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 3
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 2
−
−
R5F100EH
R5F101EH
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 1
R5F100EE
R5F101EE
R5F100ED
R5F101ED
3 KB
R5F100FD R5F100GD
R5F101FD R5F101GD
R5F100FC R5F100GC
R5F101FC R5F101GC
R5F100FA
R5F101FA
R5F100GA
R5F101GA
2 KB
R5F100EC
R5F101EC
2 KB
R5F100EA
R5F101EA
Notes 1.
This is about 3 KB when the self-programming function and data flash function are used.
2.
This is about 19 KB when the self-programming function and data flash function are used.
3.
This is about 31 KB when the self-programming function and data flash function are used.
R01DS0131EJ0200 Rev.2.00
Oct 12, 2012
Page 2 of 124
RL78/G13
CHAPTER 1 OUTLINE
1.2 Ordering Information
•
Flash memory version (lead-free product)
(1/4)
Pin count
20 pins
Package
20-pin plastic SSOP
(7.62 mm (300))
Not mounted
Data flash
Mounted
Part Number
R5F1006AASP, R5F1006CASP, R5F1006DASP, R5F1006EASP
R5F1006ADSP, R5F1006CDSP, R5F1006DDSP, R5F1006EDSP
R5F1016AASP, R5F1016CASP, R5F1016DASP, R5F1016EASP
R5F1016ADSP, R5F1016CDSP, R5F1016DDSP, R5F1016EDSP
24 pins
24-pin plastic WQFN
(fine pitch) (4
×
4)
Not mounted
Mounted
R5F1007AANA, R5F1007CANA, R5F1007DANA, R5F1007EANA
R5F1007ADNA, R5F1007CDNA, R5F1007DDNA, R5F1007EDNA
R5F1017AANA, R5F1017CANA, R5F1017DANA, R5F1017EANA
R5F1017ADNA, R5F1017CDNA, R5F1017DDNA, R5F1017EDNA
25 pins
25-pin plastic FLGA
(3
×
3)
Not mounted
Mounted
R5F1008AALA, R5F1008CALA, R5F1008DALA, R5F1008EALA
R5F1008ADLA, R5F1008CDLA, R5F1008DDLA, R5F1008EDLA
R5F1018AALA, R5F1018CALA, R5F1018DALA, R5F1018EALA
R5F1018ADLA, R5F1018CDLA, R5F1018DDLA, R5F1018EDLA
30 pins
30-pin plastic SSOP
(7.62 mm (300))
Mounted
R5F100AAASP, R5F100ACASP, R5F100ADASP,
R5F100AEASP, R5F100AFASP, R5F100AGASP
R5F100AADSP, R5F100ACDSP, R5F100ADDSP, R5F100AEDSP,
R5F100AFDSP, R5F100AGDSP
Not mounted
R5F101AAASP, R5F101ACASP, R5F101ADASP,
R5F101AEASP, R5F101AFASP, R5F101AGASP
R5F101AADSP, R5F101ACDSP, R5F101ADDSP, R5F101AEDSP,
R5F101AFDSP, R5F101AGDSP
32 pins
32-pin plastic WQFN
(fine pitch)(5
×
5)
Mounted
R5F100BAANA, R5F100BCANA, R5F100BDANA, R5F100BEANA,
R5F100BFANA, R5F100BGANA
R5F100BADNA, R5F100BCDNA, R5F100BDDNA,
R5F100BEDNA, R5F100BFDNA, R5F100BGDNA
Not mounted
R5F101BAANA, R5F101BCANA, R5F101BDANA, R5F101BEANA,
R5F101BFANA, R5F101BGANA
R5F101BADNA, R5F101BCDNA, R5F101BDDNA,
R5F101BEDNA, R5F101BFDNA, R5F101BGDNA
36 pins
36-pin plastic FLGA
(4
×
4)
Mounted
R5F100CAALA, R5F100CCALA, R5F100CDALA, R5F100CEALA,
R5F100CFALA, R5F100CGALA
R5F100CADLA, R5F100CCDLA, R5F100CDDLA, R5F100CEDLA,
R5F100CFDLA, R5F100CGDLA
Not mounted
R5F101CAALA, R5F101CCALA, R5F101CDALA, R5F101CEALA,
R5F101CFALA, R5F101CGALA
R5F101CADLA, R5F101CCDLA, R5F101CDDLA, R5F101CEDLA,
R5F101CFDLA, R5F101CGDLA
R01DS0131EJ0200 Rev.2.00
Oct 12, 2012
Page 3 of 124
RL78/G13
CHAPTER 1 OUTLINE
(2/4)
Pin count
40 pins
Package
40-pin plastic WQFN
(fine pitch)(6
×
6)
Data flash
Mounted
Part Number
R5F100EAANA, R5F100ECANA, R5F100EDANA, R5F100EEANA,
R5F100EFANA, R5F100EGANA, R5F100EHANA
R5F100EADNA, R5F100ECDNA, R5F100EDDNA, R5F100EEDNA,
R5F100EFDNA, R5F100EGDNA, R5F100EHDNA
Not mounted
R5F101EAANA, R5F101ECANA, R5F101EDANA, R5F101EEANA,
R5F101EFANA, R5F101EGANA, R5F101EHANA
R5F101EADNA, R5F101ECDNA, R5F101EDDNA, R5F101EEDNA,
R5F101EFDNA, R5F101EGDNA, R5F101EHDNA
44 pins
44-pin plastic LQFP
(10
×
10)
Mounted
R5F100FAAFP, R5F100FCAFP, R5F100FDAFP, R5F100FEAFP,
R5F100FFAFP, R5F100FGAFP, R5F100FHAFP, R5F100FJAFP,
R5F100FKAFP, R5F100FLAFP
R5F100FADFP, R5F100FCDFP, R5F100FDDFP, R5F100FEDFP,
R5F100FFDFP, R5F100FGDFP, R5F100FHDFP, R5F100FJDFP,
R5F100FKDFP, R5F100FLDFP
Not mounted
R5F101FAAFP, R5F101FCAFP, R5F101FDAFP, R5F101FEAFP,
R5F101FFAFP, R5F101FGAFP, R5F101FHAFP, R5F101FJAFP,
R5F101FKAFP, R5F101FLAFP
R5F101FADFP, R5F101FCDFP, R5F101FDDFP, R5F101FEDFP,
R5F101FFDFP, R5F101FGDFP, R5F101FHDFP, R5F101FJDFP,
R5F101FKDFP, R5F101FLDFP
48 pins
48-pin plastic LQFP
(fine pitch) (7
×
7)
Mounted
R5F100GAAFB, R5F100GCAFB, R5F100GDAFB, R5F100GEAFB,
R5F100GFAFB, R5F100GGAFB, R5F100GHAFB, R5F100GJAFB,
R5F100GKAFB, R5F100GLAFB
R5F100GADFB, R5F100GCDFB, R5F100GDDFB, R5F100GEDFB,
R5F100GFDFB, R5F100GGDFB, R5F100GHDFB, R5F100GJDFB,
R5F100GKDFB, R5F100GLDFB
Not mounted
R5F101GAAFB, R5F101GCAFB, R5F101GDAFB, R5F101GEAFB,
R5F101GFAFB, R5F101GGAFB, R5F101GHAFB, R5F101GJAFB,
R5F101GKAFB, R5F101GLAFB
R5F101GADFB, R5F101GCDFB, R5F101GDDFB, R5F101GEDFB,
R5F101GFDFB, R5F101GGDFB, R5F101GHDFB, R5F101GJDFB,
R5F101GKDFB, R5F101GLDFB
48-pin plastic WQFN
(7
×
7)
Mounted
R5F100GAANA, R5F100GCANA, R5F100GDANA, R5F100GEANA,
R5F100GFANA, R5F100GGANA, R5F100GHANA, R5F100GJANA,
R5F100GKANA, R5F100GLANA
R5F100GADNA, R5F100GCDNA, R5F100GDDNA, R5F100GEDNA,
R5F100GFDNA, R5F100GGDNA, R5F100GHDNA, R5F100GJDNA,
R5F100GKDNA, R5F100GLDNA
Not mounted
R5F101GAANA, R5F101GCANA, R5F101GDANA, R5F101GEANA,
R5F101GFANA, R5F101GGANA, R5F101GHANA, R5F101GJANA,
R5F101GKANA, R5F101GLANA
R5F101GADNA, R5F101GCDNA, R5F101GDDNA, R5F101GEDNA,
R5F101GFDNA, R5F101GGDNA, R5F101GHDNA, R5F101GJDNA,
R5F101GKDNA, R5F101GLDNA
R01DS0131EJ0200 Rev.2.00
Oct 12, 2012
Page 4 of 124
RL78/G13
CHAPTER 1 OUTLINE
(3/4)
Pin count
52 pins
Package
52-pin plastic LQFP
(10
×
10)
Data flash
Mounted
Part Number
R5F100JCAFA, R5F100JDAFA, R5F100JEAFA, R5F100JFAFA,
R5F100JGAFA, R5F100JHAFA, R5F100JJAFA, R5F100JKAFA,
R5F100JLAFA
R5F100JCDFA, R5F100JDDFA, R5F100JEDFA, R5F100JFDFA,
R5F100JGDFA, R5F100JHDFA, R5F100JJDFA, R5F100JKDFA,
R5F100JLDFA
Not mounted
R5F101JCAFA, R5F101JDAFA, R5F101JEAFA, R5F101JFAFA,
R5F101JGAFA, R5F101JHAFA, R5F101JJAFA, R5F101JKAFA,
R5F101JLAFA
R5F101JCDFA, R5F101JDDFA, R5F101JEDFA, R5F101JFDFA,
R5F101JGDFA, R5F101JHDFA, R5F101JJDFA, R5F101JKDFA,
R5F101JLDFA
64 pins
64-pin plastic LQFP
(12
×
12)
Mounted
R5F100LCAFA, R5F100LDAFA, R5F100LEAFA, R5F100LFAFA,
R5F100LGAFA, R5F100LHAFA, R5F100LJAFA, R5F100LKAFA,
R5F100LLAFA
R5F100LCDFA, R5F100LDDFA, R5F100LEDFA, R5F100LFDFA,
R5F100LGDFA, R5F100LHDFA, R5F100LJDFA, R5F100LKDFA,
R5F100LLDFA
Not mounted
R5F101LCAFA, R5F101LDAFA, R5F101LEAFA, R5F101LFAFA,
R5F101LGAFA, R5F101LHAFA, R5F101LJAFA, R5F101LKAFA,
R5F101LLAFA
R5F101LCDFA, R5F101LDDFA, R5F101LEDFA, R5F101LFDFA,
R5F101LGDFA, R5F101LHDFA, R5F101LJDFA, R5F101LKDFA,
R5F101LLDFA
64-pin plastic LQFP
(fine pitch) (10
×
10)
Mounted
R5F100LCAFB, R5F100LDAFB, R5F100LEAFB, R5F100LFAFB,
R5F100LGAFB, R5F100LHAFB, R5F100LJAFB, R5F100LKAFB,
R5F100LLAFB
R5F100LCDFB, R5F100LDDFB, R5F100LEDFB, R5F100LFDFB,
R5F100LGDFB, R5F100LHDFB, R5F100LJDFB, R5F100LKDFB,
R5F100LLDFB
Not mounted
R5F101LCAFB, R5F101LDAFB, R5F101LEAFB, R5F101LFAFB,
R5F101LGAFB, R5F101LHAFB, R5F101LJAFB, R5F101LKAFB,
R5F101LLAFB
R5F101LCDFB, R5F101LDDFB, R5F101LEDFB, R5F101LFDFB,
R5F101LGDFB, R5F101LHDFB, R5F101LJDFB, R5F101LKDFB,
R5F101LLDFB
64-pin plastic FBGA
(4
×
4)
Mounted
R5F100LCABG, R5F100LDABG, R5F100LEABG, R5F100LFABG,
R5F100LGABG, R5F100LHABG, R5F100LJABG
R5F100LCDBG, R5F100LDDBG, R5F100LEDBG, R5F100LFDBG,
R5F100LGDBG, R5F100LHDBG, R5F100LJDBG
Not mounted
R5F101LCABG, R5F101LDABG, R5F101LEABG, R5F101LFABG,
R5F101LGABG, R5F101LHABG, R5F101LJABG
R5F101LCDBG, R5F101LDDBG, R5F101LEDBG, R5F101LFDBG,
R5F101LGDBG, R5F101LHDBG, R5F101LJDBG
R01DS0131EJ0200 Rev.2.00
Oct 12, 2012
Page 5 of 124