Page 1 of 1
How to use internal osilator
Posted: Fri Apr 08, 2011 5:48 pm
by cvanhal
Dear,
I have question about Flowcode V4 for AVR.
I want to use the internal ocilator in the Amtel chip, when i see the help file there is an menu used for it..
as i use the AVR flowcode there is nu use of the menu..
is someone knows how to set the internal ocilator with Flowcode V4..
Thx..
Re: How to use internal osilator
Posted: Fri Apr 08, 2011 7:40 pm
by Spanish_dude
I do not have Flowcode v4 for AVR so I don't know how you would change that, but I do know that you'll need to change the fusebits to enable the internal oscillator.
Fusebits calculator :
http://www.engbedded.com/fusecalc/
cheers,
Nicolas
Re: How to use internal osilator
Posted: Fri Apr 08, 2011 9:41 pm
by medelec35
Very good link Nicolas.
That will come in handy!
Martin
Re: How to use internal osilator
Posted: Fri Apr 08, 2011 10:32 pm
by cvanhal
Thank you for reply..
I think i will read the link and try to find the way to implement this..
Iam new at programming and can only use Flowcode...
Thx very much.

Re: How to use internal osilator
Posted: Sat Apr 09, 2011 2:47 pm
by cvanhal
OK found it out..
in configuration option is this standard writen for the chip "0x0,0xdf" (maybe someone how underestand this and can explain.
out of the websit te i get the folow calculation.
0x42 0xdf 0xF9* with star..
The Star qoute this:
"
* Note that some numerical values refer to fuses containing undefined bits (set to '1' here). Depending on the target device these fuse bits will be read either as '0' or '1'. Verification errors will occur if the values are read back with undefined bits set to '0'. Everything is fine if the values read from the device are either the same as programmed, or the following values (undefined set to '0'): Extended: 0x01.
"
end Quote.
Is eny budy beable to explain this???
Thx
Re: How to use internal osilator
Posted: Tue Jun 21, 2011 9:56 am
by Benj
Hello,
I think to get your configuration programmed into the device you would enter this into the configuration window.
0x42, 0xdf, 0xF9
Re: How to use internal osilator
Posted: Tue Jun 21, 2011 10:22 am
by Benj
Sorry I got that wrong,
I have asked Sean and these are his correct comments.
The fuse settings are programmed as pairs of values. The first value is an identifier for the register to be programmed with the second value:
0x0 = High byte
0x1 = Low byte
0x2 = Extended byte
Devices with only one fuse register shoul dbe programmed using the 0x0 identifier. Devices with two fuse registers only need High and Low byte values to be sent
Our standard recommendation for the ATmega324P, running at full speed from an external xtal, is:
0x0, 0xdf
0x1, 0xff
0x2, 0xff