The Timer RB output pin P31 (TRB0) is connected to a point LED to view the mono shot pulse duration.
|
|
- Clement Melton
- 5 years ago
- Views:
Transcription
1 Introduction: Generation of One shot pulse using Timer RB in Programmable one shot generation mode. To the timer output, an LED is connected and the pulse width is generated in terms of seconds, so that it is visible to the eyes. Hardware: To generate a one shot pulse, the internal peripheral Timer RB of the R8C micon is used. R8C has a range of Timers, Timer RA, Timer RB and Timer C. Each timer has different modes of operations. Timer RB is used in Programmable one shot generation mode. The Timer RB output pin P (TRB0) is connected to a point LED to view the mono shot pulse duration. To trigger the monoshot generation, a push button switch is connected to the INT0 input. When the input is triggered through the switch, the timer RB generates the mono shot pulse on the TRB0 pin.
2 Circuit: C NC PF XIN/P46 PF 9 XOUT/P47 C NC C NC C NC PROGRAM NORMAL EX U A A A A4 A5 A6 A7 A8 C8 0.uF Decoupling R4 0E 8 B B 7 R5 0E B 6 R6 0E B4 5 R9 0E B5 4 R0 0E B6 R 0E B7 R 0E B8 R 0E 74LS45 LED mm RED LED LED mm RED LED LED4 mm RED LED LED5 mm RED LED LED6 mm RED LED LED7 mm RED LED LED8 mm RED LED LED9 mm RED LED 9 G DIR 0 GND VCC 0 R 0K C C4 + U JP XTAL 0MHZ C5 PF XTAL.768KHZ C6 PF JP6 JP4 D IN448 U CD4006 C6 4.7uF 0K R6 SW 8 Push Button Switch JP JP5 6 P4/XCIN 7 P44/XCOUT R 4K7 5 MODE U 4 CD4006 JP P/TRDIOC0 P/TRDIOD0 P5/TRDIOB P6/TRDIOC P7/TRDIOD P0/TRAO P/TRBO P/SSI P4/SDA/SCS P5/SCL/SSCK P7/SSO 4 R8C 4/ VSS VCC 8 RESET P0/TRDIOA0/TCLK P/TRDIOB0 P4/TRDIOA P/KI/AN9 P/KI/AN0 P/KI/AN P4/TXD0 P5/RXD0 P6/CLK0 P7/TRAIO/INT P60/TREO P6 P6 P6 P64 P65/CLK P66/INT/TXD P67/INT/RXD P45/INT P00/AN7 P0/AN6 P0/AN5 P0/AN4 P04/AN P05/AN P06/AN P07/AN SW RESET 44 P4/VREF Note: Dotted lines indicate the required connections meant for the study. C 0.uF P0/KI0/AN8
3 Connections: LED Push Button Switch -> P (TRB0) -> P45 (INT0) Functional Description: Here, the two timers Timer RA and Timer RB are cascaded. Timer RB is used in one shot wave form generation mode and timer RA in timer mode. The clock for timer RB is coming from the underflow signal of Timer RA. Both the Timers operate in the down counter mode. Timer RA counts the internal clock and the clock frequency of fosc/8 is selected. Timer RB is operated in one shot generation mode to generate a one shot pulse. The clock for timer RB is obtained from the underflow signal of the Timer RA. Timer RA is operated in timer mode. The clock is divided by the Timer RA and generates a low frequency clock of 8Hz (approx.). Both the prescalar and the primary registers are loaded with 55. This low frequency signal coming out of timer RA becomes clock input to Timer RB. The division ratio is obtained as (Fosc / 8 ) = (n+) (m+) n - Prescaler value m - Primary register ( / 8) = (56)* (56) = 8 Hz ( approx.)
4 Timer RB again divides this clock using its prescalar register to Hz. The prescalar is loaded with 7. Hence the clock is divided by 8 to generate a Hz. Set a count of to Timer RB primary register TZPR to get a time delay of second. This will be the one shot pulse duration. One Shot Pulse Duration is (n+) (m+) = Timer RA underflow n - Prescalar value m - Primary register (8) * () = = Second ( approx.) The INT0 pin acts a trigger input pin for one shot pulse generation. When a trigger is given using the push button switch, the timer RB outputs a high level in its TRB0 pin for the predefined time (as initialized in timer RB) and then changes to low level. Here the one shot pulse time is set as second. Registers used: TRAPRE - 8-bit Prescalar RA Register TRA - 8-bit Timer RA Primary Register TRAMR - Timer RA Mode Register TRACR - 8-bit Timer RA Control Register TRBMR - Timer RB Mode Register TRBCR - 8-bit Timer RB Control Register TRBPRE - 8-bit Prescalar RB Register TRBPR - 8-bit Timer RB Primary Register TRBIOC - 8-bit Timer RB I/O Control Register 4
5 Timer RA Mode Register - TRAMR Load TRAMR register with H 0 to set timer RA in timer mode and clock is selected as Fosc/8. Timer RA Control Register - TRACR Set TSTART bit to level to start the timer RA. 5
6 Timer RB Mode Register - TRBMR Using Timer RB mode register, programmable one shot mode is set. Set TMOD0 to 0 and TXMOD bit to choose one shot mode. Set TZWC to. Set TCK0 to 0 and TCK to to select underflow of timer RA as clock to Timer RB. 6
7 Timer RB I/OControl Register - TRBIOC The Timer RB outputs a high level for one shot pulse and the corresponding trigger is enabled for INT0 pin by the following settings. Set TOPL to 0 level, set INOSTG to level. Timer RB Control Register - TRBIOC Set TSTART bit to level to start the timer RB. 7
8 Software Description: Initialize timer RA. Start the timer RA. Timer RA will generate clock for the Timer RB. Initialize Timer RB to operate in the one shot waveform generation mode with external trigger INT0 pin. When the trigger is received, the Timer RB will generate a high pulse through the TRB0 for seconds. After second the TRB0 line is lowered. Connect a LED to the TRB0 line, to view the one shot pulse width. The functions in the file Demo4.C and short descriptions are listed below: Functions Description main Main routine displays a message on LCD and does the initializations of Timers RA and RB MCUInitialize Initializes Micon InitializeTimerRARB Initializes Timers RA and RB 8
9 Program Flow: Start Initialize Micons main clock Turn off Ring Ocsillator Main clock = fosc Initialize Timer RA Set Timer Mode, fosc/8 Set Prescalar to 55 Set TRA to 55 Start Timer RA Initialize Timer RB Set One Shot mode Set Prescalar to 7 Set TRBPR to 5 Enable One shot triggger Enable INT0 bit Start Timer RB Halt Execute Demo: When a trigger pulse is given through INT0 line, the timer RB generates a one shot pulse in its output pin TRB0 for a period of Second (approx.). LED connected to TRB0 will be switched on for that time and will be switched off again. 9
10 Use Topview Simulator to Verify the Design. Open the project Demo4 in the R8C/Tiny System Simulator using Open Project option from Project menu. The project window opens up along with the Demo4.c file. Use Build option from Build menu to compile the project. An output window captures the compiler ouput. Use Project -> Download Project from main menu to download the.mot file into the simulator s memory for simulation. Connect point LED to the port line Pusing LED module setting and connect one push button switch to the port line P45 to give the trigger signal to timer RD using keyboard module setting. Open the LED and keyboard window and arrange them as shown for better visibility. 0
11 Down load the program using Download Project command in Project menu. Run the program using Go command in Run menu. Now the LED connected to the port line P will be in off state and timer RB is waiting for trigger signal from P45. Give the trigger signal to port line P45 by pressing the push button switch connected to P45 in keyboard window. The LED will now switched on to indicate that the output of the mono shot of timer RB is level. Ater 0 to 5 seconds the LED will be switched off according to the PC speed and other things. Because in Topview Simulator we cann t simulate the timings signals as per actual as in the real hardware.
Demo 20 - Sequential Sampling of ADC. Introduction:
Introduction: In this demo, the program will read all 12 channels of ADC and send the data through serial port. Serial port 0 is used for sending data to PC at 9600 baudrate. The conversion is started
More informationDemo 17 - Receiving data from Host through Serial Port. Introduction:
Introduction: This demo program gives an idea about receiving data from the host using the serial port in asynchronous mode at 500 baud using serial port 0. The received data will be stored in the RAM
More informationDemo 8 - Programmable Timer. Introduction:
Introduction: This demo describes a complete project meant for industrial timing applications. This is a complete one with all the required features to manage various time-based operations in the industrial
More informationCourse Introduction. 2009, Renesas Technology America, Inc., All Rights Reserved
Course Introduction Purpose This course provides an introduction to the peripheral functions built into R8C Tiny series microcontrollers (MCUs). Objective Learn about the features and operation of the
More informationThis document describes how to set up and use the timer RB in programmable one-shot generation mode on the R8C/25 Group device.
APPLICATION NOTE R8C/25 Group 1. Abstract This document describes how to set up and use the timer RB in programmable one-shot generation mode on the R8C/25 Group device. 2. Introduction The application
More informationThis document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device.
APPLICATION NOTE R8C/25 Group 1. Abstract This document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device. 2. Introduction The application example described in this
More informationThis document describes a program for timer RA in pulse period measurement mode.
APPLICATION NOTE R8C/25 Group. Abstract This document describes a program for timer RA in pulse period measurement mode. 2. Introduction The application example described in this document applies to the
More informationOld Company Name in Catalogs and Other Documents
To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took
More informationThis document describes a program for timer RF in pulse width measurement mode.
R8C/25 Group. Abstract This document describes a program for timer RF in pulse width measurement mode. 2. Introduction The application example described in this document applies to the following MCU and
More information8254 is a programmable interval timer. Which is widely used in clock driven digital circuits. with out timer there will not be proper synchronization
8254 is a programmable interval timer. Which is widely used in clock driven digital circuits. with out timer there will not be proper synchronization between two devices. So it is very useful chip. The
More informationOld Company Name in Catalogs and Other Documents
To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took
More information8051 Microcontroller
8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many
More informationIn the HEW, open a new project by selecting New workspace from the main menu.
1.1 Introduction Renesas s HEW 4.0 is used for developing application programs. Each program is opened as a separate project and the related files are stored in the relevant project directory. In the HEW,
More informationDatasheet. 1. Overview. 1.1 Features Applications RENESAS MCU. R8C/34W Group, R8C/34X Group, R8C/34Y Group, R8C/34Z Group
Datasheet R8C/34W Group, R8C/34X Group, R8C/34Y Group, R8C/34Z Group RENESAS MCU R01DS0012EJ0110 Rev.1.10 1. Overview 1.1 Features The R8C/34W Group, R8C/34X Group, R8C/34Y Group, and R8C/34Z Group of
More informationMicrocomputer System Design
Microcomputer System Design COE305 Lab. What is a Microprocessor? A microprocessor is a multipurpose, clockdriven, register-based electronic device that reads binary instructions from a storage device
More informationPIC Microcontroller Introduction
PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.
More informationDEV-1 HamStack Development Board
Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,
More informationECE 271 Microcomputer Architecture and Applications University of Maine
Goals Lab 7: Timer Input Capture in C Instructor: Prof. Yifeng Zhu Spring 2015 1. Understand the basic concept of input capture function of a timer 2. Handle different events in the interrupt service routine
More informationOld Company Name in Catalogs and Other Documents
To our customers, Old Company Name in Catalogs and Other Documents On April 1 st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took
More informationTimer1 Capture Mode:
Timer1 Capture Mode: Interrupt Description Input Conditions Enable Flag Timer 1 Trigger after N events N = 1.. 2 19 100ns to 0.52 sec RC0 TMR1CS = 1 TMR1IF Timer 1 Capture Mode 1 Timer 1 Capture Mode 2
More informationBHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)
BHARATHIDASAN ENGINEERING COLLEGE III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013) FREQUENTLY ASKED QUESTIONS IN UNIVERSITY EXAMINATION PART A UNIT 1-8085 PROCESSOR 1. Draw the
More informationThe 8255A: Programmable Peripheral Interface
CMP:885 Peripherals Summary- EE39: Computer Organization, rchitecture and MicroProcessors http://www.ee.iitb.ac.in/ sumantra/courses/up/up.html The 855: Programmable Peripheral Interface PROGRMMER S VIEW
More informationThe following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode).
APPLICATION NOTE M16C/62 1.0 Abstract The following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode). 2.0 Introduction The M16C/62 is a 16-bit MCU, based
More informationThree criteria in Choosing a Microcontroller
The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program
More informationA pplications Engineering. Powerful Processors Easy to Use. SKP8CMini-13. User's M anual. Rev. 1.0 October w w w.renesas.com
A pplications Engineering Powerful Processors Easy to Use SKP8CMini-13 User's M anual Rev. 1.0 October 2004 w w w.renesas.com Table of Contents 1.0 Introduction...3 2.0 Kit Contents...4 3.0 Limited Guarantee
More informationGeneral Purpose Programmable Peripheral Devices. Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar
Chapter 15 General Purpose Programmable Peripheral Devices by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar Microprocessor & Interfacing (140701) Rahul Patel 1
More informationEmbedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester
Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,
More informationEE6008-Microcontroller Based System Design Department Of EEE/ DCE
UNIT- II INTERRUPTS AND TIMERS PART A 1. What are the interrupts available in PIC? (Jan 14) Interrupt Source Enabled by Completion Status External interrupt from INT INTE = 1 INTF = 1 TMR0 interrupt T0IE
More informationET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features
ET-PIC 24 WEB-V1 ET-PIC 24 WEB-V1 is PIC Board Microcontroller from Microchip that uses 16 Bit No.PIC24FJ128GA008 Microcontroller for processing data and develops board. The remarkable specification of
More informationTopview Trainer. Embedded System Trainer for 8031/8051 Microcontrollers. Hardware User Guide
Topview Trainer Embedded System Trainer for 80/805 Microcontrollers Hardware User Guide Copyright 00 Frontline Electronics Pvt Ltd. All Rights Reserved. Information in this document is subject to change
More informationMicrocontroller Overview
Microcontroller Overview Microprocessors/Microcontrollers/DSP Microcontroller components Bus Memory CPU Peripherals Programming Microcontrollers vs. µproc. and DSP Microprocessors High-speed information
More informationSANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1
SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC
More informationPIC 28 Pin Board Documentation. Update Version 5.0
PIC 28 Pin Board Documentation Update 2009.10 Version 5.0 Table of Contents PIC 28 Pin Board Documentation... 1 Table of Contents... 2 Introduction... 3 Circuit Schematic... 4 The following is the Circuit
More informationELEG3923 Microprocessor Ch.9 Timer Programming
Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch.9 Timer Programming Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Programming 8051 Timers Counter programming Timer programming
More informationThis document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device.
APPLICATION NOTE R8C/25 Group R01AN1286EJ0110 Rev. 1.10 1. Abstract This document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device. 2. Introduction The application
More informationCENG-336 Introduction to Embedded Systems Development. Timers
CENG-336 Introduction to Embedded Systems Development Timers Definitions A counter counts (possibly asynchronous) input pulses from an external signal A timer counts pulses of a fixed, known frequency
More informationBolt 18F2550 System Hardware Manual
1 Bolt 18F2550 System Hardware Manual Index : 1. Overview 2. Technical specifications 3. Definition of pins in 18F2550 4. Block diagram 5. FLASH memory Bootloader programmer 6. Digital ports 6.1 Leds and
More information1. Attempt any three of the following: 15
(2½ hours) Total Marks: 75 N. B.: (1) All questions are compulsory. (2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same question must be written together.
More informationTektronix DPO Demo 1 Board Instruction Manual
xx ZZZ Tektronix DPO Demo 1 Board Instruction Manual www.tektronix.com *P071253900* 071-2539-00 Copyright Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries
More informationThese three counters can be programmed for either binary or BCD count.
S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.
More informationDepartment of Electronics and Instrumentation Engineering Question Bank
www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I
More informationLABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580
LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F458 1. OBJECTIVES: 1.1 To learn how to interface LCD 16x2, Keypad 4x4 and 7Segment Display to the microcontroller. 1.2 To
More information1. Pin diagram of 8051 and ports
e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Programming parallel ports Module No: CS/ES/9 Quadrant 1 e-text In this lecture pin diagram of 8051 controller will be shown and
More informationSNC36060 Four Channels Speech Controller
========================== CONTENTS =========================== 1. INTRODUCTION... 3 2. FEATURES... 3 3. BLOCK DIAGRAM... 4 4. PIN ASSIGNMENT... 5 5. FUNCTION DESCRIPTIONS... 6 5.1. OSCILLATOR... 6 5.2.
More informationCHAPTER TWELVE - Memory Devices
CHAPTER TWELVE - Memory Devices 12.1 6x1,024 = 16,384 words; 32 bits/word; 16,384x32 = 524,288 cells 12.2 16,384 addresses; one per word. 12.3 2 16 = 65,536 words = 64K. Thus, memory capacity is 64Kx4.
More informationM16C R8C FoUSB/UART Debugger. User s Manual REJ10J
REJ10J1217-0100 M16C R8C FoUSB/UART Debugger User s Manual RENESAS MICROCOMPUTER Development Environment System M16C Family R8C/Tiny Series Precautions on Connecting R8C/20, R8C/21, R8C/22, R8C/23 Rev.1.00
More informationSNL16000 MTP EV chip (with 2Mx16 Flash Memory)
================== CONTENTS ================= 1. INRODUCTION... 3 2. FEATURES... 3 2.1. CPU... 3 2.2. WPU... 4 2.3. LCD... 4 3. FLASH MEMORY... 6 4. RAM... 6 5. PIN ASSIGNMENT... 7 6. LQFP-256 OUTLINE...
More informationR8C/L35C Group, R8C/L36C Group, R8C/L38C Group, R8C/L3AC Group. Household appliances, office equipment, audio equipment, consumer products, etc.
Datasheet R8C/L35C Group, R8C/L36C Group, R8C/L38C Group, R8C/L3AC Group RENESAS MCU R01DS0095EJ0101 Rev.1.01 1. Overview 1.1 Features The R8C/L35C Group, R8C/L36C Group, R8C/L38C Group, and R8C/L3AC Group
More informationSNC Four Channels Speech Controller
========================== CONTENTS =========================== 1. INTRODUCTION... 3 2. FEATURES... 3 3. BLOCK DIAGRAM... 4 4. PIN ASSIGNMENT... 5 5. FUNCTION DESCRIPTIONS... 6 5.1. OSCILLATOR... 6 5.2.
More informationOperation Test Manual (Version for R8C/38A)
Micon Car Kit, Ver.5 Operation Test Manual (Version for R8C/38A) This manual describes micom car kit operation test procedures and supports the following boards: Motor drive board, Ver. 4 Sensor board,
More informationHello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs.
Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs. 1 This course covers specific features of the independent watchdog timer on RX MCUs. If
More informationUsing the HT16K33 in DVD Player Panel Applications
Using the HT16K33 in DVD Player Panel Applications D/N:AN0363E Introduction The HT16K33 is a memory mapping and multi-function LED controller driver. The maximum display capacity in the device is 128 dots
More informationMicrocontroller and Embedded Systems:
Microcontroller and Embedded Systems: Branches: 1. Electronics & Telecommunication Engineering 2. Electrical & Electronics Engineering Semester: 6 th Semester / 7 th Semester 1. Explain the differences
More informationMore Fun with Timer Interrupts
More Fun with Timer Interrupts Chords Objective: Play a musical chord each time you press a button: Button RC0 RC1 RC2 Timer Timer0 Timer1 Timer3 RB0 A3 C4 E4 RB1 B3 D4 F4 RB2 C4 E4 G4 Calculations: Assume
More informationExercise 4-1. DSP Peripherals EXERCISE OBJECTIVES
Exercise 4-1 DSP Peripherals EXERCISE OBJECTIVES Upon completion of this exercise, you will be familiar with the specialized peripherals used by DSPs. DISCUSSION The peripherals found on the TMS320C50
More informationProcessor Register Set of M16C
Processor Register Set of M6C 2 banks of general-purpose registers 4 6-bit data registers R - R3 Upper and lower bytes of registers R and R can be used as 8-bit registers (RL, RH, RL, RH) 2 6-bit address
More information2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.
DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in
More informationFujitsu Microelectronics Europe Application Note MCU-AN E-V10 F²MC-FR FAMILY 32-BIT MICROCONTROLLER MB91460 RELOAD TIMER APPLICATION NOTE
Fujitsu Microelectronics Europe Application Note MCU-AN-300060-E-V10 F²MC-FR FAMILY 32-BIT MICROCONTROLLER MB91460 RELOAD TIMER APPLICATION NOTE Revision History Revision History Date 2008-03-26 V1.0,
More information16-BIT TIMER AND EVENT COUNTER
nc. SECTION 7 16-BIT TIMER AND EVENT COUNTER MOTOROLA 16-BIT TIMER AND EVENT COUNTER 7-1 nc. SECTION CONTENTS 7.1 INTRODUCTION............................................7-3 7.2 TIMER ARCHITECTURE.....................................7-3
More informationThe MCU s Pulse. Internal clock or oscillator to synchronize operation. One clock cycle = 1 TOSC = 1/fOSC. t TOSC
The MCU s Pulse Internal clock or oscillator to synchronize operation V 0 t TOSC One clock cycle = 1 TOSC = 1/fOSC Clock Cycle The minimum time to perform any operation is one instruction cycle TCY 1 TCY
More informationDEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP
DEVBOARD3 DATASHEET 10Mbits Ethernet & SD card PIC18F67J60 MICROCHIP Version 1.0 - March 2009 DEVBOARD3 Version 1.0 March 2009 Page 1 of 7 The DEVBOARD3 is a proto-typing board used to quickly and easily
More informationAtmel AVR datasheet. Matrix Multimedia Atmel AVR Board EB Contents
Atmel AVR datasheet Contents 1. About this document 2. General information 3. Board overview 4. Getting Started 5. Block schematic and description Appendix A. Circuit diagram B. Compatible AVR device C.
More informationNX-51 V2 plus experiment board Documentation 1. NX-51 V2 plus. P89V51RD2 microcontroller Eexperiment board. Documentation
NX- V plus experiment board Documentation NX- V plus PVRD microcontroller Eexperiment board Documentation NX- V plus experiment board Documentation NX- V plus experiment board Documentation. About PVRD
More informationBased on a Single Chip Microcomputer to Realize Electronic Clock Design and Analysis
2016 International Conference on Manufacturing Construction and Energy Engineering (MCEE) ISBN: 978-1-60595-374-8 Based on a Single Chip Microcomputer to Realize Electronic Clock Design and Analysis Shu-Hua
More informationQuestion Bank Microprocessor and Microcontroller
QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to
More information8051 Training Kit Lab Book
8051 Training Kit Lab Book Date: 25 September 2009 Document Revision: 1.05 BiPOM Electronics 16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone: (713) 283-9970 Fax: (281) 416-2806 E-mail: info@bipom.com
More informationEmbedded World Television, Radio, CD player, Washing Machine Microwave Oven Card readers, Palm devices
A presentation on INTRODUCTION We are living in the Embedded World. We are surrounded with many embedded products and our daily life largely depends on the proper functioning of these gadgets. Television,
More information================== CONTENTS =================
================== CONTENTS ================= 1 INTRODUCTION... 3 2 FEATURES... 3 2.1. CPU... 3 2.2. WPU... 4 3 PIN ASSIGNMENT... 5 4 BLOCK DIAGRAM... 6 5 FUNCTION DESCRIPTION... 7 5.1. ROM... 7 5.2. RAM...
More informationThe 8051 microcontroller has two 16-bit timers/counters called T0 and T1.
Counters and Timers: The 8051 microcontroller has two 16-bit timers/counters called T0 and T1. As their names suggest, timer counts internal clock pulse i.e. machine cycle to provide delay. Counter counts
More information1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.
(1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic
More informationUNIT IV MICROCONTROLLER
UNIT IV 8051- MICROCONTROLLER Prepared by R. Kavitha Page 1 Application Prepared by R. Kavitha Page 2 Pin Description of the 8051 UNIT IV- 8051 MICROCONTROLLER P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST
More information8051 Microcontroller Interrupts
8051 Microcontroller Interrupts There are five interrupt sources for the 8051, which means that they can recognize 5 different events that can interrupt regular program execution. Each interrupt can be
More information[TUT] ATTiny817, 12-bit timer, TCD, servos, 1 & 2 Ramp PWM, HXT900. There is a One Ramp mode example and a Two Ramp mode example.
[TUT] ATTiny817, 12-bit timer, TCD, servos, 1 & 2 Ramp PWM, HXT900 This about using an ATTiny817 Xplained mini to drive 2 HXT900 servos using the 12-bit timer. There is a One Ramp mode example and a Two
More information_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes
_ V9.12. 225 Technical Notes Intel 8085 Family In-Circuit Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document assumes knowledge
More informationINTERFACING INTERFACING. Richa Upadhyay Prabhu. NMIMS s MPSTME February 25, 2016
INTERFACING Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu February 25, 2016 8255: Programmable Peripheral Interface or Programmable Input output Device Introduction METHODS OF DATA TRANSFER
More informationLesson-3: Counters and Timers
8051 AND ADVANCED PROCESSOR ARCHITECTURES Lesson-3: Counters and Timers 1 Timing and counting devices Two T0 and T1 in classic 8051 family and three T0, T1 and T2 in 8052 family (an extension of 8051).
More information8051 Peripherals. On-Chip Memory Timers Serial Port Interrupts. Computer Engineering Timers
8051 Peripherals On-Chip Memory Timers Serial Port Interrupts Computer Engineering 2 2-1 8051 Timers 8051 Timers The 8051 has 2 internal 16-bit timers named Timer 0 and Timer 1 Each timer is a 16-bit counter
More informationPPG Function of F2MC-16LX MCU Series as PWM
PPG Function of F2MC-16LX MCU Series as PWM Introduction... 1 PPG Function... 1 Important Register Configuration... 2 Flow chart... 3 Program Code... 4 Fujitsu Microelectronics America, Inc. i PPG Function
More information================== CONTENTS =================
================== CONTENTS ================= 1 INTRODUCTION... 3 2 FEATURES... 3 2.1. CPU... 3 2.2. WPU... 4 3 PIN ASSIGNMENT... 5 4 BLOCK DIAGRAM... 6 5 FUNCTION DESCRIPTION... 7 5.1. ROM... 7 5.2. RAM...
More informationMPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine
MPLAB SIM MPLAB IDE Software Simulation Engine 2004 Microchip Technology Incorporated MPLAB SIM Software Simulation Engine Slide 1 Welcome to this web seminar on MPLAB SIM, the software simulator that
More informationDOCUMENT REVISION HISTORY 1:
PAGE 2 OF 12 DOCUMENT REVISION HISTORY 1: DOCUMENT REVISION FROM TO DATE DESCRIPTION CHANGED BY A 2008.11.19 First Release. (Based on LCD counter drawing: COG-DEMO1003 (Rev.0)) PHILIP CHENG CHECKED BY
More informationTimer0..Timer3. Interrupt Description Input Conditions Enable Flag
Timer0..Timer3 Timers are pretty useful: likewise, Microchip provides four different timers for you to use. Like all interrupts, you have to Enable the interrupt, Set the conditions of the interrupt, and
More informationSH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A
Application Note for SH69P55A EVB SH69P55A EVB The SH69P55A EVB is used to evaluate the SH69P55A chip's function for the development of application program. It contains of a SH69V55A chip to evaluate the
More informationAnalog Output with a Digital to Analog Converter
Analog Output with a Digital to Analog Converter Matthew Beckler beck0778@umn.edu EE2361 Lab 007 April 5, 2006 Abstract Without help, microcontrollers can have great trouble creating analog signals. Approximations
More informationDisplay Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.
Display Real Time Clock (RTC) On LCD PR12 Version 1.2 Aug 2008 Cytron Technologies Sdn. Bhd. Information contained in this publication regarding device applications and the like is intended through suggestion
More informationLecture-9 Intel 8085 Microprocessor It is a 40-pin DIP(Dual in package) chip, base on NMOS technology, on a single chip of silicon.
Lecture-9 Intel 8085 Microprocessor It is a 40-pin DIP(Dual in package) chip, base on NMOS technology, on a single chip of silicon. It requires a single +5v supply between Vcc at pin no 40 and GND at pin
More informationExclusive 2.5 GHz Frequency Counter
Exclusive 2.5 GHz Frequency Counter with blue 2 x 16 LCD display This manual will guide you how to assemble, test and tune this frequency counter KIT. Features: Frequency range from 5 MHz to 2.5GHz Factory
More informationUser's Manual. ACPL-796J Opto-Isolated A/D Converter Evaluation Kit. Description. Preparation
ACPL-J Opto-Isolated A/D Converter Evaluation Kit User's Manual Description The ACPL-J Isolated Modulator (optocoupler) uses sigma-delta modulation to convert an analog input signal into a high-speed single-bit
More informationIntroduction to Embedded Systems
Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems
More informationDocument: Datasheet Date: 22-Mar-11 Model #: 3679 Product s Page:
Email: info@sunrom.com Visit us at http://www.sunrom.com Document: Datasheet Date: -Mar- Model #: 79 Product s Page: www.sunrom.com/p-0.html ST79 - Infrared remote control decoder NEC The main function
More informatione-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interrupt Programming in Embedded C Module No: CS/ES/20 Quadrant 1 e-text
e-pg Pathshala Subject: Computer Science Paper: Embedded System Module: Interrupt Programming in Embedded C Module No: CS/ES/20 Quadrant 1 e-text In this lecture embedded C program for interrupt handling
More informationMSM80C154S MSM83C154S MSM85C154HVS USER'S MANUAL
MSM8C54S MSM83C54S MSM85C54HVS USER'S MANUAL Copyright 988, OKI ELECTRIC INDUSTRY COMPANY, LTD. OKI makes no warranty for the use of its products and assumes no responsibility for any errors which may
More informationUSB-4303 Specifications
Specifications Document Revision 1.0, February, 2010 Copyright 2010, Measurement Computing Corporation Typical for 25 C unless otherwise specified. Specifications in italic text are guaranteed by design.
More informationARM HOW-TO GUIDE Interfacing Buzzer with LPC2148 ARM
ARM HOW-TO GUIDE Interfacing Buzzer with LPC2148 ARM Contents at a Glance ARM7 LPC2148 Primer Board... 3 Buzzer... 3 Interfacing Buzzer... 4 Interfacing Buzzer with LPC2148... 5 Pin Assignment with LPC2148...
More informationTelephony Solutions: Ring Detection with SX Microcontroller
Telephony Solutions: Ring Detection with SX Microcontroller Appication Note 4 Stephen Holland February 1999 Introduction This application note outlines the hardware and software needed to provide telephone
More informationLaboratory 4 Usage of timers
Laboratory 4 Usage of timers 1. Timer based interrupts Beside external interrupt, the MCU responds to internal ones which are triggered by external events (on the external pins). The source of the internal
More informationLUPO TimeStamp Module (Ver. 1.2) Hidetada Baba
LUPO TimeStamp Module (Ver. 1.2) Hidetada Baba November 28, 2009 1 1 General 1 General 1.1 Function This module is a CAMAC/VME LUPO module which including the functions of Time stamp, Output register and
More informationTEMIC 51T (Temic) EMULATION
Note: To use with frequencies above 40Mhz it will be required to use an emulator board that has been specially modified to obtain high frequency operation and will work only with the POD-51Temic. The EPROM
More informationDP8571A Timer Clock Peripheral (TCP)
DP8571A Timer Clock Peripheral (TCP) General Description The DP8571A is intended for use in microprocessor based systems where information is required for multi-tasking data logging or general time of
More informationRapid Software Development on 32-Bit Automotive MPC56xx Family of MCUs
November, 2010 Rapid Software Development on 32-Bit Automotive MPC56xx Family of MCUs AMF-AUT-T0819 Patrick W. Menter Manager - Automotive Silicon Support Tools Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack,
More information