Standard Single Purpose Processors: Peripherals
#1

[attachment=10533]
Standard Single Purpose Processors: Peripherals
Introduction

• Single-purpose processors
– Performs specific computation task
– Custom single-purpose processors
• Designed by us for a unique task
– Standard single-purpose processors
• “Off-the-shelf” -- pre-designed for a common task
• a.k.a., peripherals
• serial transmission
• analog/digital conversions
Timers, counters, watchdog timers
• Timer: measures time intervals
– To generate timed output events
• e.g., hold traffic light green for 10 s
– To measure input events
• e.g., measure a car’s speed
• Based on counting clock pulses
• E.g., let Clk period be 10 ns
• And we count 20,000 Clk pulses
• Then 200 microseconds have passed
• 16-bit counter would count up to 65,535*10 ns = 655.35 microsec., resolution = 10 ns
• Top: indicates top count reached, wrap-around
Counters
• Counter: like a timer, but counts pulses on a general input signal rather than clock
– e.g., count cars passing over a sensor
– Can often configure device as either a timer or counter
Other timer structures
• Interval timer
– Indicates when desired time interval has passed
– We set terminal count to desired interval
• Number of clock cycles = Desired time interval / Clock period
• Cascaded counters
• Prescaler
– Divides clock
– Increases range, decreases resolution
Example: Reaction Timer
• Measure time between turning light on and user pushing button
– 16-bit timer, clk period is 83.33 ns, counter increments every 6 cycles
– Resolution = 6*83.33=0.5 microsec.
– Range = 65535*0.5 microseconds = 32.77 milliseconds
– Want program to count millisec., so initialize counter to 65535 – 1000/0.5 = 63535
Watchdog timer
• Must reset timer every X time unit, else timer generates a signal
• Common use: detect failure, self-reset
• Another use: timeouts
– e.g., ATM machine
– 16-bit timer, 2 microsec. resolution
– timereg value = 2*(216-1)–X = 131070–X
For 2 min., X = 120,000 microsec
Serial Transmission Using UARTs
• UART: Universal Asynchronous Receiver Transmitter
– Takes parallel data and transmits serially
– Receives serial data and converts to parallel
• Parity: extra bit for simple error checking
• Start bit, stop bit
• Baud rate
– signal changes per second
– bit rate usually higher
Pulse width modulator
• Generates pulses with specific high/low times
• Duty cycle: % time high
– Square wave: 50% duty cycle
• Common use: control average voltage to electric device
– Simpler than DC-DC converter or digital-analog converter
– DC motor speed, dimmer lights
• Another use: encode commands, receiver uses timer to decode
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: purpose hse, what is purpose of multilevel h bridge in wikipedia, main purpose of image morphing, powered by smf what is the purpose of application software, purpose of online payslip generation system, purpose of training and development program, purpose of rain alarms,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Data Encryption Standard (DES) seminar class 2 9,388 20-02-2016, 01:59 PM
Last Post: seminar report asees
  CRISP-DM (CRoss-Industry Standard Process for Data Mining) computer girl 0 957 06-06-2012, 02:40 PM
Last Post: computer girl
  Speed protocol processors electronics seminars 3 5,140 13-02-2012, 01:26 PM
Last Post: seminar paper
  Operation and Control of Single Phase Micro- Sources in a Utility Connected Grid project report helper 2 1,993 07-01-2012, 05:25 PM
Last Post: project uploader
  On-Chip Optical Communication for Multicore Processors seminar class 0 1,144 09-05-2011, 10:56 AM
Last Post: seminar class
  X-MODDES (eXtended Multi Operator Delimiter based Data Encryption Standard) seminar class 0 1,772 05-05-2011, 12:05 PM
Last Post: seminar class
  Centralized Controlling Of Peripherals/Pc’s Using RF seminar class 0 968 30-04-2011, 04:03 PM
Last Post: seminar class
  dual core processors shibin.sree 4 4,439 21-04-2011, 03:39 PM
Last Post: seminar class
  CLUSTERED COMPUTING USING SINGLE THREAD SPACE seminar class 0 1,083 02-04-2011, 03:08 PM
Last Post: seminar class
  802.11 Protocol(WLan Standard) seminar class 0 1,384 10-03-2011, 04:00 PM
Last Post: seminar class

Forum Jump: