i can�t configure the PMW with a frequency of 1KHZ with a oscillator of 2Mhz.
How i do it?
Thanks ! I wait aswers..
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sat Nov 20, 2004 3:26 pm
Go here, and solve the equation for PR2. Then put in
your values for Crystal Frequency and PWM Frequency.
I suggest you use a Timer2 Pre-Scaler of 4.
http://www.ccsinfo.com/forum/viewtopic.php?t=17993
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum