I am having an issue where we need to have our ATTiny10's operate at about 12 MHz. The datasheet indicated we'd probably have some headroom... But, on the AVRs I've tested so far, we can't even get to 12 MHz at all...
Another weird thing is the factory calibrated 9.6 MHz mark seems totally bogus, waay too low. For instance, the [[EDIT: It is an 8 MHz clock. I got this confused with the Tiny13, still annoying that they're all on the low end.]]
Processor 1: 176, 7.811 MHz
Processor 2: 160, 7.731 MHz
Processor 3: 136, 7.788 MHz
Shouldn't the internal cal be 9.6 MHz? Could I be using the chip wrong? Do I have to configure something differently? [[EDIT: Was supposed to be 8 MHz, not 9.6 so that's OK... But still the chips are performing pretty slowly]]
//Used for frequency test, programmer writes desired OSCCAL value into 0xfe. OSCCAL = pgm_read_byte( 0xfe ); CCP = 0xD8; //Enable CCP. CLKPSR = 0; //Go for 8 MHz operation.
I've verified to make sure that these values are correct... For processor 1, with the configured OSCCAL value, I get 0.1286us per cycle, or 7.772MHz:
These tests are from 5V runs... But it only seems to get worse as the voltage goes down!
Very different from the datasheet.
What is going on here?!?