HW5 - measured time that is caused by interrupt latency and...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Ve373 Design of Microprocessor Based System Homework 5 Assigned: May 26, 2011 Due: June 2, 2011, at 10:00 am. The homework should be submitted electronically to SAKAI. Submission should include a word document as well as all the source codes. 1. Write C programs to measure the length of high level of a random input digital signal by using: a. External Interrupt module b. Input Capture module Represent the length in terms of PBCLK. (30 points) 2. In Problem 1, analyze and compare the accuracy of your two measurements, i.e. the percentage of
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: measured time that is caused by interrupt latency and ISR overhead. Which way is better? (10 points) 3. Write a C program to continuously sample and convert an analog input signal using the ADC module. The analog voltage value should be converted into digital value every 10 millisecond. Calculate the average of the converted values over 1 second time period. (60 points) 1...
View Full Document

This document was uploaded on 06/24/2011.

Ask a homework question - tutors are online