Unable to setup a One-Pulse Mode Timer. The timer is resetting all the time.
Hi.
I am trying to configure a timer with PWM in one-pulse mode (TIM5) as slave of another timer that sends N pluses to trigger TIM5.
I am unable to do it could you give me a hand to understand what I am doing wrong?
TIM1 when started should triggers an specified amount of pulses. I thought I could use Repetition Counter but for now I am not getting any pulses.
I am using a STM32G474RE MCU.
To start the timers I use:
HAL_TIM_PWM_Start(&htim5, TIM_CHANNEL_4);
HAL_TIM_PWM_Start(&htim1, TIM_CHANNEL_5);

Thanks in advance,
Raúl Pérez Gómez
