2022-10-26 06:23 PM
Hello,
I control BLDC motor.
Control the speed of the motor by changing the TIM->CCR.
I have a question while setting the time to change the value of CCR.
If I change the value of CCR while I'm sending out PWM, will the Duty ratio change in the next cycle?
Thanks.
2022-10-26 07:50 PM
That depends on whether you have CCRx preload set or not. Read the TIM chapter in RM.
JW