How do I generate 'N' PWM pulses on TIM2 CH4.
I have inherited a PCBA that needs to generate a fixed number of PWM pulses on TIM2 CH4.I have successfully setup TIM1 as the Master (with repetition count = 0) and TIM4 as a Gated Slave.TIM1 CH1 is generating 2kHz PWM indefinitely.TIM2 CH4 is genera...