2017-03-16 11:39 PM
I used TIM1_channel 1 and channel 3 .
TIM3 use ADC triigger.
so I want to update TIM1 duty cylce.
I wrote code below.
HAL_TIM_PWM_Start(&htim1,TIM_CHANNEL_1);
__HAL_TIM_SET_COMPARE(&htim1,TIM_CHANNEL_1,detact_pulse);
HAL_TIM_PWM_Stop(&htim1,TIM_CHANNEL_1);
but I can't see dudy cycle
2017-03-17 02:05 AM
Preliminary checkup of STM32Cube HAL/LL example for same MCU boards related to timer and PWM would be good start.