thereza wrote:
I've been trying to get it to work with this part CSTCE8M00G55Z-R0
(datasheet @ http://www.murata.com/catalog/p16e.pdf
If you compare the "Oscillation Frequency Temperature Stability" curves (p6 in
that document) of the 30+pF resonators with the 15pF resonators it becomes
apparent what the differences are between them. You should actually be save
with any of these. I'd probably sample a few cycles with an oscilloscope
just to make sure, though.
490-1219-1-ND) -- an 8Mhz ceramic resonator with a load capacitance of
30/33/39pF (according to the datasheet -- not sure why it lists three) with
the MCU running at 3.3V. Is this out of spec?
My MSP datasheet (SLAS368E) states for crystal oscillator, XT2 oscillator (p37):
CXIN 2pF, CXOUT 2pF
Also:
"The oscillator needs capacitors at both terminals, with values specified by
the crystal manufacturer."
(The reason I keep referring to the spec is that we feed our own clock generated
elsewhere into XT2 while XT1 has its own crystal with caps ...)
do
{
IFG1 &= ~OFIFG; // Clear OSCFault flag
for (i = 0xFF; i > 0; i--); // Time for flag to set
What happens when you step through that loop with the debugger ?
Thought about checking register values along the way ? You may
also want to add a nop() as the sole expression in the for loop
body to prevent the compiler from optimizing it away ...
}
while ((IFG1 & OFIFG)); // OSCFault flag still set?
Cheers,
Christian