Pwm velocity control

i’m using odrive v3.6 with sensored motor. i tried to test pwm velocity control with arudino but it doesn’ work. i set gpio mode to pwm and i did it manually from odrive docs. hmm

Could you please elaborate on which part is not working?

sorry i just checked it. it worked with 50hz microsecondswirte() function instaed of just analogwrite function. but idk why it doesn’t work in 490 or 500 Hz … it works only for 50Hz??

That is correct, at this time the PWM input is specifically designed for RC servo controls i.e. ~50Hz signal where 50% duty is stationary.