Application Note. Synchronous Operation Mode

Size: px
Start display at page:

Download "Application Note. Synchronous Operation Mode"

Transcription

1 Application Note Synchronous Operation Mode For H8/3694 series Contact Info: Brazen Tek, Inc Ventura Blvd. Suite 310 Woodland Hills, CA USA Tel/Fax: (818) November 2008

2 Introduction One of the functionality of Timer W is to generate waveforms based on pulse width techniques. This application is to describe Timer W based on synchronous mode to obtain PWM waveforms as output. Target Device H8/3694 group Contents 1. Specifications 3 2. Description of Functions Used Description of Operations Description of Software Description of Modules Description of Arguments Description of Internal Registers Description of RAM.6 5. Flowcharts.7 6. Program Listing 8 2

3 1. Specifications i. Deploy Timer W based on synchronous mode to obtain PWM waveforms as output. ii. The output pulses generated by half of their cycle, otherwise known as high-level widths are to control their duty cycle. iii. Settings in registers would enable complete duty cycle variation between 0% and 100%. Duty Cycle = High level pulse width Pulse Period 100(%) FTIOB Pulse Period High-level pulse width FTIOC High-level pulse width Figure 1 PWM waveforms 2. Description of Functions used This application note is to PWM waveforms generated by Timer W in synchronous mode. Figure 2 shows the block diagram of this operation. The following functions are being used: - Counter clearing function upon an output compare. - Two channels 0 and 1 of Timer W are used to generate PWM waveforms. 3

4 Counter clear Timer control Input Timer status Signal generator Register Clock register (TCRW) (TSRW) General register A (GRA) General register B (GRB) Timer counter (TCNT) Comparator A Comparator B Timer Control Output control Timer interrupt register W enable register W (TCRW) (TIERW) Timer I/O Control register 0 (TIOR0) PWM waveforms Figure 2 Timer W synchronous operation mode 4

5 3. Description of Operations TCNT values GRA GRB GRC GRD H 000 Time FTIOB FTIOC Figure 3 Synchronous operation of Timer W 4. Description of Software 4.1 Description of Modules Table 4.1 describes the firmware used in this App. Note. Module Name Label Name Function Main main Sets timing of general registers. Using Synchronous operation, it generates PWM waveforms 4.2 Description of Arguments None are used for this AN. Table Description of Modules 5

6 4.3 Description of Internal Registers Table 4.2 describes the internal registers used in this AN. Register /Name TSRW TCNT Function Enables/Disables Channels 0 or 1 counter timer operation Timer counter TMRW TCRW TIOR0 TIERW GRA GRB GRC GRD Set for synchronous operation mode Triggers input clock and resets channel 0 of timer counter Enables/Disables timer output Sets initial output value when output compare has occurred Sets a duty cycle for one of the PWM waveforms Sets a duty cycle for one of the PWM waveforms Sets a period for one of the PWM waveforms Sets a period for one of the PWM waveforms Table Internal Registers 4.4 Description of RAM None used for this AN 6

7 5. Flowcharts Main Clear TSRW bit 0 Select the input clock Counter clearing selected by GRA TMRW selects the synchronous operation mode Clear TCRW Initialize TCNT Set duty cycle/period for registers to generate PWM waveforms Timer output enabled by TIOR0 Start TCNT counting 7

8 6. Program Listing Initialize source (Program list).export_init.import_main ;.SECTION P,CODE _INIT: MOV.W #H'FF80,R7 LDC.B #B' ,CCR ;.END /* */ /* H8/3694 group MCU */ /* Application Note */ /* */ /* 'Synchronous Operation Mode' */ /* */ /* :Timer W Synchronous Mode */ /* */ /* External Clock: 16 MHz */ /* Internal Clock: 16 MHz */ /* Sub Clock: kHz */ /* */ #include <machine.h> /* Symbol Definition */ struct BIT { unsigned char b7:1; /* bit7 */ unsigned char b6:1; /* bit6 */ unsigned char b5:1; /* bit5 */ unsigned char b4:1; /* bit4 */ unsigned char b3:1; /* bit3 */ unsigned char b2:1; /* bit2 */ unsigned char b1:1; /* bit1 */ 8

9 unsigned char b0:1; /* bit0 */ }; #define TCRW *(volatile unsigned char *)H FF81 /* Timer Control Register W */ #define TIOR0 *(volatile unsigned char *)H FF84 /* Timer I/O Control Register 0 */ #define TIOR1 *(volatile unsigned char *)H FF85 /* Timer I/O Control Register 1 */ #define TSRW *(volatile unsigned char *)H FF83 /* Timer Status Register W */ #define IMIFA_0 TSR_0_BIT.b0 /* Input Capture/Compare match Flag A Channel 0 */ #define TIERW *(volatile unsigned char *)H FF82 /* Timer Interrupt Enable Register W */ #define TCNT *(volatile unsigned short *)H FF86 /* Timer Counter */ #define GRA *(volatile unsigned short *)H FF88 /* General Register A */ #define GRB *(volatile unsigned short *)H FF8A /* General Register B */ #define GRC *(volatile unsigned short *)H FF8C /* General Register C */ #define GRD *(volatile unsigned short *)H FF8E /* General Register D */ #define TMRW *(volatile unsigned char *)H FF80 /* Timer Mode Register W */ /* Function Definition */ extern void INIT ( void ); /* SP Set */ void main ( void ); extern void _INITSCT(); /************************************************************/ /* Vector Address */ /************************************************************/ #pragma section V1 /* VECTOR SECTION SET */ void (*const VEC_TBL1[])(void) = { /* H 00 H 0F */ INIT /* 00 Reset }; #pragma section /* P */ /**********************************************************/ /* Main Program */ /**********************************************************/ void main ( void ) 9

10 { _INITSCT(); set_imask_ccr(1); /* Disable interrupts */ TSRW = H FC; /* Timer Stop */ TIOR0 = H 00; /* PWM initial output "0" */ TCRW = H 20; /* GRA Compare match Clear Mode */ GRA = H 320; /* Period: Cycle 50us */ GRB = H 230; /* Duty cycle 30% */ GRC = H 230; /* Duty cycle 30% */ GRD = H 230; /* Duty cycle 30% */ TIERW = H F1; /* FTIOB, FTIOC, FTIOD Output Enable */ TSRW = H FD; /* TCNT Start */ set_imask_ccr(0); /* Interrupt Enable */ while(1) { ; } } 10

11 Important Notes 1. This document is provided for reference purposes only. Brazen Tek neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights. 2. Brazen Tek shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples. 3. This application note or the technology described in this document is not for the purpose of military applications such as the development of weapons of mass destruction or for the purpose of any other military use. 4. Brazen Tek assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document. 5. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application. Brazen Tek makes no representations, warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document. 12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Brazen Tek.

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

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

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

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

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

RTE/L Return from Exception Handling with Data Restoration

RTE/L Return from Exception Handling with Data Restoration 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

More information

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

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE AVR 8-bit Microcontrollers AVR134: Real Time Clock (RTC) Using the Asynchronous Timer APPLICATION NOTE Features Real Time Clock with Very Low Power Consumption (10µA @ 3.3V) Very Low Cost Solution Adjustable

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

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

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 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took

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

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

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

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0 1.0 Features Four operating modes 16-bit PWM Timer 16-bit PPG Timer 16/32-bit Reload Timer 16/32-bit PWC Timer Trigger generation for ADC conversion General The Peripheral Driver Library (PDL) Base Timer

More information

Nano102/112 Series Errata Sheet

Nano102/112 Series Errata Sheet Nano102/112 Series Errata Sheet Errata Sheet for 32-bit NuMicro Family Document Information Abstract Apply to This errata sheet describes the functional problem known at the release date of this document.

More information

ATECC108/ATSHA204 USER GUIDE. Atmel Firmware Library. Features. Introduction

ATECC108/ATSHA204 USER GUIDE. Atmel Firmware Library. Features. Introduction ATECC108/ATSHA204 Atmel Firmware Library USER GUIDE Features Layered and Modular Design Compact and Optimized for 8-bit Microcontrollers Easy to Port Supports I 2 C and Single-Wire Communication Distributed

