EE 476: Homework 3

Due At the start of your 3rd lab period

Read all of Lab 3. In the lab description there are two different timing schemes.

  1. For scheme 1:
    1. Convert the freqencies given in the Lab 3 writeup to timer0 clock ticks. What pre-scaler setting should you use to maximize frequency accuracy, while keeping the reload values within 8-bits?
    2. Write out a detailed description of how you would use timer1 to time the various intervals (syllable duration and repeat time) in a song.

  2. For scheme 2:
    1. Convert the freqencies given in the Lab 3 writeup to timer1 clock ticks. What pre-scaler setting should you use to maximize frequency accuracy, while keeping the reload values within 16-bits?
    2. Write out a detailed description of how you would use timer0 to time the various intervals (syllable duration and repeat time) in a song.
  3. Write the source code necessary to impliment the cricket call generator for Lab 3.

Copyright Cornell University Jan 2000