Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

Size: px
Start display at page:

Download "Real-Time Clock. * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold"

Transcription

1 REAL-TIME CLOCK

2 Real-Time Clock The device is not a clock! It does not tell time! It has nothing to do with actual or real-time! The Real-Time Clock is no more than an interval timer connected to the computer I/O interface so that the computer can be informed each time a particular interval of time has gone by. * * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

3 Real-Time Clock (Continued) Computer must be programmed to use the information correctly! Example If clock interval is 1 second, a counter within the computer can be set equal to time, one could easily program a routine to give the time on a 12 or 24-hour basis * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

4 Line Clock Simple form of Real-Time Clock Use 60Hz from line to generate 1/60 second clock Half-Wave rectifier 60hz 60 Hz Pulse * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

5 Programmable Clock (primitive) 1MHz or 10MHz XTAL OSC Divide by 10 Divide by 10 Divide by 10 Divide by 10 Divide by 10 10ms..1s 1s. Multiplexer Interrupt to CPU Or connect to I/P * Real-Time Computing, edited by Duncan A. Mellichamp, Van Nostrand Reinhold

6 Programmable Timer/Counter Clock Presetable UP or Down N-bit Counter CPU DATA Bus RD,WR, CS Overflow output

7 Programmable Timer/Counter Example: 8 bit Up Counter (0-255) clock input =1MHz or 1us. wanted to interrupt the CPU after 200us. If one load the counter with ( ) = 56, after 200 clocks ----> output =1 on overflow! Therefore cpu can be interrupted after 200us.

8 Programmable Timer/Counter Typically Timer:---> known clock input (Internal) Counter: --> unknown clock (External)

9 TIMERs/COUNTERs PIC16F877 Timer0 Timer1 Timer2

10 Timer0 Module 8-bit timer/counter Readable and writable 8-bit software programmable prescaler Internal or external clock select Interrupt on overflow from FFh to 00h Edge select for external clock

11 Timer0/WDT Block diagram

12 Timer0 - Prescaler Assignment

13 Watch Dog Timer Run on internal RC If enable during SLEEP mode, WDT will continue running and will be able to wake up the processor on Time-out! With Prescaler (Post) set to 1:128, typical maximum delay time can be approximately 18*128 ms or over 2 seconds!

14 Timer0 -TMR0 -Register All instructions writing to the TMR0 will clear the prescaler count, but not change the prescaler assignment! i.e. clrf TMR0, movwf TMR0,.etc. The TMR0 interrupt is generated when the TMR0 register overflows from FFh to 00h TMR0 interrupt cannot awaken the processor from SLEEP (the timer is off during the SLEEP)

15 Timer0 - Registers associated

16 Example: Timer0 and Rotary Encoder Objective Set time (minute/second) for the clock (Lab Assignment) * Fast turning will set the Minutes * Slow turning will set the seconds Use Timer0 to distinguish fast turning from slow turning of the rotary encoder

17 Recall Rotary Encoder: Example Phase Difference One cycle ON/OFF determines CCW/CW

18 Recall INT_EXT Interrupt : Example. Main Program... enable_interrupts(int_ext); enable_interrupts(global);...

19 Recall INT_EXT Interrupt : Example #int_ext EXT_INT_ISR() { // one interrupt per cycle // determine direction by reading the another bit // do what is necessary // exit } Note: CCS will reset INTE flag and re-enable GIE. These do not applied to #int_global!

20 Example: Timer0 and Rotary Encoder (continued) Assume Rotary Encoder generates 32 pulse per revolution One of the outputs of the encoder connects to Rb0/INT Maximum rate of turning is one turn in 0.5 second. i.e. Generates interrupt up to 32*1/2 = 64 times a second or every 1/64 = milliseconds.

21 Example: Timer0 and Rotary Encoder (continued) Assume Timer0 will be used to detect Fast/Slow turning Set prescaler to divide input freq. by 256 (or input period *256) Use internal clock (4MHz/4 or 1us) The TMR0 will increment every 1* 256 = 256us or about 1/4 of ms. TMR0 will count through its 256 counts in 256*256 or about 66 ms.

22 Example: Timer0 and Rotary Encoder (continued) #int_ext EXT_INT_ISR() { // one interrupt per cycle // determine direction by reading the another bit // clears INTF // checks the T0IF flag to see if TMR0 has gone through 256 // counts since the last RB0/INT. // if so ----> increment/decrement second // else ----> increment/decrement minute // clear TMR0 and T0IF // exit }

23 Timer1 Module 16-bit timer/counter (TMR1H,TMR1L) Readable and writable (both) Internal or external clock select Interrupt on overflow from FFFFh to 0000h Reset from CCP module trigger Programmable Prescaler (1,2,4, and 8) Sync and Asyn Counter mode

24 Timer1Block diagram

25 Timer1 - T1CON - Control Register

26 Timer1 Oscillator Low power Oscillator rated upto 200kHz Primary intended for a 32kHz Will run during SLEEP

27 Timer1 - TMR1H:TMR1L The register pair (TMR1H:TMR1L) increments from 0000h to FFFFH and rolls over to 0000H Interrupt if enabled (TMR1IE) on overflow (set TMR1IF)

