Study and implementation of RL78 low power mode

Similar documents
RL78 Ultra Low Power MCU Lab

8. Power Management and Sleep Modes

RL78 Ultra Low Power MCU Lab

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

ARDUINO MEGA INTRODUCTION

Introduction to ARM LPC2148 Microcontroller

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

AD5669R - Microcontroller No-OS Driver

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Renesas New Generation of R8C/Tiny Series MCUs Adds 1.8V Support and Coprocessing With Background Operation to Enable Low-cost Innovative Designs

FOR IOT PRODUCT DEVELOPMENT

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Migrating from CubeSuite+ to Eclipse RL78 Family

Arduino Uno R3 INTRODUCTION

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

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

Real Time Embedded Systems. Lecture 1 January 17, 2012

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

ATmega128. Introduction

Capacitive Touch Based User Interfaces and Hardware-based Solutions

RL78 Serial interfaces

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

Lab 1 Introduction to Microcontroller

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

ERRATA SHEET INTEGRATED CIRCUITS. Date: 2008 June 2 Document Release: Version 1.6 Device Affected: LPC2468. NXP Semiconductors

Power Profiles V2 Framework Module Guide

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

Course Introduction. Purpose: Objectives: Content: Learning Time:

Hibernate. XMC microcontrollers September 2016

8051 Microcontroller

Microcontrollers. Principles and Applications. Ajit Pal +5 V 2K 8. 8 bit dip switch. P2 8 Reset switch Microcontroller AT89S52 100E +5 V. 2.

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

RL78 Family. User s Manual. Flash Self-Programming Library Type Bit Single-Chip Microcontrollers. Rev.1.04 Dec 2016.

AVR Microcontrollers Architecture

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

Computer Hardware Requirements for Real-Time Applications

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

MB ds90455-ds e-corr-x1-00. Fujitsu Microelectronics Europe GmbH

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

Introducing STM32 L0x Series. April

Introduction. Purpose. Objectives. Content. Learning Time

Incorporating a Capacitive Touch Interface into Your Design

ARM Cortex core microcontrollers 12 th Energy efficient operation

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

Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.

TXZ Family M3H Group

88 Dugald Campbell. Making Industrial Systems Safer Meeting the IEC standards

Interrupt/Timer/DMA 1

Remote Keyless Entry In a Body Controller Unit Application

Z8 Encore! XP F0822 Series

An Arduino Controlled 1 Hz to 60 MHz Signal Generator

Microcontroller basics

STM32G0 MCU Series Efficiency at its Best

Chapter 1. Microcontroller Overview

Lecture (02) PIC16F84 (I)

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

Chapter 2. Overview of Architecture and Microcontroller-Resources

STM32 Cortex-M3 STM32F STM32L STM32W

Ultra Low Power Microcontroller - Design Criteria - June 2017

RL78/G13 APPLICATION NOTE. Initialization CC-RL. Introduction. Target Device. R01AN2575EJ0200 Rev July 01, 2015

Introduction to Embedded Systems

Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs.

MICROPROCESSOR BASED SYSTEM DESIGN

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

Embedded Technology for Remote Data Logging, Monitoring and Controlling Using GSM/GPRS

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

Introduction to L.A.P. 1

SEIKO EPSON CORPORATION

Interconnects, Memory, GPIO

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

MN101EF69D. 8-bit Single-chip Communication LSI. Overview

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

Chapter 2 Sections 1 8 Dr. Iyad Jafar

AN4515 Application note

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4

ESPino - Specifications

Hello and welcome to this Renesas Interactive course that covers the Watchdog timer found on RX MCUs.

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Microcontroller Basics

A11L: 78K0R Low Power MCU

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

EMBEDDED SYSTEM BASICS AND APPLICATION

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

Embedded Programming with ARM Cortex-M3 Basic Experiments 1

SECURE DIGITAL ACCESS SYSTEM USING IBUTTON

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

STA bit single chip baseband controller for GPS and telematic applications. Features

Errata Sheet. January 11, 1999 / Release 1.2. Stepping Code / Marking:

CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview

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)

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

MB90560/5 - hm90560-cm e-corr-x1-05. Fujitsu Microelectronics Europe GmbH. Addendum, MB90560/5 Hardware Manual (CM E)

The following article introduces and shows an example of how to set up and use the watchdog timer on the M16C/26 microcontroller (MCU).

Overview of Microcontroller and Embedded Systems

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

EE4390 Microprocessors. Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System

1. Opening the sample code workspace Loading the selected sample code project and Opening sample code source files... 5

Transcription:

January 2014 Study and implementation of RL78 low power mode Application note Emeric Bartholin GE5 YEARS 2013-2014

