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

18F2550 configuration bits

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



Joined: 22 Dec 2004
Posts: 78

View user's profile Send private message

18F2550 configuration bits
PostPosted: Thu Jan 19, 2006 5:39 pm     Reply with quote

Hi...I am using 18F2550 for USB. And for that I want USB to run at
96Mhz and Microcontroller to run at 48MHz. For that I have set the
configuration bits like following. I am using 12Mhz crystal oscillator in
the hardware.

Specially I want to know, for Microcontroller to run at 48MHz, the
following configurations are correct or not.

Quote:


Category Setting:
________ ____________________

"Full-Speed USB Clock Source Selection": "Clock src from 96 MHz PLL/2"

"CPU System Clock Postscaler" "[OSC1/OSC2 Src: /1][96 MHz PLL Src: /2]"

"96MHz PLL Prescaler": "Divide by 3 (12 MHz input)"

"Oscillator": "HS: USB-HS"

"Fail-Safe Clock Monitor Enable": "Enabled"

"Internal External Switch Over Mode": "Enabled"

"USB Voltage Regulator": "Enabled"



Thanks...in advanced.........
prayami



Joined: 22 Dec 2004
Posts: 78

View user's profile Send private message

PostPosted: Mon Jan 23, 2006 2:00 pm     Reply with quote

Can anybody able to answer, what to do for running PIC18F2550
at 48MHz? What configuration bits should be? Thanks....
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jan 23, 2006 2:34 pm     Reply with quote

Look at what you're asking. You're asking someone to read the
data sheet and interpret the oscillator settings and basically do it
all for you. That's probably why no one has answered.

If you would read the data sheet, and then post a question such as
the following, then you might get some help:
"I don't understand this one paragraph in the oscillator section. (Give
the page and section #) I think it means this (explain what you think)
but I'm not sure. Can someone help me to understand this section of
the data sheet ?"
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