
Good afternoon, I would like to ask for some help on the matter of PWM on new boards. This question appeared after a long time of me trying to find some >information on this issue or a manual. The question is well described for the old boards but the situation is a bit different with the new ones. I have taken it the way that I would have control of the motor if PWM_ENABLE is set to 0, PWM_B_DIRECT and PWM_A_DIRECT to 1, PWM_PERIOD to 5000 and DUTY_DIR_B and DUTY_DIR_A changing oppositely from 0 to 1 depending on polarity of width and DUTY is set to any width less than period, it will work somehow. Apparently, it doesn't. I would appreciate any hints or a manual. Thank you in advance.
-- Sincerely yours, Aleksandra Pereverzeva
Hello, in order to make motor spin, try to set CR register to zero (especially PWM_x_DIRECT to zero). I think these bits are used to generate your own signal without PWM_DUTY register. The rest should be correct. Jaroslav Klapálek