Summary Introduction... 2 1. Internal architecture of RL78... 3 2. The three mode of low power... 4 2.1 HALT mode... 5 2.2 STOP mode... 6 2.3 SNOOZE mode... 7 Annex... 7

Introduction This application note describe the different operating mode of the microcontroller RL78 which made by the company Renesas. Renesas are a Japanese company leader on the microcontroller market. This company employed 25000 salaries in several country. The microcontroller RL78 are the true lower power microcontroller of Renesas. It s a polyvalent microcontroller specialize for applications with a strong constraint of electrical consummation. The RL78 are available in several release (G12, G13, G14 ) with more or less peripheries, more or less evolved.

1. Internal architecture of RL78G14 The figure following present the internal contents of the microcontroller RL78G14. Figure 1: internal architecture of RL78G14 On this figures we can see the diversity of the available peripheries of the RL78 G14. They are several timer for all application input capture, PWM, delay They also have communication module and analog module with a 10 bits analog converter. This microcontroller are flash memory dedicate for storage data and 24 channel of data transfers controller for automatize memory transfer.

2. The three mode of low power The RL78 are four different mode of operation which describe by the following figure. Figure 2: operating mode of RL78 The RL78 also has 4 different operating mode: Mode "operating" the microcontroller is in normal operation mode is more about consuming 1.2mA. In "Halt" mode the heart of the microcontroller are stop but a lot of peripheries are available. Halt mode are the intermediate mode and reduces power consumption to approximately 0.5mA this value depends on the number of peripheries used by the application. The "Stop" mode is the ultimate mode of the point of view of power consumption. This mode stopped all the microcontroller and peripheries unless some timer and interrupt pin to wake up the microcontroller. This mode reduce power consumption of the microcontroller about 0.0005mA. The SNOOZE mode permit to maximize the time in Stop mode when the application use A/D converter or serial communication because this mode permit to wake up peripheries just during the time they need and switch automatically in STOP mode without using of CPU.

2.1 HALT mode 2.1.1 Detaille description The first mode of standby function is Halt. In Halt mode the CPU operation clock is stopped but the clock of using peripheries still on. In this mode, the operating current is not decreased as much as stop mode, but halt mode is effective for restarting operation immediately after an interrupt request. Figure 3: Halt mode Release by interrupt request For set HALT mode you must execute HALT instruction. For example with IAR compiler insert in your code this line HALT (); or the intrinsic function _halt();. Halt mode is best mode if you want to restart CPU operation quickly and for use peripheries without CPU. 2.1.2 Operable peripheries during Halt mode As mention before halt mode stop operation of the CPU operation but not peripheries with certain condition. All peripheries enable before the setting of HALT mode still on. Operable peripheries during HALT mode: DTC (Data transfer controleur) ALL timer ADC and DAC Serial interface RAM and RAM control function are operable with a DTC or stop See annex for more information

If the CPU operate on the subsystem clock and if low consumption RTC mode is active the following peripheries are disable: ADC, DAC serial interface, DTC Timer array unit, Timer RJ, RG, RD 2.2 STOP mode 2.2.1 Detaille description To minimize the electric consummation you must use STOP mode. In this mode the high-speed system clock oscillator and high-speed on-chip oscillator stop, stopping the whole system, thereby considerably reducing the CPU operating current. This mode can be clear by an interrupt request but restarting the main clock needs a waiting time for clock stabilization. Figure 4: Clock stabilization and STOP mode Release by interrupt request To set STOP mode you must have to execute STOP instruction. For example with IAR compiler insert in your code this line STOP (); or the intrinsic function _stop();.caution the stop instruction is not execute during data flash programming. To resume the restart time for STOP mode are longer than HALT mode but STOP mode operating current are less than HALT mode. 2.2.2 Operable peripheries during STOP mode In STOP mode the main clock of the system are stop this implies some peripheries are stop too. Some peripheries still operable during STOP mode but you must active them before entering stop mode: RTC, interval timer Watchdog timer Power-on reset External interrupt and Key interrupt

2.3 SNOOZE mode 2.3.1 Detaille description SNOOZE mode is use when you wait a data reception or A/D conversion request by and interrupt signal the end of the reception or the conversion is the source of a DTC. So STOP mode are clear by the first interrupt the conversion or reception are execute and the result store by the DTC and after this STOP mode are set automatically without CPU operating. SNOOZE mode can be used only if your system use the high-speed on-chip oscillator for main clock. To set SNOOZE mode you must have to set up serial standby control register (SSCm) before switching to STOP mode for serial unit. For A/D converter you have to set up A/D converter mode register (ADM2) before switching to STOP mode. Annex