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

generating MHz frequencies

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



Joined: 16 May 2008
Posts: 5

View user's profile Send private message

generating MHz frequencies
PostPosted: Sun Jun 01, 2008 12:59 am     Reply with quote

hi there, after my previous problem, solved after a few days (now ducati is happy and my laurea thesis too) i have another question

i was testing a circuit received by a friend of mine, an RF circuit which used an inverting Schmitt trigger (74hc14) 2 xtal and some passives to generate two square wave @ 2~3MHz; then the frequency is divided by two using a counter and taking the least significant bit. at this point i have two frequencies at a bout 1,2288 and 1.5 MHz.
because i didn't have some components (56pf cap and 2.4576MHz xtal) i trying to generate the two freq (1.5 and 1.2) with a pic, or two pic. i can dedicate an entire pic to a single frequency generation, but how? PWM or software? with a 877a at 10MHz theoretically i could generate both the frequencies, or no?

tnx
pietro
RLScott



Joined: 10 Jul 2007
Posts: 465

View user's profile Send private message

Re: generating MHz frequencies
PostPosted: Sun Jun 01, 2008 5:15 am     Reply with quote

You will only be able to generate such a high frequency with the PIC if the clock oscillator for that PIC is an exact multiple of the frequency you want to generate. Then PWM will give you the highest frequency.

Robert Scott
Real-Time Specialties.
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