EE251: Thursday October 25

Size: px
Start display at page:

Download "EE251: Thursday October 25"

Transcription

1 EE251: Thursday October 25 Review SysTick (if needed) General-Purpose Timers A Major Topic in ECE251 An entire section (11) of the TM4C Data Sheet Basis for Lab #8, starting week after next Homework #5 Due today 4 pm Do Lab #6 (A/D) this week. Lab #5 due this week Lab 7 (SysTick/Interrupts) is a one-week lab next week-pretty straightforward using supplied code. Lecture #20 1

2 Tutorial: Engineering Notation Big Idea: Express numbers as values between 1 and 999 with base 10 exponents that are multiples of 3 and using appropriate exponent labels 10-3 (milli or m) 10-6 (micro or µ) 10-9 (nano or n) (pico or p) 10 3 (kilo or K) 10 6 (mega or M) 10 9 (giga or G) (tera or T) Examples:.01 amps 10 milliamps or 10 ma 24*10 2 volts 2.4 kilovolts or 2.4 kv 0.8 MHz 800 KHz 4.5*10-5 seconds 45 microseconds or 45 µsec. $21,663,647,191 = terrabucks (current US National debt) A few exceptions common sense. When including other numbers similar in size, it is OK to have numbers smaller than 1 or larger than 1000 Current limit choices: 0.8 ma, 1.6 ma, 5 ma, 20 ma Frequencies tested: 150 MHz, 300 MHz, 500 MHz, 800 MHz, 1200 MHz In tables where putting units within the table entry itself is clumsy We will use engineering notation for the rest of ECE 251. Why? Good practice Aids in creating intuition about sizes of numbers. E.g. 2.5 *10 7 Hz is easier understood as 25 MHz Or 10-4 amp as 100 µa or even 0.1 ma You ll be expected to use these from now on in ECE251. Lecture #20 2

3 General-Purpose Timer Module (GPTM) Input Capture: Allows the characteristic of a digital input signal to be measured. For example, our processor can be programmed to measure parameters of an input pulse train, such as pulse length, frequency, period, and duty cycle Output: Allows generation of a digital output signal or signals to user specification, including individual pulses, pulse trains, and square waves Pulse Count: Counts Pulse edges over some time period You need to understand all the fundamental capabilities of GPTM, as described above Lecture #20 3

4 Fundamental Pulse Timing Concepts V DD 0 v. Rising Edge Pulse Length Trailing Edge Positive Assertion Pulse On-time Period Off time Frequency (Hz) = 1/Period (sec.) For positive assertion pulse train: Duty Cycle = On-time/Period * 100% Or, for negative assertion pulse train: Duty Cycle = Off-time/Period * 100% Lecture #20 4

5 GPTM Channels GPTM contains six complete, individual 16/32-bit dualfunction input-capture/output channels and six complete, individual 31/64-bit dual-function inputcapture/output channels Each of channels can be configured for either input capture or output operations The input-capture/output pins use various GPIO port pins, which must be configured (see table following) In addition to input-capture and output, GPTM contains an Edge Count capability We ll discuss each of these capabilities in turn. Lab #8 includes each of these capabilities. Lecture #20 5

6 Channels Individually Configurable Each of the Channels mentioned previously can be configured in any of the following modes: One shot: Channel Counter counts up (down) to (from) a specific value one time, giving a fixed time interval Periodic: Same as one shot, but counter counts these intervals repetitively Edge Time: Starts counting when timer is enabled and detects an edge on a pulse signal, saving the count value at that time Edge Count: Counts number of edges on pulse signal and saves that value PWM: Simple Pulse Width Modulation Mode, where counter is a 24 or 48 bit down-counter with a start value that defines the signal s period The following slides will show how these configurations are used for the various timing capabilities mentioned. Lecture #20 6

7 Block Diagram of Each Channel Lecture #20 7

8 Channel Inputs and Outputs Lecture #20 8

9 Timer Clocks within each Channel Lecture #20 9

10 Free Running Up/Down Timer Registers Lecture #20 10

11 Timer Functionality Note from previous Timer Channel Block Diagrams that there are 2 sets of all Timer hardware in each channel, called Timer A and Timer B, e.g. GPTMTAR and GPTMTBR are the names of the two timer registers. These can be used independently to double the number of effective channels, or their counter registers can be combined to create a 64-bit counter. In ECE251 we will use just the 32-bit counter version to make our task easier, but the full capability of the Timer Channel is explained in the TM4C Data Sheet, Section 11. Lecture #20 11

12 Channel Timer Clock Based on Bus Clock, with a programmable prescaling divider (GPTMTAPR) into a a free-running 16-bit up counter register, GPTMTAR. The frequency of the channel clock is given by: The Prescaler is 8 bits, with a value between 0 and 255, so the channel clock frequency can be programmed between 16 Mhz and 62.5 KHz based on the application s need for resolution vs. total time of data collection. While many configurations of these counter register, prescaling divider, and counting up/down are possible, we will simplify the task by using the configuration described above. Lecture #20 12

13 Table of Some Prescaler Values GPTMTAR [7:0] PR[7:0] This table assumes Bus Clock is 16 MHz: Channel Ck Period Wraparound Time Prescale Factor nsec msec nsec msec nsec msec nsec msec nsec msec nsec msec nsec msec µsec sec 256 Lecture #20 13

14 Some Practice with Channel Timer Clock If the prescaler bits are 2_ , the prescaler divisor is 9+1=10, which means only one Channel Timer Clock pulse is provided to the free-running counter for every 10 Bus Clock pulses. For our system, the Channel Timer Clock frequency would then be 16 MHz/10 = and Timer register wraparound time (period) would be. What if f CL_BUS = 80 MHz and prescaler has value 127? f CL_CH = Timer Register Period = Other values or questions? Lecture #20 14

15 Measuring Signal Pulse Width Special hardware allows the GPTM to capture the free running counter value on the rising or falling edge of the signal under analysis. This signal is connected to a GPIO pin associated with the particular channel in use. See next slide. To measure a pulse width, a rising edge counter value is captured, followed by the following falling edge counter value. The pulse width is computed as: PW = (CNT FE CNT RE ) * Channel_Clock_Period For example if GPTM capture GPTMTAR=124 on a signal s rising edge and GPTMTAR=521 on it s next falling edge, and f CK_CH = 500 KHz, then PW = ( )*2 µsec = 794 µsec. Lecture #20 15

16 Measuring Signal Period To measure the period, a rising edge counter value is captured, followed by the following rising edge counter value. The period is computed as: Period = (CNT RE2 CNT RE1 ) * Clock_Period For example if GPTM capture GPTMTAR=124 on the same signal s rising edge and GPTMTAR=1268 on it s next rising edge, then Period = ( )*2 µsec = 2,288 µsec. = msec Duty_Cycle = (794 µsec / 2,288 µsec)*100% = 34.7% What if we made 3 measurements on a signal, using a 250 KHz Channel clock and found: CNT RE1 =45, CNT FE =95, and CNT RE2 =295. What are the period, frequency, pulse width, and duty cycle of this signal? Lecture #20 16

17 Channel Clock Frequency Choice RESOLUTION of measurements are no better than channel clock period: faster clocks better resolution Wraparound time of channel clock determines SLOWEST signal which can be measured or does it? Wraparound can trigger an interrupt. Could this be used? But, messing with interrupts is a bother and error prone Usually a reasonable tradeoff can be made between resolution and signal period by a good choice of prescaler value AND other choices are available to users of GPTM with more complex initialization routines (in ARM documentation but we won t cover them in class) 64-bit counter 8 bit prescaler values Up to 80 MHz Bus Clock With GPTM you can create measurements that have 12.5ns resolution on signals that have periods of! Lecture #20 17

18 Wraparound Computation and Engineering Unit Practice 12.5ns * 2 64 = 12.5 * 2 4 * 2 60 nsec = 12.5 * 16 * (1.024) 6 * * 10-9 sec = * 10 9 sec = G sec * 10 9 / 60 = 3.84 * 10 9 min = 3.84 G min 3.84 * 10 9 / 60 = * 10 6 hr = M hr * 10 6 /24 = * 10 6 days = M days * 10 6 / = * 10 3 years = 7.3 K years 7,307 years or over 7.3 millenia Lecture #20 18

19 Timer Use of GPIO Pins Lecture #20 19

20 Selecting a GPIO Pin for GPTM I/O Remember the GPIO Register AFSEL? It s Alternative Function Select and that s what we use here It s active bits are 7:0. If a bit is clear, the associated pin is used as a GPIO and is controlled by the GPIO registers. If a bit is set, it configures the corresponding GPIO pin to be controlled by an associated peripheral. Several possible peripheral functions are multiplexed on each GPIO. See some of these alternate functions on the next slide. Choosing from the multiple options (up to 15) is done using the GPIO Port Control Register (GPIOPCTL). This register has eight 4-bit fields, each of which contains the alternate function for its associated pin: For details search for AFSEL and GPIOCTL in TM4C Data Sheet Lecture #20 20

21 Some GPIO Pins & Their Alternate Use Lecture #20 21

22 Key Registers associated with GPTM First, several GPIO Registers are needed to associate GPIO Pins with GPTM signals (input and output): GPIO DIR, DEN, GPTM is a Register Hog: too many to describe completely here, but more are documented in Lab #8 and all are well documented in the TM4C Data Sheet. Here are some key ones: GPTM Configuration Register (TIMERn_CFG or GPTMCFG) Disables/enables each channel separately Prescaling divider (TIMERn_TAPR or GPTMAPR) Divides Bus Clock frequency; described earlier Counter register (TIMERn_TAR or GPTMTAR) Register containing current clock count; described earlier GPT Run Mode Clock Gating Control (SYSCTL_RCGCTIMER) Used for powering up each channel separately GPTM Control Register (TIMERn_CTL or GPTMCTL) Disables/enables each channel separately Lecture #20 22

