This document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device.

Similar documents
This document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device.

Renesas Starter Kit Sample Code for Cubesuite + Toolchain

1. Overview TPS-1 GUI Configuration Tool Procedure of configure TPS Error Code... 9

APPLICATION NOTE. R8C/LA8A Group. Abstract. Product. Timer RJ in Timer Mode. This document describes timer RJ in timer mode in the R8C/LA8A Group.

R-IN, RZ/T1, TPS-1 Groups

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

This document describes a program for timer RA in pulse period measurement mode.

1. Opening the sample code workspace Loading the selected sample code project Opening Sample Code and Source Files...

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

This document describes a program for timer RF in pulse width measurement mode.

1. Installation Creating the Project Workspace Adding Sample Code into DS Adding GNU Toolchain Support for DS-5...

R-IN32M3-EC, EC-1, RZ/T1

Tools used Renesas R32C/100 Standard Toolchain version (compiler, assembler, linker): E8a in-circuit debugger.

SEGGER J-Link Lite for Renesas Synergy TM

RL78 Family Flash Self-Programming Library Type01 Ver.2.21 for the CC-RL compiler

APPLICATION NOTE. Sample Code for Performing SPI Communication with Analog Block

R20AN0311EJ0106 Rev.1.06 Interface conversion module for Ethernet Driver and Embedded system M3S-T4-Tiny Nov 30, 2016

1. Overview of RX DSP Library System Requirements for the Sample Project... 2

QE for USB: A Dedicated Tool for USB

AP4 for RH850 V

PK-S5D9 v1.0 Out-of-Box Demonstration Programming Guidelines

78K0, 78K0R, RL78 and V850 Devices

1. Uses of Breakpoints... 2

Target Board S5D5 (TB-S5D5)

Renesas Flash Programmer V

1. Overview Board Specifications S3 Series Board System... 3

E1 Emulator Additional Document for User s Manual (Notes on Connection for RL78)

Old Company Name in Catalogs and Other Documents

USER S MANUAL ISL55110_11EVAL1Z, ISL55110_11EVAL2Z. Before Getting Started. BNC Connections. Scope Probe Connections. Power Down Feature

Target Board S1JA (TB-S1JA)

USER S MANUAL. Features. Evaluation System Contents. JESD204B High Speed ADC. Evaluation Kit. AN1809 Rev 0.00 Dec 5, 2012

RX Family APPLICATION NOTE. DNS client using the embedded TCP/IP M3S-T4-Tiny Module Firmware Integration Technology. Introduction.

Renesas Flash Programmer V

1. Kit Contents Features Device Components Programming to the SK-S7G2 Starter Kit... 15

APPLICATION NOTE. Basic SPI Bus Information. Bus Configuration and SPI Protocol of Multiple DCPs. SPI Protocol and Bus Configuration of Multiple DCPs

PreliminaryData Sheet

Customizing a SSP Module

Open Source FAT File System M3S-TFAT-Tiny: Introduction Guide

This document describes how to set up and use the timer RB in programmable one-shot generation mode on the R8C/25 Group device.

APPLICATION NOTE. Introduction. Copying the SPICE Netlist. Model Editor. From SPICE Netlist to Allegro Design Sub-Circuit. AN1613 Rev.0.

USER S MANUAL ISL2800XEVAL1Z. Introduction. Reference Documents. Evaluation Board Schematic. Power Supplies. Optional Transient Protection

APPLICATION NOTE. TCP/IP for Embedded system M3S-T4-Tiny: Introduction Guide. 1. Structure of product Library specification...

Simple Audio Playback Example for DK-S124

FIGURE 1. DIGITAL POT POWER TRENDS

Interrupt Request Grouping (Level Detection Interrupt Requests)

RL78 Software Migration Guide

Silicon Planar Zener Diode for Low Noise Application. Part No. Cathode Band Package Name Package Code HZ-L Series Navy blue DO-35 GRZZ0002ZB-A 7 B 2

