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

How many PWMs on an 18f4221

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



Joined: 07 May 2004
Posts: 263

View user's profile Send private message

How many PWMs on an 18f4221
PostPosted: Sun Nov 30, 2008 8:01 pm     Reply with quote

I'm reading the data sheet for an 18f4221 and trying to figure out how many PWM's it has.
It looks like it has 2 in the regular pwm module and 4 more in the enhanced pwm module. Am I reading this correctly? Does that mean it has 6 different PWMs I can use? If so are the commands in CCS to use these extra pwms, or would I have to manipulate the registers to do it?

Ringo
_________________
Ringo Davis
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Nov 30, 2008 9:04 pm     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=29565&start=1
Ringo42



Joined: 07 May 2004
Posts: 263

View user's profile Send private message

PostPosted: Sun Nov 30, 2008 9:16 pm     Reply with quote

Darn, thanks.
Do you happen to know of any 16 or 18 series chips that have more than 2 pwm channels?
I thought I found one before but some of the PWM were just complimentary of each other.
_________________
Ringo Davis
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Nov 30, 2008 9:42 pm     Reply with quote

Use this page to help find a PIC. The "search results" box updates
after you make any change. Click on a PIC in the results box to
see the stats on it.
http://www.microchip.com/maps/microcontroller.aspx
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