Change frequency of TIMER for acceleration deacceleration of motor
I'm driving 3 stepper motor using STM32F030C8T6TR MCU 3 different TIMERS I want to acceleration deacceleration motor so for that I want to change TIMER frequency and count pulses output at chanel how can I do it?
Example :
Motor travel distance 10000 pulses
SPeed of motor directly proportional to timer frequency.
First acceleration slowly increase frequency (1000 pulse), then run at set frequency(8000 pulse) , then slowly decrease frequency(1000 pulse) then stop timer
So speed curve is slowly increase frequency - run at set frequency - then slowly decrease in frequency according to total number of pulses.
