RL78 Ultra Low Power MCU Lab

Similar documents
RL78 Ultra Low Power MCU Lab

RL78 Project Configuration Tips

Low Power Design. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Low Power Design Michael Thomas, Applications Engineer

Capacitive Touch Based User Interfaces and Hardware-based Solutions

Incorporating a Capacitive Touch Interface into Your Design

A11L: 78K0R Low Power MCU

STM8L and STM32 L1 series. Ultra-low-power platform

Implementing Bootloaders on Renesas MCUs

MCU R&D Strategies for the Smart Society

Capacitive Touch Remote Control Reference Design User s Guide

Ultra Low Power Microcontroller - Design Criteria - June 2017

Embedding Audio into your RX Application

Study and implementation of RL78 low power mode

Microcontroller Technologies for Smart Society

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

Secure Firmware Update Lab Session

An Introduction to e 2 studio

CAN In A Day 2L01I. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Using Software Building Blocks for Faster Time to Market

TouchCore351-ML16IP. Capacitive Touch Sensor Controller

FOR IOT PRODUCT DEVELOPMENT

AD5669R - Microcontroller No-OS Driver

ILI2303. ILI2303 Capacitive Touch Sensor Controller. Specification

EFM32....the world s most energy friendly microcontrollers

2-Oct-13. the world s most energy friendly microcontrollers and radios

ID 434L: Incorporating a Capacitive Touch Interface into Your Design

CC05B RX Project Configuration Tips

ID 730L: Getting Started with Multimedia Programming on Linux on SH7724

AN116. Power Management Techniques and Calculation. Introduction. Key Points. Power Saving Methods. Reducing System Clock Frequency

TP6836. USB 2.4G RF Dongle. Data Sheet

ID 321L: KPIT GNU compiler plug-ins for HEW / KPIT Eclipse IDE

FT6336G. Self-Capacitive Touch Panel Controller INTRODUCTION FEATURES

Rapid RX600 System Development Using the RPDL and PDG

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Implementing Ultra-Low-Power Design Techniques in RX100 MCU-based Applications

Welcome to this Renesas Interactive course which covers migration from the the V850 Jx3 series of 32bit MCUs to the Jx4 Series.

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it

Introducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets

STM32L4 System operating modes

Optimizing RX Performance

apr33a1 / apr33a2 / apr33a3 Datasheet

Creating Energy Efficient Computers Marius Grannæs

Getting Started with Renesas Development Tools

STM8 platform 8-bit microcontrollers

ID 020C: Hardware-in-Loop: System Testing Without the System

ID 025C: An Introduction to the OSEK Operating System

2-bit ARM Cortex TM -M3 based Microcontroller FM3 Family MB9A130 Series

FT6x06. Self-Capacitive Touch Panel Controller INTRODUCTION FEATURES

Introducing STM32 L0x Series. April

Quick Start Guide: RL78G14 Motor Control Starter Kit


CARDINAL COMPONENTS. FREQUENCY A MHz. Specifications: Min Typ Max Unit

Energy Harvesting Reference Design

Approximately half the power consumption of earlier Renesas Technology products and multiple functions in a 14-pin package

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

Laboratory Hardware and Tools

LibUSB - Create a Solution Without the Class Struggle

Integrated Circuits Inc. apr H2.2. Datasheet. 40 ~ 80 sec recording voice IC APLUS INTEGRATED CIRCUITS INC.

RX, SH, V850ES, RL78 and 78K0R families

EVE2 BLE CAN Datasheet

Insights into MCU & Mixed Signal Design

Universität Dortmund. MCUs Low-Power Features

T he key to building a presence in a new market

ID B34L: HMI Development with QNX'S Momentics Toolchain and Connected Automotive Reference QNX CAR

EVE2 BLE Datasheet. The EVE Platform features standardized IO, common OS and drivers and ultra-low power consumption.

Low Power System Techniques

RL78 MICROCONTROLLERS. Featuring snooze mode for energy-efficient applications

CARDINAL COMPONENTS. Specifications: Min Typ Max Unit

Watt Saver Software Component (WSC)

Software Development with an Open Source RTOS

FRDM-KL03Z User s Guide

STM32 Cortex-M3 STM32F STM32L STM32W

ID 411C: Capacitive Touch User Interfaces and Hardwarebased

apr33a1 / apr33a2 / apr33a3 CPU Serial Mode (C1.0) Datasheet

STM32G0 MCU Series Efficiency at its Best

ARM Cortex core microcontrollers 12 th Energy efficient operation

Introduction. Purpose. Objectives. Content. Learning Time

SH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5)

TP6825. USB Full Speed Game Pad Controller. Data Sheet. Tenx reserves the right to change or discontinue this product without notice.

CHAPTER 6 CONCLUSION AND SCOPE FOR FUTURE WORK

Military Grade SmartFusion Customizable System-on-Chip (csoc)

Energy-Efficient Solutions: Kinetis L Series MCUs

Portable Instrumentation Applications w/ the RL78

TTP226. Preliminary 8 KEYS TOUCH PAD DETECTOR IC GENERAL DESCRIPTION

RZ Embedded Microprocessors

afrc616 + Micro SD Card dual set solution Data sheet APLUS INTEGRATED CIRCUITS INC.

A4805 SUPERVISOR (RESET IC) HIGH VOLTAGE HIGH PRECISION VOLTAGE DETECTOR

Kinetis EA Ultra-Reliable Microcontrollers. Automotive and Industrial Applications

COL862 - Low Power Computing

HEAD QUARTER. Floor 2, No 1008, Chung-Hsing Rd Sec 4, Chu-Tung, Hsinchu, 31061, Taiwan TEL: FAX: ShenZhen/China Office:

SH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A

KL03 Product Brief Supports all KL03 devices

ILI2511. ILI2511 Single Chip Capacitive Touch Sensor Controller. Specification ILI TECHNOLOGY CORP. Version: V1.4. Date: 2018/7/5

ID 024C: Auto Code Generation: The Shortest Distance From Idea to Implementation

TWR-KL43Z48M Quick Start Guide

MCU Solutions for IoT A U G U S T

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

Transcription:

RL78 Ultra Low Power MCU Lab Renesas Electronics America Inc.

Renesas Technology & Solution Portfolio 2

Renesas Technology & Solution Portfolio 3

Microcontroller and Microprocessor Line-up 2010 2012 32-bit 1200 DMIPS, Superscalar Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby 500 DMIPS, Low Power 8/16-Bit True Low Power High Efficiency & Integration Automotive & Industrial, 90nm 600µA/MHz, 1.5µA standby 165 DMIPS, FPU, DSC 1200 DMIPS, Performance Automotive, 40nm 500µA/MHz, 35µA deep standby 165 DMIPS, FPU, DSC Industrial, 40nm 200µA/MHz, 0.3µA deep standby 8/16-bit Industrial, 90nm 200µA/MHz, 1.6µA deep standby 25 DMIPS, Low Power Industrial & Automotive, 150nm 190µA/MHz, 0.3µA standby 10 DMIPS, Capacitive Touch Wide Industrial Format & LCDs Automotive, 130nm 350µA/MHz, 1µA standby Embedded Security, ASSP Industrial, 90nm 1mA/MHz, 100µA standby 44 DMIPS, True Low Power Industrial & Automotive, 130nm 144µA/MHz, 0.2µA standby 4

Enabling The Smart Society Challenge: In the smart society sensors and instruments are no longer tethered to power lines or network cables. Sensors will be on our bodies, our pets, in remote fields and they will have to run for years on small batteries or utilizing energy harvesting techniques. Solution: RL78 Ultra low power MCU family This lab will demonstrate the Ultra-low power RL78 MCU family and it s many on-chip low power peripherals, to create a more energy efficient embedded product, with longer battery life or capable of being powered from many different energy harvesting sources 5

Agenda (1) I. Intro to Renesas RL78 Ultra low power MCU main features/attributes II. Intro to Applilet for RL78/G14 - Device driver code generator III.Lab Objectives IV. Lab Materials V. Do the Lab VI. Recap what did we learn 6