Old Company Name in Catalogs and Other Documents

Getting Started with NetX Duo Web Server

Old Company Name in Catalogs and Other Documents

Getting Started Guide for LED Toggle Kit

Getting Started Guide for Heartbeat Kit

APPLICATION NOTE. Introduction. Scope. Hardware Connections. Serial Port Operation. The X24C44 NOVRAM Teams up with 8051 Microcontrollers

DATA SHEET ZENER DIODES 1.0 W PLANAR TYPE 2-PIN SMALL POWER MINI MOLD. Parameter Symbol Ratings Unit Remarks

APPLICATION NOTE. 16-Bit Data Bus Operation. Summary of 16-Bit Data Bus Performance. 80C286/80386 Hardware Comparison. AN112 Rev 1.

Out-of-Box Demonstration for S1/S3/S5 Target Boards

Old Company Name in Catalogs and Other Documents

e² studio V7.0.1 Linux Host Public Beta for RZ

Development Kit S124 (DK-S124)

Old Company Name in Catalogs and Other Documents

IAR Embedded Workbench for Renesas Synergy v8.21.1

In timer mode, choose functions from those listed in Table 1. Operations of the circled items are described below.

Development Kit S128 (DK-S128)

APPLICATION NOTE. M16C/63, 64A, 64C, 65, 65C, 6C, 5LD, 56D, 5L, 56, 5M, and 57 Groups. Abstract. Products

USER S MANUAL ISL54206AEVAL1Z. Picture of Evaluation Board (Top View) Description. Board Architecture/Layout. Features.

Old Company Name in Catalogs and Other Documents

PB0 25 PB1 26 PB2 27 PB3 28 PB4 29 PB5 30 PB6 31 PB7 32 VCC PC0 9 PC1 10 PC2 11 PC3 12 PC4 13 PC5 14 PC6 15 PC7 16

USER S MANUAL. Key Board Features. Description. References. Specifications. Ordering Information ISL91110IIN-EVZ, ISL91110II2A-EVZ, ISL91110IIA-EVZ

PG-FP6 Gang Programmer V1.00 User s Manual

Introduction to Renesas Synergy SSP v.1.2.0

APPLICATION NOTE. 2. Creating an RPDL Workspace Using Renesas Peripheral Driver Library (RPDL)... 8

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

Introduction Serial Programing... 2 Write Cycle... 2 Read Cycle... 2 Shared Timing Requirements Write Timing Diagram...

Old Company Name in Catalogs and Other Documents

E1/E20 Emulator Additional Document for User s Manual (RX User System Design)

APPLICATION NOTE. Abstract. Products

Synergy Standalone Configurator (SSC) v Release Note. Renesas Synergy Platform Synergy Tools & Kits. Release Note

1. Overview Hardware Hardware Configuration Clock Settings Pin Settings... 6

e² studio Pin Configurator Usage

Operation of Timer A (2-phase pulse signal process in event counter mode, multiply-by-4 processing operation)

Data Flash Reprogramming Using Background Operation (BGO) 1. Introduction Description of Functions Used... 4

Renesas Synergy APPLICATION NOTE. Project Migration Guide: SSP v1.0.0 to SSP v Introduction. Goals and Objectives.

USER S MANUAL. Description. Key Features. References. Specifications. Ordering Information ISL9120IIA-EVZ. Evaluation Board User Guide

Debugging Your Application with IAR C-SPY

RX62G Group. User s Manual. Renesas Starter Kit Tutorial Manual. RENESAS MCU RX Family / RX600 Series. Rev.1.00 Sep 2012

USER S MANUAL. Description. Evaluation Board. Board Architecture/Layout. Features

Renesas Synergy Project Import Guide

GATTBrowser for Android

Renesas Starter Kit Tutorial Manual For e 2 studio RENESAS MCU RL78 Family / L1x Series

1. Overview RL78 High Speed Hardware CRC Function RL78 General Purpose ( Low Speed ) Hardware CRC Function... 3