28 Timer1 - Registers associated

29 Timer1and Sleep Mode When PIC is in SLEEP mode, internal clock stop (reducing power consumption) Timer1 includes the pins and oscillator circuit to allow a 32,768-Hz crystal to serve as its external clock source (by pass the synchronizer) TMR1 will overflow at 2, 4, 8, or 16-seconds depending on prescaler value used) and the CPU wake up, initiates the startup of the internal clock which may take as long as 1000 internal clock cycles before the next instruction is executed!

30 Timer1and Sleep Mode

31 Example: Timer1and Sleep Mode PIC16F877 is waiting for an external event to occur, it goes into the sleep mode for 16 seconds at a time. Wake up only to check the event and to increment a variable to keep track of time then go back to sleep again 4MHz clock maximum supply current is 4mA Maximum supply current on sleep mode is 42uA If CpU is asleep roughly S out of S Then the average current is 42(15.99/16)+4000(.01/16) = 44.5 ua!

32 Timer2 Module 8-bit timer (TMR2) 8-bit period register (PR2) Readable and writable (both) Interrupt on TMR2 match of PR2 Programmable Prescaler (1,4, and 16) Programmable postscaler (1 to 16) Can be use as the PWM time-base for PWM mode of the CCP module SSP module optional use of TMR2 output to generate clock shift

33 Timer2 Block diagram

34 Timer2 - T2CON - Control Register

35 Timer2 - TMR2 The prescaler and postscaler counters are cleared when any of the following occurs: A write to the TMR2 A write to the T2CON Any device reset TMR2 is not cleared when T2CON is written

36 Timer2 - Registers associated

37 CAPTURE/COMPARE/PWM MODULES PIC16f877 has two Capture/Compare/PWM (CCP) modules (CCP! & CCP2) Each CCP module contains a 16-bit register which can operate as a: 16-bit Capture register 16-bit Compare register PWM master/slave Duty Cycle register

38 CCP MODULES Both the CCP1 and CCP2 modules are identical in operation, with the exception being the operation of the special event trigger

39 CCP1 MODULE Capture/Compare/PWM Register1 (CCPR1) is comprised of two 8-bit registers: CCPR1L (low byte) and CCPR1H (high byte) The CCP1CON register controls the operation of CCP1 The special event trigger is generated by a compare match and will reset Timer1.

40 CCPxCON Registers CCP1CON REGISTER/CCP2CON REGISTER (ADDRESS: 17h/1dh)

41 CAPTURE MODE In Capture mode, CCPR1H:CCPR1L captures the 16-bit value of the TMR1 register when an event occurs on pin RC2/CCP1. An event is defined as: Every falling edge Every 4th rising edge Every rising edge Every 16th rising edge An event is selected by control bits CCP1M3:CCP1M0 (CCP1CON<3:0>) When a capture is made, the interrupt flag bit CCP1IF (PIR1<2>) is set The interrupt flag must be cleared in software. If another capture occurs before the value in register CCPR1 is read, the old captured value will be lost.

42 CAPTURE MODE : RC2/CCP1 In Capture mode, the RC2/CCP1 pin should be configured as an input by setting the TRISC<2> bit Note: If the RC2/CCP1 pin is configured as an output, a write to the port can cause a capture condition.

43 CAPTURE MODE : Timer1 selection Timer1 must be running in timer mode or synchronized counter mode for the CCP module to use the capture feature. In asynchronous counter mode, the capture operation may not work.

44 CAPTURE MODE

45 Example: use of CAPTURE MODE Period Measurement CCP1 operates in capture mode, interrupt on rising edge T=? Start, read counts from CCPRx (Init_Count) Stop, read counts from CCPRx (Final_count) Period = (Final_count - Init_Count) * refrence clock to the TIMER1 Assume that the period is shorter than * reference clock

46 Example: use of CAPTURE MODE Main Program. //setup Timer 1 //setup CCPRx for Capture //mode on rising edge //clear Period_Measu_done flag //enable appropriate interrupt. If (Period_Measu_done) repot_period; loop.. CCPx ISR.. // If first interrupt { // save_ccpxr into Init_Count; // exit ;} // else { // calculate the period; // set Period_Measu_done flag; // disable CCPxIE; // exit; }..

47 Compare Mode In Compare mode, the 16-bit CCPR1 register value is constantly compared against the TMR1 register pair value When a match occurs, the RC2/CCP1 pin is: Driven high Driven low Remains unchanged The action on the pin is based on the value of control bits CCP1M3:CCP1M0 (CCP1CON<3:0>) At the same time, interrupt flag bit CCP1IF is set.

48 COMPARE MODE : RC2/CCP1 In Compare mode, the RC2/CCP1 pin should be configured as an output by clearing the TRISC<2> bit Note: Clearing the CCP1CON register will force the RC2/CCP1 compare output latch to the default low level. This is not the data latch.

49 COMPARE MODE : Timer1 selection Timer1 must be running in timer mode or synchronized counter mode for the CCP module to use the compare feature. In asynchronous counter mode, the compare operation may not work.