More information

AT11512: SAM L Brown Out Detector (BOD) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

AT11512: SAM L Brown Out Detector (BOD) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE SMART ARM-based Microcontrollers AT11512: SAM L Brown Out Detector (BOD) Driver APPLICATION NOTE Introduction This driver for Atmel SMART ARM -based microcontrollers provides an interface for the configuration

More information

Picture cell driver for STN (LCD driver)

Picture cell driver for STN (LCD driver) Picture cell driver for STN (LCD driver) BU976BK / BU976BKV The BU976BK and BU976BKV are man-machine interface ICs designed for applications such as multi-media portable terminals. Specifically, these

More information

APPLICATION NOTE. AT05567: TC Capture on External Interrupt with the Event System on SAM D20. Preface ASF PROJECT DOCUMENTATION

APPLICATION NOTE. AT05567: TC Capture on External Interrupt with the Event System on SAM D20. Preface ASF PROJECT DOCUMENTATION APPLICATION NOTE AT05567: TC Capture on External Interrupt with the Event System on SAM D20 ASF PROJECT DOCUMENTATION Preface This application note shows how to use the event system to capture an external

More information

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

APPLICATION NOTE. Atmel AVR1638: XMEGA RTC Calibration. 8-bit Atmel Microcontrollers. Features. Introduction

APPLICATION NOTE. Atmel AVR1638: XMEGA RTC Calibration. 8-bit Atmel Microcontrollers. Features. Introduction APPLICATION NOTE Atmel AVR1638: XMEGA RTC Calibration 8-bit Atmel Microcontrollers Features Example software project which performs RTC calibration with help of an external precise clock source Software

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

However, if an event comes in when the new value is being written to the pulse accumulator counter, that event could be missed. One solution to this p

However, if an event comes in when the new value is being written to the pulse accumulator counter, that event could be missed. One solution to this p Engineering Bulletin 7/2003 HC11 and HC12 Families Pulse Accumulator By Darci Ernst Systems Engineering Austin, TX Introduction and Background Detailed Description The timer module is one of the peripherals

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

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

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

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx. User manual Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx Introduction This document describes how to use the demonstration firmware for the DMX-512

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

ATAES132A Firmware Development Library. Introduction. Features. Atmel CryptoAuthentication USER GUIDE

ATAES132A Firmware Development Library. Introduction. Features. Atmel CryptoAuthentication USER GUIDE Atmel CryptoAuthentication ATAES132A Firmware Development Library USER GUIDE Introduction This user guide describes how to use the Atmel CryptoAuthentication ATAES132A Firmware Development Library with

More information

AN2592 Application note

AN2592 Application note AN2592 Application note How to achieve 32-bit timer resolution using the link system in STM32F101xx and STM32F103xx microcontrollers Introduction In many applications, 32-bit resolution is required to

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

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

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

AN3996 Application Note

AN3996 Application Note Application Note Adjustable LED blinking speed using STM8SVLDISCOVERY Application overview This application note provides a short description of the demonstration firmware Discover which is preprogrammed

More information

SAM4 Reset Controller (RSTC)

SAM4 Reset Controller (RSTC) APPLICATION NOTE AT06864: SAM4 Reset Controller (RSTC) ASF PROGRAMMERS MANUAL SAM4 Reset Controller (RSTC) This driver for SAM devices provides an interface for the configuration and management of the

More information

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

Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs. Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs. 1 This course covers specific features of the independent watchdog timer on RX MCUs. If

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

Automatic reload of the period to the count register on terminal count

Automatic reload of the period to the count register on terminal count 1.0 Features 7-bit read/write period register 7-bit count register that is read/write Automatic reload of the period to the count register on terminal count Routed load and enable signals General Description

More information

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE AVR XMEGA Microcontrollers AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro APPLICATION NOTE Introduction This application note covers some of the power saving features of the Atmel XMEGA

More information

EDBG. Description. Programmers and Debuggers USER GUIDE

EDBG. Description. Programmers and Debuggers USER GUIDE Programmers and Debuggers EDBG USER GUIDE Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging

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

