CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

dspic30f2010 pwm question

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
erik006



Joined: 05 Jan 2008
Posts: 10

View user's profile Send private message

dspic30f2010 pwm question
PostPosted: Sat Jan 05, 2008 6:33 pm     Reply with quote

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
Guest_7068
Guest







PostPosted: Sun Jan 06, 2008 2:29 am     Reply with quote

The ex_pwm example code has working code for the 30F2010 chip.
erik006



Joined: 05 Jan 2008
Posts: 10

View user's profile Send private message

PostPosted: Sun Jan 06, 2008 8:28 am     Reply with quote

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
Storic



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

View user's profile Send private message Send e-mail

PostPosted: Sun Jan 06, 2008 3:00 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group