Block Media RAM Framework Module Guide

ESD NOISE CLIPPING DIODE NNCD2.0DA to NNCD39DA

1. Overview BACnet Demo Software Architecture Programming and Debugging Building Sample Project... 5

Renesas Starter Kit Tutorial Manual (IAR Embedded Workbench) RENESAS MCU RL Family / G1X Series

APPLICATION NOTE. Hardware Implementation. Power-On-Reset (POR) Software Implementation. Low Voltage Reset (LVR) Watchdog Timer

M32C/84, 85, 86, 87, 88 Group

1. RTC HAL Module Features RTC APIs Overview RTC HAL Module Operational Overview... 3

Old Company Name in Catalogs and Other Documents

Migrating Existing e 2 studio Projects to IAR Embedded Workbench for Renesas Synergy

USER S MANUAL. ISL54059EVAL1Z Through ISL54064EVAL1Z. Description. Picture of Evaluation Board (Top View) Board Architecture/Layout.

Transcription:

APPLICATION NOTE R8C/25 Group R01AN1286EJ0110 Rev. 1.10 1. Abstract This document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device. 2. Introduction The application example described in this document is applied to the following: MCU: R8C/25 Group This program can be used with other R8C/Tiny Series which have the same SFR (special function register) as the R8C/25 Group. Check the manual for any additions and modifications to functions. Careful evaluation is recommended before using this application note. Note on oscillation stabilization wait time In chapter 4.2.1, select the high-speed on-chip oscillator after starting the high-speed on-chip oscillator and waiting until oscillation stabilizes. R01AN1286EJ0110 Rev. 1.10 Page 1 of 12

3. Applications 3.1 Timer RA Timer RA is an 8-bit timer with an 8-bit prescaler. The prescaler and timer each consist of a reload register and counter. The reload register and counter are allocated at the same address, and can be accessed when accessing registers TRAPRE and TRA. Figure 3.1 shows a Block Diagram of Timer RA. Time RA has the following five modes: Timer mode: Pulse output mode: Event counter mode: Pulse width measurement mode: Pulse period measurement mode: The timer counts the internal count source. The timer counts the internal count source and outputs pulses of which polarity inverted by underflow of the timer. The timer counts external pulses. The timer measures the pulse width of an external pulse. The timer measures the pulse period of an external pulse. Data bus TCK2 to TCK0 bit = 000b f1 TCKCUT bit = 001b f8 = 010b foco = 011b f2 = 100b fc32 TIPF1 to TIPF0 bits = 01b f1 = 10b f8 = 11b f32 TIPF1 to TIPF0 bits TIOSEL = 0 = other than Digital INT1/TRAIO (P1_7) pin 000b filter INT1/TRAIO (P1_5) pin TIOSEL = 1 TRAO pin = 00b TOENA bit TMOD2 to TMOD0 = other than 010b TMOD2 to TMOD0 = 010b Polarity switching TSTART bit TMOD2 to TMOD0 = 011b or 100b Reload register Counter TRAPRE register (prescaler) Count control circle TMOD2 to TMOD0 = 001b TEDGSEL = 1 TOPCR bit TEDGSEL = 0 Reload register Q Toggle flip-flop CK Q CLR Counter TRA register (timer) Measurement completion signal Underflow signal Timer RA interrupt Write to TRAMR register Write to TSTOP bit 1 TSTART, TSTOP: Bits in TRACR register TEDGSEL, TOPCR, TOENA, TIOSEL, TIPF1, TIPF0: Bits in TRAIOC register TMOD2 to TMOD0, TCK2 to TCK0, TCKCUT: Bits in TRAMR register Figure 3.1 Block Diagram of Timer RA R01AN1286EJ0110 Rev. 1.10 Page 2 of 12

3.2 Timer Mode In this mode, the timer counts an internally generated count source (refer to Table 3.1). Figure 3.2 shows Registers TRACR and TRAIOC in Timer Mode, and Figure 3.3 shows Registers TRAMR, TRAPRE, and TRA in Timer Mode. Table 3.1 Timer Mode Specifications Item Count sources Count operations Divide ratio Count start condition Count stop conditions Interrupt request generation timing Specification f1, f2, f8, foco, fc32 Decrement When the timer underflows, the contents of the reload register are reloaded and the count is continued. 1/(n+1)(m+1) n: Value set in TRAPRE register, m: Value set in TRA register 1 (count starts) is written to the TSTART bit in the TRACR register. 0 (count stops) is written to the TSTART bit in the TRACR register. 1 (count forcibly stops) is written to the TSTOP bit in the TRACR register. When timer RA underflows [timer RA interrupt]. INT1/TRAIO pin function Programmable I/O port, or INT1 interrupt input TRAO pin function Programmable I/O port Read from timer The count value can be read by reading registers TRA and TRAPRE. Write to timer When registers TRAPRE and TRA are written while the count is stopped, values are written to both the reload register and counter. When registers TRAPRE and TRA are written during the count, values are written to the reload register and counter (refer to 3.3 Timer Write Control during Count Operation). R01AN1286EJ0110 Rev. 1.10 Page 3 of 12

Timer RA Control Register (4) b7 b6 b5 b4 b3 b2 b1 b0 Timer RA I/O Control Register Symbol Address After Reset TRACR 0100h 00h Bit Symbol Bit Name Function TSTART Timer RA count start bit (1) 0: Count stops 1: Count starts TCSTF TSTOP (b3) TEDGF TUNDF (b7-b6) Timer RA count status flag (1) Timer RA count forcible stop bit (2) Active edge judgment (3, 5) flag (3, 5) Timer RA underflow flag 0 0: Count stops 1: During count Nothing is assigned. If necessary, set to 0. When read, the content is 0. : No underflow 1 : Underflow Nothing is assigned. If necessary, set to 0. When read, the content is 0. When this bit is set to 1, the count is forcibly stopped. When read, its content is 0. 0 : Active edge not received 1 : Active edge received NOTES: 1. Refer to 3.4 Notes on Timer RA. 2. When the TSTOP bit is set to 1, bits TSTART and TCSTF and registers TPRAPRE and TRA are set to the values after a reset. 3. Bits TEDGF and TUNDF can be set to 0 by w riting 0 to these bits by a program. How ever, their value remains unchanged w hen 1 is w ritten. 4. In pulse w idth measurement mode and pulse period measurement mode, use the MOV instruction to set the TRACR register. If it is necessary to avoid changing the values of bits TEDGF and TUNDF, w rite 1 to them. 5. Set to 0 in timer mode, pulse output mode, and event counter mode. RO b7 b6 b5 b4 b3 b2 b1 b0 0 0 0 0 0 0 Symbol Address After Reset TRAIOC 0101h 00h Bit Symbol Bit Name Function TEDGSEL TRAIO polarity sw itch bit Set to 0 in timer mode. TOPCR TOENA TIOSEL TIPF0 TIPF1 (b7-b6) TRAIO output control bit TRAO output enable bit INT1 /TRAIO select bit TRAIO input filter select bits 0 : INT1 /TRAIO pin (P1_7) 1 : INT1 /TRAIO pin (P1_5) Set to 0 in timer mode. Nothing is assigned. If necessary, set to 0. When read, the content is 0. Figure 3.2 Registers TRACR and TRAIOC in Timer Mode R01AN1286EJ0110 Rev. 1.10 Page 4 of 12

Timer RA Mode Register (1) b7 b6 b5 b4 b3 b2 b1 b0 0 0 0 Symbol Address After Reset TRAMR 0102h 00h Bit Symbol Bit Name Function TMOD0 Timer RA operating mode select bits b2 b1 b0 0 0 0 : Timer mode TMOD1 TMOD2 (b3) TCK0 TCK1 TCK2 Nothing is assigned. If necessary, set to 0. When read, the content is 0. Timer RA count source select bits b6 b5 b4 0 0 0: f1 0 0 1: f8 0 1 0: foco 0 1 1: f2 1 0 0: fc32 1 0 1: 1 1 0: Do not set. 1 1 1: TCKCUT Timer RA count source cutoff bit 0: Provides a count source 1: Cuts off a count source NOTES: 1. When both the TSTART and TCSTF bits in the TRACR register are set to 0 (count stops), rew rite this register. Timer RA Prescaler Register b7 b0 Symbol Address After Reset TRAPRE 0103h FFh (1) Function Setting Range Counts an internal count source 00h to FFh NOTE: 1. When the TSTOP bit in the TRACR register is set to 1, the TRAPRE register is set to FFh. Timer RA Register b7 b0 Symbol Address After Reset TRA 0104h FFh (1) Function Setting Range Counts on underflow of timer RA prescaler register 00h to FFh NOTE: 1. When the TSTOP bit in the TRACR register is set to 1, the TRA register is set to FFh. Figure 3.3 Registers TRAMR, TRAPRE, and TRA in Timer Mode R01AN1286EJ0110 Rev. 1.10 Page 5 of 12

3.3 Timer Write Control during Count Operation Timer RA has a prescaler and a timer (which counts the prescaler underflows). The prescaler and timer each consist of a reload register and a counter. When writing to the prescaler or timer, values are written to both the reload register and counter. However, values are transferred from the reload register to the counter of the prescaler in synchronization with the count source. In addition, values are transferred from the reload register to the counter of the timer in synchronization with prescaler underflows. Therefore, if the prescaler or timer is written to when count operation is in progress, the counter value is not updated immediately after the WRITE instruction is executed. Figure 14.5 shows an Operating Example of Timer RA when Counter Value is Rewritten during Count Operation. Set 01h to the TRAPRE register and 25h to the TRA register by a program. Count source Reloads register of timer RA prescaler Counter of timer RA prescaler Reloads register of timer RA Previous value 06h After writing, the reload register is written to at the first count source. Reload at second count source Reload at underflow 05h 04h 01h 00h 01h 00h 01h 00h 01h 00h Previous value New value (01h) After writing, the reload register is written to at the first underflow. New value (25h) Reload at the second underflow Counter of timer RA 03h 02h 25h 24h IR bit in TRAIC register 0 The IR bit remains unchanged until underflow is generated by a new value. The above applies under the following conditions. Both bits TSTART and TCSTF in the TRACR register are set to 0 (During count). Figure 3.4 Operating Example of Timer RA when Counter Value is Rewritten during Count Operation R01AN1286EJ0110 Rev. 1.10 Page 6 of 12

3.4 Notes on Timer RA Timer RA stops counting after a reset. Set the values in the timer RA and timer RA prescalers before the count starts. Even if the prescaler and timer RA are read out in 16-bit units, these registers are read 1 byte at a time by the MCU. Consequently, the timer value may be updated during the period when these two registers are being read. In pulse period measurement mode, bits TEDGF and TUNDF in the TRACR register can be set to 0 by writing 0 to these bits by a program. However, these bits remain unchanged if 1 is written. When using the READ-MODIFY-WRITE instruction for the TRACR register, the TEDGF or TUNDF bit may be set to 0 although these bits are set to 1 while the instruction is being executed. In this case, write 1 to the TEDGF or TUNDF bit which is not supposed to be set to 0 with the MOV instruction. When changing to pulse period measurement mode from another mode, the contents of bits TEDGF and TUNDF are undefined. Write 0 to bits TEDGF and TUNDF before the count starts. The TEDGF bit may be set to 1 by the first timer RA prescaler underflow generated after the count starts. When using the pulse period measurement mode, leave two or more periods of the timer RA prescaler immediately after the count starts, then set the TEDGF bit to 0. The TCSTF bit retains 0 (count stops) for 0 to 1 cycle of the count source after setting the TSTART bit to 1 (count starts) while the count is stopped. During this time, do not access registers associated with timer RA (1) other than the TCSTF bit. Timer RA starts counting at the first valid edge of the count source after The TCSTF bit is set to 1 (during count). The TCSTF bit remains 1 for 0 to 1 cycle of the count source after setting the TSTART bit to 0 (count stops) while the count is in progress. During this time, do not access registers associated with timer RA (1) other than the TCSTF bit. Timer RA counting is stopped when the TCSTF bit is set to 0. NOTE: 1. Registers associated with timer RA: TRACR, TRAIOC, TRAMR, TRAPRE, and TRA. R01AN1286EJ0110 Rev. 1.10 Page 7 of 12