APPLICATION NOTE. Atmel AVR057: Internal RC Oscillator Calibration for ATtiny4/5/9/10/20/40. 8-bit Atmel Microcontrollers. Features.

APPLICATION NOTE. Atmel AVR057: Internal RC Oscillator Calibration for ATtiny4/5/9/10/20/40. 8-bit Atmel Microcontrollers. Features. APPLICATION NOTE Features Atmel AVR057: Internal RC Oscillator Calibration for ATtiny4/5/9/10/20/40 8-bit Atmel Microcontrollers Calibration of the internal 8MHz RC Oscillator for Atmel ATtiny4/5/9/10/20/40

More information

Ethernet1 Xplained Pro

Ethernet1 Xplained Pro Ethernet1 Xplained Pro Part Number: ATETHERNET1-XPRO The Atmel Ethernet1 Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. The board enables the user to experiment with

More information

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 REAL TIME CLOCK APPLICATION NOTE

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 REAL TIME CLOCK APPLICATION NOTE Fujitsu Microelectronics Europe Application Note MCU-AN-300075-E-V10 FR FAMILY 32-BIT MICROCONTROLLER MB91460 REAL TIME CLOCK APPLICATION NOTE Revision History Revision History Date 2008-06-05 First Version;

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

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

C Language Programming, Interrupts and Timer Hardware

C Language Programming, Interrupts and Timer Hardware C Language Programming, Interrupts and Timer Hardware In this sequence of three labs, you will learn how to write simple C language programs for the MC9S12 microcontroller, and how to use interrupts and

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

AT10942: SAM Configurable Custom Logic (CCL) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

AT10942: SAM Configurable Custom Logic (CCL) Driver. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE SMART ARM-based Microcontrollers AT10942: SAM Configurable Custom Logic (CCL) Driver APPLICATION NOTE Introduction This driver for Atmel SMART SAM devices provides an interface for the configuration and

More information

Product Update. Errata to Z8 Encore! 8K Series Silicon. Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later

Product Update. Errata to Z8 Encore! 8K Series Silicon. Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later Product Update Errata to Z8 Encore! 8K Series Silicon Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later The errata listed in Table 1 are found in the Z8 Encore! 8K Series devices with date codes

More information

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features APPLICATION NOTE AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I Atmel AVR XMEGA Introduction This application note lists out the differences and changes between Revision E and Revision

More information

timer 1 Fri Oct 13 13:00:

timer 1 Fri Oct 13 13:00: timer 1 Fri Oct 1 1:00: 1.1 Introduction SECTION CAPTURE/COMPARE TIMER This section describes the operation of the 1-bit capture/compare timer. Figure -1 shows the structure of the timer module. Figure

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

Taking the LPC800 into the delta quadrant :)

Taking the LPC800 into the delta quadrant :) Taking the LPC800 into the delta quadrant :) Background One of our boys received a Revell model of the starship Voyager (from Star Trek) as a gift. It sat on his shelf for a least a year crying out for

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

3. Absolute Maximum Ratings (Note) (Unless otherwise specified, T a = 25 ) Symbol V ESD. P PK I PP T j T stg

3. Absolute Maximum Ratings (Note) (Unless otherwise specified, T a = 25 ) Symbol V ESD. P PK I PP T j T stg ESD Protection Diodes DF2B6M4SL Silicon Epitaxial Planar DF2B6M4SL 1. Applications ESD Protection This product is designed for protection against electrostatic discharge (ESD) and is not intended for any

More information

AN3279 Application Note

AN3279 Application Note Application Note Adjustable LED blinking speed using STM8S-DISCOVERY touch sensing key Application overview This application note provides a short description of how to use the touch sensing key to change

More information

ECE3120: Computer Systems Chapter 8: Timer Module

ECE3120: Computer Systems Chapter 8: Timer Module ECE32: Computer Systems Chapter 8: Timer Module Manjeera Jeedigunta http://blogs.cae.tntech.edu/msjeedigun2 Email: msjeedigun2@tntech.edu Tel: 93-372-68, Prescott Hall 2 Why are Timer Functions Important?

More information

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

