RTE/L Return from Exception Handling with Data Restoration

Size: px
Start display at page:

Download "RTE/L Return from Exception Handling with Data Restoration"

Transcription

1 APPLICATION NOTE Introduction Shows an example of C compiler use of the RTE/L instruction Contents 1 Specifications 2 2 Functions Used 2 3 Principles of Operation 2 4 Development Environment 3 5 Description of Software 4 6 Flowcharts 5 7 Program Listing 6 REJ06B /Rev100 September 2004 Page 1 of 10

2 1 Specifications The H8SX family microcomputer RTE/L instruction performs the following processing Restores the saved data from the stack to the registers specified by the register list Restores EXR, CCR, and PC from the stack Performs processing from the address indicated by the restored PC In this sample task, NMI interrupt processing is performed, and the assembly language code generated by the C compiler is shown 2 Functions Used This sample task shows an example of use of the RTE/L instruction by the C compiler 3 Principles of Operation Table 1 shows an example of the assembly language code generated by the C compiler when a subroutine is called Table 1 RTE/L Code Sample C Program void main(void) { while () /* Waiting for interrupt */ } Sample Assembly Language Code Generated by the C compiler _main: WT01: BRA WT01 ; Waiting for interrupt void sub_int (void) { } /* End of interrupt routine */ _sub_int: STML (ER0-ER3),@-SP ; Save ER3 to stack RTE/L (ER0-ER3) ; End of interrupt routine ; Restore ER3 REJ06B /Rev100 September 2004 Page 2 of 10

3 4 Development Environment 41 Development Support Tool Versions The development support tools of this sample task is shown in table 2 Table 2 Development Support Tool Versions Software Name CH38EXE ASM38EXE OPTLNKEXE LBG38EXE Version Used C compiler (H8S, H8/300 series C/C++ compiler) Ver Assembler (H8S, H8/300 series cross assembler) Ver Linkage editor (optimizing linkage editor) Ver Library configuration tool (H8S, H8/300 series C/C++ standard library generator) Ver C compiler Option Settings C compiler option settings for this sample task are shown in table 3 Table 3 C compiler Option Settings Option Set Value CPu H8SXA:24:MD Code Machinecode OPtimize 1 REGParam 3 SPeed Register, SHift, STruct, Expression REJ06B /Rev100 September 2004 Page 3 of 10

4 5 Description of Software 51 Modules Modules used by this sample task are shown in table 4 Table 4 Modules Module Name main nmi_int Function Main routine Waits for the NMI interrupt RTE/L test program Writes data to RAM as dummy processing in the NMI interrupt routine 52 Arguments No arguments are used by this sample task 53 Internal Registers Used INTCR Interrupt control register Address: H'0FFFFF32 Bit Bit Name Set Value Function 3 NMIEG 0 NMI edge select 0: Interrupt request generated at falling edge of NMI input 1: Interrupt request generated at rising edge of NMI input 54 RAM Usage Table 5 describes RAM usage in this sample task Table 5 RAM Usage Label Size Function dmy1[16] 16 4 bytes For dummy processing REJ06B /Rev100 September 2004 Page 4 of 10

5 6 Flowcharts 61 Main Routine main CCR = H'80 Disable interrupts INTCR = H'00 Generate interrupt request at rising edge of NMI input 62 RTE/L Test Program nmi_int i = 0 i < 16? No Yes dmy2 [ i ] = i i ++ i = 0 i < 16? No Yes dmy1 [ i ] = dmy2 [ i ] i ++ End 63 Link Address Specifications Section Name CV1 CV2 P B Address H' H'00001C H' H'FEC000 REJ06B /Rev100 September 2004 Page 5 of 10

6 7 Program Listing 71 C Program /* H8SX Family */ /* Application Note */ /* 'RTE/L Test program' */ /* Function */ /* : RTE/L */ #include <machineh> /* Symbol Definition */ #define INTCR *(volatile unsigned char *)0xFFFF32 /* Interrupt control register */ #pragma interrupt ( nmi_int ) /* Function define */ void main ( void ); void nmi_int ( void ); /* RAM define */ unsigned long dmy1[16]; /* Vector Address */ #pragma section V1 /* VECTOR SECTOIN SET */ void (*const VEC_TBL1[])(void) = { main /* 00 Reset */ }; #pragma section V2 /* VECTOR SECTOIN SET */ void (*const VEC_TBL2[])(void) = { nmi_int }; #pragma entry main(sp=0xffc000) #pragma section /* P */ REJ06B /Rev100 September 2004 Page 6 of 10

