Unformatted text preview: after a positive edge. This gives a maximum error in measuring time of 1 clk tick. *Note: If a student says 2 clk cycles, then give full credit. They are thinking in the correct direction. Since: Distance = Velocity * Time Having error when measuring time directly impacts one’s calculation of distance. b) Compute the maximum error in distance for each legal prescaler of TIMER1. (5pts) First compute the maximum error in time (i.e. period of one Timer tick) for each prescalar, then compute how far light can travel in that amount of time (velocity of light is 3x10^8 m/s) Note: The below errors should be divided by two since we are measuring round trip distance. Prescalar 1: Freq = 16 MHz, Period = 1 / 16 MHz Distance = 3x10^8 * 1/16 MHz = 18.75 m //...
View
Full Document
 Spring '09

Click to edit the document details