Question: 1. Timer The timer x and channel y should be used to achieve a PWM signal as far as possible to produce exactly. The PWM
1. Timer The timer x and channel y should be used to achieve a PWM signal as far as possible to produce exactly. The PWM signal should be output on a pin and the following Specifically, the timer x and channel y should be used to generate a PWM signal as precisely as possible. The PWM signal should be output on a pin and have the following specifications: Timer frequency fUpdate = 10kHz DutyCycle: (4 10)% Note (timer): Use TIMx as the timer used: 10 1 - 10: Timer 2 10 11 - 20: timer 3 10 21 - 30: timer 4
Note (Channel): Use CHy as the used channel:
y = (3% 4) + 1
Note (% operator): The% sign is the modulo operator (The question about the rest). Example: 11% 3 = 2, since 3 + 3 + 3 = 9, remainder 2 The 3 fits 3x into the 11, but a remainder of 2 remains.
b) Determine the values for the ARR, PSC and CCRx registers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
