Internal oscillator with 24FJ256GA110

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times

Internal oscillator with 24FJ256GA110

Post 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 :)

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Internal oscillator with 24FJ256GA110

Post 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.

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times

Re: Internal oscillator with 24FJ256GA110

Post 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

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times

Re: Internal oscillator with 24FJ256GA110

Post 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

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times

Re: Internal oscillator with 24FJ256GA110

Post by Mathy »

oupsss....
Attachments
Flowcode1.fcf_pic16
(3.5 KiB) Downloaded 258 times

Post Reply