This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with crystal on MSP430F4260

Other Parts Discussed in Thread: MSP430F4260

Hi.

I am using the MSP430F4260 and trying to use crystal of 8MHz.

I configurated the registers like this:

{

SCFGCTL = 0;

SCFIO = FN_3;

FLL_CTL0 = XTS_FLL + XCAP14PF;

  do
  {
    IFG1 &= ~OFIFG;                         // Clear OSCFault flag
    for (i = 0xFFF; i > 0; i--);              // Time for flag to set
  }
  while ((IFG1 & OFIFG));                   // OSCFault flag still set?

}

But after the configuration, the bit XT1OF is allways set 1.

I tried to use 4MHz crystal and I just modified

SCFGCTL = 1;

but also the bit XT1OF is set 1.

What I need to do to work with these crystals?

Thanks.

Note: I using IAR Vs3.41

**Attention** This is a public forum