STA bit single chip baseband controller for GPS and telematic applications. Features 32-bit single chip baseband controller for GPS and telematic applications Data Brief Features Suitable for automotive applications ARM7TDMI 16/32 bit RISC CPU based host microcontroller. Complete embedded

More information

DF10G7M1N DF10G7M1N. 1. Applications. 2. Packaging and Internal Circuit Rev.5.0. Start of commercial production

DF10G7M1N DF10G7M1N. 1. Applications. 2. Packaging and Internal Circuit Rev.5.0. Start of commercial production ESD Protection Diodes DF10G7M1N Silicon Epitaxial Planar DF10G7M1N 1. Applications ESD Protection for: USB 2.0 USB 3.0 HDMI SATA/eSATA DisplayPort Interface Digital Visual Interface (DVI) MDDI PCI Express

More information

Capable of adjusting detection timings for start bit and data bit

Capable of adjusting detection timings for start bit and data bit PSoC Creator Component Datasheet Remote Control (PDL_RC) 1.0 Features Up to 2 Channels HDMI-CEC/ High Definition Multimedia Interface Consumer Electronics Control transmitter/receiver SIRCS/Sony Infrared

More information

16-Bit Hardware Density Modulated PWM Data Sheet

16-Bit Hardware Density Modulated PWM Data Sheet 1. 16-Bit Hardware Density Modulated PWM User Module Data Sheet 16-Bit Hardware Density Modulated PWM Data Sheet DMM16HW DMM16HW Copyright 2009 Cypress Semiconductor Corporation. All Rights Reserved. PSoC

More information

C Language Programming, Interrupts and Timer Hardware

C Language Programming, Interrupts and Timer Hardware C Language Programming, Interrupts and Timer Hardware In this sequence of three labs, you will learn how to write simple C language programs for the MC9S12 microcontroller, and how to use interrupts and

More information

MN101E50 Series. 8-bit Single-chip Microcontroller

MN101E50 Series. 8-bit Single-chip Microcontroller 8-bit Single-chip Microcontroller Overview The MN101E series of 8-bit single-chip microcomputers (the memory expansion version of MN101C series) incorporate multiple types of peripheral functions. This

More information

ESP8266 Application Note Firmware Download Protocol

ESP8266 Application Note Firmware Download Protocol ESP8266 Application Note Firmware Download Protocol Version 1.0 Copyright 2016 About This Guide This document introduces ESP8266 firmware download protocol with a structure as follows. Chapter Title Subject

More information

DF2S6.8FS DF2S6.8FS. 1. Applications. 2. Packaging and Internal Circuit Rev.5.0. Start of commercial production.

DF2S6.8FS DF2S6.8FS. 1. Applications. 2. Packaging and Internal Circuit Rev.5.0. Start of commercial production. ESD Protection Diodes DF2S6.8FS Silicon Epitaxial Planar DF2S6.8FS 1. Applications ESD Protection This product is designed for protection against electrostatic discharge (ESD) and is not intended for any

More information

APPLICATION NOTE. AT04470: Differences between SAM D21 Variants A, B, and L. 32-bit Microcontroller. Introduction

APPLICATION NOTE. AT04470: Differences between SAM D21 Variants A, B, and L. 32-bit Microcontroller. Introduction APPLICATION NOTE AT04470: Differences between SAM D21 Variants A, B, and L 32-bit Microcontroller Introduction This application note describes the differences between A, B, and L variants of SAM D21 devices.

More information

STM8 I 2 C optimized examples

STM8 I 2 C optimized examples Application note STM8 I 2 C optimized examples Introduction This document describes how to use the following I 2 C optimized examples Hardware configuration example of a common I 2 C bus Master firmware

More information

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA CE97091- PSoC 4: Time-Stamped ADC Data Transfer Using DMA Objective This code example uses a DMA channel with two descriptors to implement a time-stamped ADC data transfer. It uses the Watch Dog Timer

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

Dual PLL frequency synthesizer

Dual PLL frequency synthesizer Dual PLL frequency synthesizer The BU2630F/BU2630FV are a CMOS LSI with an internal dual PLL synthesizer. VCOs for transmission and reception can be controlled independently, and the reference frequency

