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

Help needed "for CPU internal OSC & for TIMER1 Exte

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



Joined: 06 Mar 2007
Posts: 92
Location: Pune,India

View user's profile Send private message AIM Address Yahoo Messenger

Help needed "for CPU internal OSC & for TIMER1 Exte
PostPosted: Wed Dec 26, 2007 11:39 pm     Reply with quote

Dear Sir,
here i am using 16f913, MPLAB 7.5 Ver. & CCS PCM C Compiler, Version 3.249, 34534.
how could i define if i want to use Internal OSC for internal processing (CPU).External OSC (32.768 khz) for timer1. Here Timer 1 is used for CCP1 interrupt (CCP_CAPTURE_RE).
Actually in my application i/p to pin 16 is freq. which will vary from 297 Hz to 594 Hz.According to this i have to increment count for 1 sec (i.e. if freq < 297= 1 count 1 sec. & freq >297 count time will increment as frequency rise).
Plz feel free to ask any query.
_________________
Thank You,
With Best Regards,
Deepak.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Dec 27, 2007 1:28 pm     Reply with quote

I looked at the PIC data sheet and I think you can probably do this.
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