28.1k views
2 votes
Suppose that the TPM1 module has been programmed to request the timer over flow interrupt. the module generates a 46% duty cycle PWM signal on channel 0 and a 71% duty cycle PWM signal on channel 1. The frequency of the PWM signals is 755 Hz. what is the frequency of the timer flow interrupt in HZ.

User Gnjago
by
8.3k points

1 Answer

4 votes

Final answer:

The frequency of the timer overflow interrupt in a TPM1 module is not solely determined by the PWM frequency. To accurately answer this, the maximum count value of the timer before it overflows is required. Without this information, it cannot be definitively stated what the overflow interrupt frequency is.

Step-by-step explanation:

The frequency of the timer overflow interrupt in a TPM1 module that is programmed to generate PWM signals can be determined differently from the frequency of the PWM signals themselves. In this case, the PWM signals have a frequency of 755 Hz, but the question asks for the frequency of the timer overflow interrupt, which occurs when the timer completes its count and resets back to zero. If we assume the module uses a simple counter that increments once per PWM cycle until it overflows, then the frequency of the timer overflow interrupt equates to the frequency of the PWM signal.

However, this provided information is likely insufficient without knowing the maximum count of the timer before it overflows. If the timer overflows once per PWM cycle, then the overflow interrupt would also have a frequency of 755 Hz. If the timer overflow takes multiple PWM cycles, the frequency would be some fraction of the PWM signal frequency.

User Arzu
by
7.6k points