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

Search found 4 matches
CCS Forum Index
Author Message
  Topic: PLL 40 mhz with 18f452
povulon

Replies: 11
Views: 25419

PostForum: General CCS C Discussion   Posted: Sun Nov 25, 2018 1:37 am   Subject: PLL 40 mhz with 18f452
I must admit I was assuming from the long timescale involved in the thread,
that the board would have been powered down at least once since starting
trying...
Key point being made here is that th ...
  Topic: PLL 40 mhz with 18f452
povulon

Replies: 11
Views: 25419

PostForum: General CCS C Discussion   Posted: Fri Nov 23, 2018 5:45 am   Subject: PLL 40 mhz with 18f452
You have a 10MHz crystal?.
Most likely thing is your programmer is not setting the fuses.
Depends on what you are using to program, but in CCSLoad, you need the tickbox in 'options', 'config bits', ...
  Topic: PLL 40 mhz with 18f452
povulon

Replies: 11
Views: 25419

PostForum: General CCS C Discussion   Posted: Fri Nov 23, 2018 3:19 am   Subject: PLL 40 mhz with 18f452

#include <18F452.h>
#fuses H4, NOLVP, NOWDT, NOPROTECT
//Add other fuses you need
#USE DELAY (CLOCK=40MHz)

void main(void)
{
//with a suitable 10MHz crystal, c ...
  Topic: PLL 40 mhz with 18f452
povulon

Replies: 11
Views: 25419

PostForum: General CCS C Discussion   Posted: Wed Jan 10, 2018 2:40 pm   Subject: PLL 40 mhz with 18f452
Hi

I have a 18f452 20 mhz pic.
I want to run it at 40 mhz osc by using 10 mhz crystal.
How I write this program in ccs c ?

Please help me.
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group