7 /* Main Program */ void main ( void ) { set_ccr(0x80); /* Initialize CCR/Interrupt Disable */ } INTCR = 0x00; /* Interrupt request generated */ /* at falling edge of NMI input */ while(1); /* RTE/L Test Program (NMI Interrupt) */ void nmi_int ( void ) { unsigned char i; unsigned long dmy2[16]; for ( i=0; i<16; i++) dmy2[i] = i; } for ( i=0; i<16; i++) dmy1[i] = dmy2[i]; REJ06B /Rev100 September 2004 Page 7 of 10

8 72 Assembly Language Code Generated by the C compiler H8SX Family P ; section ;*** File mainc, Line _main: ; function: main A0700FFC000 MOVL # ,SP F880 MOVB #128:8,R0L LDCB R0L,CCR A 6AF00FFFFF32 MOVB #0:4,@ : L36: BRA L36:8 ;*** File mainc, Line _nmi_int: ; function: nmi_int DF0 STML (ER0-ER3),@-SP A3F0040 SUBL #64:16,SP A 18AA SUBB R2L,R2L C L39: C 0CAB MOVB R2L,R3L E 1763 EXTUL #2,ER CA9 MOVB R2L,R1L CC5041 MULXUB #4:4,R D10 MOVW R1,R EXTUL ER A 0AF0 ADDL SP,ER C MOVL ER3,@ER A0A INCB R2L AA10 CMPB #16:8,R2L BLO L39: AA SUBB R2L,R2L L41: CA9 MOVB R2L,R1L A 01CC5041 MULXUB #4:4,R E 0D10 MOVW R1,R EXTUL ER AF0 ADDL SP,ER DA C 0A0A INCB R2L E AA10 CMPB #16:8,R2L BLO L41: A1F0040 ADDL #64:16,SP RTE/L (ER0-ER3) B ; section _dmy1: ; static: dmy RESL 16 CV1 ; section _VEC_TBL1: ; static: VEC_TBL DATAL _main CV2 ; section _VEC_TBL2: ; static: VEC_TBL DATAL _nmi_int REJ06B /Rev100 September 2004 Page 8 of 10

9 Revision Record Description Rev Date Page Summary 100 Sep1504 First edition issued REJ06B /Rev100 September 2004 Page 9 of 10

10 Keep safety first in your circuit designs! H8SX Family 1 Renesas Technology Corp puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them Trouble with semiconductors may lead to personal injury, fire or property damage Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap Notes regarding these materials 1 These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corp or a third party 2 Renesas Technology Corp assumes no responsibility for any damage, or infringement of any thirdparty's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials 3 All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corp without notice due to product improvements or other reasons It is therefore recommended that customers contact Renesas Technology Corp or an authorized Renesas Technology Corp product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Renesas Technology Corp assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corp by various means, including the Renesas Technology Corp Semiconductor home page ( 4 When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products Renesas Technology Corp assumes no responsibility for any damage, liability or other loss resulting from the information contained herein 5 Renesas Technology Corp semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake Please contact Renesas Technology Corp or an authorized Renesas Technology Corp product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use 6 The prior written approval of Renesas Technology Corp is necessary to reprint or reproduce in whole or in part these materials 7 If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited 8 Please contact Renesas Technology Corp for further details on these materials or the products contained therein REJ06B /Rev100 September 2004 Page 10 of 10

H8SX Family APPLICATION NOTE. Vector Table Address Switching. Introduction. Target Devices. Contents

H8SX Family APPLICATION NOTE. Vector Table Address Switching. Introduction. Target Devices. Contents APPLICATION NOTE H8SX Family Introduction This application note describes how to change the vector table address. Target Devices H8SX family Contents 1. Overview... 2 2. Applicable Conditions... 2 3. Configuration...

More information

Multi-Bit Shift of 32-Bit Data (Arithmetic Right Shift)

Multi-Bit Shift of 32-Bit Data (Arithmetic Right Shift) SH7 Series APPLICATION NOTE Label: Functions Used: SHARN SHLR2 Instruction SHLR8 Instruction SHLR16 Instruction Contents 1. Function... 2 2. Arguments... 2 3. Internal Register Changes and Flag Changes...

More information

M16C/60 Series and M16C/20 Series

M16C/60 Series and M16C/20 Series APPLICATION NOTE M16C/60 Series and M16C/20 Series General-purpose Program for Converting from Uppercase Alphabet to Lowercase Alphabet 1. Abstract This program converts an uppercase English alphabet in

More information

In repeat transfer mode of DMAC, choose functions from those listed in Table 1. Operations of the checked items are described below.

In repeat transfer mode of DMAC, choose functions from those listed in Table 1. Operations of the checked items are described below. APPLICATION NOTE 1. Abstract In repeat transfer mode of DMAC, choose functions from those listed in Table 1. Operations of the checked items are described below. Table 1. Choosed Functions Item Transfer

More information

M16C/62 Group APPLICATION NOTE. Signed 32 Bit Multiplication Library. 1. Abstract. 2. Introduction