50 COMPARE MODE : Software Interrupt mode When Generate Software Interrupt mode is chosen, the CCP1 pin is not affected. The CCPIF bit is set causing a CCP interrupt (if enabled)

51 COMPARE MODE : SPECIAL EVENT TRIGGER In this mode, an internal hardware trigger is generated, which may be used to initiate an action. The special event trigger output of CCP1 resets the TMR1 register pair This allows the CCPR1 register to effectively be a 16-bit programmable period register for Timer1 The special event trigger output of CCP2 resets the TMR1 register pair and starts an A/D conversion (if the A/D module is enabled) Note: The special event trigger from the CCP1and CCP2 modules will not set interrupt flag bit TMR1IF (PIR1<0>)

52 Compare Mode

53 CCPxCON Registers CCP1CON REGISTER/CCP2CON REGISTER (ADDRESS: 17h/1dh)

54 Example: use of Capture and Compare mode Period Measurement (If Period > 65535* reference clock) CCP1 operates in capture mode, interrupt on rising edge T=? Start, read counts from CCPR1 (Init_Count), then save it it CCPR2 CCP2 operates in Compare mode (software interrupt), interrupts every clocks. Update CYCLES Stop, read counts from CCPRx (Final_count) Period = (Final_count - Init_Count+(CYCLES*65536))* Timer1_clock

55 Example: SquareWave Generator with Compare mode 1kHz 500 clocks* 500 clocks On interrupt, toggle bit 0 of CCPxCON add 500 to CCPRx reset CCPxIF * Assume - PIC run at 4 MHz or 1uS instruction cycle - Timer1 is on and the input is from the internal clock

56 Example: Trigger Special Event /Compare mode No need to reload CCPRx since the CCPx resets TMR1

57 Pulse Width Modulation (PWM) Mode In pulse width modulation mode, the CCPx pin produces up to a 10-bit resolution PWM output Since the CCP1 pin is multiplexed with the PORTC data latch, the TRISC<2> bit must be cleared to make the CCP1 pin an output.

58 Pulse Width Modulation (PWM) Mode

59 Pulse Width Modulation (PWM) Mode A PWM output has a time-base (period) and a time that the output stays high (duty cycle) The frequency of the PWM is the inverse of the period (1/period)

60 PWM Period The PWM period is specified by writing to the PR2 register The PWM period can be calculated using the following formula: PWM period = [(PR2) + 1] 4 TOSC (TMR2 prescale value) PWM frequency is defined as 1 / [PWM period] When TMR2 is equal to PR2, the following three events occur on the next increment cycle: TMR2 is cleared The CCP1 pin is set (exception: if PWM duty cycle = 0%, the CCP1 pin will not be set) The PWM duty cycle is latched from CCPR1L into CCPR1H

61 PWM Resolution Maximum PWM resolution (bits) for a given PWM frequency:

62 SET UP for PWM Operation Set the PWM period by writing to the PR2 register Set the PWM duty cycle by writing to the CCPR1L register and CCP1CON<5:4> bits Make the CCP1 pin an output by clearing the TRISC<2> bit Set the TMR2 prescale value and enable Timer2 by writing to T2CON. Configure the CCP1 module for PWM operation.

63 REGISTERS ASSOCIATED WITH CAPTURE, COMPARE, AND TIMER1

64 REGISTERS ASSOCIATED WITH PWM AND TIMER2

Section 14. Compare/Capture/PWM (CCP)

Section 14. Compare/Capture/PWM (CCP) M Section 14. Compare/Capture/PWM (CCP) HIGHLIGHTS This section of the manual contains the following major topics: 14.1 Introduction...14-2 14.2 Control Register...14-3 14.3 Capture Mode...14-4 14.4 Compare

More information

ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation

ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation ETEC 421 - Digital Controls PIC Lab 10 Pulse Width Modulation Program Definition: Write a program to control the speed of a dc motor using pulse width modulation. Discussion: The speed of a dc motor is

More information

Hi Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan

Hi Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan PIC18 Timer Programming g Hi Hsiao-Lung Chan Dept Electrical Engineering Chang Gung University, Taiwan chanhl@mail.cgu.edu.twcgu Functions of PIC18 timer Functions of the timer Generate a time delay As

More information

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar AVR Timer/Counter Prof Prabhat Ranjan DA-IICT, Gandhinagar 8-bit Timer/Counter0 with PWM Single Compare Unit Counter Clear Timer on Compare Match (Auto Reload) Glitch-free, Phase Correct Pulse Width Modulator

More information

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,

More information

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

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction. APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)

More information

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

AVR131: Using the AVR s High-speed PWM. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE AVR 8-bit Microcontrollers AVR131: Using the AVR s High-speed PWM APPLICATION NOTE Introduction This application note is an introduction to the use of the high-speed Pulse Width Modulator (PWM) available

