>> Upon investigation we found that the only reason for this may be the >> internal oscillator inaccuracy > >Can the oscillators be brought into tolerance by programming different OSCAL >values yourself, or is the available range totally to one side of the >specified frequency? according to datasheets: Adjusting CAL5-0 from 000000 to 111111 yields a higher clock speed. Note that bits 1 and 0 of OSCCAL are unimplemented and should be written as 0 when modifying OSCCAL for compatibility with future devices. I guess OSCCAL is just register with set of resistors connected to it's outputs, which connetcs in parallel to the main internal resistor for the oscillator when '1' is written in the correspondign bit. When you write '1' total resistor value goes lower and increase the frequency. Tsvetan --- PCB prototypes for $26 at http://run.to/pcb (http://www.olimex.com/pcb) Development boards for PIC, AVR and MSP430 (http://www.olimex.com/dev) -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu