Page 1 of 1
Internal oscillator with 24FJ256GA110
Posted: Mon Aug 22, 2011 3:16 pm
by Mathy
Hello,
Anybody had an example about how to use the internal oscillator ?
I would like to run at 32 Mhz but everything I try doesn't work.
It will be great if somedoby can give me the code to enable the internal oscillator.
Thank you very much

Re: Internal oscillator with 24FJ256GA110
Posted: Mon Aug 22, 2011 3:47 pm
by Benj
Hello,
I seem to remember it is a bit tricky to get this working on these devices. I have some working code at home for a dsPIC33 I think so I'll dig it out tonight.
Re: Internal oscillator with 24FJ256GA110
Posted: Wed Sep 14, 2011 3:12 pm
by Mathy
Hi,
Do you have your working code because I have some trouble with the fuse setting with or without external oscillator.
I would like to run at 32 Mhz with internal or 8 Mhz external oscillator.
Thank you for your time
Mathy
Re: Internal oscillator with 24FJ256GA110
Posted: Mon Nov 14, 2011 5:25 pm
by Mathy
Hi,
I always have a problem with internal or external oscillator.
I have on the same board a 33FJ with the same 20 Mhz crystal than the 24FJ256GA110.
With the 33FJ, no problem but with the 24FJ, the internal oscillator is used instead of the 20Mhz external crystal.
In the attached file, you can see my test program who doesn't work. I have nothing on the oscillator pin and my LED light on 5 time slower ( 20 Mhz / 4 ).
Thank you for your help
Re: Internal oscillator with 24FJ256GA110
Posted: Mon Nov 14, 2011 5:26 pm
by Mathy
oupsss....