More information

EE 308 Spring A software delay

EE 308 Spring A software delay A software delay To enter a software delay, put in a nested loop, just like in assembly. Write a function delay(num) which will delay for num milliseconds void delay(unsigned int num) volatile unsigned

More information

AN-8205 AMC Library Hall Interface Summary AMC Introduction

AN-8205 AMC Library Hall Interface Summary AMC Introduction www.fairchildsemi.com AMC Library Hall Interface Summary The FCM8531 is an application-specific parallel-core processor for motor control that consists of an Advanced Motor Controller (AMC) processor and

More information

Oscillation stop detection circuit included

Oscillation stop detection circuit included (rev1.0) DESCRIPTIONS 16-bit Single Chip Microcontroller Wide operating voltage range from 1.8 V to 5.5 V. A maximum of 88 general-purpose I/O ports are available. Equipped with a two-channel 10-bit A/D

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

AT09381: SAM D - Debugging Watchdog Timer Reset. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE

AT09381: SAM D - Debugging Watchdog Timer Reset. Introduction. SMART ARM-based Microcontrollers APPLICATION NOTE SMART ARM-based Microcontrollers AT09381: SAM D - Debugging Watchdog Timer Reset APPLICATION NOTE Introduction This application note shows how the early warning interrupt can be used to debug a WDT reset

More information

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 F²MC-FR FAMILY 32-BIT MICROCONTROLLER MB91460 RELOAD TIMER APPLICATION NOTE

Fujitsu Microelectronics Europe Application Note MCU-AN E-V10 F²MC-FR FAMILY 32-BIT MICROCONTROLLER MB91460 RELOAD TIMER APPLICATION NOTE Fujitsu Microelectronics Europe Application Note MCU-AN-300060-E-V10 F²MC-FR FAMILY 32-BIT MICROCONTROLLER MB91460 RELOAD TIMER APPLICATION NOTE Revision History Revision History Date 2008-03-26 V1.0,

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

Engineering Bulletin. Introduction and Background. Definition of Early TOF EB389/D 11/2001

Engineering Bulletin. Introduction and Background. Definition of Early TOF EB389/D 11/2001 Engineering Bulletin EB389/D 11/2001 TOF Considerations when Measuring a Long Input Capture Event By Donnie Garcia and Gianni Filippi Microcontroller Applications Engineering Austin, Texas Introduction

More information

This input determines the next value of the output. The output does not change until the next rising edge of the clock.

This input determines the next value of the output. The output does not change until the next rising edge of the clock. 1.30 Features Asynchronous reset or preset Synchronous reset, preset, or both Configurable width for array of s General Description The stores a digital value. When to Use a Use the to implement sequential

More information

PPG Function of F2MC-16LX MCU Series as PWM

PPG Function of F2MC-16LX MCU Series as PWM PPG Function of F2MC-16LX MCU Series as PWM Introduction... 1 PPG Function... 1 Important Register Configuration... 2 Flow chart... 3 Program Code... 4 Fujitsu Microelectronics America, Inc. i PPG Function

More information

Table of Figures Figure 1. High resolution PWM based DAC...2 Figure 2. Connecting the high resolution buck converter...8

Table of Figures Figure 1. High resolution PWM based DAC...2 Figure 2. Connecting the high resolution buck converter...8 HR_PWM_DAC_DRV Texas Instruments C2000 DSP System Applications Group Table of contents 1 Overview...2 2 Module Properties...2 3 Module Input and Output Definitions...3 3.1 Module inputs...3 3.2 Module

More information

AN3980 Application note

AN3980 Application note Application note STM32 firmware library for dspin L6470 1 Introduction This application note describes the implementation of the STM32 firmware library for the dspin stepper motor control product (L6470).

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

EFM32 Zero Gecko EFM32ZG Errata

EFM32 Zero Gecko EFM32ZG Errata EFM32 Zero Gecko EFM32ZG Errata This document contains information on the errata of EFM32ZG. The latest available revision of this device is revision A. For errata on older revisions, please refer to the

More information