Leading Edge - RL78 Low Power MCU Scalable Low Power Efficient Lower power technology CPU, flash, system Low active power As low as 66uA/MHz Low standby power 0.45uA (STOP + 32kHz + RTC) 0.23uA (STOP) Low power peripherals LVD, RTC, WDT Wake up from standby 19.1 usec Long interval capability 0.5 sec to 1 month SNOOZE mode ADC, UART/CSI(SPI) 7

RL78 Low Power Comparisons RL78 is dramatically better for all power modes! Micro-Amps/ MHz 400 350 300 250 200 150 100 50 Operating Mode 380 363 213 150 A B C D 66 144 RL78 Micro-Amps 14 12 10 8 6 4 2 Halt Mode: RTC + LVD 12.5 10.6 5.6 3.6 0.49 A B C D RL78 Micro-Amps 16 14 12 10 8 6 4 2 Stop Mode: LVD 14.3 10.3 5.1 3.4 0.23 A B C D RL78 RUN HALT STOP CPU Clock Peripheral CPU Clock Peripheral CPU Clock Peripheral* Note: 1: At 32MHz (NOP instructions) 2: At 32 MHz (Basic operation) Disabled Enabled 8

Lower Power With Configurable Peripherals Items CPU STOP + 32kHz Clock + Interval + RTC + WDT + LVD CPU STOP + 32kHz Clock + RTC CPU STOP + LOCO Clock + 12-bit Interval Timer CPU STOP + WDT (with LOCO Clk = 15KHz) CPU STOP + LVD CPU STOP RL78 0.81uA 0.49uA 0.45uA 0.45uA 0.31uA 0.23uA VDD=3V Note1:WDT includes LOCO current Note2: All the power consumptions above are typical values of RL78/G13(64KB) 9

System Low Power Technique ON/OF F ON/OF F ON/OF F Oscillators Clock lines Functions Int. Oscillator: Selectable 1,4,8,12,16,24,3 2 MHz Ext. Oscillator: 1-20 MHz *2 Ext. Oscillator: 32.768 khz Selector CPU *1, 2 Flash TAU0 *2 TAU1 *2 SAU0 *2 SAU1 *2 IICA0 *2 IICA1 *2 ADC *2 RTC Int. Oscillator: 15 khz ± 15% Sel ect or Interval Watchdog LVD *1 Operation stopped in Halt mode *2 Operation stopped in STOP mode 10

Using Internal Low Dropout Voltage Regulator to Minimize Current Drain Internal voltage regulator Ext. osc. block I/O Opamp Comparator Timers Serial MCU core Voltage reg. I/O CPU Low volt detect POR/ POC WDT RTC LCD C/D with booster Int. HS osc. Clock gen. stby control Voltage ref. I/O ADC DAC Supply Current, CPU and Core Peripherals MCUs with No Internal Voltage Reg; Current Drain Increases with Supply Voltage! MCUs with an Internal Voltage Reg; Current Drain Constant Over Supply Voltage! 1.8V 2.4V 3.0V 3.6V 4.2V 4.8V 5.5V Supply Voltage Internal core LDO voltage regulator - Keeps CPU and core function current drains constant Functions attached to I/O pins - Current drains rise proportionally to supply voltage 11

RL78 Operation modes User selects mode based on system max frequency and min VDD voltage LV (Low-voltage) mode: 1 to 4 MHz (VDD = 1.6 to 5.5 V) LS (Low-speed) mode: 1 to 8 MHz (VDD = 1.8 to 5.5 V) HS (High-speed) mode: 1 to 16 MHz (VDD = 2.4 to 5.5 V) HS (High-speed) mode: 1 to 32 MHz (VDD = 2.7 to 5.5 V) Regulator Output Voltage Conditions Mode Output voltage Conditions LV (low voltage) mode LS (low speed) mode HS (high-speed) mode 1.8V All 1.8V All 1.8V STOP 2.1V Active VDD VSS REGC Pin Reg CPU, Periphe rals RL78 I/O Etc. 12

Applilet device driver code generator Applilet is a software tool to generate device driver code to initialize and use on-chip peripherals Full code generation for IAR EWRL78 User application layer Applilet API specification CPU application layer Applilet Applilet configurator CPU device layer RL78 CPU core 13

