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

16F876 - 2PWM pins with 32768KHz crystal on Timer1

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



Joined: 27 Apr 2008
Posts: 167

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

16F876 - 2PWM pins with 32768KHz crystal on Timer1
PostPosted: Sat Mar 26, 2011 9:37 pm     Reply with quote

Hi there,

I need to use the two PWM modules of PIC16F876, but I also need to use a 32,768Khz crystal, driving a clock based on TIMER 1. Is possible to change CCP2 pin to another pin, leaving RC1 (T1OSI) free?

Regards.

Manoel.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Mar 26, 2011 9:55 pm     Reply with quote

Use a similar but more modern PIC: 16F767. It has the CCP2B3 fuse
setting. It can switch the CCP2 output to Pin B3 instead. This will solve
your problem.
rudy



Joined: 27 Apr 2008
Posts: 167

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

PostPosted: Sun Mar 27, 2011 7:25 am     Reply with quote

This is a start, but I will try to do for software first. Using 16f767 will add another part number in my stock list, i am tryng to avoid this. In fact, if i could find one small 8 pin DIL, 2 or 3W mono audio amplifier, i could use I2C to make audio level adjustment, instead of use PWM to control DC volume level in TDA7056.
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