1 answer
(click or scroll down)
To determine the overflow period for timer TIM7, we first need to calculate the timer clock frequency with the given prescaler value.
Timer clock frequency = Timer input clock frequency / (PSC + 1)
Timer clock frequency = 80 MHz / (79 + 1)
Timer clock frequency = 80 MHz / 80
Timer clock frequency = 1 MHz
Next, we calculate the timer period using the timer clock frequency and the auto-reload register value.
Timer period = (ARR + 1) / Timer clock frequency
Timer period = (499 + 1) / 1 MHz
Timer period = 500 / 1,000,000
Timer period = 0.0005 seconds or 500 microseconds
Therefore, the overflow period for timer TIM7 with the given parameters is 500 microseconds.