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 support@ccsinfo.com

Enhanced PWM and CCP modes on PIC18F8722

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



Joined: 26 Jan 2009
Posts: 13

View user's profile Send private message

Enhanced PWM and CCP modes on PIC18F8722
PostPosted: Tue Apr 07, 2009 11:31 am     Reply with quote

Hello All,

I am using the ECCP2 and CCP4 and CCP5 mode on the PIC18F8722. I set the ECCP2 mode in full bridge configuration. I wanted to set the three PWM channels on three different frequencies with three different duty cycles.

I can easily set the duty cycle to be different for each PWM channel. How do I set different PWM frequencies for each of them, since all of them are referencing Timer2 Prescaler and PR2 register for the frequency.

Is there any way I can set different frequencies for ECCP2, CCP4 and CCP5. Also I might have to change their frequencies and duty cycles on the fly

Thanks,

abq_guy
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