Hi,
I use atmega8 with internal 8MHz clock.
In datasheet there is statement that "During reset, hardware loads the 1MHz calibration byte into the OSCCAL register..."
Also "These bytes reside in the signature row high byte of the addresses 0x0000, 0x0001, 0x0002, 0x0003 for 1, 2, 4 and 8Mhz respectively..."
As I use 8MHz, the value in OSCCAL is wrong, because it is for 1MHz.
How to get proper calibration byte using bascom?
I searched the forum, but found only various methods for autocalibrations.
[b:e22addf982][color=red:e22addf982](BASCOM-AVR version : 2.0.7.6 )[/b:e22addf982][/color:e22addf982]
↧