Generating DTMF Tones Using Z8 Encore! MCU
|
|
- Bennett Dickerson
- 5 years ago
- Views:
Transcription
1 Application Note Generating DTMF Tones Using Z8 Encore! MCU AN Abstract This Application Note describes how Zilog s Z8 Encore! MCU is used as a Dual-Tone Multi- (DTMF) signal encoder to generate DTMF tones. Z8 Encore! microcontrollers have built-in timers and direct memory access (DMA) with three independent channels (DMA0, DMA1, and DMA2). The timers have Pulse-Width Modulation (PWM) capability and the PWM register values are loaded using DMA. These features of Z8 Encore! are used to generate DTMF signals with less processor overhead. Note: The source code associated with this Application Note is available under Z8 Encore! Applications Library in Application Sample Libraries on Z8 Encore! Microcontrollers Z8 Encore! products are based on the ez8 CPU and introduce Flash memory to Zilog s extensive line of 8-bit microcontrollers. The Flash memory in-circuit programming capability allows faster development time and program changes in the field. The high-performance register-to-register based architecture of the ez8 core maintains backward compatibility with Zilog s popular Z8 MCU. Featuring ez8 CPU, the new Z8 Encore! microcontrollers combine a 20 MHz core with Flash memory, linear-register static random access memory (SRAM), and an extensive array of onchip peripherals. These peripherals make the Z8 Encore! MCU suitable for a variety of applications including motor control, security systems, home appliances, personal electronic devices, and sensors. Discussion This section discusses Dual-Tone Multi- (DTMF) basics and its implementation using microcontroller. DTMF is an international signaling standard for touch-tone telephones. The DTMF encoder encodes standard telephone digits into sum of sinusoid frequency pair corresponding to a frequency table. The DTMF decoder takes a digital signal as input and converts to the decoded digit. The DTMF standard developed by Bell Laboratories is used in touch-tone telephones and voice mail systems. Each telephone digit corresponds to High and Low tone that are transmitted simultaneously. Four frequencies in the High and Low group provide 16 possible combinations; 12 digits are used in most of the telephones and 4 digits are used in military applications. A DTMF detector must conform to the International Telecommunication Union (ITU) formerly known as International Telegraph and Telephone Consultative Committee (CCITT) recommendations. Table 1 lists the frequencies corresponding to each digit. Table 1. DTMF Table Low-Group Frequencies High-Group Frequencies A B C 941 * (E) 0 # (F) D Copyright 2008 by Zilog, Inc. All rights reserved.
2 Theory of Operation The DTMF tone is a combination of two sinusoids of different frequencies. Pulse-width modulation (PWM) method is the easiest and best way to generate a sine wave from a microcontroller. Sine Wave Generation Using PWM In PWM method, the duty cycle determines the amplitude of the sine wave and the number of samples determines the frequency of the sine wave. A sine wave is generated when the PWM output is passed through a low pass filter (LPF). To generate a DTMF tone, two timers in PWM mode are used for each frequency and their outputs are together passed through the LPF. Figure 1 displays the relation between signal frequency (1/T), sampling period (Ts), and number of samples (N). Ts Figure 1. Sine Wave Generation Using PWM From Figure 1, ( Number of samples (N)) ( Sampling Period (Ts)) = Signal Period (T) Therefore, N Fs = 1 F...(1) Fs = NF where, Fs is the sampling frequency and F is the signal frequency. PWM duty cycle registers are loaded using either of the following methods: Timer Interrupt Direct Memory Access Timer Interrupt In the Timer Interrupt method, the PWM registers are loaded at every timer interrupt (or as determined by the number of samples). The timer interrupts occur at the rate of the sampling frequency and servicing of these interrupts keeps the processor busy. Direct Memory Access In the Direct Memory Access (DMA) method, DMA is used to load PWM duty cycle register. The usage of DMA reduces the processor overhead. The user interface with this application provides a feature to calculate the processor overhead. For more information, see Testing on page 6. User application seamlessly integrates with the DTMF generation application as the DMA allows enough processing time for other application. AN Page 2 of 11
3 Lookup Table Formation The lookup table is used to load the PWM timer reload and duty cycle registers. The PWM duty cycle registers are loaded at the rate of the sampling frequency. For DTMF generation, sinusoids of different frequencies are required. A single lookup table is used for this purpose and the values are scaled to achieve the desired output frequency. Calculating Timer Reload Value The following example describes the method of obtaining PWM timer reload value for different frequencies. Let the base frequency be 697 Hz, the system clock be MHz, and samples per cycle be 104 s. The time period is calculated as, Tbase = = ms From Equation (1), N Ts = T Ts = T N == μs where, Ts is the time period of PWM. Therefore, the timer reload register value is calculated as, Reload = ( Ts System Clock Prescalar) == = 254 Reload = 0 FE (hexadecimal representation) This corresponds to a sampling frequency of khz (1/Ts). The time periods for all other frequencies are expressed as multiple of the time period of the base frequency. The multiplier values are scaled by 256 to avoid floating point operations. Using these multiplier values the timer reload value for other frequencies is calculated. Consider the example of 770 Hz signal. Time period = = ms In terms of the base signal, Multiplier value = Tbase = = The multiplier value is scaled by 256. Therefore, Multiplier value = = = 232 The timer reload value for this signal (expressed as a multiple of the base frequency) is given by, Timer reload value = ( ) 256 = 230 Therefore, the frequency is given by, F = System clock ( Number of samples Reload) = ( ) = Hz Percentage Error = ( ) = 0.073% Calculating PWM Values The PWM values are calculated as follows: The sine value corresponding to the samples is given by, sin( n) = sin( 2 π n N) AN Page 3 of 11
4 For example, for sin(10), sin( 2 π n N) = sin( 2 π ) = Note: One is added to all the sine values to make the sine value positive as negative PWM values are not acceptable. Therefore, sin( 2 π n N) = = Let the minimum PWM value be 15, then the corresponding PWM value is, PWM value = ( Timer reload value Minimum PWM value) 2 + Minimum PWM value = ( ) = 202 The PWM values are also scaled according to the multiplier before loading to the PWM registers. For example, for 770 Hz frequency, the multiplier value calculated above is 232. Therefore, the PWM value corresponding to sample 10 for 770 Hz is given by, PWM value = = 183 Note: For detailed calculations, refer to the spread sheet provided in the Application Sample Library on The spread sheet automatically calculates all the necessary values for a given number of samples, system clock, and timer prescale. AN Page 4 of 11
5 Developing the DTMF Encoder Using Z8 Encore! MCU Low Pass Filter Design The PWM outputs are passed through a LPF to demodulate and get the DTMF signal. A simple resistor-capacitor (RC) filter is used for this purpose. The RC values are calculated as follows: The maximum frequency in the DTMF signaling is 1633 Hz. For example, if the cut-off frequency (Fo) of an resistor-capacitor (RC) filter is 3000 Hz, then, Fo = 1 2 π RC Let C = 0.2 µf Therefore, R = 1 2 π = = 270 Ω 270 T1out (PC1) /\/\/\/\ T2out (PC7) /\/\/\/\ 270 Oscilloscope/Line in on PC 0.2 F GND Figure 2. Low Pass Filter Software Implementation This section describes the software to generate DTMF signals using timer and DMA of Z8 Encore! MCU. The input to the application is a digit whose DTMF signal is required. The index to the specific frequencies is obtained from the DTMF frequency table defined in sine_table.asm file. Each index refers to the multiplication factors for that frequency. The first value in the _SineTable is the timer compare value of the base frequency. The remaining values represent the first half of the sine wave. The second half is generated by the software as a mirror image of the first half. During operation, these values are transferred to the Timer PWM low register via DMA. The timer reload value is calculated by multiplying the base timer compare value with the multiplication factor. Only the most significant byte (MSB) is considered. For more information on the software flow, see the flow charts in Appendix B Flowcharts on page 9. Loading PWM Register Using DMA The DMA of Z8 Encore! is used to load the PWM registers. The Z8 Encore! XP F64XX Series DMA controller consists of three independent DMA channels (DMA0, DMA1, and DMA_ADC). DMA0 and DMA1 transfer data between the onchip peripherals and the register file. The third channel (DMA_ADC) controls the Analog-to- Digital Converter (ADC) operation and transfers SINGLE-SHOT mode ADC output data to the register file. In this application, Timer2 is associated with DMA0 to generate Low tone and Timer1 is tied to DMA1 to generate High tone. The source (start address) for the DMAs is the start address of the corresponding sine table. The sine tables thus formed are scaled and mirrored. The destination (peripheral) address of DMA0 and DMA1 are the PWM Low byte registers of Timer2 and Timer1 respectively. AN Page 5 of 11
6 Testing The source code present in the associated Application Sample Library consists of a console interface for demonstration of this application. Setup Figure 3 displays the setup for generation of DTMF tones using the Z8 Encore! MCU. JP2 J1 T1out T2out CONSOLE PC-HyperTerminal LPF Oscilloscope DBG Figure 3. Setup for Generation of DTMF Tones Using Z8 Encore! XP F64XX Series Development Board Equipments Used The equipments used for the setup are listed below: Z8 Encore! development kit featuring Z8F KIT development board ZDSII IDE Oscilloscope A PC equipped with HyperTerminal configured to the following settings: baud rate 8 data bits No parity One stop bit No flow control Procedure to Test the DTMF Application Follow the steps below to test the DTMF application: 1. Connect the external LPF to the timer outputs (see Figure 3). 2. Connect the console port output to the COM port configured with the HyperTerminal. 3. Install Z8 Encore! Applications Library available under Application Sample Libraries on 4. Launch ZDS II and open the DTMF.zdsproj project file located in the source folder. 5. Build and download the code to the Z8 Encore! development board. 6. Execute the code. The user interface routine prints a list of menu items in the HyperTerminal window. AN Page 6 of 11
7 7. Select the appropriate menu item and follow the instructions to generate the DTMF signals. Relevant APIs are called automatically and the DTMF signal is viewed on the oscilloscope. The DTMF signal can also be fed to the Line in on a PC and listened through the speaker output for demonstration purposes. Result The DTMF signals as well as the individual sine wave outputs are captured on the oscilloscope. Table 2 lists the percentage error in the output frequencies. Table 2. Percentage Error in the Output Frequencies Observed Low-Tone Expected Low-Tone Low-Tone Difference % Error in Low-Tone Observed High-Tone Expected High-Tone High-Tone Difference % Error in High-Tone Summary This Application Note provides a quick solution to generate DTMF tones using the DMA and timer feature set of the Z8 Encore! MCUs. The PWM mode of the timers combined with the DMA gives the flexibility to integrate the application that use tone generation as a subset. This method greatly reduces processor overhead compared to other microcontrollers where interrupts are used. References The documents associated with ez8 and Z8 Encore! XP available on are provided below: ez8 TM CPU User Manual (UM0128) Z8 Encore! XP F64XX Series Product Specification (PS0199) AN Page 7 of 11
8 Appendix A Glossary Table 3 lists the abbreviations and definitions used in this Application Note. Table 3. List of Abbreviations Abbreviation Definition API Application Programming Interface DBG Debug Pin-on Development Board DMA Direct Memory Access DTMF Dual-Tone Multi- LPF Low Pass Filter MCU Microcontroller Unit PWM Pulse-Width Modulation SRAM Static Random Access Memory AN Page 8 of 11
9 Appendix B Flowcharts Appendix B provides the flowchart for loading the sine table and PWM registers using DMA. The steps followed in the flowchart for loading the sine table (see Figure 4) are same for loading Low and High tone table. START Get the digit(s) whose DTMF is to be generated Calculate the index offset for DTMF frequency table Get the address of the multiplication factor Scale and transfer the timer compare value which determines the frequency of the output waveform Scale and transfer the half sine wave stored in the program space (ROM) to the RAM table. If the tone multiplication factor is 0, then the sine table values are not scaled. Mirror the calculated values for the second half of the sine wave END Figure 4. Flowchart for Loading the Sine Table AN Page 9 of 11
10 START Turn OFF Timer1, Timer2, DMA0, and DMA1 Load DMA start and end address (sine table address) Load DMA destination address (PWM registers) Load timer reload value Start DMA0 and DMA1 DTMF ON time elapsed No Yes Turn OFF Timer1, Timer2, DMA0, and DMA1 END Figure 5. Flowchart for Loading the PWM Registers Using DMA AN Page 10 of 11
11 Warning: DO NOT USE IN LIFE SUPPORT LIFE SUPPORT POLICY ZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION. As used herein Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness. Document Disclaimer 2008 by Zilog, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZILOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. Z8 Encore!, Z8 Encore! XP, and ez8 are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners. AN Page 11 of 11
Using Z8 Encore! XP MCU for RMS Calculation
Application te Using Z8 Encore! XP MCU for RMS Calculation Abstract This application note discusses an algorithm for computing the Root Mean Square (RMS) value of a sinusoidal AC input signal using the
More informationDTMF Signal Detection Using Z8 Encore! XP F64xx Series MCUs
DTMF Signal Detection Using Z8 Encore! XP F64xx Series MCUs AN033501-1011 Abstract This application note demonstrates Dual-Tone Multi-Frequency (DTMF) signal detection using Zilog s Z8F64xx Series microcontrollers.
More informationUsing the Z8 Encore! XP Timer
Application Note Using the Z8 Encore! XP Timer AN013104-1207 Abstract Zilog s Z8 Encore! XP microcontroller consists of four 16-bit reloadable timers that can be used for timing, event counting or for
More informationTechnique for Measuring System Temperature Using the On-chip Temperature Sensor of the Z8 Encore! XP
Technique for Measuring System Temperature Using the On-chip TN004201-0905 Introduction The Z8 Encore! XP is a high performance 8-bit microcontroller with a unique set of analog and digital peripherals,
More informationElectric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU
Application Note Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU AN026002-0608 Abstract This application note describes a controller for a 200 W, 24 V Brushless DC (BLDC) motor used to power
More informationCrystal Oscillator/Resonator Guidelines for ez80 and ez80acclaim! Devices
Technical Note Crystal Oscillator/Resonator Guidelines for TN001305-0307 General Overview ZiLOG s ez80 MPU and ez80acclaim! Flash microcontrollers feature on-chip oscillators for use with external crystals
More informationBLDC Motor Control on Z8FMC16 Series MCUs Using Sensored Sinusoidal PWM Modulation
MultiMotor Series BLDC Motor Control on Z8FMC16 Series MCUs Using Sensored Sinusoidal PWM Modulation AN036102-0114 Abstract This application note discusses the control of a 3-phase brushless BLDC motor
More informationAN3252 Application note
Application note Building a wave generator using STM8L-DISCOVERY Application overview This application note provides a short description of how to use the STM8L-DISCOVERY as a basic wave generator for
More informationA Unipolar Stepper Motor Drive Using the Z8 Encore! MCU
Application Note A Unipolar Stepper Motor Drive Using the Z8 Encore! MCU Abstract Stepper motors that feature unipolar drives are widely used in applications that require high torque loads and fast position
More informationAN3332 Application note
Application note Generating PWM signals using STM8S-DISCOVERY Application overview This application user manual provides a short description of how to use the Timer 2 peripheral (TIM2) to generate three
More informationProject Final Report: Directional Remote Control
Project Final Report: by Luca Zappaterra xxxx@gwu.edu CS 297 Embedded Systems The George Washington University April 25, 2010 Project Abstract In the project, a prototype of TV remote control which reacts
More informationDesigning with a Microcontroller (v6)
Designing with a Microcontroller (v6) Safety: In this lab, voltages are less than 15 volts and this is not normally dangerous to humans. However, you should assemble or modify a circuit when power is disconnected
More informationSampling and Quantization
University of Saskatchewan EE Electrical Engineering Laboratory Sampling and Quantization Safety The voltages used in this experiment are less than V and normally do not present a risk of shock. However,
More informationLab 5 Timer Module PWM ReadMeFirst
Lab 5 Timer Module PWM ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) Interrupt Vector Table 3) Pin out Summary 4) DriverLib API 5) SineTable Overview In this lab, we are going to use the output hardware
More informationAN2979 Application note
Application note Implementing a simple ADC using the STM8L101xx comparator Introduction This application note gives a simple method for implementing an A/D converter with a minimum amount of external components:
More informationAT15291: Migrating QTouch Designs from SAM D MCUs to SAM C MCUs. Scope. Features. QTouch APPLICATION NOTE
QTouch AT15291: Migrating QTouch Designs from SAM D MCUs to SAM C MCUs APPLICATION NOTE Scope This application note is a guide to assist users in migrating QTouch designs from Atmel SMART SAM D MCUs to
More informationServo Sequencer Servo Robot motion controller & General Purpose microcontroller board
Robot Construction Component Servo Sequencer Servo Robot motion controller & General Purpose microcontroller board The servo sequencer is in reality a general purpose reprogrammable microcontroller board
More informationAN2668 Application note
Application note Improving STM32F101xx and STM32F103xx ADC resolution by oversampling Introduction The STMicroelectronics Medium- and High-density STM32F101xx and STM32F103xx Cortex -M3 based microcontrollers
More informationAN4014 Application Note Adjustable LED blinking frequency using a potentiometer and STM8SVLDISCOVERY Application overview
Application Note Adjustable LED blinking frequency using a potentiometer and STM8SVLDISCOVERY Application overview Note: This document introduces a very simple application example which is ideal for beginners
More informationHigh Group Hz Hz. 697 Hz A. 770 Hz B. 852 Hz C. 941 Hz * 0 # D. Table 1. DTMF Frequencies
AN-1204 DTMF Tone Generator Dual-tone multi-frequency signaling (DTMF) was first developed by Bell Labs in the 1950 s as a method to support the then revolutionary push button phone. This signaling system
More informationAN2581 Application note
AN2581 Application note STM32F10xxx TIM application examples Introduction This application note is intended to provide practical application examples of the STM32F10xxx TIMx peripheral use. This document,
More informationAN4507 Application note
Application note PWM resolution enhancement through a dithering technique for STM32 advanced-configuration, general-purpose and lite timers Introduction Nowadays power-switching electronics exhibit remarkable
More informationZLS38503 Firmware for Voice Prompting and Messaging Firmware Manual
ZLS38503 Firmware for Voice Prompting and Messaging Firmware Manual Features Voice recording (messaging) and playback (voice prompting) DTMF receiver Tone Generator (preprogrammed DTMF + user defined tones)
More informationIowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives
Electrical and Computer Engineering E E 452. Electric Machines and Power Electronic Drives Laboratory #5 Buck Converter Embedded Code Generation Summary In this lab, you will design the control application
More informationLMH7324 High Speed Comparator Evaluation Board
LMH7324 High Speed Comparator Evaluation Board General Description This board is designed to demonstrate the LMH7324 quad comparator with RSPECL outputs. It will facilitate the evaluation of the LMH7324
More informationMicroprocessor & Interfacing Lecture Programmable Interval Timer
Microprocessor & Interfacing Lecture 30 8254 Programmable Interval Timer P A R U L B A N S A L A S S T P R O F E S S O R E C S D E P A R T M E N T D R O N A C H A R Y A C O L L E G E O F E N G I N E E
More informationUM0791 User manual. Demonstration firmware for the DMX-512 communication protocol receiver based on the STM32F103Zx. Introduction
User manual Demonstration firmware for the DMX-512 communication protocol receiver based on the STM32F103Zx Introduction This document describes how to use the demonstration firmware for the DMX-512 communication
More informationZ86116 CMOS Z8 PN MODULATOR WIRELESS CONTROLLER CUSTOMER PROCUREMENT SPECIFICATION FEATURES GENERAL DESCRIPTION Z86116 CP95WRL0501 PRELIMINARY
PRELIMINARY CUSTOMER PROCUREMENT SPECIFICATION CMOS Z8 PN MODULATOR WIRELESS CONTROLLER FEATURES ROM RAM* SPEED Part (Kbytes) (Kbytes) (MHz) 1 124 12 * General-Purpose 18-Pin DIP and SOIC Packages 3.0-
More informationDTMF Detection and Generation Virtual Peripheral Modules
DTMF Detection and Generation Virtual Peripheral Modules Application Note 41 August 2000 1.0 Preface This application note describes the methodology and the hardware/software needed to perform DTMF generation
More informationEE-4022 Experiment 2 Amplitude Modulation (AM)
EE-4022 MILWAUKEE SCHOOL OF ENGINEERING 2015 Page 2-1 Student objectives: EE-4022 Experiment 2 Amplitude Modulation (AM) In this experiment the student will use laboratory modules to implement operations
More informationAN1449 Application note
Application note ST6200C universal motor drive software Introduction This application note describes the software of a low-cost phase-angle motor control drive system based on an OTP version of the ST6200C
More informationNormal Oscillator Behavior (Device A) Figure 1. Normal Oscillator Behavior (Device A) ft = f0 1 + TC1 T T0
TEMPERATURE-COMPENSATED OSCILLATOR EXAMPLE 1. Introduction All Silicon Labs C8051F5xx MCU devices have an internal oscillator frequency tolerance of ±0.5%, which is rated at the oscillator s average frequency.
More informationRL78 Motor Control. YRMCKITRL78G14 Starter Kit. Renesas Electronics Europe. David Parsons Application Engineering Industrial Business Group.
RL78 Motor Control YRMCKITRL78G14 Starter Kit Renesas Electronics Europe David Parsons Application Engineering Industrial Business Group July 2012 Renesas MCU for 3-phase Motor Control Control Method Brushless
More informationM16C/26 APPLICATION NOTE. Using The M16C/26 Timer in PWM Mode. 1.0 Abstract. 2.0 Introduction
APPLICATION NOTE M16C/26 1.0 Abstract PWM or Pulse Width Modulation is useful in DC motor control, actuator control, synthesized analog output, piezo transducers, etc. PWM produces a signal of (typically)
More informationSlim Series SIR Top Look Transceiver
An Company ZHX1820 Slim Series SIR Top Look Transceiver Product Specification Copyright 2010 by Zilog, Inc. All rights reserved. www.zilog.com Warning: DO NOT USE IN LIFE SUPPORT LIFE SUPPORT POLICY ZILOG'S
More informationAP CANmotion. Evaluation Platform with BLDC Motor featuring XC886CM Flash Microcontroller Version 2007/10. Microcontrollers
Application Note, V1.0, April 2007 AP08060 CANmotion Evaluation Platform with BLDC Motor featuring XC886CM Flash Microcontroller Version 2007/10 Microcontrollers Edition 2007-04 Published by Infineon Technologies
More informationZKit-51-RD2, 8051 Development Kit
ZKit-51-RD2, 8051 Development Kit User Manual 1.1, June 2011 This work is licensed under the Creative Commons Attribution-Share Alike 2.5 India License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.5/in/
More informationLP3943/LP3944 as a GPIO Expander
LP3943/LP3944 as a GPIO Expander General Description LP3943/44 are integrated LED drivers with SMBUS/I 2 C compatible interface. They have open drain outputs with 25 ma maximum output current. LP3943 has
More informationRC Filters and Basic Timer Functionality
RC-1 Learning Objectives: RC Filters and Basic Timer Functionality The student who successfully completes this lab will be able to: Build circuits using passive components (resistors and capacitors) from
More informationCSCI1600 Lab 4: Sound
CSCI1600 Lab 4: Sound November 1, 2017 1 Objectives By the end of this lab, you will: Connect a speaker and play a tone Use the speaker to play a simple melody Materials: We will be providing the parts
More informationGeneral-Purpose OTP MCU with 14 I/O LInes
General-Purpose OTP MCU with 14 I/O LInes Product Specification PS004602-0401 PRELIMINARY ZiLOG Worldwide Headquarters 910 E. Hamilton Avenue Campbell, CA 95008 Telephone: 408.558.8500 Fax: 408.558.8300
More informationRX23T inverter ref. kit
RX23T inverter ref. kit Deep Dive October 2015 YROTATE-IT-RX23T kit content Page 2 YROTATE-IT-RX23T kit: 3-ph. Brushless Motor Specs Page 3 Motors & driving methods supported Brushless DC Permanent Magnet
More informationZNEO Z16F Series. High Performance Microcontrollers. Product Specification PS PRELIMINARY
High Performance Microcontrollers ZNEO Z16F Series PS022012-1113 PRELIMINARY Copyright 2013 Zilog, Inc. All rights reserved. www.zilog.com ZNEO Z16F Series ZNEO ii Warning: DO NOT USE THIS PRODUCT IN LIFE
More informationHello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its
Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its main features and the application benefits of leveraging
More informationCHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE
113 CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE 5.1 INTRODUCTION This chapter describes hardware design and implementation of direct torque controlled induction motor drive with
More informationEdition Published by Infineon Technologies AG Munich, Germany 2010 Infineon Technologies AG All Rights Reserved.
XC800 Family AP08110 Application Note V1.0, 2010-06 Microcontrollers Edition 2010-06 Published by Infineon Technologies AG 81726 Munich, Germany 2010 Infineon Technologies AG All Rights Reserved. LEGAL
More informationDEMO MANUAL DC961B LT1994 Low Noise, Low Distortion, Fully Differential Amplifier/Driver. Description
Description Demonstration circuit 9 features an LT 99, low noise, low distortion, fully differential amplifier. The LT99 is a high precision, very low noise, low distortion, fully differential input/output
More informationAN2679 Application note
Application note Smart inductive proximity switch Introduction The STEVAL-IFS006V inductive proximity switch demonstration board is designed based on the principle of metal body detection using the eddy
More information8-bit RISC Microcontroller. Application Note. AVR314: DTMF Generator
AVR314: DTMF Generator Features Generation of Sine Waves Using PWM (Pulse-Width Modulation) Combine Different Sine Waves to DTMF Signal Assembler and C High-level Language Code STK500 Top-Module Design
More informationUsing PWM Output as a Digital-to-Analog Converter on a TMS320C240 DSP APPLICATION REPORT: SPRA490
Using PWM Output as a Digital-to-Analog Converter on a TMS32C2 DSP APPLICATION REPORT: SPRA9 David M. Alter Technical Staff - DSP Applications November 998 IMPORTANT NOTICE Texas Instruments (TI) reserves
More informationMicrocontroller: Timers, ADC
Microcontroller: Timers, ADC Amarjeet Singh February 1, 2013 Logistics Please share the JTAG and USB cables for your assignment Lecture tomorrow by Nipun 2 Revision from last class When servicing an interrupt,
More informationEE445L Spring 2018 Final EID: Page 1 of 7
EE445L Spring 2018 Final EID: Page 1 of 7 Jonathan W. Valvano First: Last: This is the closed book section. Calculator is allowed (no laptops, phones, devices with wireless communication). You must put
More informationFlexTimer and ADC Synchronization
Freescale Semiconductor Application Note AN3731 Rev. 0, 06/2008 FlexTimer and ADC Synchronization How FlexTimer is Used to Synchronize PWM Reloading and Hardware ADC Triggering by: Eduardo Viramontes Systems
More informationBINARY AMPLITUDE SHIFT KEYING
BINARY AMPLITUDE SHIFT KEYING AIM: To set up a circuit to generate Binary Amplitude Shift keying and to plot the output waveforms. COMPONENTS AND EQUIPMENTS REQUIRED: IC CD4016, IC 7474, Resistors, Zener
More informationAN4062 Application note
Application note STM32F0DISCOVERY peripheral firmware examples Introduction This application note describes the peripheral firmware examples provided for the STM32F0DISCOVERY Kit. These ready-to-run examples
More informationLM48821 Evaluation Board User's Guide
National Semiconductor Application Note 1589 Kevin Hoskins May 2007 Quick Start Guide from the two amplifiers found on pins OUTR and OUTL, respectively. Apply power. Make measurements. Plug in a pair of
More informationM16C/26 APPLICATION NOTE. Using Timer A in One-Shot Mode. 1.0 Abstract. 2.0 Introduction
APPLICATION NOTE M16C/26 1.0 Abstract One-shot timers are commonly found in designs, as they are useful for debouncing switches, cleaning up sensor inputs, etc. Timer A on the M16C/26 can be configured
More informationAN2446 Application note
Application note STEVAL-IHT002V1 Intelligent thermostat for compressor based on ST7Ultralite MCU Introduction The STEVAL-IHT002V1 is a very low-cost evaluation board designed with the intent to replace
More information32-bit Microcontroller for Home
32-bit Microcontroller for Home Appliances This is a FUJITSU microcontroller adopting a 5V interface and a 32-bit RISC CPU as the core for application in high-function home appliances. MB91F479, the first
More informationDr. Cahit Karakuş ANALOG SİNYALLER
Dr. Cahit Karakuş ANALOG SİNYALLER Sinusoidal Waveform Mathematically it is represented as: Sinusoidal Waveform Unit of measurement for horizontal axis can be time, degrees or radians. Sinusoidal Waveform
More informationME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair. Overview
ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair Overview For this assignment, you will be controlling the light emitted from and received by an LED/phototransistor pair. There are many
More informationTHE PERFORMANCE TEST OF THE AD CONVERTERS EMBEDDED ON SOME MICROCONTROLLERS
THE PERFORMANCE TEST OF THE AD CONVERTERS EMBEDDED ON SOME MICROCONTROLLERS R. Holcer Department of Electronics and Telecommunications, Technical University of Košice, Park Komenského 13, SK-04120 Košice,
More informationXC83x AP Application Note. Microcontrollers. intouch Application Kit - Touch Sliders V1.0,
XC83x AP08129 Application Note V1.0, 2012-02 Microcontrollers Edition 2012-02 Published by Infineon Technologies AG 81726 Munich, Germany 2012 Infineon Technologies AG All Rights Reserved. LEGAL DISCLAIMER
More informationCPC9909EB. Hi-Brightness, Off-Line LED Driver Evaluation Board User s Guide INTEGRATED CIRCUITS DIVISION
CPC9909EB Hi-Brightness, Off-Line LED Driver Evaluation Board User s Guide Specifications Parameter Min Typ Max Unit Input Voltage AC - - 265 V rms DC 15-375 V DC Load Current - - 350 ma Efficiency - 90
More informationESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab
ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals
More informationADC Bit µp Compatible A/D Converter
ADC1001 10-Bit µp Compatible A/D Converter General Description The ADC1001 is a CMOS, 10-bit successive approximation A/D converter. The 20-pin ADC1001 is pin compatible with the ADC0801 8-bit A/D family.
More informationControlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.
PR10 Controlling DC Brush Motor using MD10B or MD30B Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended
More informationADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION
98 Chapter-5 ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION 99 CHAPTER-5 Chapter 5: ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION S.No Name of the Sub-Title Page
More informationTechnical Proposal for COMMON-ISDN-API. Version 2.0. Generic Tone Generator and Detector Support for Voice Applications. Extension.
Technical Proposal for COMMON-ISDN-API Version 2.0 Generic Tone Generator and Detector Support for Voice Applications Extension October 2007 Dialogic Corporation COPYRIGHT NOTICE AND LEGAL DISCLAIMER Fourth
More informationCDM10V programming user manual describes the COOLDIM_PRG_BOARD burner board usage, the UART protocol handling and the fusing details.
UM_201709_PL21_011 COOLDIM_PRG_BOARD About this document Scope and purpose CDM10V programming user manual describes the COOLDIM_PRG_BOARD burner board usage, the UART protocol handling and the fusing details.
More informationLab 13: Microcontrollers II
Lab 13: Microcontrollers II You will turn in this lab report at the end of lab. Be sure to bring a printed coverpage to attach to your report. Prelab Watch this video on DACs https://www.youtube.com/watch?v=b-vug7h0lpe.
More information75T2089/2090/2091 DTMF Transceivers
DESCRIPTION TDK Semiconductor s 75T2089/2090/2091 are complete Dual-Tone Multifrequency (DTMF) Transceivers that can both generate and detect all 16 DTMF tone-pairs. These ICs integrate the performance-proven
More information78A207 MFR1 Receiver DATA SHEET DESCRIPTION FEATURES OCTOBER 2005
DESCRIPTION The 78A207 is a single-chip, Multi-Frequency (MF) receiver that can detect all 15 tone-pairs, including ST and KP framing tones. This receiver is intended for use in equal access applications
More informationTS3003 Demo Board FEATURES COMPONENT LIST ORDERING INFORMATION. TS3003 Demo Board TS3003DB
FEATURES 5V Supply Voltage FOUT/PWMOUT Output Period: 40µs(25kHz) o RSET = 4.32MΩ PWMOUT Output Duty Cycle: o 75% with CPWM = 100pF PWMOUT Duty Cycle Reduction o 1MΩ Potentiometer Fully Assembled and Tested
More informationMotor Control using NXP s LPC2900
Motor Control using NXP s LPC2900 Agenda LPC2900 Overview and Development tools Control of BLDC Motors using the LPC2900 CPU Load of BLDCM and PMSM Enhancing performance LPC2900 Demo BLDC motor 2 LPC2900
More informationMAE106 Laboratory Exercises Lab # 1 - Laboratory tools
MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,
More informationLifetime Power Energy Harvesting Development Kit for Wireless Sensors User s Manual - featuring PIC MCU with extreme Low Power (XLP) Technology
P2110-EVAL-01 Lifetime Power User s Manual - featuring PIC MCU with extreme Low Power (XLP) Technology Overview The Lifetime Power is a complete demonstration and development platform for creating battery-free
More informationFirmware plugin for STSW-ESC001V1 board with ST Motor Control FOC SDK
User manual Firmware plugin for STSW-ESC001V1 board with ST Motor Control FOC SDK Introduction The STSW-ESC001V1 firmware package for the STEVAL-ESC001V1 board includes the application code to support
More informationDual FOC Servo Motor Control on i.mx RT
NXP Semiconductors Document Number: AN12200 Application Note Rev. 0, 06/2018 Dual FOC Servo Motor Control on i.mx RT 1. Introduction This application note describes the dual servo demo with the NXP i.mx
More informationHello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs.
Hello and welcome to this Renesas Interactive Course that provides an overview of the timers found on RL78 MCUs. 1 The purpose of this course is to provide an introduction to the RL78 timer Architecture.
More informationPHYTER 100 Base-TX Reference Clock Jitter Tolerance
PHYTER 100 Base-TX Reference Clock Jitter Tolerance 1.0 Introduction The use of a reference clock that is less stable than those directly driven from an oscillator may be required for some applications.
More informationAN4112 Application note
Application note Using STM32F05xx analog comparators in application cases Introduction This document describes six application cases of the two analog comparators embedded in the ultra-low power STM32F05xx
More informationApplication description AN1014 AM 462: processor interface circuit for the conversion of PWM signals into 4 20mA (current loop interface)
his article describes a simple interface circuit for the conversion of a PWM (pulse width modulation) signal into a standard current signal (4...0mA). It explains how a processor is connected up to the
More informationMB1503. LOW-POWER PLL FREQUENCY SYNTHESIZER WITH POWER SAVE FUNCTION (1.1GHz) Sept Edition 1.0a DATA SHEET. Features
Sept. 1995 Edition 1.0a MB1503 DATA SHEET LOW-POWER PLL FREQUENCY SYNTHESIZER WITH POWER SAVE FUNCTION (1.1GHz) The Fujitsu MB1503 is a serial input phase-locked loop (PLL) frequency synthesizer with a
More informationMICROCONTROLLER TUTORIAL II TIMERS
MICROCONTROLLER TUTORIAL II TIMERS WHAT IS A TIMER? We use timers every day - the simplest one can be found on your wrist A simple clock will time the seconds, minutes and hours elapsed in a given day
More informationCD22202, CD V Low Power DTMF Receiver
November 00 OBSOLETE PRODUCT NO RECOMMDED REPLACEMT contact our Technical Support Center at 1--TERSIL or www.intersil.com/tsc CD0, CD0 5V Low Power DTMF Receiver Features Central Office Quality No Front
More informationFigure 1. C805193x/92x Capacitive Touch Sense Development Platform
CAPACITIVE TOUCH SENSE SOLUTION RELEVANT DEVICES The concepts and example code in this application note are applicable to the following device families: C8051F30x, C8051F31x, C8051F320/1, C8051F33x, C8051F34x,
More informationPart VI: Requirements for Integrated Services Digital Network Terminal Equipment
Issue 9, Amendment 1 September 2012 Spectrum Management and Telecommunications Compliance Specification for Terminal Equipment, Terminal Systems, Network Protection Devices, Connection Arrangements and
More informationUniversity of Florida EEL 3744 Fall 2017 Dr. Eric M. Schwartz Electrical and Computer Engineering Dept. Revision 3 1-Nov-17 Page 1/7
Page 1/7 OBJECTIVES Learn how to use C (as an alternative to Assembly) in your programs. Learn how to use an analog-to-digital conversion (ADC, also known as A/D) system. Use the ADC on your XMEGA to sample
More informationAN4379 Application note
Application note SPC56L-Discovery Software examples Introduction This software package includes several firmware examples for SPC56L-Discovery Kit. These ready-to-run examples are provided to help the
More informationUM1763 User manual. Description of STLUX385A examples kit. Introduction. Reference documents
User manual Description of STLUX385A examples kit Introduction This user manual provides complete information for SW developers about a set of guide examples useful to get familiar developing applications
More informationDriving 2W LEDs with ILD4120
Application Note AN270 Revision: 0.4 Date: LED Driver & AF Discretes Edition 2011-09-13 Published by Infineon Technologies AG 81726 Munich, Germany 2011 Infineon Technologies AG All Rights Reserved. LEGAL
More informationAN3116 Application note
Application note STM32 s ADC modes and their applications Introduction STM32 microcontrollers have one of the most advanced ADCs on the microcontroller market. You could imagine a multitude of applications
More informationLABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17
LABORATORY 4 ASSIGNED: 3/21/17 OBJECTIVE: The purpose of this lab is to evaluate the transient and steady-state circuit response of first order and second order circuits. MINIMUM EQUIPMENT LIST: You will
More informationImproving feedback current accuracy when using H-Bridges for closed loop motor control
NXP Semiconductors Application Note Document Number: AN5212 Rev. 1.0, 7/2016 Improving feedback accuracy when using H-Bridges for closed loop motor control 1 Introduction Many applications use DC motors
More informationLB1945D. PWM Current Control Stepping Motor Driver
Ordering number : EN7633A Monolithic Digital IC PWM Current Control Stepping Motor Driver http://onsemi.com Overview The is a PWM current control stepping motor driver that uses a bipolar drive technique.
More informationVORAGO Timer (TIM) subsystem application note
AN1202 VORAGO Timer (TIM) subsystem application note Feb 24, 2017, Version 1.2 VA10800/VA10820 Abstract This application note reviews the Timer (TIM) subsystem on the VA108xx family of MCUs and provides
More informationSuccessive approximation (capacitive coupling amplifier)
APPLICATION NOTE M16C/26 1.0 Abstract The following document outlines the steps necessary to setup, perform and read a single sweep conversion using the onboard analog to digital converter (ADC) of the
More informationDTMF receiver for telephones
DTMF receiver for telephones The is a DTMF receiver ICs developed for use in telephone answering machines, and converts 16 different types of DTMF signals into 4-bit binary serial data. It features a wide
More informationMAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide
MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide Rev 0; 7/14 For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit
More information