View Single Post
Old 07-07-2018, 12:37 PM   #3271 (permalink)
ale0502
Ale Madeo
 
ale0502's Avatar
 
Join Date: Jan 2016
Location: Bariloche Patagonia Argentina
Posts: 32
Thanks: 22
Thanked 7 Times in 5 Posts
pwm frecuency

I have my motor on a test bench.
On Paul´s code say:
// PWM Initialization

PTPER = 1474; // 29,491,200/((PTPER + 1)*2) = 9997Hz.

I think my pwm resolution is bad.

I change PTPER value but I didn't get better results.
On dspic datasheet say:


thanks

__________________
Los que dicen que es imposible, no deberían molestar a los que lo están intentando...
  Reply With Quote