23 More Key GPTM Registers GPTM Timer A Mode Register (TIMER0_TAMR or GPTMTAMR) Determines whether channel has a one shot counter (doesn t repeat, a periodic counter, or is used to capture signal edges GPTM Interval Load Register (TIMER0_TAILR or GPTMTAILR) Contains 16-bit value that counter will count up to or down from, usually but not necessarily 0xFFFF GPTM Timer A Match Register (TIMER0_TAMATCHR or GPTMTAMATCHR) Used for Matching Counter with a fixed value in creating signals Several Interrupt Registers, to be discussed later Don t fret, Don t panic! We ll discuss the key registers you need to use and will have example code showing how to set up programs to do key GPTM tasks. Lecture #20 23

24 About the Names of GPTM Registers The Assembly files we use from TI, including a complete set of I/O register names in one useful file, starts with the characters TIMERn_ where n is the timer channel number, e.g. TIMER0_CTL These names are used in our lab example code and in many online TI and University of Texas files The file of register names, tm4c123gh6pm.s, is online Our TM4C Data Sheet Bible starts the names with the characters GPTM, e.g. GPTMCTL. We will use the Assembly file name, but keep these equivalences in mind as you read through the data sheet. Lecture #20 24

25 Names of Some GPTM Registers Taken from TI s file tm4c123gh6pm.s ;********************************************************** ; ; Timer registers (TIMER0) ; ;********************************************************** TIMER0_CFG_R EQU 0x TIMER0_TAMR_R EQU 0x TIMER0_TBMR_R EQU 0x TIMER0_CTL_R EQU 0x C TIMER0_SYNC_R EQU 0x TIMER0_IMR_R EQU 0x TIMER0_RIS_R EQU 0x C TIMER0_MIS_R EQU 0x TIMER0_ICR_R EQU 0x TIMER0_TAILR_R EQU 0x TIMER0_TBILR_R EQU 0x C TIMER0_TAMATCHR_R EQU 0x TIMER0_TBMATCHR_R EQU 0x ;********************************************************** TIMER0_TAPR_R EQU 0x TIMER0_TBPR_R EQU 0x C TIMER0_TAPMR_R EQU 0x TIMER0_TBPMR_R EQU 0x TIMER0_TAR_R EQU 0x TIMER0_TBR_R EQU 0x C TIMER0_TAV_R EQU 0x TIMER0_TBV_R EQU 0x TIMER0_RTCPD_R EQU 0x TIMER0_TAPS_R EQU 0x C TIMER0_TBPS_R EQU 0x TIMER0_TAPV_R EQU 0x TIMER0_TBPV_R EQU 0x TIMER0_PP_R EQU 0x40030FC0 Lecture #20 25

26 Using Timer System to Measure Pulse Signals To measure a pulse signal, we need an input timer pin and we need to choose one of the Timer Channels available to us. Let s choose Timer Channel 0, Module A. We already know this uses Port B, pin 6 for its input signal. The GPTM mode used for this measurement is the Edge Time mode, in which the channel clock is free running (we will choose down-counting) and a snapshot is taken of it s value when the desired edge of the input signal is sensed. We will also choose the 16-bit timer mode for simplicity. The following slide shows which registers and bits we must set. Lecture #20 26

27 Using Timer System to Measure Pulse Signals In the CFG register, set value to 0x4 for 16-bit mode In the MR register, set the TACMR bit for edge time mode, set TAMR bits to 0x3 for capture, and TACDIR to 0 to count down. In the CTL register, we set TAEVENT bits to 0x3 to capture both rising and falling edges for this example. In a lab project, you would choose the appropriate edge for collecting the next measurement. First a rising edge and then a falling edge to capture a pulse width Two sequential edges of same shape to capture a period Rising, then falling, then rising edge to capture pulse width and period Details of all this in next lecture Lecture #20 27

28 Summary Introduction to TIMER Module for capabilities such as Input Capture, Output, and Pulse Count GPTM Channels and their specific capabilities Setting and using the Channel Timer Clock, including prescaling Next Lecture Specific of signal measurement, including channels, initialization of Timer Module, and capture algorithm Creating Pulse Trains using TIMER Module As time allows: Using TIMER Module for counting pulses Lecture #20 28

ECE251: Tuesday October 3 0

ECE251: Tuesday October 3 0 ECE251: Tuesday October 3 0 Timer Module Continued Review Pulse Input Characterization Output Pulses Pulse Count Capture Homework #6 due Thursday Lab 7 (Maskable Interrupts/ SysTick Timer) this week. Significant

More information

ECE251 Intro to Microprocessors Final Exam July 6 th, 2017

ECE251 Intro to Microprocessors Final Exam July 6 th, 2017 ECE251 Intro to Microprocessors Final Exam July 6 th, 2017 Name: Solution Instructions: Two sides of single page handwritten study sheet OK. Arithmetic-only calculator OK. No books, other notes, etc. Do

More information

Topics Introduction to Microprocessors

Topics Introduction to Microprocessors Topics 2244 Introduction to Microprocessors Chapter 8253 Programmable Interval Timer/Counter Suree Pumrin,, Ph.D. Interfacing with 886/888 Programming Mode 2244 Introduction to Microprocessors 2 8253/54

More information

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

Hardware Flags. and the RTI system. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff Hardware Flags and the RTI system 1 Need for hardware flag Often a microcontroller needs to test whether some event has occurred, and then take an action For example A sensor outputs a pulse when a model

More information

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes Purpose The intent of this course is to provide you with information about the main features of the S08 Timer/PWM (TPM) interface module and how to configure and use it in common applications. Objectives

More information

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources

Lecture #4 Outline. Announcements Project Proposal. AVR Processor Resources October 11, 2002 Stanford University - EE281 Lecture #4 #1 Announcements Project Proposal Lecture #4 Outline AVR Processor Resources A/D Converter (Analog to Digital) Analog Comparator Real-Time clock

More information

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff PWM System 1 Pulse Width Modulation (PWM) Pulses are continuously generated which have different widths but the same period between leading edges Duty cycle (% high) controls the average analog voltage

More information

VORAGO Timer (TIM) subsystem application note

VORAGO 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 information

µtasker Document µtasker Hardware Timers

µtasker Document µtasker Hardware Timers Embedding it better... µtasker Document utaskerhwtimers.doc/0.07 Copyright 2016 M.J.Butcher Consulting Table of Contents 1. Introduction...3 2. Timer Control Interface...3 3. Configuring a Single-Shot

More information

Part 1: DC Concepts and Measurement

Part 1: DC Concepts and Measurement EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 1 DC Concepts and Measurement: Ohm's Law, Voltage ad Current Introduction to Analog Discovery Scope Last week we introduced

More information

LM4: The timer unit of the MC9S12DP256B/C

LM4: The timer unit of the MC9S12DP256B/C Objectives - To explore the Enhanced Capture Timer unit (ECT) of the MC9S12DP256B/C - To program a real-time clock signal with a fixed period and display it using the onboard LEDs (flashing light) - To

More information

Microprocessor & Interfacing Lecture Programmable Interval Timer

Microprocessor & 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 information

High Resolution Pulse Generation

High Resolution Pulse Generation High Resolution Pulse Generation An Application Note for the NS9360 Processor www.digi.com 90001138 2009 Digi International Inc. All Rights Reserved. Digi, Digi International, and the Digi logo are trademarks

More information

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones

CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones CprE 288 Introduction to Embedded Systems (Output Compare and PWM) Instructors: Dr. Phillip Jones 1 Announcements HW8: Due Sunday 10/29 (midnight) Exam 2: In class Thursday 11/9 This object detection lab

More information

EE251: Tuesday October 10

EE251: Tuesday October 10 EE251: Tuesday October 10 Analog to Digital Conversion Text Chapter 20 through section 20.2 TM4C Data Sheet Chapter 13 Lab #5 Writeup Lab Practical #1 this week Homework #4 is due on Thursday at 4:30 p.m.

More information

Microcontroller: Timers, ADC

Microcontroller: 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 information

EE445L Spring 2018 Final EID: Page 1 of 7

EE445L 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 information

EE251: Thursday October 18

EE251: Thursday October 18 EE251: Thursday October 18 Analog to Digital Conversion Continued Successive Approximation Method Continued Computations TM4C A/D Capability and Programming Homework #4 due today 4 p.m. Lab #6 (A/D Converter)

More information

Hello 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. 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 information

STELLARIS ERRATA. Stellaris LM3S8962 RevA2 Errata

STELLARIS ERRATA. Stellaris LM3S8962 RevA2 Errata STELLARIS ERRATA Stellaris LM3S8962 RevA2 Errata This document contains known errata at the time of publication for the Stellaris LM3S8962 microcontroller. The table below summarizes the errata and lists

More information

Switch/ Jumper Table 1-1: Factory Settings Factory Settings (Jumpers Installed) Function Controlled Activates pull-up/ pull-down resistors on Port 0 digital P7 I/O lines Activates pull-up/ pull-down resistors

More information

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss Grundlagen Microcontroller Counter/Timer Günther Gridling Bettina Weiss 1 Counter/Timer Lecture Overview Counter Timer Prescaler Input Capture Output Compare PWM 2 important feature of microcontroller

More information

Timer A. Last updated 8/7/18

Timer A. Last updated 8/7/18 Last updated 8/7/18 Advanced Timer Functions Output Compare Sets a flag and/or creates an interrupt when the counter value matches a value programmed into a separate register Input Capture Captures the

More information

ECE251 Intro to Microprocessors Final Exam July 6 th, 2017

ECE251 Intro to Microprocessors Final Exam July 6 th, 2017 ECE251 Intro to Microprocessors Final Exam July 6 th, 2017 Name: Instructions: Open note, open book. Use a calculator. No internet or discussion with your neighbor. Work all problems and show ALL intermediate

More information

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li

EEL 4744C: Microprocessor Applications Lecture 8 Timer Dr. Tao Li EEL 4744C: Microprocessor Applications Lecture 8 Timer Reading Assignment Software and Hardware Engineering (new version): Chapter 14 SHE (old version): Chapter 10 HC12 Data Sheet: Chapters 12, 13, 11,

More information

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications

Reading Assignment. Timer. Introduction. Timer Overview. Programming HC12 Timer. An Overview of HC12 Timer. EEL 4744C: Microprocessor Applications Reading Assignment EEL 4744C: Microprocessor Applications Lecture 8 Timer Software and Hardware Engineering (new version): Chapter 4 SHE (old version): Chapter 0 HC Data Sheet: Chapters,,, 0 Introduction

More information

8253 functions ( General overview )

8253 functions ( General overview ) What are these? The Intel 8253 and 8254 are Programmable Interval Timers (PITs), which perform timing and counting functions. They are found in all IBM PC compatibles. 82C54 which is a superset of the

More information

Experiment # 1 Introduction to Lab Equipment

Experiment # 1 Introduction to Lab Equipment Experiment # 1 Introduction to Lab Equipment 1. Synopsis: In this introductory lab, we will review the basic concepts of digital logic design and learn how to use the equipment available in the laboratory.

More information

Using the Z8 Encore! XP Timer

Using 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 information

First Optional Homework Problem Set for Engineering 1630, Fall 2014

First Optional Homework Problem Set for Engineering 1630, Fall 2014 First Optional Homework Problem Set for Engineering 1630, Fall 014 1. Using a K-map, minimize the expression: OUT CD CD CD CD CD CD How many non-essential primes are there in the K-map? How many included

More information

JTAG pins do not have internal pull-ups enabled at power-on reset. JTAG INTEST instruction does not work

JTAG pins do not have internal pull-ups enabled at power-on reset. JTAG INTEST instruction does not work STELLARIS ERRATA Stellaris LM3S2110 RevA2 Errata This document contains known errata at the time of publication for the Stellaris LM3S2110 microcontroller. The table below summarizes the errata and lists

More information

EE 308 Lab Spring 2009

EE 308 Lab Spring 2009 9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width

More information

EE445L Fall 2014 Quiz 2A Page 1 of 5

EE445L Fall 2014 Quiz 2A Page 1 of 5 EE445L Fall 2014 Quiz 2A Page 1 of 5 Jonathan W. Valvano First: Last: November 21, 2014, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,

More information

PIC ADC to PWM and Mosfet Low-Side Driver

PIC ADC to PWM and Mosfet Low-Side Driver Name Lab Section PIC ADC to PWM and Mosfet Low-Side Driver Lab 6 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage

More information

Page 1. So Far. Usage Examples. Input Capture Basics. Familiar with CS/ECE 6780/5780. Al Davis. Trigger interrupts on rising/falling/both edges

Page 1. So Far. Usage Examples. Input Capture Basics. Familiar with CS/ECE 6780/5780. Al Davis. Trigger interrupts on rising/falling/both edges So Far CS/ECE 6780/5780 Al Davis Today s topics: Input capture particular focus on timing measurements useful for 5780 Lab 7 Familiar with threads, semaphores, & interrupts Now move on to capturing edge

More information

Lecture 12 Timer Functions

Lecture 12 Timer Functions CPE 390: Microprocessor Systems Spring 2018 Lecture 12 Timer Functions Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ 07030 Adapted from HCS12/9S12

More information

Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives

Iowa 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 information

Tools of Algebra. Chapter 1:

Tools of Algebra. Chapter 1: Chapter 1: Tools of Algebra Using algebraic formulas requires skill with all types of numbers (negatives, fractions and decimals), an understanding of measurements for lengths and angles, familiarity with

More information

css Custom Silicon Solutions, Inc.

css Custom Silicon Solutions, Inc. css Custom Silicon Solutions, Inc. GENERAL PART DESCRIPTION The is a micropower version of the popular timer IC. It features an operating current under µa and a minimum supply voltage of., making it ideal

More information

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

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 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 information

OBSOLETE. Bus Compatible Digital PWM Controller, IXDP 610 IXDP 610

OBSOLETE. Bus Compatible Digital PWM Controller, IXDP 610 IXDP 610 Bus Compatible Digital PWM Controller, IXDP 610 Description The IXDP610 Digital Pulse Width Modulator (DPWM) is a programmable CMOS LSI device which accepts digital pulse width data from a microprocessor

More information

Timer 0 Modes of Operation. Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode

Timer 0 Modes of Operation. Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode Timer 0 Modes of Operation Normal Mode Clear Timer on Compare Match (CTC) Fast PWM Mode Phase Corrected PWM Mode PWM - Introduction Recall: PWM = Pulse Width Modulation We will mostly use it for controlling

More information

CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE

CHAPTER-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 information

Motor Control using NXP s LPC2900

Motor 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 information

QUARTZ-MM PC/104 Counter/Timer & Digital I/O Module

QUARTZ-MM PC/104 Counter/Timer & Digital I/O Module QUARTZ-MM PC/104 Counter/Timer & Digital I/O Module User Manual V1.5 Copyright 2001 Diamond Systems Corporation 8430-D Central Ave. Newark, CA 94560 Tel (510) 456-7800 Fax (510) 45-7878 techinfo@diamondsystems.com

More information

FR FAMILY MB91460 PROGRAMMABLE PULSE GENERATOR 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

FR FAMILY MB91460 PROGRAMMABLE PULSE GENERATOR 32-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note Fujitsu Microelectronics Europe Application Note MCU-AN-300061-E-V11 FR FAMILY 32-BIT MICROCONTROLLER MB91460 PROGRAMMABLE PULSE GENERATOR APPLICATION NOTE Revision History Revision History Date Issue

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

MICROPROCESSORS A (17.383) Fall Lecture Outline

MICROPROCESSORS A (17.383) Fall Lecture Outline MICROPROCESSORS A (17.383) Fall 2010 Lecture Outline Class # 07 October 26, 2010 Dohn Bowden 1 Today s Lecture Syllabus review Microcontroller Hardware and/or Interface Finish Analog to Digital Conversion

More information

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER

CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER 65 CHAPTER 4 CONTROL ALGORITHM FOR PROPOSED H-BRIDGE MULTILEVEL INVERTER 4.1 INTRODUCTION Many control strategies are available for the control of IMs. The Direct Torque Control (DTC) is one of the most

More information

AN2581 Application note

AN2581 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 information

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION

Unit-6 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION M i c r o p r o c e s s o r s a n d M i c r o c o n t r o l l e r s P a g e 1 PROGRAMMABLE INTERRUPT CONTROLLERS 8259A-PROGRAMMABLE INTERRUPT CONTROLLER (PIC) INTRODUCTION Microcomputer system design requires

More information

MICROPROCESSOR TECHNICS II

MICROPROCESSOR TECHNICS II AGH University of Science and Technology Faculty of Computer Science, Electronics and Telecommunication Department of Electronics MICROPROCESSOR TECHNICS II Tutorial 5 Combining ADC & PWM Mariusz Sokołowski

More information

CNT-3204MT-LPE RelayBOX

CNT-3204MT-LPE RelayBOX PCI Express-compliant High speed Up/Down Counter (Low Profile) CNT-304MT-LPE CNT-304MT-LPE is a PCI Express bus-compliant interface board f counting the pulses input from the external device. The 3 bit

More information

Select the single most appropriate response for each question.

Select the single most appropriate response for each question. ECE 362 Final Lab Practical - 1 - Practice Exam / Solution PART 1: Multiple Choice Select the single most appropriate response for each question. Note that none of the above MAY be a VALID ANSWER. (Solution

More information

ANLAN203. KSZ84xx GPIO Pin Output Functionality. Introduction. Overview of GPIO and TOU

ANLAN203. KSZ84xx GPIO Pin Output Functionality. Introduction. Overview of GPIO and TOU ANLAN203 KSZ84xx GPIO Pin Output Functionality Introduction Devices in Micrel s ETHERSYNCH family have several GPIO pins that are linked to the internal IEEE 1588 precision time protocol (PTP) clock. These

More information

Digital Fundamentals 8/25/2016. Summary. Summary. Floyd. Chapter 1. Analog Quantities

Digital Fundamentals 8/25/2016. Summary. Summary. Floyd. Chapter 1. Analog Quantities 8/25/206 Digital Fundamentals Tenth Edition Floyd Chapter Analog Quantities Most natural quantities that we see are analog and vary continuously. Analog systems can generally handle higher power than digital

More information

Lab 9. Speed Control of a D.C. motor. Sensing Motor Speed (Tachometer Frequency Method)

Lab 9. Speed Control of a D.C. motor. Sensing Motor Speed (Tachometer Frequency Method) Lab 9. Speed Control of a D.C. motor Sensing Motor Speed (Tachometer Frequency Method) Motor Speed Control Project 1. Generate PWM waveform 2. Amplify the waveform to drive the motor 3. Measure motor speed

More information

Timer A (0 and 1) and PWM EE3376

Timer A (0 and 1) and PWM EE3376 Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model l l l l Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in

More information

PIC Analog Voltage to PWM Duty Cycle

PIC Analog Voltage to PWM Duty Cycle Name Lab Section PIC Analog Voltage to PWM Duty Cycle Lab 5 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage

More information

2014 Paper E2.1: Digital Electronics II

2014 Paper E2.1: Digital Electronics II 2014 Paper E2.1: Digital Electronics II Answer ALL questions. There are THREE questions on the paper. Question ONE counts for 40% of the marks, other questions 30% Time allowed: 2 hours (Not to be removed

More information

CHAPTER 4: 555 TIMER. Dr. Wan Mahani Hafizah binti Wan Mahmud

CHAPTER 4: 555 TIMER. Dr. Wan Mahani Hafizah binti Wan Mahmud CHAPTE 4: 555 TIME Dr. Wan Mahani Hafizah binti Wan Mahmud 555 TIME Introduction Pin configuration Basic architecture and operation Astable Operation Monostable Operation Timer in Triggering Circuits 555

More information

CS/ECE/EEE/INSTR F241 MICROPROCESSOR PROGRAMMING & INTERFACING MODULE 8: I/O INTERFACING QUESTIONS ANUPAMA KR BITS, PILANI KK BIRLA GOA CAMPUS

CS/ECE/EEE/INSTR F241 MICROPROCESSOR PROGRAMMING & INTERFACING MODULE 8: I/O INTERFACING QUESTIONS ANUPAMA KR BITS, PILANI KK BIRLA GOA CAMPUS CS/ECE/EEE/INSTR F241 MICROPROCESSOR PROGRAMMING & INTERFACING MODULE 8: I/O INTERFACING QUESTIONS ANUPAMA KR BITS, PILANI KK BIRLA GOA CAMPUS Q1. Distinguish between vectored and non-vectored interrupts

More information

ELEC 3040/3050 Lab #7

ELEC 3040/3050 Lab #7 ELEC 3040/3050 Lab #7 PWM Waveform Generation References: STM32L1xx Technical Reference Manual STM32L100RC Data Sheet Goals of this lab exercise Begin the primary design project for the semester Speed

More information

Digital Fundamentals

Digital Fundamentals Digital Fundamentals Tenth Edition Floyd Chapter 1 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved Objectives After completing this unit, you should be

More information

EIE/ENE 334 Microprocessors

EIE/ENE 334 Microprocessors EIE/ENE 334 Microprocessors Lecture 13: NuMicro NUC140 (cont.) Week #13 : Dejwoot KHAWPARISUTH Adapted from http://webstaff.kmutt.ac.th/~dejwoot.kha/ NuMicro NUC140: Technical Ref. Page 2 Week #13 NuMicro

More information

High Speed PWM Controller

High Speed PWM Controller High Speed PWM Controller FEATURES Compatible with Voltage or Current Mode Topologies Practical Operation Switching Frequencies to 1MHz 50ns Propagation Delay to Output High Current Dual Totem Pole Outputs

More information

Lab 5 Timer Module PWM ReadMeFirst

Lab 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 information

LV-Link 3.0 Software Interface for LabVIEW

LV-Link 3.0 Software Interface for LabVIEW LV-Link 3.0 Software Interface for LabVIEW LV-Link Software Interface for LabVIEW LV-Link is a library of VIs (Virtual Instruments) that enable LabVIEW programmers to access the data acquisition features

More information

I2C Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551

I2C Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551 I2C 2005-1 Demonstration Board LED Dimmers and Blinkers PCA9531 and PCA9551 Oct, 2006 Intelligent I 2 C LED Controller RGBA Dimmer/Blinker /4/5 Dimmer PCA9531/2/3/4 1 MHz I²C Bus PCA963X PCA9533 PCA9533

More information

A MORON'S GUIDE TO TIMER/COUNTERS v2.2. by

A MORON'S GUIDE TO TIMER/COUNTERS v2.2. by A MORON'S GUIDE TO TIMER/COUNTERS v2.2 by RetroDan@GMail.com TABLE OF CONTENTS: 1. THE PAUSE ROUTINE 2. WAIT-FOR-TIMER "NORMAL" MODE 3. WAIT-FOR-TIMER "NORMAL" MODE (Modified) 4. THE TIMER-COMPARE METHOD

More information

ATmega16A Microcontroller

ATmega16A Microcontroller ATmega16A Microcontroller Timers 1 Timers Timer 0,1,2 8 bits or 16 bits Clock sources: Internal clock, Internal clock with prescaler, External clock (timer 2), Special input pin 2 Features The choice of

More information

MiniProg Users Guide and Example Projects

MiniProg Users Guide and Example Projects MiniProg Users Guide and Example Projects Cypress MicroSystems, Inc. 2700 162 nd Street SW, Building D Lynnwood, WA 98037 Phone: 800.669.0557 Fax: 425.787.4641 1 TABLE OF CONTENTS Introduction to MiniProg...

More information

PWMLib PWM Library. Jim Schimpf. Document Number: PAN Revision Number: April Pandora Products. 215 Uschak Road Derry, PA 15627

PWMLib PWM Library. Jim Schimpf. Document Number: PAN Revision Number: April Pandora Products. 215 Uschak Road Derry, PA 15627 PWMLib Jim Schimpf Document Number: Revision Number: 0.8 Pandora Products. 215 Uschak Road Derry, PA 15627 Creative Commons Attribution 4.0 International License 2015 Pandora Products. All other product

More information

TAPR TICC Timestamping Counter Operation Manual. Introduction

TAPR TICC Timestamping Counter Operation Manual. Introduction TAPR TICC Timestamping Counter Operation Manual Revised: 23 November 2016 2016 Tucson Amateur Packet Radio Corporation Introduction The TAPR TICC is a two-channel timestamping counter ("TSC") implemented

More information

LT Spice Getting Started Very Quickly. First Get the Latest Software!

LT Spice Getting Started Very Quickly. First Get the Latest Software! LT Spice Getting Started Very Quickly First Get the Latest Software! 1. After installing LT Spice, run it and check to make sure you have the latest version with respect to the latest version available

More information

LSI/CSI LS7215 LS7216 PROGRAMMABLE DIGITAL DELAY TIMER

LSI/CSI LS7215 LS7216 PROGRAMMABLE DIGITAL DELAY TIMER LSI/CSI UL 00 LSI Computer Systems, Inc. Walt Whitman Road, Melville, NY (6) -000 FX (6) -00 PROGRMMLE DIGITL DELY TIMER FETURES: Programmable delay from microseconds to days Programmable delay controlled

More information

TABLE OF CONTENTS LIST OF FIGURES LIST OF TABLES

TABLE OF CONTENTS LIST OF FIGURES LIST OF TABLES TABLE OF CONTENTS TABLE OF CONTENTS...i LIST OF FIGURES...i LIST OF TABLES...i 1. DESCRIPTION...1 1.1. FUNCTIONAL DESCRIPTION...1 2. SPECIFICATIONS...3 2.1. EXTERNAL COMPONENTS...3 2.2. INTERNAL COMPONENTS...4

More information

Microcontrollers: Lecture 3 Interrupts, Timers. Michele Magno

Microcontrollers: Lecture 3 Interrupts, Timers. Michele Magno Microcontrollers: Lecture 3 Interrupts, Timers Michele Magno 1 Calendar 07.04.2017: Power consumption; Low power States; Buses, Memory, GPIOs 20.04.2017 Serial Communications 21.04.2017 Programming STM32

More information

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages

Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages Hello, and welcome to this presentation of the STM32G0 digital-to-analog converter. This block is used to convert digital signals to analog voltages which can interface with the external world. 1 The STM32G0

More information

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC) Connecting digital circuitry to sensor devices

More information

Temperature Monitoring and Fan Control with Platform Manager 2

Temperature Monitoring and Fan Control with Platform Manager 2 August 2013 Introduction Technical Note TN1278 The Platform Manager 2 is a fast-reacting, programmable logic based hardware management controller. Platform Manager 2 is an integrated solution combining

More information

Technician License Course Chapter 2 Radio and Signals Fundamentals

Technician License Course Chapter 2 Radio and Signals Fundamentals Technician License Course Chapter 2 Radio and Signals Fundamentals Handling Large and Small Numbers Electronics and Radio use a large range of sizes, i.e., 0.000000000001 to 1000000000000. Scientific Notation

More information

MICROCONTROLLER TUTORIAL II TIMERS

MICROCONTROLLER 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 information

EE 109 Midterm Review

EE 109 Midterm Review EE 109 Midterm Review 1 2 Number Systems Computer use base 2 (binary) 0 and 1 Humans use base 10 (decimal) 0 to 9 Humans using computers: Base 16 (hexadecimal) 0 to 15 (0 to 9,A,B,C,D,E,F) Base 8 (octal)

More information

READ THIS FIRST: *One physical piece of 8.5x11 paper (you may use both sides). Notes must be handwritten.

READ THIS FIRST: *One physical piece of 8.5x11 paper (you may use both sides). Notes must be handwritten. READ THIS FIRST: We recommend first trying this assignment in a single sitting. The midterm exam time period is 80 minutes long. Find a quiet place, grab your cheat sheet* and a pencil, and set a timer.

More information

SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY. Modified February 2006

SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY. Modified February 2006 SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY Modified February 2006 Page 1 of 13 PURPOSE: The purpose of this lab is to simulate the Buck-Boost converter

More information

Multiplexer for Capacitive sensors

Multiplexer for Capacitive sensors DATASHEET Multiplexer for Capacitive sensors Multiplexer for Capacitive Sensors page 1/7 Features Very well suited for multiple-capacitance measurement Low-cost CMOS Low output impedance Rail-to-rail digital

More information

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

I hope you have completed Part 2 of the Experiment and is ready for Part 3. I hope you have completed Part 2 of the Experiment and is ready for Part 3. In part 3, you are going to use the FPGA to interface with the external world through a DAC and a ADC on the add-on card. You

More information

F²MC-16FX FAMILY ALL SERIES PROGRAMMABLE PULSE GENERATOR 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

F²MC-16FX FAMILY ALL SERIES PROGRAMMABLE PULSE GENERATOR 16-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note Fujitsu Microelectronics Europe Application Note MCU-AN-300201-E-V16 F²MC-16FX FAMILY 16-BIT MICROCONTROLLER ALL SERIES PROGRAMMABLE PULSE GENERATOR APPLICATION NOTE Revision History Revision History Date

More information

Oct 30 Announcements. Bonus marked will be posted today Will provide 270 style feedback on multiple-choice questions. [3.E]-1

Oct 30 Announcements. Bonus marked will be posted today Will provide 270 style feedback on multiple-choice questions. [3.E]-1 Oct 30 Announcements Code Marked and on Blackboard This week: Mon 2:30 to 3:00pm, Tues 2:30 to 3:30 and W-F 1:30 to 3:00pm opportunity to talk about code: earn 2 extra points on the coding part Bonus marked

More information

MM58174A Microprocessor-Compatible Real-Time Clock

MM58174A Microprocessor-Compatible Real-Time Clock MM58174A Microprocessor-Compatible Real-Time Clock General Description The MM58174A is a low-threshold metal-gate CMOS circuit that functions as a real-time clock and calendar in bus-oriented microprocessor

More information

Exercise 3: Sound volume robot

Exercise 3: Sound volume robot ETH Course 40-048-00L: Electronics for Physicists II (Digital) 1: Setup uc tools, introduction : Solder SMD Arduino Nano board 3: Build application around ATmega38P 4: Design your own PCB schematic 5:

More information

32-bit ARM Cortex-M0, Cortex-M3 and Cortex-M4F microcontrollers

32-bit ARM Cortex-M0, Cortex-M3 and Cortex-M4F microcontrollers -bit ARM Cortex-, Cortex- and Cortex-MF microcontrollers Energy, gas, water and smart metering Alarm and security systems Health and fitness applications Industrial and home automation Smart accessories

More information

High Speed PWM Controller

High Speed PWM Controller High Speed PWM Controller application INFO available FEATURES Compatible with Voltage or Current Mode Topologies Practical Operation Switching Frequencies to 1MHz 50ns Propagation Delay to Output High

More information

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE 9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION

More information

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 PIC Functionality General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 General I/O Logic Output light LEDs Trigger solenoids Transfer data Logic Input Monitor

More information

EE445L Spring 2017 Final Page 1 of 7

EE445L Spring 2017 Final Page 1 of 7 EE445L Spring 2017 Final Page 1 of 7 Jonathan W. Valvano First: Last: EID: This is the closed book section. Calculator is allowed (no laptops, phones, devices with wireless communication). You must put

More information

9200 Series, 300 MHz Programmable Pulse Generator

9200 Series, 300 MHz Programmable Pulse Generator 9200 Series, 300 MHz Programmable Pulse Generator Main Features Variable edge pulses (1 nsec to 1 msec) at rates to 250 MHz Fast 300 psec edges to 300 MHz Wide output swings to 32 V at pulse rates to 50

More information

EE445L Fall 2014 Quiz 2B Page 1 of 5

EE445L Fall 2014 Quiz 2B Page 1 of 5 EE445L Fall 2014 Quiz 2B Page 1 of 5 Jonathan W. Valvano First: Last: November 21, 2014, 10:00-10:50am. Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator,

More information

The Need. Reliable, repeatable, stable time base. Memory Access. Interval/Event timers ADC DAC

The Need. Reliable, repeatable, stable time base. Memory Access. Interval/Event timers ADC DAC Timers The Need Reliable, repeatable, stable time base Memory Access /Event timers ADC DAC Time Base: Crystal Oscillator Silicon Dioxide forms a piezoelectric crystal that can deform in eclectic field,

More information