M16C/62 Group APPLICATION NOTE. Signed 32 Bit Multiplication Library. 1. Abstract. 2. Introduction APPLICATION NOTE M16C/62 Group 1. Abstract This application note describes an operational library of the multiplicant (signed 32 bit) X the multiplication (signed 32 bit) = the product (signed 64 bit )

More information

This function allows the user to erase any Flash block within the MCU including the near area memory (below address 0xFFFF).

This function allows the user to erase any Flash block within the MCU including the near area memory (below address 0xFFFF). APPLICATION NOTE M16C/62P, M16C/26 1.0 Abstract A simple Application Program Interface (API) has been created to allow programmers of the M16C/62P (M30626FHP) and M16C/26 (M30262F8) to easily integrate

More information

Interrupt Level Setting and Modification by Interrupt Controller

Interrupt Level Setting and Modification by Interrupt Controller Controller Introduction APPLICATION NOTE Interrupts of different levels are generated by specifying interrupt levels via the interrupt controller (INTC) of the SH7145F. Target Device SH7145F Contents 1.

More information

M16C/62 APPLICATION NOTE. Using the M16C/62 CRC. 1.0 Abstract. 2.0 Introduction. 3.0 A Lesson in CRC and the CCITT Polynomial

M16C/62 APPLICATION NOTE. Using the M16C/62 CRC. 1.0 Abstract. 2.0 Introduction. 3.0 A Lesson in CRC and the CCITT Polynomial APPLICATION NOTE M16C/62 1.0 Abstract The register sets of the M16C/62 devices contain a Cyclic Redundancy Check (CRC) calculating peripheral. This gives the user the ability to quickly calculate a CRC

More information

This application note describes the time measurement function of Timer S with the gate function.

This application note describes the time measurement function of Timer S with the gate function. APPLICATION NOTE M16C/28, 29 Group Time Measuerment Function of Time S with Gate Function 1. Abstract This application note describes the time measurement function of Timer S with the gate function. 2.

More information

1. Specifications Conditions for Application Description of Modules Used Description of Operation... 7

1. Specifications Conditions for Application Description of Modules Used Description of Operation... 7 APPLICATION NOTE H8SX Family Introduction Relative phases of the two-phase pulse signal input from the two external clock pins are detected by the 6-bit timer pulse unit (TPU). Whether the timer counter

More information

M16C/62 APPLICATION NOTE. Programming the M16C/62 in Flash Parallel Mode. 1.0 Abstract. 2.0 Introduction. 3.0 Setting Up the PGM1000 Programmer

M16C/62 APPLICATION NOTE. Programming the M16C/62 in Flash Parallel Mode. 1.0 Abstract. 2.0 Introduction. 3.0 Setting Up the PGM1000 Programmer APPLICATION NOTE M16C/62 1.0 Abstract The following article describes using the ATC (Advanced Transdata) PGM1000 programmer to parallel program the flash memory of the M16C/62 series of microcontrollers.

More information

1. Specifications Functions Used Operation Software Flowcharts Program Listing... 13

1. Specifications Functions Used Operation Software Flowcharts Program Listing... 13 APPLICATION NOTE SH7145F Summary The SH7144 series is a single-chip microprocessor based on the SH-2 RISC (Reduced Instruction Set Computer) CPU core and integrating a number of peripheral functions. This

More information

M16C/62 APPLICATION NOTE. Using the M16C/62 DMAC in Forward Source Mode. 1.0 Abstract. 2.0 Introduction

M16C/62 APPLICATION NOTE. Using the M16C/62 DMAC in Forward Source Mode. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE M16C/62 1.0 Abstract The following article introduces and shows an example of how to use the DMAC function of the M16C/62 with a forward counting source address and fixed destination address.

More information

32176 Group APPLICATION NOTE. Application of the CAN Module (Remote Frame Transmission) 1. Overview. 2. Introduction

32176 Group APPLICATION NOTE. Application of the CAN Module (Remote Frame Transmission) 1. Overview. 2. Introduction 32176 Group 1. Overview APPLICATION NOTE The sample task described in this document uses the 32176 Group microcomputer s on-chip CAN (Controller Area Network) module. 2. Introduction The sample task described

More information

SH7080/SH7146/SH7125/SH7200 Series

SH7080/SH7146/SH7125/SH7200 Series APPLICATION NOTE SH78/SH746/SH75/SH7 Series Introduction This application note discusses synchronous operation of the MTU and MTUS timers, Target Device Microcomputer: SH785 (R5F785) Operating frequency:

More information

M32C/84 Group APPLICATION NOTE. Operation of timer A (2-phase pulse signal process in event counter mode, normal mode selected) 1.

M32C/84 Group APPLICATION NOTE. Operation of timer A (2-phase pulse signal process in event counter mode, normal mode selected) 1. APPLICATION NOTE Operation of timer A (2-phase pulse signal process in event counter mode, normal mode selected) 1. Abstract In processing 2-phase pulse signals in event counter mode, choose functions

More information

M16C/26 APPLICATION NOTE. Using the DMAC with a Forward Source. 1.0 Abstract. 2.0 Introduction

M16C/26 APPLICATION NOTE. Using the DMAC with a Forward Source. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE 1.0 Abstract The following article introduces and shows an example of how to use the DMAC function of the with a forward counting source address and fixed destination address. 2.0 Introduction

More information

M32C/84 Group APPLICATION NOTE. Operation of Key-Input Interrupt. 1. Abstract. 2. Introduction

M32C/84 Group APPLICATION NOTE. Operation of Key-Input Interrupt. 1. Abstract. 2. Introduction APPLICATION NOTE M32C/84 Group 1. Abstract The following is an operation of key-input interrupt. Figure 1 shows an example of a circuit that uses the key-input interrupt, Figure 2 shows an example of operation

More information

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

This document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device. APPLICATION NOTE R8C/25 Group 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

More information

M16C/26 APPLICATION NOTE. Measuring Computation Time of a Function Call. 1.0 Abstract. 2.0 Introduction. 3.0 Number of Function Call Returns

M16C/26 APPLICATION NOTE. Measuring Computation Time of a Function Call. 1.0 Abstract. 2.0 Introduction. 3.0 Number of Function Call Returns APPLICATION NOTE M16C/26 1.0 Abstract The following article discusses a technique for measuring computation time spent during a function call, which can be in C or Assembly, from a main C program for the

More information

SH7144/45 Group APPLICATION NOTE. 2-Phase Encoder Count. 1. Specifications

SH7144/45 Group APPLICATION NOTE. 2-Phase Encoder Count. 1. Specifications APPLICATION NOTE SH7144/45 Group 1. Specifications Two external clocks are input to channel 1 (ch1), and a counter is incremented or decremented according to the phase difference of the pulses, as shown

More information

M16C R8C FoUSB/UART Debugger. User Manual REJ10J

M16C R8C FoUSB/UART Debugger. User Manual REJ10J REJ10J1725-0100 M16C R8C FoUSB/UART Debugger User Manual Renesas Microcomputer Development Environment System R8C Family R8C/2x Series Notes on Connecting R8C/2A, R8C/2B, R8C/2C, R8C/2D Rev.1.00 Issued

More information

M16C/Tiny Series APPLICATION NOTE. Operation of Timer A. (2-Phase Pulse Signal Process in Event Counter Mode, Multiply-by-4 Mode) 1.

M16C/Tiny Series APPLICATION NOTE. Operation of Timer A. (2-Phase Pulse Signal Process in Event Counter Mode, Multiply-by-4 Mode) 1. APPLICATION NOTE 1. Abstract In processing 2-phase pulse signals in event counter mode, choose functions from those listed in Table 1. Operations of the selected items are described below. Figure 1 shows

More information

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

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 R8C/25 Group 1. Abstract This document describes how to set up and use the timer RB in programmable one-shot generation mode on the R8C/25 Group device. 2. Introduction The application

More information

1. Specifications Operational Overview of Functions Used Principles of Operation Description of Software...

1. Specifications Operational Overview of Functions Used Principles of Operation Description of Software... APPLICATION NOTE SH7080 Group Introduction This application note describes the serial data transmission function that uses the transmit-fifo-data-empty interrupt source of the SCIF (Serial Communication

More information

M16C/26 APPLICATION NOTE. Using Timer B in Pulse Period/Width Measurement Mode. 1.0 Abstract. 2.0 Introduction

M16C/26 APPLICATION NOTE. Using Timer B in Pulse Period/Width Measurement Mode. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE M16C/26 1.0 Abstract Measuring the frequency (1/period) or the pulse width of an input signal is useful in applications such as tachometers, DC motor control, power usage calculations,

More information

APPLICATION NOTE R8C, M16C, M32C

APPLICATION NOTE R8C, M16C, M32C APPLICATION NOTE R8C, M16C, M32C 1. Abstract Since the internal flash of a Renesas R8C/M16C/M32C microcontroller can be erased and programmed in-circuit, an application has been created in order to eliminate

More information

M16C/26 APPLICATION NOTE. Using the M16C/26 Timer in Event Counter Mode. 1.0 Abstract. 2.0 Introduction

M16C/26 APPLICATION NOTE. Using the M16C/26 Timer in Event Counter Mode. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE M16C/26 1.0 Abstract Event counters are useful in automated packaging lines, tachometers, and mechanical equipment monitoring. The event counters on the M16C/26 can be configured to interrupt

More information

The following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode).

The following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode). APPLICATION NOTE M16C/62 1.0 Abstract The following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode). 2.0 Introduction The M16C/62 is a 16-bit MCU, based

More information

M16C APPLICATION NOTE. Target Setup for the In-Circuit Debugger. 1.0 Abstract. 2.0 Introduction

M16C APPLICATION NOTE. Target Setup for the In-Circuit Debugger. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE MC.0 Abstract The ICD (In-Circuit Debugger), or USB-Monitor, is a low cost, compact interface that has two functions for Renesas MC Flash microcontrollers: ) an in-circuit debugger tool

More information

Silicon Epitaxial Planar Zener Diode for Stabilized Power Supply. Type No. Mark Package Code HZS Series Type No. MHD B 7

Silicon Epitaxial Planar Zener Diode for Stabilized Power Supply. Type No. Mark Package Code HZS Series Type No. MHD B 7 Silicon Epitaxial Planar Zener Diode for Stabilized Power Supply Features REJ3G184-3Z (Previous: ADE-28-12B) Rev.3. Mar.11.24 Low leakage, low zener impedance and maximum power dissipation of 4 mw are

More information

Renesas LIN Overview. White paper REU05B Introduction

Renesas LIN Overview. White paper REU05B Introduction White paper Introduction LIN is a communication and distributed processing bus system. It is characterized by low cost hardware and a relatively low data transmission speed and number of bus nodes. Only

More information

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp.

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. To all our customers Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. The semiconductor operations of Mitsubishi Electric and

More information

M16C R8C FoUSB/UART Debugger. User s Manual REJ10J

M16C R8C FoUSB/UART Debugger. User s Manual REJ10J REJ10J1217-0100 M16C R8C FoUSB/UART Debugger User s Manual RENESAS MICROCOMPUTER Development Environment System M16C Family R8C/Tiny Series Precautions on Connecting R8C/20, R8C/21, R8C/22, R8C/23 Rev.1.00

More information

M16C/62 APPLICATION NOTE. Using the Expanded Memory Mode with the M16C/ Abstract. 2.0 Introduction. 3.0 Memory Expansion Mode

M16C/62 APPLICATION NOTE. Using the Expanded Memory Mode with the M16C/ Abstract. 2.0 Introduction. 3.0 Memory Expansion Mode APPLICATION NOTE M16C/62 1.0 Abstract The following article introduces and shows an example of how to access external memory using the expanded memory mode of the M16C/62 series of microcontrollers. 2.0

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

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

The following article introduces and shows an example of how to set up and use the watchdog timer on the M16C/26 microcontroller (MCU). APPLICATION NOTE M16C/26 1.0 Abstract The following article introduces and shows an example of how to set up and use the watchdog timer on the M16C/26 microcontroller (MCU). 2.0 Introduction The Renesas

More information

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp.

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. To all our customers Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. The semiconductor operations of Mitsubishi Electric and

More information

M16C APPLICATION NOTE. Firmware Requirements for In-Circuit Debugger. 1.0 Abstract. 2.0 Introduction

M16C APPLICATION NOTE. Firmware Requirements for In-Circuit Debugger. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE M16C 1.0 Abstract The USB-Monitor is a low cost, compact interface that has two functions for Renesas M16C Flash microcontrollers 1) an in-circuit debugger tool with KD30 Debugger, and

More information

VLA HYBRID IC ISOLATED TYPE DC-DC CONVERTER DESCRIPTION OUTLINE DRAWING FEATURES APPLICATIONS BLOCK DIAGRAM. +Vo +V IN.

VLA HYBRID IC ISOLATED TYPE DC-DC CONVERTER DESCRIPTION OUTLINE DRAWING FEATURES APPLICATIONS BLOCK DIAGRAM. +Vo +V IN. DESCRIPTION The is a DC-DC converter. Its output power is 1.5W and the input is isolated from the output. The over-current protection circuit is built-in and it is the best for on-board power supplies,

More information

Single Power Supply F-ZTAT On-Board Programming

Single Power Supply F-ZTAT On-Board Programming Single Power Supply F-ZTAT On-Board Programming Renesas F-ZTAT Microcomputer Rev.2.00 Revision Date: Dec 13, 2004 Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum

More information

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp.

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. To all our customers Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. The semiconductor operations of Mitsubishi Electric and

More information

M16C/26 APPLICATION NOTE. Implementing Real Time Clock and WAIT Mode. 1.0 Abstract. 2.0 Introduction. 3.0 Real-Time Clock Setup and Implementation

M16C/26 APPLICATION NOTE. Implementing Real Time Clock and WAIT Mode. 1.0 Abstract. 2.0 Introduction. 3.0 Real-Time Clock Setup and Implementation APPLICATION NOTE M16C/26 1.0 Abstract The following article describes the implementation of a low-power, real time clock using the sub-clock circuit with a 32.768 khz crystal and Wait mode of the M16C/26

More information

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

M32C/84, 85, 86, 87, 88 Group Version 1. Abstract APPLICATION NOTE The document describes how to reduce power consumption in the flash memory version and shows an application example. 2. Introduction The application example described

More information

VLA A HYBRID IC ISOLATED TYPE DC-DC CONVERTER DESCRIPTION FEATURES BLOCK DIAGRAM

VLA A HYBRID IC ISOLATED TYPE DC-DC CONVERTER DESCRIPTION FEATURES BLOCK DIAGRAM DESCRIPTION The is an isolated DC-DC converter designed to control the industrial equipment. It can input the DC400~850V directly and convert to low voltage. Total output power is 150W. FEATURES Input

More information

M16C/26 APPLICATION NOTE. Interfacing with 1-Wire Devices. 1.0 Abstract. 2.0 Introduction Wire Interface. 3.1 Hardware

M16C/26 APPLICATION NOTE. Interfacing with 1-Wire Devices. 1.0 Abstract. 2.0 Introduction Wire Interface. 3.1 Hardware APPLICATION NOTE M16C/26 1.0 Abstract The following article introduces and shows an example of how to interface Renesas 16-bit microcontrollers (MCU) to a 1-wire device. A demo program developed for the

More information

1. Specification Applicable Conditions Description of Modules Used Principles of Operation... 9

1. Specification Applicable Conditions Description of Modules Used Principles of Operation... 9 APPLICATION NOTE H8SX Family Introduction The H8SX/1638F microcomputer has a deep software standby mode as one of its low-power states. This application note gives an example of employment of the deep

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

Application Note [AN-006] Liquid Crystal Display (LCD) Construction Methods

Application Note [AN-006] Liquid Crystal Display (LCD) Construction Methods Application Note [AN-006] Liquid Crystal Display () Construction Methods Introduction In a module the driver electronics, which control the voltage applied to each pixel need to be connected to the cell.

More information

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

M32C/84, 85, 86, 87, 88 Group APPLICATION NOTE 1. Abstract The direct memory access controller (DMAC) function allows data to be transferred without using the CPU. DMAC transfers one data (8-bit or 16-bit) from a source address to

More information

1. Specifications Applicable Conditions Operational Overview of Functions Used Principles of Operation...

1. Specifications Applicable Conditions Operational Overview of Functions Used Principles of Operation... APPLICATION NOTE SH7080 Group Introduction This application note provides information that may be useful in designing software. The note describes how to erase and program the flash memory when the flash

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

Example of Setting the SCIF for Clocked Synchronous Serial Communication (Full-Duplex Communication)

Example of Setting the SCIF for Clocked Synchronous Serial Communication (Full-Duplex Communication) APPLICATION NOTE Example of Setting the SCIF for Clocked Synchronous Serial Communication (Full-Duplex Communication) Introduction This application note presents an example of configuring the serial communication

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

OUTLINE DRAWING. ABSOLUTE MAXIMUM RATINGS (Tc=25 C UNLESS OTHERWISE NOTED)

OUTLINE DRAWING. ABSOLUTE MAXIMUM RATINGS (Tc=25 C UNLESS OTHERWISE NOTED) DESCRIPTION is a MOS FET type transistor designed for VHF/UHF RF driver device. OUTLINE DRAWING FEATURES 1.High Power Gain and High Efficiency Pout>1.0W, Gp=15dB, Drain Effi. =70%typ @ f=527mhz, V DS =7.2V,

More information

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

Operation of Timer A (2-phase pulse signal process in event counter mode, multiply-by-4 processing operation) APPLICATION NOTE in event counter mode, multiply-by-4 processing operation) 1. Abstract In processing 2-phase pulse signals in event counter mode, choose functions from those listed in Table 1. Operations

More information

F-ZTAT Microcomputer On-Board Programming

F-ZTAT Microcomputer On-Board Programming F-ZTAT Microcomputer On-Board Programming Renesas F-ZTAT Microcomputer Rev.2.00 Revision Date: Dec 13, 2004 Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum effort

More information

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

This document describes a program for timer RA in pulse period measurement mode. APPLICATION NOTE R8C/25 Group. Abstract This document describes a program for timer RA in pulse period measurement mode. 2. Introduction The application example described in this document applies to the

More information

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

This document describes a program for timer RF in pulse width measurement mode. R8C/25 Group. Abstract This document describes a program for timer RF in pulse width measurement mode. 2. Introduction The application example described in this document applies to the following MCU and

More information

Data Transfer between On-chip RAM Areas with DMAC (Burst Mode) 1. Introduction Description of Sample Application... 3

Data Transfer between On-chip RAM Areas with DMAC (Burst Mode) 1. Introduction Description of Sample Application... 3 Introduction APPLICATION NOTE This application note describes the operation of the DMAC, and is intended for reference to help in the design of user software. Target Device SH7211 Contents 1. Introduction...

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April st, 2, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over

