RL78
RL78
The True Low Power Microcontroller Platform
www.renesas.eu
2012.06
RL78 The True Low Power
Microcontroller Platform
RL78 from Renesas Electronics is an advanced family of 16-bit general purpose and application specific
microcontrollers (MCU‘s) combining true low power and high performance operation.
The RL78 is designed specifically for ultra low power applications. RL78‘s innovative Snooze mode allows serial
communication and ADC operation in standby, which makes it best in class for battery powered designs.
Why RL78?
• World’s best in class performance for an
equivalent MCU family
• Wide temperature operation
• On board security features
• Scalability of physical size including smart pin layout
An extensive ecosystem and more details of RL78 can be
found at www.Renesas.com/RL78
• System cost saving features
• Wide voltage operation
> 63 uA/MHz Operation
> 0.57 uA (RTC + LVD)
> Unique “Snooze” mode
>
>
>
>
Advanced development tools
3rd party support
Online resources
Online training: Renesas interactive
>
>
>
>
20 to 128 pins
2 KB to 512 KB Flash
100% compatibility
Peripheral I/O re-direction capability
> Up to 1.39 DMIPS/MHz
> 1.6V to 5.5 V operation*
> DMA/DTC/ELC*
> Flash memory with ECC
> Safety support includes IEC 60730
> High temperature support:
-200 to 1050
> 32/64 MHz +/-1% OCO
> On-chip low voltage detection circuit
> Data flash with BGO
RL78 Roadmap
ASSP
LCD
(Segment)
L12
Small LCD
G12*
General
Purpose
Low Pin
Count
Industry, Consumer
PC, OA, Automotive
Automotive
Lighting
RL78
Core
ASSP Next
F12*
I1A*
Lx Next
Lx
Enhanced
Peripherals
Connectivity
G13*
Standard
G14*
Increased
Performance
Gx Next
Enhanced
Peripherals
Functionality
* Available
2
www.renesas.eu
RL78 Low Power Modes
RL78 offers multiple power saving modes
• RL78’s three low power modes maximize
battery life by disabling idle CPU features
Snooze Mode
• No need to wake up CPU for receiving data
• The unique Snooze Mode allows some peripherals
ie. ADC and UART operation whilst in standby modes
Power Consumption Values
• Achieve 1/10th of the power consumption; Snooze mode
uses 0.5mA vs. 5mA in Run mode (ADC)
Snooze Mode
ADC conversion
example
Standby Modes
• Halt mode disables CPU operation saving as much as 80%
of total MCU current, whilst allowing fast CPU enable time
• STOP mode achieves lowest power consumption by
disabling more CPU functions
RL78 Wide Operating Voltage
Note:
1: At 32MHz (NOP instructions)
2: 0.49 µA (RTC only)
3: 0.23 µA (all stopped, RAM retained) & LVD only 0.08uA
3
Compatibility
Scalability
RL78 MCU’s offer full pin compatibility
RL78 offers an unprecedented line up
• I/O and peripheral pins scale up
• Over 300 devices
• Easily add additional I/O and functionality by
migrating to a larger pin count
• Available in 20 to 128 pin packages & 2KB to 512KB Flash
www.renesas.eu
• Keep peripheral pin PCB layout in the same
order/position as pin count is increased
• Software code can be reused across the full RL78 family
from 20 pins to 128 pins
The colour coded pins of
RL78/Gxx series opposite
is an example of actual I/O
port commonality from a
20pin SSOP up through
80pin QFP package version
Flexibility
Peripheral I/O Re-direction (PIOR) capability remaps functions to alternate ports
• Due to layout or peripheral pin sharing constraint,
there may be conflicts for existing peripheral I/O pin
assignments
• Optimise peripheral pin functionality by easing function
bottlenecks on a pin
4
PIOR capability can help ease a bottleneck, as shown in this
example by remapping to alternate pins
www.renesas.eu
High Efficiency RL78/G14 offers up to 44 DMIPS performance at 32MHz
•Unrivalled power consumption / performance ratio (1/3 that of competitors)
•Higher DMIPS rating and lower power consumption than a popular 32 bit
competitor technology
•RL78 offers widest operating voltage in its class from1.6V to 5.5V
•85% instructions executed in one clock cycle
Advanced Features
Event Link Controller (ELC)
Specialized Motor Timers
•ELC reduces interrupt processing
•ELC improves real time function
& reduces program size by using
less interrupts
•Integrated Motor Control timer functions
Improved overall performance as
ELC independently controls the
operation reducing CPU overhead
Safety Features
•Timer RD supports 5 modes of operation;
Timer Mode, PWM Mode, Reset Synchronous
PWM Mode, Complementary PWM Mode
•Security shut off function for over current or
high impedance detection
Hardware for IEC/UL 60730 compliance
Two types of CRC hardware
Parity / Write Protection
Write Protection
•Flash Memory
•Parity: Internal reset when parity
error generated on Read or Write
•Write protection for: Port setting,
interrupt setting, clock setting,
LVI setting
•Serial Interface
•Write Protection:
Select from: ~128B/~256B/~512B
•RAM Parity setting
Illegal memory access detection
Stop Detection / Frequency check
Multiple input signal selectable
•Illegal memory access:
generates “internal reset”
•Stop detection:
possible to detect by WWDT
•ADC measurement sources:
•Trap instruction
“FF” instruction generates
“internal reset”
•Frequency check:
possible to check by timer function
–External / Internal AVref sources
–External ADC input pins
–Internal Vref (1.4 V typ)
–Temperature sensor
5
RL78 Peripherals
RL78/G14
1.8V Reprogramming
Boot swap support
16 KB to 256 KB
2.5 KB to 24 KB
4 KB to 8 KB
Error Code Correction (ECC)
Transfer data between memory and
register without using CPU
Reduce processing & improve
performance. Assigns interrupt signals
as built in functions
Single-wire Debug
RL78 true low power modes
CPU and Flash operation stopped
Clocks, RAM and port values retained
Peripherals operating
Clocks, RAM and port values retained
Wake-up on valid condition
Clocks, RAM and port values are retained
Peripheral stop except RTC, PCL, I2C
IEC/UL 60730 Support
Illegal memory access detect
6
www.renesas.eu
+/- 1% Internal Oscillator (up to 64 MHz)
External clocks: 20 MHz
Internal HOCO up to 64 MHz
Internal LOCO 15 KHz
32 KHz clock
1.6V to 5V operation
20 channels, 10-bit, 2.1 s conversion time
Internal Voltage Reference (1.4V)
Temperature sensor
Multi-function Timer Array Unit (TAU)
Timer array with endoder function
- Timer array unit (16-bit, 8 ch)
Interval timer (12 bit, 1 ch)
Watchdog timer (17-bit, 1 ch)
Full real time calendar function
Motor control timer (16-bit, 8 ch)
Phase timer (16-bit, 2 ch)
I/O timer (16-bit, 1 ch)
I2C
- Up to 8 channel master
- Up to 2 channel multi-master
CSI/ SPI, 8 channel, 7/8 bit
UART, 4 channel, 7/8/9 bit
LIN, 1 channel
Parity check
ADC Self diagnostic
SFR Write protection
RL78 16-bit CPU
32 MHz (G13 & G14)
24 MHz (G12)
Flash Memory Cyclic Redundancy Check
7
RL78 Development Tools
Extensive Renesas Development Ecosystem
Renesas Electronics and selected partners offer a comprehensive suite of hardware and
software tools for the rapid evaluation and development of embedded systems built with RL78.
Hardware Development Tools
RL78/G13 Renesas Promotion
Board (RPB)
Order No: YRPBRL78G13
• Demo the high performance of RL78
• Evaluate and measure the low power modes
• PC Software included (GUI, drivers)
• IAR Kickstart (16KB code limited)
• Applilet device code generator
RL78/G13 Renesas Starter Kit (RSK)
Order No:YR0K50100LS000BE
• CPU board with target microcontroller
• LCD panel for user diagnostic interaction
• E1 On Chip Debugger
• Trial C compiler
• Applilet device code generator
• Sample peripheral codes
RL78/G13 Renesas Demo Kit (RDK)
Order No: YRDKRL78G13
• RL78 MCU board with integrated debugger
(USB-powered)
• Sample project exercising peripherals using
sensors, display and audio speaker
• IAR Embedded Workbench for RL78
(16KB KickStart edition) including C/C++
compiler and powerful debugger
8
E1 on-chip debugging emulator
Order No: YR0E000010KCE00-E
•Universal Renesas On Chip Debugger
•Debugger or Flash programmer interface
•Single wire connection to RL78 device
•Assembler and C source stepping
•Software and hardware breakpoints
•Real time memory access during run time
• Direct access to memory, SFR and general
registers
IECUBE Full In-circuit emulator
Order No: QB-RL78G13-ZZZ-EE
• USB 2.0 interface
• Break functions
• Trace functions
• Real time RAM monitor function
• Time measurement
• Full integration into IAR Systems EWRL78
C-Spy debugger
www.renesas.eu
RL78 Development Tools
Software Development Tools
IAR Embedded Workbench
•Integrated development environment and
optimised C++ compiler for RL78
•Includes instruction set simulator and full support for
hardware tools
•Project management tools and editor
•Configuration files for all RL78 devices
•Emulator Debugger Support
•Run-time libraries
•Example projects for RL78 and code templates
Free RTOS
•Free of charge RTOS for download to deploy
RL78 designs
•Fully supported commercial versions available
as OpenRTOS, code compatible
CMX RTOS
Applilet
•Renesas software tool generates device driver
code to initialize and use on-chip peripherals
•Full code generation for IAR EWRL78
•Integrated project wizard guides user to create
a new project
•Supplied free of charge
•Small footprint
•Fast context switching time
•Truly preemptive scheduler
•Nested Interrupts
•User Configurable
Micrium RTOS
•μC OSII & μC OSIII RTOS
•Numerous helpful features for writing multi-task
applications
•Highly efficient
•Popular choice for safety-critical designs
Applilet API
specification
Applilet
configurator
Segger embOS
•Priority controlled RTOS based on zero interrupt latency,
high performance architecture
•Optimised for minimum memory consumption in both
RAM and ROM
9
RL78 Applications
RL78 offers System Designers key advantages for next generation designs, reducing system
power, enhancing integration and providing a cost effective platform approach.
Industrial Automation
Home Automation
•RL78’s offers and extensive range
of small packages
•RL78 has standard and extended
temperature range devices from
-40 to +850C
•Renesas has a proven track record
in IA with complimentary ASIC
and ASSP solutions
•For long battery life, RL78 offers
class leading low power including the unique Snooze mode
•Battery operation down to 1.6V
Consumer
•RL78 MCU’s offer a full calendar
function
•RL78 has an integrated
temperature sensor
•Future families of RL78 will have
display drive and USB drive integrated
White Goods
•RL78 offers integrated safety
compliance for white goods
(IEC 60730)
•RL78 offers high temperature
support
•RL78’s integrated peripherals
make it the ideal choice for cost
sensitive white goods
Lighting
•RL78/I1A offers dedicated DALI
and Power Factor control
•RL78’s free windows based
Applilet software make it easy
for designers to turn around a
lighting design with little design
experience
•RL78/IA integrates high resolution PWM timers
10
Power Tools
•Renesas is renowned for high
quality long life MCU’s
•RL78 is available in multiple
packages and scalable for the
platform design approach
Medical
•When a small package MCU
with long product life is required,
RL78 is your first choice
•Renesas have provided solutions
for Tier one Medical manufacturers
and are part of the Continua
alliance
Metering
•RL78’s low power modes
make the MCU ideal to meet
industry power consumption
requirements
•RL78 is analog rich, ideal for
smart metering applications
•Renesas has three decades
experience of providing high
quality and long product life
MCU’s within metering
Motor Control
•RL78/G14 family is ideal for
motor control applications with
integrated MC timers
•RL78’s on chip oscillators with
1% accuracy provide an
integrated low cost solution for
timing critical applications
www.renesas.eu
RL78 Selector Guide
RL78 Part Number Guide
Part Number Example
> RL78/G13 (20pin): R5F1006EASP#VO
> RL78/G13 (48pin): R5F100GAAFP#VO
11
Getting Started with RL78 Is Easy !
Renesas Electronics has made embedded design with the RL78 microcontroller family as easy as possible
An extensive ecosystem for RL78 including training, free evaluation boards (Renesas Promotion Boards),
low cost starter kits and multiple application notes aid the embedded system designer to develop the World’s
lowest power designs.
www.renesas.com/RL78
Low Power
• Keep up to date with RL78 Family
• RL78 MCU search facility
• Full data & application notes
• Hardware and software
guides and free downloads
• Sales and support information
Scalable
RL78 Promotion Board
• Learn about RL78 key features
• A complete GUI based control
• Software examples
• Development environment
Efficient
The Renesas Eco System
Online technical community
3rd Party network
Personalised news & services
www.renesasrulz.com
www.renesas.eu/alliance
www.renesas.eu/myrenesas
Online technical training
Facebook group
Latest news
www.renesasinteractive.com
www.facebook.com/renesaseurope
www.twitter.com/renesas_europe
Renesas Presents video channel
www.youtube.com/renesaspresents
Before purchasing or using any Renesas Electronics products listed herein, please refer to the latest product manual and/or data sheet in advance.
www.renesas.eu
© 2012 Renesas Electronics Europe.
All rights reserved. Printed in Germany.
Document No. R01CL0018ED0300
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement