after much troubleshooting, i finally found my mistake. i forgot that the pwm module has always been running at 20khz.
i changed that to minimum allowed for 40mhz operation, which is 2.5khz, and the servo is running like a dream. thanks for all the ideas and tips.
im starting a ac servo thread, since i got the dc servo going , and i hope ill get the same help and ideas.
thanks guys.
Bookmarks