4. Program Overview This program can be used on timer RA to underflow at 1 ms. 1 ms= foco(1) (TRAPRE register setting value + 1) (TRA register setting value + 1) = 25 ns (40MHz) 4 (FRA2 = 0x02: divide-by-4 mode) (99 +1) (99 +1) NOTE: 1. foco is an operating clock generated by the high-speed on-chip oscillator. It is applied with at the divide ratio set by the high-speed on-chip oscillator control register (FRA2). 4.1 Function Table Table 4.1 Declaration void timer_ra_init(void) Overview SFR initial setting associated with timer RA Argument Argument name Meaning None Variable used Variable name Usage (global) None Return value Type Value Meaning None Function Initialize the SFR registers associated with time RA R01AN1286EJ0110 Rev. 1.10 Page 8 of 12

4.2 Flow Chart 4.2.1 Main functions main() asm( FCLR I ) Interrupt disabled prc0 1 System control register protect cancelled fra2 0x02 High-speed on-chip oscillator clock: divide-by-4 mode fra00 1 High-speed on-chip oscillator on cm14 0 Low-speed on-chip oscillator on fra01 1 Select high-speed on-chip oscillator cm16 0 cm17 0 Main clock frequency: no divide cm06 0 CM16 and CM17 enabled prc0 0 System control register protect Timer RA SFR initial setting timer_ra_init() Initialize timer RA SFR setting (Set to timer mode) asm( FSET I ) Interrupt enabled ir_traic 0 Yes traic 0x00 No Timer RA interrupt request? Set timer RA interrupt request bit to 0 (Use MOV instruction to set IR bit to 0) R01AN1286EJ0110 Rev. 1.10 Page 9 of 12

4.2.2 Timer RA SFR Initial Setting timer_ra_init() tstart_tracr 0 Timer RA operation stops No tcstf_tracr = 0? Yes traic 0x00 tstop_tracr 1 Timer RA interrupt disabled Initialize registers TRAPRE and TRA, and bits TSTART and TCSTF in TRACR register trapre 100-1 tra 100-1 Underflow period: set to 1 ms (40 MHz 4 100 100 = 1 ms) tedgsel_traioc 0 Set to 0 in timer mode topcr_traioc 0 Set to 0 in timer mode toena_traioc 0 Set to 0 in timer mode tipf0_traioc 0 Set to 0 in timer mode tipf1_traioc 0 Set to 0 in timer mode tmod0_tramr 0 tmod1_tramr 0 Set to 000 in timer mode tmod2_tramr 0 tck0_tramr 0 tck1_tramr 1 Timer RA count source: foco tck2_tramr 0 tckcut_tramr 0 Provide count source tstart_tracr 1 Timer RA operation starts No tcstf_tracr = 1? return Yes R01AN1286EJ0110 Rev. 1.10 Page 10 of 12

5. Reference Document User s Manual: Hardware R8C/25 Group Hardware Manual (Download the latest version from the Renesas Electronics website.) Technical News/Technical Update (Download the latest information from the Renesas Electronics website.) 6. Sample Programming Code Download a sample program on the Renesas Electronics website. Website and Support Renesas Electronics website http://www.renesas.com Inquiries http://www.renesas.com/contact/ R01AN1286EJ0110 Rev. 1.10 Page 11 of 12