More information

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR134: Real Time Clock (RTC) using the Asynchronous Timer Features Real Time Clock with Very Low Power Consumption (4 μa @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts

More information

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI SPI Overview and Use of the PICmicro Serial Peripheral Interface In this presentation, we will look at what the Serial Peripheral Interface, otherwise known as the SPI, is, and how it is used to communicate

More information

Section 29. Real-Time Clock and Calendar (RTCC)

Section 29. Real-Time Clock and Calendar (RTCC) Section 29. Real-Time Clock and Calendar (RTCC) HIGHLIGHTS This section of the manual contains the following topics: 29.1 Introduction... 29-2 29.2 Status and Control Registers... 29-3 29.3 Modes of Operation...

More information

Lesson-16: Real time clock DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK

Lesson-16: Real time clock DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-16: Real time clock 1 Real Time Clock (RTC) A clock, which is based on the interrupts at preset intervals. An interrupt service routine executes

More information

Section 7. Oscillator

Section 7. Oscillator HIGHLIGHTS Section 7. This section of the manual contains the following topics: 7 7.1 Introduction... 7-2 7.2 CPU Clocking...7-4 7.3 Configuration Registers... 7-5 7.4 Special Function Registers... 7-8

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 Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in the peripheral

More information

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

Hello, and welcome to this presentation of the STM32L4 reset and clock controller. Hello, and welcome to this presentation of the STM32L4 reset and clock controller. 1 The STM32L4 reset and clock controller manages system and peripheral clocks. STM32L4 devices embed three internal oscillators,

More information

CoE3DJ4 Digital Systems Design. Chapter 4: Timer operation

CoE3DJ4 Digital Systems Design. Chapter 4: Timer operation CoE3DJ4 Digital Systems Design Chapter 4: Timer operation Timer There are two 16-bit timers each with four modes of operation Timers are used for (a) interval timing, (b) event counting or (c) baud rate

More information

AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION

AN1229. Class B Safety Software Library for PIC MCUs and dspic DSCs OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION Class B Safety Software Library for PIC MCUs and dspic DSCs AN1229 Authors: Veena Kudva & Adrian Aur Microchip Technology Inc. OVERVIEW OF THE IEC 60730 STANDARD INTRODUCTION This application note describes

More information

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note. AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time

More information

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port

More information

Application Note AN-1187

Application Note AN-1187 Application Note AN-1187 IR3230 Sensorless BLDC Motor Drive By Alex Lollio Table of Contents Application Note AN-1234... 1 Introduction... 2 Basic Working Principle... 3 Motor Control... 4 Motor Control

More information

Chapter 9 Latches, Flip-Flops, and Timers

Chapter 9 Latches, Flip-Flops, and Timers ETEC 23 Programmable Logic Devices Chapter 9 Latches, Flip-Flops, and Timers Shawnee State University Department of Industrial and Engineering Technologies Copyright 27 by Janna B. Gallaher Latches A temporary

More information

HT46R14A Single Phase AC Induction Motor Frequency Converter Application

HT46R14A Single Phase AC Induction Motor Frequency Converter Application HT46R14A Single Phase AC Induction Motor Frequency Converter Application D/N:HA0095E Introductions Initially the main reason for using frequency conversion technology was for speed control, however to

More information

Flash Microcontroller. Memory Organization. Memory Organization

Flash Microcontroller. Memory Organization. Memory Organization The information presented in this chapter is collected from the Microcontroller Architectural Overview, AT89C51, AT89LV51, AT89C52, AT89LV52, AT89C2051, and AT89C1051 data sheets of this book. The material

More information

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER 8-Bit CPU plus ROM RAM I O Timer and Clock in a Single Package One 8-Bit Status and Two Data Registers for Asynchronous Slave-to- Master Interface DMA

More information

DP8570A DP8570A Timer Clock Peripheral (TCP)

DP8570A DP8570A Timer Clock Peripheral (TCP) DP8570A DP8570A Timer Clock Peripheral (TCP) Literature Number: SNAS557 DP8570A Timer Clock Peripheral (TCP) General Description The DP8570A is intended for use in microprocessor based systems where information

More information

Section 8. Interrupts

Section 8. Interrupts Interrupts M Section 8. Interrupts HIGHLIGHTS This section of the manual contains the following major topics: 8.1 Introduction...8-2 8.2 Control Registers...8-5 8.3 Interrupt Latency...8-10 8.4 INT and

More information

Chapter 13. PIC Family Microcontroller

Chapter 13. PIC Family Microcontroller Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to

More information

AN3371 Application note

AN3371 Application note Application note Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs Introduction Note: A real-time clock (RTC) is a computer clock that keeps track of the current time.

More information

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation

More information

Tutorial for MPLAB Starter Kit for PIC18F

Tutorial for MPLAB Starter Kit for PIC18F Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is

More information

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence : 0660-3 CMPS03 Magnetic Compass. Voltage : 5v only required Current : 20mA Typ. Resolution : 0.1 Degree Accuracy : 3-4 degrees approx. after calibration Output

More information

Small Hardware Development and Prototyping Board for the SX28

Small Hardware Development and Prototyping Board for the SX28 Project Report: Small Hardware Development and Prototyping Board for the SX28 Project Number: PR57 1. Project Description 2. Schematic Diagram 3. Physical Diagram 4. Component Layout Diagram 5. Bill of

More information

PIC Programming in Assembly. (http://www.mstracey.btinternet.co.uk/index.htm)

PIC Programming in Assembly. (http://www.mstracey.btinternet.co.uk/index.htm) PIC Programming in Assembly (http://www.mstracey.btinternet.co.uk/index.htm) Tutorial 1 Good Programming Techniques. Before we get to the nitty gritty of programming the PIC, I think now is a good time

More information

Serial Communications

Serial Communications Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation

More information

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol RESEARCH ARTICLE OPEN ACCESS Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol Arnab G. Samanta (Electronics Design technology (EDT) department, R.C.O.E.M, RTM Nagpur University,

More information

8051 hardware summary

8051 hardware summary 8051 hardware summary 8051 block diagram 8051 pinouts + 5V ports port 0 port 1 port 2 port 3 : dual-purpose (general-purpose, external memory address and data) : dedicated (interfacing to external devices)

More information

AN108 IMPLEMENTING A REALTIME CLOCK. Relevant Devices. Introduction. Key Points. Overview

AN108 IMPLEMENTING A REALTIME CLOCK. Relevant Devices. Introduction. Key Points. Overview IMPLEMENTING A REALTIME CLOCK Relevant Devices This application note applies to the following devices: C8051F000, C8051F001, C8051F002, C8051F005, C8051F006, C8051F007, C8051F010, C8051F011, and C8051F012.

More information

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction

ARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the

More information

Atmel Norway 2005. XMEGA Introduction

Atmel Norway 2005. XMEGA Introduction Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K

More information

Chapter 6 PLL and Clock Generator

Chapter 6 PLL and Clock Generator Chapter 6 PLL and Clock Generator The DSP56300 core features a Phase Locked Loop (PLL) clock generator in its central processing module. The PLL allows the processor to operate at a high internal clock

More information

Accurate Measurement of the Mains Electricity Frequency

Accurate Measurement of the Mains Electricity Frequency Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC dogan@neu.edu.tr Abstract The frequency of the mains electricity supply

More information

AN974 APPLICATION NOTE

AN974 APPLICATION NOTE AN974 APPLICATION NOTE Real time clock with ST7 Timer Output Compare By MCD Application Team 1 INTRODUCTION The purpose of this note is to present how to use the ST7 Timer output compare function. As an

More information

Hello, welcome to this presentation of the low power timer, or LPTMR, module for Kinetis MCUs. In this session you ll learn about the LPTMR, it s

Hello, welcome to this presentation of the low power timer, or LPTMR, module for Kinetis MCUs. In this session you ll learn about the LPTMR, it s Hello, welcome to this presentation of the low power timer, or LPTMR, module for Kinetis MCUs. In this session you ll learn about the LPTMR, it s main features and the application benefits of leveraging

More information

Microtronics technologies Mobile: 99707 90092

Microtronics technologies Mobile: 99707 90092 For more Project details visit: http://www.projectsof8051.com/rfid-based-attendance-management-system/ Code Project Title 1500 RFid Based Attendance System Synopsis for RFid Based Attendance System 1.

More information

Section 21. 8-bit A/D Converter

Section 21. 8-bit A/D Converter M Section 21. Converter HIGHLIGHTS 21 Convertor This section of the manual contains the following major topics: 21.1 Introduction...21-2 21.2 Control Registers...21-3 21.3 Operation...21-5 21.4 A/D Acquisition

More information

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features: 28/40-pin 8-Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F873 PIC16F874 PIC16F876 PIC16F877 Microcontroller Core Features: High-performance RISC CPU Only 35 single word instructions

More information

Monitoring of Intravenous Drip Rate

Monitoring of Intravenous Drip Rate Monitoring of Intravenous Drip Rate Vidyadhar V. Kamble, Prem C. Pandey, Chandrashekar P. Gadgil, and Dinesh S. Choudhary Abstract A drip rate meter, for monitoring intravenous infusion, is developed using

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

Interrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4. What Happens When You Reset the HCS12?

Interrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4. What Happens When You Reset the HCS12? Interrupts and the Timer Overflow Interrupts Huang Sections 6.1-6.4 o Using the Timer Overflow Flag to interrupt a delay o Introduction to Interrupts o How to generate an interrupt when the timer overflows

More information

Flexible Active Shutter Control Interface using the MC1323x

Flexible Active Shutter Control Interface using the MC1323x Freescale Semiconductor Document Number: AN4353 Application Note Rev. 0, 9/2011 Flexible Active Shutter Control Interface using the MC1323x by: Dennis Lui Freescale Hong Kong 1 Introduction This application

More information

GCLK (Generic Clock Management) PM (Power Management) SYSCTRL (Clock Source Control) The following devices can use this module:

GCLK (Generic Clock Management) PM (Power Management) SYSCTRL (Clock Source Control) The following devices can use this module: APPLICATION NOTE AT03259: SAM System Clock Management Driver (SYSTEM CLOCK) ASF PROGRAMMERS MANUAL SAM System Clock Management Driver (SYSTEM CLOCK) This driver for Atmel SMART SAM devices provides an

More information

Lab P442 LABORATORY MANUAL page 1

Lab P442 LABORATORY MANUAL page 1 Lab P442 LABORATORY MANUAL page 1 Lab 1An Autonomous Train Controller 3 1.1 The Train Architecture 3 1.1.1 Power and Drive Motor Control 3 1.1.2 IR Sensor and Servo Interface 4 1.1.3 PIC/CPLD 4 1.2 Lab

More information

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview Technical Note TN-29-06: NAND Flash Controller on Spartan-3 Overview Micron NAND Flash Controller via Xilinx Spartan -3 FPGA Overview As mobile product capabilities continue to expand, so does the demand

More information

Debouncing Switches. Mechanical switches are one of the most common interfaces to a uc.

Debouncing Switches. Mechanical switches are one of the most common interfaces to a uc. Mechanical switches are one of the most common interfaces to a uc. Switch inputs are asynchronous to the uc and are not electrically clean. Asynchronous inputs can be handled with a synchronizer (2 FF's).

More information

Sequential Logic Design Principles.Latches and Flip-Flops

Sequential Logic Design Principles.Latches and Flip-Flops Sequential Logic Design Principles.Latches and Flip-Flops Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Bistable Elements Latches and Flip-Flops S-R Latch

More information

PIC16F87X Data Sheet. 28/40-Pin 8-Bit CMOS FLASH Microcontrollers. 2001 Microchip Technology Inc. DS30292C

PIC16F87X Data Sheet. 28/40-Pin 8-Bit CMOS FLASH Microcontrollers. 2001 Microchip Technology Inc. DS30292C Data Sheet 28/40-Pin 8-Bit CMOS FLASH Microcontrollers 2001 Microchip Technology Inc. DS30292C All rights reserved. Copyright 2001, Microchip Technology Incorporated, USA. Information contained in this

More information

PIC16CR7X Data Sheet. 28/40-Pin, 8-Bit CMOS ROM Microcontrollers. 2006 Microchip Technology Inc. DS21993A

PIC16CR7X Data Sheet. 28/40-Pin, 8-Bit CMOS ROM Microcontrollers. 2006 Microchip Technology Inc. DS21993A Data Sheet 28/40-Pin, 8-Bit CMOS ROM Microcontrollers 2006 Microchip Technology Inc. DS21993A Note the following details of the code protection feature on Microchip devices: Microchip products meet the

More information

AXI Performance Monitor v5.0

AXI Performance Monitor v5.0 AXI Performance Monitor v5.0 LogiCORE IP Product Guide Vivado Design Suite Table of Contents IP Facts Chapter 1: Overview Advanced Mode...................................................................

More information

HT1632C 32 8 &24 16 LED Driver

HT1632C 32 8 &24 16 LED Driver 328 &216 LED Driver Features Operating voltage: 2.V~5.5V Multiple LED display 32 ROW /8 COM and 2 ROW & 16 COM Integrated display RAM select 32 ROW & 8 COM for 6 display RAM, or select 2 ROW & 16 COM for

More information

http://www.abacom-online.de/div/setup_usb_µpio.exe

http://www.abacom-online.de/div/setup_usb_µpio.exe USB-µPIO USB AVR board Compact AVR board with Atmel ATmega168-20 High speed clock frequency 18.432000 MHz 100% error free High baud rates Screw-terminal and pin connections 6 pin ISP connector Power supply

More information

Section 17. UART HIGHLIGHTS UART. This section of the manual contains the following major topics:

Section 17. UART HIGHLIGHTS UART. This section of the manual contains the following major topics: HIGHLIGHTS Section 17. UART This section of the manual contains the following major topics: 17 17.1 Introduction... 17-2 17.2 Control Registers... 17-4 17.3 UART Baud Rate Generator... 17-10 17.4 UART

More information

RENESAS TECHNICAL UPDATE

RENESAS TECHNICAL UPDATE RENESAS TECHNICAL UPDATE TN-RX*-A***A/E RENESAS TECHNICAL UPDATE 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan Renesas Electronics Corporation Date: Apr. 1, 2013 Product Category

More information

DS1104 R&D Controller Board

DS1104 R&D Controller Board DS1104 R&D Controller Board Cost-effective system for controller development Highlights Single-board system with real-time hardware and comprehensive I/O Cost-effective PCI hardware for use in PCs Application

More information

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.

AN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1. SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES 1. Introduction C8051F3xx and C8051F41x devices are equipped with an SMBus serial I/O peripheral that is compliant with both the System Management

More information

PIC16F627A/628A/648A Data Sheet

PIC16F627A/628A/648A Data Sheet Data Sheet Flash-Based 8-Bit CMOS Microcontrollers with nanowatt Technology 2004 Microchip Technology Inc. Preliminary DS40044B Note the following details of the code protection feature on Microchip devices:

More information

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:

Below is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse: PS-2 Mouse: The Protocol: For out mini project we designed a serial port transmitter receiver, which uses the Baud rate protocol. The PS-2 port is similar to the serial port (performs the function of transmitting

More information

PIC16F62X. FLASH-Based 8-Bit CMOS Microcontrollers. Devices included in this data sheet: Special Microcontroller Features: High Performance RISC CPU:

PIC16F62X. FLASH-Based 8-Bit CMOS Microcontrollers. Devices included in this data sheet: Special Microcontroller Features: High Performance RISC CPU: FLASH-Based 8-Bit CMOS Microcontrollers Devices included in this data sheet: PIC16F627 PIC16F628 Referred to collectively as PIC16F62X. High Performance RISC CPU: Only 35 instructions to learn All single-cycle

More information

MACHINE ARCHITECTURE & LANGUAGE

MACHINE ARCHITECTURE & LANGUAGE in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based

More information

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat Digital Thermometer and Thermostat www.dalsemi.com FEATURES Temperature measurements require no external components Measures temperatures from 55 C to +125 C in 0.5 C increments. Fahrenheit equivalent

More information

PIC16F627A/628A/648A Data Sheet

PIC16F627A/628A/648A Data Sheet Data Sheet Flash-Based, 8-Bit CMOS Microcontrollers with nanowatt Technology 2005 Microchip Technology Inc. DS40044D Note the following details of the code protection feature on Microchip devices: Microchip

More information

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC. 8-bit Microcontrollers. Application Note. Features.

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC. 8-bit Microcontrollers. Application Note. Features. AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC Features Calibration using a 32 khz external crystal Adjustable RC frequency with maximum +/-2% accuracy Tune RC oscillator at any

More information

8-Bit CMOS Microcontrollers with A/D Converter

8-Bit CMOS Microcontrollers with A/D Converter 8-Bit CMOS Microcontrollers with A/D Converter Devices included in this data sheet: PIC16C72 PIC16C73 PIC16C73A PIC16C74 PIC16C74A PIC16C76 PIC16C77 PIC16C7X Microcontroller Core Features: High-performance

More information

Software Real Time Clock Implementation on MC9S08LG32

Software Real Time Clock Implementation on MC9S08LG32 Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32

More information

Low-Power Pin Sampling Techniques Using Kinetis L Series

Low-Power Pin Sampling Techniques Using Kinetis L Series Freescale Semiconductor Document Number:AN4734 Application Note Rev 0, 07/2013 Low-Power Pin Sampling Techniques Using Kinetis L Series by: Chris Brown 1 Introduction This application note, based on the

More information

AVR1003: Using the XMEGA Clock System. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1003: Using the XMEGA Clock System. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1003: Using the XMEGA Clock System Features Internal 32 khz, 2 MHz, and 32 MHz oscillators External crystal oscillator or clock input Internal PLL with multiplication factor 1x to 31x Safe clock source

More information

1/22/16. You Tube Video. https://www.youtube.com/watch?v=ympzipfabyw. Definitions. Duty Cycle: on-time per period (specified in per cent)

1/22/16. You Tube Video. https://www.youtube.com/watch?v=ympzipfabyw. Definitions. Duty Cycle: on-time per period (specified in per cent) Definition Pulse Width Modulation (PWM) is simply a way of getting the micro-controller to manage pulsing a pin on and off at a set period and duty cycle. The LPC11U24 has four timers with four match registers

More information

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P. Patient Monitoring Using Embedded Palaparthi.Jagadeesh Chand Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P Abstract The aim of this project is to inform

More information

AN585. A Real-Time Operating System for PICmicro Microcontrollers INTRODUCTION. Why do I Need a Real-Time Kernel? What is Multitasking Anyway?

AN585. A Real-Time Operating System for PICmicro Microcontrollers INTRODUCTION. Why do I Need a Real-Time Kernel? What is Multitasking Anyway? A Real-Time Operating System for PICmicro Microcontrollers Author: INTRODUCTION Jerry Farmer Myriad Development Company Ever dream of having a Real-Time Kernel for the PIC16CXXX family of microcontrollers?

More information

MicroMag3 3-Axis Magnetic Sensor Module

MicroMag3 3-Axis Magnetic Sensor Module 1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI

More information

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Using Arduino Microcontrollers to Sense DC Motor Speed and Position ECE480 Design Team 3 Using Arduino Microcontrollers to Sense DC Motor Speed and Position Tom Manner April 4, 2011 page 1 of 7 Table of Contents 1. Introduction ----------------------------------------------------------

More information

Counters. Present State Next State A B A B 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0

Counters. Present State Next State A B A B 0 0 0 1 0 1 1 0 1 0 1 1 1 1 0 0 ounter ounters ounters are a specific type of sequential circuit. Like registers, the state, or the flip-flop values themselves, serves as the output. The output value increases by one on each clock cycle.

More information

8051 MICROCONTROLLER COURSE

8051 MICROCONTROLLER COURSE 8051 MICROCONTROLLER COURSE Objective: 1. Familiarization with different types of Microcontroller 2. To know 8051 microcontroller in detail 3. Programming and Interfacing 8051 microcontroller Prerequisites:

More information

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows

More information

Using The PIC I/O Ports

Using The PIC I/O Ports EE2801 -- Lecture 22 Using The PIC I/O Ports EE2801-L22P01 The Variety Of Available IO Ports The PIC 16F874 microcontroller has five different IO ports, accounting for thirty three of the processors forty

More information

Lab 4: Pulse Width Modulation and Introduction to Simple Virtual Worlds (PWM) (PWM)

Lab 4: Pulse Width Modulation and Introduction to Simple Virtual Worlds (PWM) (PWM) 1 Lab 4: Pulse Width Modulation and Lab 4: Pulse Width Modulation and Introduction to Simple Virtual Worlds Introduction to Simple Virtual Worlds (PWM) (PWM) Virtual Spring and Virtual Wall 2 Virtual Spring

More information

Microcontroller Code Example Explanation and Words of Wisdom For Senior Design

Microcontroller Code Example Explanation and Words of Wisdom For Senior Design Microcontroller Code Example Explanation and Words of Wisdom For Senior Design For use with the following equipment: PIC16F877 QikStart Development Board ICD2 Debugger MPLAB Environment examplemain.c and

More information

Evaluating the Accuracy of Maxim Real-Time Clocks (RTCs)

Evaluating the Accuracy of Maxim Real-Time Clocks (RTCs) REAL-TIME CLOCKS Application Note 632: Aug 01, 2001 Evaluating the Accuracy of Maxim Real-Time Clocks (RTCs) This app note describes methods for measuring the accuracy of the Maxim Real-Time Clocks (RTCs)

More information

Section 23. 10-bit A/D Converter

Section 23. 10-bit A/D Converter M Section 23. A/D Converter HIGHLIGHTS This section of the manual contains the following major topics: 23.1 Introduction...23-2 23.2 Control Register...23-3 23.3 Operation...23-5 23.4 A/D Acquisition Requirements...23-6

More information

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012 Latches, the D Flip-Flop & Counter Design ECE 52A Winter 22 Reading Assignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7. Basic Latch 7.2 Gated SR Latch 7.2. Gated SR

More information

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures Chapter 02: Computer Organization Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures Objective: Understand the IO Subsystem and Understand Bus Structures Understand

More information

Application Note. 8-bit Microcontrollers. AVR091: Replacing AT90S2313 by ATtiny2313. Features. Introduction

Application Note. 8-bit Microcontrollers. AVR091: Replacing AT90S2313 by ATtiny2313. Features. Introduction AVR091: Replacing AT90S2313 by ATtiny2313 Features AT90S2313 Errata Corrected in ATtiny2313 Changes to Bit and Register Names Changes to Interrupt Vector Oscillators and Selecting Start-up Delays Improvements

More information

Backup Power Domain. AN0041 - Application Note. Introduction

Backup Power Domain. AN0041 - Application Note. Introduction Backup Power Domain AN0041 - Application Note Introduction This application note describes how to use the EFM32 Backup Power Domain and Backup Real Time Counter. An included software example for the Giant

More information

Section 15. Quadrature Encoder Interface (QEI)

Section 15. Quadrature Encoder Interface (QEI) Section 15. Quadrature Encoder Interface (QEI) HIGHLIGHTS This section of the manual contains the following major topics: 15.1 Introduction... 15-2 15.2 Control and Status Registers... 15-4 15.3 Programmable

More information

71M6521 Energy Meter IC. Real Time Clock Compensation. The Challenge. The RTC in the 71M6521D/F. Theory of Operation APPLICATION NOTE

71M6521 Energy Meter IC. Real Time Clock Compensation. The Challenge. The RTC in the 71M6521D/F. Theory of Operation APPLICATION NOTE 71M6521 Energy Meter IC A Maxim Integrated Products Brand APPLICATION NOTE AN_6521_035 MAY 2007 This document describes how to use software to compensate the real time clock (RTC) in Teridian meter chips.

More information

Computer Organization and Components

Computer Organization and Components Computer Organization and Components IS1500, fall 2015 Lecture 5: I/O Systems, part I Associate Professor, KTH Royal Institute of Technology Assistant Research Engineer, University of California, Berkeley

More information

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface

More information

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications

Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications Glitch Free Frequency Shifting Simplifies Timing Design in Consumer Applications System designers face significant design challenges in developing solutions to meet increasingly stringent performance and

More information

An Introduction to MPLAB Integrated Development Environment

An Introduction to MPLAB Integrated Development Environment An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to

More information

Freescale Semiconductor, I

Freescale Semiconductor, I Application Note 10/2003 Configuring the System and Peripheral Clocks in the MC9S12E128 By Steven Torres 8/16 Bit Systems Engineering Austin, Texas Introduction The MC9S12E128 is a 16-bit FLASH-based microcontroller

More information

MONOCHROME RGB YCbCr VIDEO DIGITIZER

MONOCHROME RGB YCbCr VIDEO DIGITIZER Active Silicon SNAPPER-PMC-8/24 MONOCHROME RGB YCbCr VIDEO DIGITIZER High quality analogue video acquisition board with square pixel sampling for CCIR, EIA (RS-170) standards, and nonstandard video formats.

More information

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver Electronics Exercise 2: The 555 Timer and its Applications Mechatronics Instructional Laboratory Woodruff School of Mechanical Engineering Georgia Institute of Technology Lab Director: I. Charles Ume,

More information