View previous topic :: View next topic |
Author |
Message |
erik006
Joined: 05 Jan 2008 Posts: 10
|
dspic30f2010 pwm question |
Posted: Sat Jan 05, 2008 6:33 pm |
|
|
Hello,
Has anyone gotten pwm support to work on this dsPIC? I can verify my chip is working, but pwm does not seem to work..
Erik |
|
![](templates/subSilver/images/spacer.gif) |
Guest_7068 Guest
|
|
Posted: Sun Jan 06, 2008 2:29 am |
|
|
The ex_pwm example code has working code for the 30F2010 chip. |
|
![](templates/subSilver/images/spacer.gif) |
erik006
Joined: 05 Jan 2008 Posts: 10
|
|
Posted: Sun Jan 06, 2008 8:28 am |
|
|
I suppose you have tested that code with the dsPIC? I had tried it previously and it did not work for me.. no pwm output on any of the pins, & even though everything seems to be setup correctly, the ICD shows that the timers & adc are not setup at all..
Any help?
Erik |
|
![](templates/subSilver/images/spacer.gif) |
Storic
Joined: 03 Dec 2005 Posts: 182 Location: Australia SA
|
|
Posted: Sun Jan 06, 2008 3:00 pm |
|
|
I used this example on the 24FJ64GA004 micro, did not work at first however I reported this to CCS tech support with my findings and a fix was made, I can use the PWM (OC) Output Compare on my micro now with Version 4.064 _________________ What has been learnt if you make the same mistake? ![Wink](images/smiles/icon_wink.gif) |
|
![](templates/subSilver/images/spacer.gif) |
|