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

Max PWM freq for 877A

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



Joined: 11 Sep 2006
Posts: 27

View user's profile Send private message

Max PWM freq for 877A
PostPosted: Mon Jan 22, 2007 3:01 am     Reply with quote

I there, i just wanna wats the max freq that can be configure using CCS for 877 to supply PWM using CCP pin?
The crystal freq is 20Mhz.
Can it supply 1Mhz-8Mhz PWM signals?
Ttelmah
Guest







PostPosted: Mon Jan 22, 2007 8:47 am     Reply with quote

It depends totally on the resolution you require.
With the 16F877 at 20MHz, you can generate a PWM, at say 1.25Mhz. However you will then only have a 4 bit 'width' value supported, with 16 different widths available. At 1MHz, 20 different widths become available. The maximum you can generate, is 5MHz, with just four width values supported.

Best Wishes
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