More information

SCIF Asynchronous Serial Data Transfer Function Using the DTC. 1. Specifications Operational Overview of Functions Used...

SCIF Asynchronous Serial Data Transfer Function Using the DTC. 1. Specifications Operational Overview of Functions Used... Introduction APPLICATION NOTE This application note describes data transmission and reception that uses the internal SCIF (Serial Communication Interface with FIFO) for asynchronous serial transfer and

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

Application Note. Watchdog Timer

Application Note. Watchdog Timer Application Note Watchdog Timer For H8/36077 series Contact Info: Brazen Tek, Inc. 20121 Ventura Blvd. Suite 310 Woodland Hills, CA 91364 USA Tel/Fax: (818) 710-9262 E-mail: info@brazentek.com August 2008

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

< Silicon RF Power MOS FET (Discrete) > RD04LUS2

< Silicon RF Power MOS FET (Discrete) > RD04LUS2 DESCRIPTION is a MOS FET type transistor specifically designed for VHF/UHF RF power amplifiers applications. OUTLINE DRAWING FEATURES High power gain and High Efficiency. Pout=4Wtyp, Drain Effi. =65%typ

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

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

In timer mode, choose functions from those listed in Table 1. Operations of the circled items are described below. APPLICATION NOTE M16C/64 Group 1. Abstract In timer mode, choose functions from those listed in Table 1. Operations of the circled items are described below. 2. Introduction This application note is applied

More information

Application Note. Synchronous Operation Mode

Application Note. Synchronous Operation Mode Application Note Synchronous Operation Mode For H8/3694 series Contact Info: Brazen Tek, Inc. 20121 Ventura Blvd. Suite 310 Woodland Hills, CA 91364 USA Tel/Fax: (818) 710-9262 E-mail: info@brazentek.com

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documts On April 1 st, 2010, NEC Electronics Corporation merged with Resas Technology Corporation, and Resas Electronics Corporation took over all

More information

( 2 / 26 ) * TR4943, R4945 and R4945A are trademarks of Advantest Corporation.

( 2 / 26 ) * TR4943, R4945 and R4945A are trademarks of Advantest Corporation. PCA4738F-42A PCA4738S-42A PCA4738F-64A PCA4738L-64A PCA4738S-64A PCA4738H-80A PCA4738G-80A PCA4738F-80A PCA4738L-80A PCA4738H-100A PCA4738G-100A PCA4738F-100A PCA4738L-100A PCA4738L-160A PCA4738F-176A

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp.

Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. To all our customers Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. The semiconductor operations of Mitsubishi Electric and

More information

M16C/62 APPLICATION NOTE. Using the M16C/62 Power Saving Modes. 1.0 Abstract. 2.0 Introduction. 3.0 Power Conservation: Introduction

M16C/62 APPLICATION NOTE. Using the M16C/62 Power Saving Modes. 1.0 Abstract. 2.0 Introduction. 3.0 Power Conservation: Introduction APPLICATION NOTE M16C/62 1.0 Abstract This article discusses the various power saving modes of the M16C device. A short program is provided that can be run on the MSV3062 development board. Using an Amp

More information

Flash Self-programming Library

Flash Self-programming Library 16 Flash Self-programming Library Type T01, European Release 16 Bit Single-chip Microcontroller RL78 Series Installer: RENESAS_FSL_RL78_T01E_Vx.xxx All information contained in these materials, including

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

M37544 StarterKit. User s Manual REJ10J Z. RENESAS SINGLE-CHIP MICROCOMPUTER 740 Family 740 Series. Rev.1.00 Revision Date : Nov 26, 2004

M37544 StarterKit. User s Manual REJ10J Z. RENESAS SINGLE-CHIP MICROCOMPUTER 740 Family 740 Series. Rev.1.00 Revision Date : Nov 26, 2004 REJ10J0822-0100Z M37544 StarterKit User s Manual RENESAS SINGLE-CHIP MICROCOMPUTER 740 Family 740 Series Rev.1.00 Revision Date : Nov 26, 2004 Renesas Soluctions Corp. www.renesas.com Keep safety first

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 21, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over

More information

SuperH RISC engine C/C++ Compiler Package

SuperH RISC engine C/C++ Compiler Package SuperH RISC engine C/C++ Compiler Package : [Compiler use guide] Efficient programming techniques This document introduces efficient programming techniques for SuperH RISC engine C/C++ Compiler V.9. Table

More information

S1C17 Family EEPROM Emulation Library Manual

S1C17 Family EEPROM Emulation Library Manual S1C17 Family EEPROM Emulation Library Manual Rev.1.1 Evaluation board/kit and Development tool important notice 1. This evaluation board/kit or development tool is designed for use for engineering evaluation,

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

