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

generate a 2.048 MHz clock, with PIC16F630. It's possible??

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



Joined: 08 Dec 2003
Posts: 2
Location: Brazil

View user's profile Send private message

generate a 2.048 MHz clock, with PIC16F630. It's possible??
PostPosted: Sat Mar 20, 2004 10:02 am     Reply with quote

[size=18]Hello Everybody.
I can generate a 2.048 MHz clock, with the PIC 16F630. (I need square signal, Duty cycle=0.5)
has anybody experimented this?
Thanks in advance.
[/size]
Ttelmah
Guest







Re: generate a 2.048 MHz clock, with PIC16F630. It's possibl
PostPosted: Sat Mar 20, 2004 11:20 am     Reply with quote

nkcruz wrote:
[size=18]Hello Everybody.
I can generate a 2.048 MHz clock, with the PIC 16F630. (I need square signal, Duty cycle=0.5)
has anybody experimented this?
Thanks in advance.
[/size]

In one sense, forget it.
Chose a chip with a hardware PWM module instead, and select a crystal frequency that is a nice multiple of the required frequency. One way you could do this on the 63, would be to use a 2.048MHz crystal, and run the processor on this. However the duty cycle may not then be perfect.

Best Wishes
nkcruz



Joined: 08 Dec 2003
Posts: 2
Location: Brazil

View user's profile Send private message

Re: generate a 2.048 MHz clock, with PIC16F630. It's possibl
PostPosted: Mon Mar 22, 2004 11:38 am     Reply with quote

Ttelmah wrote:
nkcruz wrote:
[size=18]Hello Everybody.
I can generate a 2.048 MHz clock, with the PIC 16F630. (I need square signal, Duty cycle=0.5)
has anybody experimented this?
Thanks in advance.
[/size]

In one sense, forget it.
Chose a chip with a hardware PWM module instead, and select a crystal frequency that is a nice multiple of the required frequency. One way you could do this on the 63, would be to use a 2.048MHz crystal, and run the processor on this. However the duty cycle may not then be perfect.

Best Wishes

Ok. I already imagined that should change my project. I believe that will implement a clock generator. Thank you for its help.
Congratulations.

Norberto
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