Emulating I2C Bus Master by using FlexIO

Emulating I2C Bus Master by using FlexIO Freescale Semiconductor, Inc. Document Number: AN5133 Application Notes Rev. 0, 06/2015 Emulating I2C Bus Master by using FlexIO 1. Introduction This application note lists the steps to use the FlexIO

More information

M3H Group(1) Application Note. I 2 C Interface (I2C-B) MASTER/SLAVE

M3H Group(1) Application Note. I 2 C Interface (I2C-B) MASTER/SLAVE M3H Group(1) I 2 C Interface (I2C-B) MASTER/SLAVE Outlines This application note is a reference material for developing products using the Master/Slave function in I2C interface (I2C) functions of M3H

More information

IP-48DAC channel 16-bit Digital/Analog Converter With memory Industry Pack Module PROGRAMMING MANUAL Version 1.

IP-48DAC channel 16-bit Digital/Analog Converter With memory Industry Pack Module PROGRAMMING MANUAL Version 1. IP-48DAC-16 48-channel 16-bit Digital/Analog Converter With memory Industry Pack Module PROGRAMMING MANUAL 828-10-000-4000 Version 1.0 January 2007 ALPHI TECHNOLOGY CORPORATION 1898 E. Southern Ave Tempe,

More information

AN Entering ISP mode from user code. Document information. ARM ISP, bootloader

AN Entering ISP mode from user code. Document information. ARM ISP, bootloader Rev. 03 13 September 2006 Application note Document information Info Keywords Abstract Content ARM ISP, bootloader Entering ISP mode is normally done by sampling a pin during reset. This application note

More information

DGILib USER GUIDE Atmel-42771A-DGILib_User Guide-09/2016

DGILib USER GUIDE Atmel-42771A-DGILib_User Guide-09/2016 DGILib USER GUIDE Table of Contents 1. Description...3 2. API...4 2.1. Discovery...4 2.1.1. initialize_status_change_notification... 4 2.1.2. uninitialize_status_change_notification... 4 2.1.3. register_for_device_status_change_notifications...4

More information

ME 4447 / ME 6405: Introduction to Mechatronics

ME 4447 / ME 6405: Introduction to Mechatronics ME 4447 / ME 6405: Introduction to Mechatronics Interrupts and Resets Rohan Bansal Edward Chyau Anirudh Rudraraju Interrupts and Resets 1 Telephone Analogy How do we know if someone is calling? Use polling

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

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

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE SMART ARM-based Microcontrollers AT06467: Getting started with SAM D09/D10/D11 APPLICATION NOTE Features Getting started with Atmel SMART SAM D09/D10/D11 microcontrollers and tools Getting started with

More information

Optional Pause Pulse for constant frame length of 282 clock ticks

Optional Pause Pulse for constant frame length of 282 clock ticks PSoC Creator Component Datasheet Single Edge Nibble Transmission (SENT_TX) 1.0 Features Compliant with SAE J2716 APR2016 (Issued 2007-04, Revised 2016-04) without any serial message formats Selectable

More information

AT60142H/HT. Rad-Hard 512Kx8 Very Low Power CMOS SRAM ERRATA-SHEET. Active Errata List. Errata History. Abbreviations. 1.

AT60142H/HT. Rad-Hard 512Kx8 Very Low Power CMOS SRAM ERRATA-SHEET. Active Errata List. Errata History. Abbreviations. 1. AT60142H/HT Rad-Hard 512Kx8 Very Low Power CMOS SRAM ERRATA-SHEET Active Errata List 1. Reading Error Errata History Lot Number Errata List All AT60142H lots 1 All AT60142HT lots 1 Abbreviations ATE :

More information

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE Atmel QTouch QT3 Xplained Pro USER GUIDE Preface The Atmel QT3 Xplained Pro is an extension board, which enables the evaluation of a capacitive touch 12 key numpad in mutual capacitance configuration.

More information

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

EE4390 Microprocessors. Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System EE4390 Microprocessors Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System 1 Overview 68HC12 hardware overview Subsystems Memory System 2 68HC12 Hardware Overview "Copyright of Motorola,

More information