اینجا رو ببینید(از دیتاشیت مگا32) :
مسلما پروگرامر کالیبریشن بایتها رو میخونه و مثلا در بسکام در محل فیوز بیتها نشون میده
حالا می خوام ببینم میشه این کالیبریشن بایتها که به گفته دیتاشیت در signature row قرار دارن رو از داخل برنامه میکرو خوند ؟
دوستان تجربه ای در این زمینه دارین؟
The ATmega32 stores four different calibration values for the internal RC Oscillator.
These bytes resides in the signature row High Byte of the addresses 0x000, 0x0001,
0x0002, and 0x0003 for 1, 2, 4, and 8 Mhz respectively. During Reset, the 1 MHz value
is automatically loaded into the OSCCAL Register. If other frequencies are used, the
calibration value has to be loaded manually, see “Oscillator Calibration Register – OSC-CAL” on page 28 for details
These bytes resides in the signature row High Byte of the addresses 0x000, 0x0001,
0x0002, and 0x0003 for 1, 2, 4, and 8 Mhz respectively. During Reset, the 1 MHz value
is automatically loaded into the OSCCAL Register. If other frequencies are used, the
calibration value has to be loaded manually, see “Oscillator Calibration Register – OSC-CAL” on page 28 for details
مسلما پروگرامر کالیبریشن بایتها رو میخونه و مثلا در بسکام در محل فیوز بیتها نشون میده
حالا می خوام ببینم میشه این کالیبریشن بایتها که به گفته دیتاشیت در signature row قرار دارن رو از داخل برنامه میکرو خوند ؟
دوستان تجربه ای در این زمینه دارین؟

دیدگاه