Doubt with OSCCAL register.

Discussion in 'Embedded Systems and Microcontrollers' started by Killer_Myst, Aug 9, 2011.

  1. Killer_Myst

    Thread Starter New Member

    Aug 9, 2011
    Hello everyone.

    I have a question about OSCCAL register, can I put any value to this register?, for example, OSCCAL=0xA0 Is valid?, my default value form my system is B4(Hex), and when I wanna print that value is ok, but if I put a different value to the osccal, fail.

    I'm using an ATmega644p, C language.

    Thanks to everyone, greetings.