S1C17 Family Port Nested Interrupt Application Notes

S1C17 Family Port Nested Interrupt Application Notes S1C17 Family Port Nested Interrupt Application Notes Rev.1.0 Evaluation board/kit and Development tool important notice 1. This evaluation board/kit or development tool is designed for use for engineering

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

24-Bit Pseudo Random Sequence Generator Data Sheet

24-Bit Pseudo Random Sequence Generator Data Sheet 48. 24-Bit Pseudo Random Sequence Generator 24-Bit Pseudo Random Sequence Generator Data Sheet Copyright 2000-2009 Cypress Semiconductor Corporation. All Rights Reserved. PRS24 PSoC Blocks API Memory (Bytes)

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

More information

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents To our customers, Old Company Name in Catalogs and Other Documents On April st,, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all

More information

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

RL78 Family. User s Manual. Flash Self-Programming Library Type Bit Single-Chip Microcontrollers. Rev.1.04 Dec 2016. User s Manual 表紙 RL78 Family 16 16-Bit Single-Chip Microcontrollers Flash Self-Programming Library Type01 Japanese Release ZIP file name : JP_R_FSL_RL78_T01_Vx.xx_x_E All information contained in these

More information

For one or more fully configured, functional example projects that use this user module go to

For one or more fully configured, functional example projects that use this user module go to Datasheet RefMux V 1.3 001-13584 Rev. *H Reference Multiplexer Copyright 2003-2012 Cypress Semiconductor Corporation. All Rights Reserved. PSoC Blocks API Memory (Bytes) Resources Digital Analog CT Analog

More information

1. Specification Applicable conditions Description of Modules Used Principles of Operation... 8

1. Specification Applicable conditions Description of Modules Used Principles of Operation... 8 Using the DMAC to Drive Continuous SCI Transmission Introduction APPLICATION NOTE Asynchronous transfer is used to transmit 128 bytes of data. Using the DMAC to handle the transfer (transmission) of data

More information

M3H Group(2) Application Note 12-bit Analog to Digital Converter (ADC-A)

M3H Group(2) Application Note 12-bit Analog to Digital Converter (ADC-A) 12-bit Analog to Digital Converter (ADC-A) Outlines This application note is a erence material for developing products using the 12-bit analog to digital converter (ADC) function of M3H Group (2). This

More information

M3H Group(1) Application Note I 2 C Interface (I2C-B)

M3H Group(1) Application Note I 2 C Interface (I2C-B) M3H Group(1) I 2 C Interface (I2C-B) Outlines This application note is a erence material for developing products using I2C interface (I2C) functions of M3H Group(1). This document helps the user check

More information

Asynchronous Transfer of Data with Appended CRC Codes via an SCI Interface

Asynchronous Transfer of Data with Appended CRC Codes via an SCI Interface Introduction APPLICATION NOTE The SCI module and CRC calculator applied in the asynchronous transfer of four-byte data blocks. In transmission, a two-byte CRC is appended to every byte of transmitted data.

More information

SPI Overview and Operation

SPI Overview and Operation White Paper Abstract Communications between semiconductor devices is very common. Many different protocols are already defined in addition to the infinite ways to communicate with a proprietary protocol.

More information

Renesas E8 On-Chip Debugging Emulator

Renesas E8 On-Chip Debugging Emulator REJ06J0025-0100 Renesas E8 On-Chip Debugging Emulator Introductory Guide for R8C/Tiny Series Application Notes Renesas Single-Chip Microcomputer M16C Family / R8C/Tiny Series Rev.1.00 Publication Date:

More information

One 32-bit counter that can be free running or generate periodic interrupts

One 32-bit counter that can be free running or generate periodic interrupts PSoC Creator Component Datasheet Multi-Counter Watchdog (MCWDT_PDL) 1.0 Features Configures up to three counters in a multi-counter watchdog (MCWDT) block Two 16-bit counters that can be free running,

More information

M3H Group(2) Application Note Asynchronous Serial Communication Circuit (UART-C)

M3H Group(2) Application Note Asynchronous Serial Communication Circuit (UART-C) M3H Group(2) Asynchronous Serial Communication Circuit (UART-C) Outlines This application note is a erence material for developing products using the asynchronous serial communication circuit (UART) function

More information

H8/300H Series Software Manual

H8/300H Series Software Manual 16 H8/3H Series Software Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/3H Series Rev. 3. Revision Date: Dec 13, 24 Keep safety first in your circuit designs! 1. Renesas Technology Corp.

More information

SuperH RISC engine C/C++ Compiler Package

SuperH RISC engine C/C++ Compiler Package SuperH RISC engine C/C++ Compiler Package APPLICATION NOTE APPLICATION NOTE: [Compiler Use guide] #pragma Extension Guide This document explains the extended #pragma directives available in SuperH RISC

More information