REVISION HISTORY R8C/25 Group Rev. Date Description Page Summary 1.00 Sep 15, 2006 First Edition issued 1.10 1 Note on oscillation stabilization wait time added Previous document number: REJ05B0827 All trademarks and registered trademarks are the property of their respective owners. R01AN1286EJ0110 Rev. 1.10 Page 12 of 12

General Precautions in the Handling of MPU/MCU Products The following usage notes are applicable to all MPU/MCU products from Renesas. For detailed usage notes on the products covered by this manual, refer to the relevant sections of the manual. If the descriptions under General Precautions in the Handling of MPU/MCU Products and in the body of the manual differ from each other, the description in the body of the manual takes precedence. 1. Handling of Unused Pins Handle unused pins in accord with the directions given under Handling of Unused Pins in the manual. The input pins of CMOS products are generally in the high-impedance state. In operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of LSI, an associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. Unused pins should be handled as described under Handling of Unused Pins in the manual. 2. Processing at Power-on The state of the product is undefined at the moment when power is supplied. The states of internal circuits in the LSI are indeterminate and the states of register settings and pins are undefined at the moment when power is supplied. In a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. In a similar way, the states of pins in a product that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3. Prohibition of Access to Reserved Addresses Access to reserved addresses is prohibited. The reserved addresses are provided for the possible future expansion of functions. Do not access these addresses; the correct operation of LSI is not guaranteed if they are accessed. 4. Clock Signals After applying a reset, only release the reset line after the operating clock signal has become stable. When switching the clock signal during program execution, wait until the target clock signal has stabilized. When the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. 5. Differences between Products Before changing from one product to another, i.e. to one with a different part number, confirm that the change will not lead to problems. The characteristics of MPU/MCU in the same group but having different part numbers may differ because of the differences in internal memory capacity and layout pattern. When changing to products of different part numbers, implement a system-evaluation test for each of the products.

Notice 1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 2. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 3. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 4. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product. 5. Renesas Electronics products are classified according to the following two quality grades: "Standard" and "High Quality". The recommended applications for each Renesas Electronics product depends on the product's quality grade, as indicated below. "Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots etc. "High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; and safety equipment etc. Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may cause serious property damages (nuclear reactor control systems, military equipment etc.). You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics. 6. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. 7. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or systems manufactured by you. 8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 9. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. When exporting the Renesas Electronics products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. 10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products. 11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics. 12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. (Note 1) "Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned subsidiaries. (Note 2) "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics. SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada Tel: +1-905-898-5441, Fax: +1-905-898-3220 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K Tel: +44-1628-585-100, Fax: +44-1628-585-900 Renesas Electronics Europe GmbH Arcadiastrasse 10, 40472 Düsseldorf, Germany Tel: +49-211-65030, Fax: +49-211-6503-1327 Renesas Electronics (China) Co., Ltd. 7th Floor, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100083, P.R.China Tel: +86-10-8235-1155, Fax: +86-10-8235-7679 Renesas Electronics (Shanghai) Co., Ltd. Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898 Renesas Electronics Hong Kong Limited Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong Tel: +852-2886-9318, Fax: +852 2886-9022/9044 Renesas Electronics Taiwan Co., Ltd. 13F, No. 363, Fu Shing North Road, Taipei, Taiwan Tel: +886-2-8175-9600, Fax: +886 2-8175-9670 Renesas Electronics Singapore Pte. Ltd. 1 harbourfront Avenue, #06-10, keppel Bay Tower, Singapore 098632 Tel: +65-6213-0200, Fax: +65-6278-8001 Renesas Electronics Malaysia Sdn.Bhd. Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics Korea Co., Ltd. 11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea Tel: +82-2-558-3737, Fax: +82-2-558-5141 http://www.renesas.com 2012 Renesas Electronics Corporation. All rights reserved. Colophon 2.0