Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC 18F 4680 - oscillator mode?

Status
Not open for further replies.

pic123

Newbie level 1
Joined
Oct 21, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
I'm developing a CAN application using the ECAN driver.

I need to configure the Baudrate among various other things for this purpose and I need to choose an oscillator frequency.


The clock that will run my program, will this always be the 10MHz in the datasheet or can I clock it up to 40MHz using HSPLL(4-times-multiplier)?

Which mode is recommended?

I don't get how you can just multiply up a frequency. Doesn't this have to be done physically?

I'm not quite sure how to change the frequency either. Do I do it with pragmas or by changing registers or both? It seems you can actually change oscillator at runtime...?
 

If you need 40MHz clock, you need to use a 10MHz oscillator and then use HSPLL.
Frequency multiplication is NOT done physically by you, but is done by the PIC. Make sure you select HSPLL mode in configuration settings.
Do you need to change the frequency at runtime, or is it okay if you just use 40MHz from startup?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top