Applilet device driver code generator Easy to use graphical user interface (GUI) Common API for easy code porting across families Integrated project wizard guides user through the creation of new project After peripheral configuration, C source code can be generated Configuration changes can be merged with existing user code User code in protected areas is saved during rebuild of the Applilet files No royalty fees 14

RL78 Ultra-Low Power Lab Lab Objectives Demonstrate the low power modes of the RL78 Generate IAR project using Applilet Edit/Compile/build/debug the project in IAR IDE Lab Materials Laptop PC with IAR/Applilet tools pre-installed IAR Kickstart V1.20.1 KS Applilet3 for RL78/G14 V1.01.01 Renesas flash programmer V1.03 YRPBRL78G14 target board USB cable Multimeter Skill Level New to RL78/ IAR Tools 15

Typical Lab Measurements Page 3, Step 1.7; With the program running in normal 32 MHz mode record the current on the multimeter. ma Page 4, Step 1.8; Now select the Halt button and record the multimeter current. ma Page 4, Step 1.10; Select the Stop button and record the multimeter current. ma Page 14, Step 4.3; With the program running in normal 32 MHz mode record the current on the multimeter ma Page 15, Step 4.7; Click Debug-> Go or press F5 to RUN the program and record the current. ma Page 16, Step 4.11; Click Debug-> Go or press F5 to RUN the program and record the current ma Page 18, Step 5.7; Now build and connect to the debugger. Run the program and note the stop current. ma Page 18, Step 5.8; Change the stop(); command to a halt(); command and compare the currents. ( ma) Page 24, Step 6:15; To run the program you just programmed, remove the four option jumpers and plug it back into the USB port. You should now see the low power current that was shown in the demo. ( ma) 16

RL78 Ultra Low power STOP Modes Items CPU STOP + 32kHz Clock + Interval + RTC + WDT + LVD CPU STOP + 32kHz Clock + RTC +WDT +LVD CPU STOP + LOCO Clock + Interval + WDT + LVD CPU STOP + WDT (with LOCO Clk) + LVD CPU STOP + LVD CPU STOP RL78 0.81uA 0.79uA 0.55uA 0.53uA 0.31uA 0.23uA VDD=3V Note1:WDT includes LOCO current Note2: All the power consumptions above are typical values of RL78/G13(64KB) 17

What have we learned? Turn off the OCD block TK-USB OCD/ Flash Programming Interface TK-USB or E1 Interface Turn Off On-Chip-Debug Interface Function for Release Code Bi-Directional data Mode Control Start OCD/Flash programming Tool0 Reset VDD Gnd RL78 MCU E1 OCD/ Flash Programming Interface 18

What have we learned? Avoid Sneak paths on I/O Lines I/O drive and loading Output Low Loading MCU General purpose I/O pin, Output = Low VDD = 3.0 Volts VOL IOL R Output High Loading Ext. Circuit Input Pull up/pull down Pin Loading Pull-up enable Output data VDD VDD P-ch P-ch Pull-Up Turned Turned On On Ext. Circuit MCU General purpose I/O pin, Output = High IOH VOH R Ext. Circuit Output disable Input data Input enable N-ch 19.

What have we learned? Avoid Floating Input Pins Phenomena of floating inputs (due to contaminated PCBs) 5.0V 5uA 4.0V 4uA 10 MegOhm? INPUT pin VDD Gate VDD P-ch IDD = On currents 3.0V 2.0V Vout 3uA IDD 2uA Leakage paths 10 MegOhm? 10 MegOhm? Gate N-ch To Internal MCU circuits 1.0V 0V 0V 1.0V 2.0V 3.0V 4.0V 5.0V Vin Side Bar: PCB cleanliness Board contaminants can often swamp out nano-amp standby currents 1uA 0uA 20

Questions? 21

Enabling The Smart Society in Review Challenge: In the smart society sensors and instruments are no longer tethered to power lines or network cables. Sensors will be on our bodies, our pets, in remote fields and they will have to run for years on small batteries or utilizing energy harvesting techniques. This lab will demonstrate the Ultra-low power RL78 MCU family and it s many on-chip low power peripherals, to create a more energy efficient embedded product, with longer battery life or capable of being powered from many different energy harvesting sources Do you agree that we accomplished the above statement? 22

Renesas Electronics America Inc.