STM32F103C8, How to stop PWM signal?
Hi ST Community.
I need your help. I am working on a PWM Proyect, Duty cicle must be change every period, and there is delta time where the PWM must be OFF.
I am using a Timer, it fire an interrution and this interruption set a flag to 1 in order to reload the CCRX:
TIM2->CCR1=lookUptable1[LookUpTableIndiceUsar_R]
so far, the issue that I can´t handle is when I need to STOP the PWM, i am using:
HAL_TIM_PWM_Stop(&htim2, TIM_CHANNEL_1);
But PWM generation continue working......
Can you guide/help me please.
Thanks in advance.
Br
Alfredo